/*
Theme Name: Best Medlab
Theme URI: https://bestmedlabltd.com/
Author: Best Medlab Nigeria Limited
Author URI: https://bestmedlabltd.com/
Description: Bespoke theme for Best Medlab Nigeria Limited — a medical diagnostics equipment
    distributor. Provides an equipment catalogue (custom post type), category filtering, a
    service and clientele showcase, an enquiry form, and a customisable contact block. Mobile
    first, no build step, no external JavaScript dependencies.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bestmedlab
Tags: business, custom-logo, custom-menu, featured-images, translation-ready, full-width-template
*/

/* ==========================================================================
   Best Medlab Nigeria Limited — brand system & stylesheet
   Palette derived from the client's own brand assets (the navy / teal / green
   service banner and the existing site's colour direction), rebuilt for
   contrast, legibility and a clinical B2B feel.
   Mobile-first. Breakpoints: 560 / 768 / 1024 / 1280.
   ========================================================================== */

/* ---------------------------------------------------------------- 1. TOKENS */
:root {
  /* Brand */
  --ink:        #061726;   /* darkest navy — footer, deep bands            */
  --navy:       #0A2647;   /* primary brand colour                          */
  --navy-700:   #0F3560;
  --navy-600:   #15497F;
  --teal:       #0F766E;   /* secondary                                     */
  --teal-500:   #109184;
  --teal-200:   #9FE3D8;
  --teal-50:    #EAF7F5;
  --green:      #2FA36B;   /* accent — "supply"                             */
  --cyan:       #38BDF8;
  --amber:      #F59E0B;
  --red:        #D62828;   /* sales accent — used sparingly for emphasis */
  --red-dark:   #B91C1C;
  --red-soft:   #FFF1F1;

  /* Neutrals */
  --white:      #FFFFFF;
  --mist:       #F4F7FA;
  --slate-100:  #EDF2F7;
  --line:       #DFE7EE;
  --line-soft:  #EBF1F6;
  --muted:      #5A6B7B;
  --body:       #22384C;

  /* Type */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(0.95rem, 0.92rem + 0.18vw, 1.05rem);
  --step-1:  clamp(1.12rem, 1.05rem + 0.35vw, 1.32rem);
  --step-2:  clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  --step-3:  clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
  --step-4:  clamp(2.1rem, 1.55rem + 2.6vw, 3.6rem);

  /* Space */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  /* Shape */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px; --r-pill: 999px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(6, 23, 38, .06), 0 1px 3px rgba(6, 23, 38, .05);
  --sh-2: 0 4px 12px rgba(6, 23, 38, .07), 0 2px 4px rgba(6, 23, 38, .04);
  --sh-3: 0 14px 34px rgba(6, 23, 38, .10), 0 4px 10px rgba(6, 23, 38, .05);
  --sh-4: 0 26px 60px rgba(6, 23, 38, .16);

  /* Layout */
  --container: 1200px;
  --container-narrow: 860px;
  --header-h: 74px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------- 2. RESET/BASE */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { border-style: none; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy-600); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 var(--sp-4);
  letter-spacing: -.02em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: -.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -.01em; }
p  { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15rem; }
li { margin-bottom: var(--sp-2); }
strong { color: var(--navy); font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.hidden { display: none !important; }

/* --------------------------------------------------------------- 3. LAYOUT */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #D7E3EE; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: .74rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--teal);
}
.section-head--center .eyebrow::before { display: none; }
.section--navy .eyebrow { color: var(--teal-200); }
.section--navy .eyebrow::before { background: var(--teal-200); }

.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.6; }
.section--navy .lead { color: #B9CBDC; }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 767px) {
  /* a little more breathing room at the edges on phones */
  .container { padding-inline: 20px; }
}
@media (min-width: 768px) {
  .container { padding-inline: var(--sp-6); }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------- 4. TOPBAR */
.topbar {
  background: var(--ink);
  color: #A9BCCD;
  font-size: .82rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-5);
  justify-content: center; padding-block: 9px; text-align: center;
}
.topbar a { color: #DCE7F0; }
.topbar a:hover { color: var(--teal-200); }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 15px; height: 15px; flex: none; opacity: .85; }
.topbar__sep { display: none; width: 1px; height: 14px; background: rgba(255,255,255,.16); }
@media (min-width: 768px) {
  .topbar__inner { justify-content: space-between; text-align: left; }
  .topbar__sep { display: inline-block; }
}
@media (max-width: 767px) { .topbar__hide-sm { display: none; } }

/* -------------------------------------------------------------- 5. HEADER */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.header.is-stuck { box-shadow: var(--sh-2); background: rgba(255, 255, 255, .97); }

.header__inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-weight: 800; color: var(--navy);
  font-size: 1.16rem; letter-spacing: -.025em;
}
.brand__name span { color: var(--teal); }
.brand__sub {
  font-size: .6rem; font-weight: 700; letter-spacing: .19em;
  text-transform: uppercase; color: var(--muted); margin-top: 5px;
}

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link {
  display: block; padding: 10px 13px; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 600; color: var(--navy);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav__link:hover { background: var(--mist); color: var(--teal); }
.nav__link[aria-current="page"] { color: var(--teal); background: var(--teal-50); }

/* Specificity note: this must outrank the .btn base rule further down the file. */
.header .header__cta { display: none; }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px;
  background: var(--navy); border: 0; border-radius: var(--r-sm); cursor: pointer;
}
.burger span {
  display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav { display: block; }
  .header .header__cta { display: inline-flex; }
  .burger { display: none; }
}
@media (max-width: 1023px) {
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.03rem; }
}
@media (max-width: 1023px) {
  /* keep the mobile header row from ever being pushed wider than the viewport */
  .header__inner { gap: var(--sp-3); }
  .brand { min-width: 0; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 120;
  background: var(--navy);
  padding: calc(var(--sp-5) + 10px) var(--sp-5) var(--sp-7);
  display: flex; flex-direction: column; gap: var(--sp-5);
  transform: translateX(100%);
  transition: transform .34s var(--ease);
  overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__close {
  width: 44px; height: 44px; border-radius: var(--r-sm); cursor: pointer;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 1.5rem; line-height: 1; display: grid; place-items: center;
}
.drawer__close:hover { background: rgba(255, 255, 255, .2); }
.drawer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.drawer__list li { margin: 0; }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px; color: #EAF2F9; font-family: var(--font-display);
  font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.drawer__link:hover, .drawer__link[aria-current="page"] { color: var(--teal-200); }
.drawer__link svg { width: 17px; height: 17px; opacity: .55; }
.drawer__contact { margin-top: auto; display: flex; flex-direction: column; gap: var(--sp-3); }
.drawer__contact a { color: #DCE7F0; display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.drawer__contact svg { width: 17px; height: 17px; flex: none; color: var(--teal-200); }

body.no-scroll { overflow: hidden; }

/* ------------------------------------------------------------ 6. BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 22px; border: 1px solid transparent; border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: .95rem; font-weight: 700;
  letter-spacing: -.005em; cursor: pointer; text-align: center;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--teal); color: #fff; box-shadow: var(--sh-2); }
.btn--primary:hover { background: var(--teal-500); color: #fff; box-shadow: var(--sh-3); }

.btn--navy { background: var(--navy); color: #fff; box-shadow: var(--sh-2); }
.btn--navy:hover { background: var(--navy-700); color: #fff; box-shadow: var(--sh-3); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-50); }

.btn--light { background: #fff; color: var(--navy); box-shadow: var(--sh-2); }
.btn--light:hover { color: var(--teal); box-shadow: var(--sh-3); }

.btn--outline-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.34); }
.btn--outline-light:hover { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.6); }

.btn--sm { padding: 10px 16px; font-size: .87rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 700; font-size: .93rem; color: var(--teal);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ----------------------------------------------------------------- 7. HERO */
.hero {
  position: relative;
  background: var(--navy);
  color: #E4EDF5;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(6,23,38,.96) 0%, rgba(10,38,71,.92) 44%, rgba(15,53,96,.72) 100%),
    radial-gradient(120% 90% at 88% 12%, rgba(15,118,110,.42) 0%, rgba(15,118,110,0) 62%);
}
.hero__inner {
  position: relative;
  padding-block: clamp(56px, 9vw, 118px);
  display: grid; gap: clamp(34px, 5vw, 56px);
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; }
}
.hero__eyebrow { color: var(--teal-200); }
.hero__eyebrow::before { background: var(--teal-200); }
.hero h1 { color: #fff; margin-bottom: var(--sp-5); }
.hero h1 em { font-style: normal; color: var(--teal-200); }
.hero__lead {
  font-size: var(--step-1); color: #BFD2E2; max-width: 56ch;
  margin-bottom: var(--sp-6); line-height: 1.62;
}
.hero__points {
  list-style: none; padding: 0; margin: 0 0 var(--sp-6);
  display: flex; flex-wrap: wrap; gap: 10px 22px;
}
.hero__points li {
  display: flex; align-items: center; gap: 9px; margin: 0;
  font-size: .93rem; color: #CEDCE8; font-weight: 500;
}
.hero__points svg { width: 19px; height: 19px; flex: none; color: var(--teal-200); }

/* Hero side panel */
.hero__panel {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 32px);
  backdrop-filter: blur(9px);
  box-shadow: var(--sh-4);
}
.hero__panel h2 {
  color: #fff; font-size: 1.06rem; margin-bottom: var(--sp-4);
  letter-spacing: 0; text-transform: none;
}
.hero__panel-list { list-style: none; margin: 0 0 var(--sp-5); padding: 0; display: grid; gap: 11px; }
.hero__panel-list li {
  display: flex; align-items: flex-start; gap: 11px; margin: 0;
  font-size: .93rem; color: #C3D4E2;
}
.hero__panel-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--teal-200); }
.hero__panel-divider { height: 1px; background: rgba(255,255,255,.14); margin: 0 0 var(--sp-5); }
.hero__panel .btn { width: 100%; }
.hero__panel-note {
  font-size: .82rem; color: #9FB4C6; margin: var(--sp-4) 0 0; text-align: center;
}

/* ------------------------------------------------------------ 8. STAT STRIP */
.stat-strip {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.07);
}
.stat-strip__inner {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: rgba(255,255,255,.09);
}
@media (min-width: 900px) { .stat-strip__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat {
  background: var(--ink); padding: var(--sp-5) var(--sp-4); text-align: center;
}
.stat__num {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.05rem); color: #fff; letter-spacing: -.03em; line-height: 1.1;
}
.stat__num span { color: var(--teal-200); }
.stat__label { font-size: .8rem; color: #93A9BC; letter-spacing: .04em; margin-top: 6px; display: block; }

/* -------------------------------------------------------- 9. SERVICE CARDS */
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.svc-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--accent, var(--teal));
  z-index: 2;
}
.svc-card__media {
  margin: calc(var(--sp-6) * -1) calc(var(--sp-5) * -1) var(--sp-5);
  height: 190px; overflow: hidden; background: var(--slate-100);
}
.svc-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s var(--ease);
}
.svc-card--media:hover .svc-card__media img { transform: scale(1.025); }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: transparent; }
.svc-card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent, var(--teal)) 11%, #fff);
  color: var(--accent, var(--teal)); margin-bottom: var(--sp-4);
}
.svc-card__icon svg { width: 27px; height: 27px; }
.svc-card h3 { font-size: var(--step-1); margin-bottom: var(--sp-3); }
@media (min-width: 1024px) {
  /* reserve two title lines in the 3-up grid so body copy lines up across cards */
  .svc-card h3 { min-height: 2.36em; }
}
.svc-card p { font-size: .95rem; color: var(--muted); margin-bottom: var(--sp-4); }
.svc-card ul { margin: 0 0 var(--sp-4); }
.svc-card li { font-size: .92rem; color: var(--body); }
.svc-card .link-arrow { margin-top: auto; }

/* ------------------------------------------------------------- 10. CHIPS */
.chips {
  display: flex; flex-wrap: wrap; gap: 12px 9px;
  margin-bottom: clamp(26px, 4vw, 40px);
}
.chip {
  appearance: none; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  padding: 9px 17px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: .87rem; font-weight: 700;
  transition: all .18s var(--ease);
}
.chip:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-50); }
.chip[aria-pressed="true"] {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.chip__count {
  display: inline-block; margin-left: 7px; font-size: .74rem;
  opacity: .6; font-weight: 600;
}

.filter-status {
  font-size: .9rem; color: var(--muted); margin-bottom: var(--sp-5);
}
.filter-status strong { color: var(--navy); }

/* ------------------------------------------------------- 11. PRODUCT CARDS */
.pgrid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 620px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.pcard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: transparent; }
.pcard[hidden] { display: none; }

.pcard__media {
  position: relative; background: linear-gradient(160deg, #F8FBFD 0%, var(--slate-100) 100%);
  padding: var(--sp-5); display: grid; place-items: center;
  min-height: 208px; border-bottom: 1px solid var(--line-soft);
}
.pcard__media img {
  width: 100%; height: 168px; object-fit: contain;
  transition: transform .35s var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.045); }
.pcard__media--icon { color: var(--navy-600); }
.pcard__media--icon svg { width: 74px; height: 74px; opacity: .5; }

.badge {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-display); font-size: .68rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--teal);
  background: rgba(255,255,255,.94); border: 1px solid var(--teal-200);
  padding: 5px 10px; border-radius: var(--r-pill);
}
.badge--brand { left: auto; right: 14px; color: var(--navy-600); border-color: var(--line); }

.pcard__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.pcard__title { font-size: 1.06rem; margin-bottom: var(--sp-2); line-height: 1.3; }
.pcard__tag { font-size: .89rem; color: var(--muted); margin-bottom: var(--sp-4); }
.pcard__bullets { margin: 0 0 var(--sp-4); padding-left: 1.05rem; }
.pcard__bullets li { font-size: .885rem; margin-bottom: 6px; color: var(--body); }
.pcard__bullets li::marker { color: var(--teal); }
.pcard__desc { font-size: .92rem; color: var(--muted); margin-bottom: var(--sp-4); }
.pcard__more {
  margin: 0 0 var(--sp-4); font-size: .885rem; color: var(--body);
  border-left: 3px solid var(--teal-200); padding-left: 13px;
}
.pcard__foot {
  margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap;
}
.spec-toggle {
  appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--teal-50); color: var(--teal);
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.spec-toggle:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.spec-toggle svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.spec-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.spec-panel {
  border-top: 1px dashed var(--line);
  background: var(--mist);
  padding: var(--sp-5);
}
.spec-panel[hidden] { display: none; }
.spec-panel h4 {
  font-size: .76rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); margin-bottom: var(--sp-3);
}
.spec-panel ul { margin: 0; padding-left: 1.05rem; }
.spec-panel li { font-size: .875rem; margin-bottom: 7px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .855rem; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th {
  text-align: left; vertical-align: top; width: 38%;
  padding: 8px 12px 8px 0; color: var(--navy); font-weight: 700;
  font-family: var(--font-display); font-size: .8rem;
}
.spec-table td { padding: 8px 0; color: var(--body); }

/* -------------------------------------------------- 12. CAPABILITY & LISTS */
.cap-list { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; }
.cap-list li {
  margin: 0; padding: 9px 15px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  color: #CBD9E5; font-size: .875rem; font-weight: 500;
}
.section:not(.section--navy) .cap-list li {
  background: #fff; border-color: var(--line); color: var(--body);
}
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 13px; font-size: .95rem;
}
.check-list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--teal); }

/* ----------------------------------------------------- 13. SPLIT / FEATURE */
.split { display: grid; gap: clamp(28px, 5vw, 60px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-3); }
.split__media--offset::after {
  content: ""; position: absolute; inset: auto -14px -14px auto;
  width: 58%; height: 58%; border-radius: var(--r-lg);
  background: repeating-linear-gradient(45deg, var(--teal-50) 0 8px, transparent 8px 16px);
  z-index: -1;
}
.media-frame {
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #F8FBFD 0%, var(--slate-100) 100%);
  border: 1px solid var(--line); padding: var(--sp-6);
  display: grid; place-items: center;
}
.media-frame img { max-height: 340px; width: auto; object-fit: contain; }

/* --------------------------------------------------------- 14. PROCESS/NOTE */
.note {
  display: flex; gap: 13px; padding: var(--sp-4) var(--sp-5);
  background: var(--teal-50); border-left: 4px solid var(--teal);
  border-radius: 0 var(--r-md) var(--r-md) 0; font-size: .92rem; color: var(--body);
}
.note svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--teal); }
.note p:last-child { margin-bottom: 0; }
.section--navy .note {
  background: rgba(255,255,255,.06); border-left-color: var(--teal-200); color: #C3D4E2;
}
.section--navy .note svg { color: var(--teal-200); }

/* ----------------------------------------------------------- 15. CLIENTELE */
.cl-grid { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 620px) { .cl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cl-item {
  display: flex; align-items: center; gap: 13px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 15px 17px; font-size: .93rem; color: var(--navy);
  font-weight: 600; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.cl-item:hover { border-color: var(--teal-200); box-shadow: var(--sh-2); transform: translateY(-2px); }
.cl-item svg { width: 20px; height: 20px; flex: none; color: var(--teal); }

.cl-grid--professional { gap: var(--sp-4); }
.clientele-showcase { border:1px solid var(--line); border-radius:var(--r-xl); overflow:hidden; background:linear-gradient(180deg,#fff 0%,#F8FBFD 100%); box-shadow:var(--sh-1); }
.clientele-showcase__summary { display:grid; gap:var(--sp-4); align-items:center; padding:clamp(22px,4vw,36px); background:var(--navy); color:#D5E3EF; border-bottom:4px solid var(--red); }
@media (min-width:780px) { .clientele-showcase__summary { grid-template-columns:.8fr 1.2fr; } }
.clientele-showcase__summary > div { display:flex; align-items:center; gap:13px; }
.clientele-showcase__count { color:#fff; font-family:var(--font-display); font-size:clamp(2rem,4vw,3.2rem); font-weight:800; line-height:1; }
.clientele-showcase__summary p { margin:0; color:#BFD1DF; max-width:58ch; }
.clientele-showcase .cl-grid { padding:clamp(18px,3vw,30px); }
.cl-item--professional { align-items:flex-start; padding:18px; border-radius:var(--r-lg); min-height:100px; }
.cl-item--professional:hover { border-color:rgba(214,40,40,.3); transform:translateY(-3px); }
.cl-item__icon { width:42px; height:42px; border-radius:12px; flex:none; display:grid; place-items:center; background:var(--red-soft); color:var(--red); border:1px solid rgba(214,40,40,.12); }
.cl-item__icon svg { width:20px; height:20px; color:currentColor; }
.cl-item__copy { min-width:0; }
.cl-item__copy h3 { font-size:.98rem; line-height:1.35; margin:1px 0 7px; color:var(--navy); }
.cl-item__copy p { display:flex; gap:6px; align-items:flex-start; margin:0; color:var(--muted); font-weight:500; font-size:.82rem; }
.cl-item__copy p svg { width:14px; height:14px; flex:none; margin-top:2px; color:var(--red); }

/* ------------------------------------------------------------ 16. CTA BAND */
.cta-band {
  position: relative; background: var(--navy); color: #D7E3EE;
  border-radius: var(--r-xl); padding: clamp(30px, 5vw, 56px);
  overflow: hidden; isolation: isolate;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 120% at 92% 8%, rgba(15,118,110,.55) 0%, rgba(15,118,110,0) 60%);
}
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { color: #BFD2E2; max-width: 62ch; margin-bottom: var(--sp-5); }
.cta-band__inner { display: grid; gap: var(--sp-5); align-items: center; }
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .cta-band .btn-row { justify-content: flex-end; }
}

/* -------------------------------------------------------------- 17. FOOTER */
.footer { background: var(--ink); color: #9FB2C3; font-size: .9rem; }
.footer__top { padding-block: clamp(44px, 6vw, 72px); display: grid; gap: var(--sp-7); }
@media (min-width: 768px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1.35fr; gap: var(--sp-6); } }
.footer h3 {
  color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-4); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name span { color: var(--teal-200); }
.footer__brand .brand__sub { color: #7C93A7; }
.footer p { color: #93A9BC; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #B8C8D6; }
.footer a:hover { color: var(--teal-200); }
.footer__contact { display: flex; gap: 11px; margin-bottom: var(--sp-4); align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--teal-200); }
.footer__contact div { min-width: 0; }
.footer__office {
  font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: .85rem; letter-spacing: .02em; margin-bottom: 3px;
}
.footer__hours { margin-top: var(--sp-4); font-size: .85rem; color: #8CA2B5; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding-block: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center;
  justify-content: space-between; font-size: .83rem;
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* ------------------------------------------------------- 18. PAGE HEADER */
.page-head {
  position: relative; background: var(--navy); color: #D7E3EE; overflow: hidden;
  padding-block: clamp(40px, 6vw, 74px);
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(75% 130% at 88% 0%, rgba(15,118,110,.45) 0%, rgba(15,118,110,0) 58%);
}
.page-head__inner { position: relative; max-width: 860px; }
.page-head h1 { color: #fff; margin-bottom: var(--sp-4); }
.page-head p { color: #B9CBDC; font-size: var(--step-1); margin: 0; max-width: 68ch; }
.crumbs {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: .82rem; color: #8CA2B5; margin-bottom: var(--sp-4); list-style: none; padding: 0;
}
.crumbs li { margin: 0; }
.crumbs a { color: var(--teal-200); }
.crumbs svg { width: 13px; height: 13px; opacity: .6; }

/* ------------------------------------------------------ 19. CONTACT PAGE */
.contact-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }

.office-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5); height: 100%;
  border-top: 4px solid var(--teal);
}
.office-card h3 { font-size: var(--step-1); margin-bottom: var(--sp-5); }
.office-row { display: flex; gap: 13px; margin-bottom: var(--sp-4); align-items: flex-start; }
.office-row svg { width: 19px; height: 19px; flex: none; margin-top: 4px; color: var(--teal); }
.office-row dt {
  font-family: var(--font-display); font-size: .74rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px;
}
.office-row dd { margin: 0; font-size: .95rem; color: var(--body); }
.office-row dd a { color: var(--navy-600); font-weight: 600; }
.office-row dd a:hover { color: var(--teal); }

.hours-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours-table th, .hours-table td { padding: 11px 0; border-bottom: 1px solid var(--line-soft); text-align: left; }
.hours-table th { font-weight: 600; color: var(--navy); }
.hours-table td { text-align: right; color: var(--body); font-variant-numeric: tabular-nums; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table .closed { color: #B4453C; font-weight: 600; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 4vw, 38px); box-shadow: var(--sh-2);
}
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: .84rem; color: var(--navy); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: .95rem; color: var(--body);
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 4px rgba(16,145,132,.14);
}
.field-row { display: grid; gap: var(--sp-4); }
@media (min-width: 620px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field__hint { font-size: .8rem; color: var(--muted); margin: 6px 0 0; }
.form-note { font-size: .84rem; color: var(--muted); margin: var(--sp-4) 0 0; }
.form-status {
  display: none; margin-bottom: var(--sp-4); padding: 13px 16px; border-radius: var(--r-md);
  background: var(--teal-50); border-left: 4px solid var(--teal); font-size: .9rem; color: var(--body);
}
.form-status.is-visible { display: block; }

.map-note {
  display: flex; gap: 12px; align-items: flex-start; padding: var(--sp-5);
  background: var(--mist); border: 1px dashed var(--line); border-radius: var(--r-md);
  font-size: .9rem; color: var(--muted);
}
.map-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--teal); }


.section--map { background:#fff; }
.map-section__head { max-width:780px; }
.map-card { overflow:hidden; background:#fff; border:1px solid var(--line); border-radius:var(--r-xl); box-shadow:var(--sh-2); }
.map-card__frame { position:relative; min-height:380px; background:var(--mist); }
.map-card__frame iframe { display:block; width:100%; min-height:420px; height:52vw; max-height:560px; border:0; }
.map-card__body { display:grid; gap:var(--sp-4); align-items:center; padding:clamp(20px,3vw,30px); border-top:1px solid var(--line-soft); }
.map-card__body strong { color:var(--navy); font-family:var(--font-display); font-size:1.05rem; }
.map-card__body p { margin:5px 0 0; color:var(--muted); font-size:.9rem; }
@media (min-width:900px) { .map-card__body { grid-template-columns:minmax(0,1fr) auto; } .map-card__body .btn-row { justify-content:flex-end; } }

.bm-quick-contact { position:fixed; right:18px; bottom:18px; z-index:95; display:grid; gap:10px; filter:drop-shadow(0 9px 20px rgba(6,23,38,.2)); }
.bm-quick-contact__item { display:flex; align-items:center; gap:10px; min-height:50px; padding:9px 14px 9px 11px; border-radius:999px; color:#fff; border:1px solid rgba(255,255,255,.22); transition:transform .18s var(--ease),box-shadow .18s var(--ease); text-decoration:none; }
.bm-quick-contact__item:hover { color:#fff; transform:translateY(-2px); box-shadow:var(--sh-2); }
.bm-quick-contact__item svg { width:22px; height:22px; flex:none; }
.bm-quick-contact__item span { display:grid; line-height:1.08; }
.bm-quick-contact__item strong { font-size:.78rem; font-family:var(--font-display); }
.bm-quick-contact__item small { font-size:.72rem; opacity:.9; margin-top:3px; }
.bm-quick-contact__item--call { background:var(--red); }
.bm-quick-contact__item--call:hover { background:var(--red-dark); }
.bm-quick-contact__item--wa { background:#128C7E; }
.bm-quick-contact__item--wa:hover { background:#0D7469; }
@media (max-width:640px) { .bm-quick-contact { right:10px; bottom:10px; gap:8px; } .bm-quick-contact__item { min-width:48px; min-height:48px; padding:10px 12px; } .bm-quick-contact__item small { display:none; } }

/* --------------------------------------------------------- 20. ANIMATION */
/* Content is visible by default; the hidden state only applies once JS has
   confirmed it is running (html.js), so a JS failure never hides content. */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

/* ------------------------------------------------------ 21. RESPONSIVE FIX */
@media (max-width: 400px) {
  .brand__sub { display: none; }
  .brand__mark { width: 34px; height: 34px; }
  .chip { padding: 8px 14px; font-size: .82rem; }
  .btn { padding: 13px 18px; font-size: .9rem; }
  .pcard__media { min-height: 180px; padding: var(--sp-4); }
  .pcard__media img { height: 140px; }
}

/* -------------------------------------------------- 22. MOTION & PRINT */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .header, .topbar, .drawer, .burger, .cta-band, .footer__bottom { display: none !important; }
  body { color: #000; }
  .pcard, .svc-card { break-inside: avoid; box-shadow: none; }
  .spec-panel { display: block !important; }
}

/* ------------------------------------------- 23. FORM STATES & SPAM TRAP */
/* Honeypot: kept out of the layout and out of the tab order. People never
   fill it in; naive bots usually do. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.field__req { color: #B4453C; font-weight: 700; }

.field--error input,
.field--error select,
.field--error textarea {
  border-color: #C0392B;
  background: #FDF3F2;
}
.field--error input:focus,
.field--error select:focus,
.field--error textarea:focus {
  border-color: #C0392B;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, .14);
}

.field__error {
  display: none;
  margin: 7px 0 0;
  font-size: .82rem;
  font-weight: 600;
  color: #B4453C;
}
.field--error .field__error { display: block; }

.form-status--ok    { background: var(--teal-50); border-left-color: var(--teal); }
.form-status--error { background: #FDF3F2; border-left-color: #C0392B; color: #8E2F24; }
.form-status--busy  { background: var(--mist); border-left-color: var(--navy-600); }

.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::after {
  content: "";
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: bmspin .7s linear infinite;
}
@keyframes bmspin { to { transform: rotate(360deg); } }

/* ==========================================================================
   24. WORDPRESS INTEGRATION
   Styles for markup WordPress generates: core classes, the admin bar offset
   for the sticky header, menu output, editor content and comments.
   ========================================================================== */

/* The sticky header must clear the admin bar for logged-in users. */
body.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}

/* Custom logo uploaded in the Customizer. */
.custom-logo-link { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.custom-logo { width: auto; max-height: 48px; }
@media (max-width: 1023px) { .custom-logo { max-height: 40px; } }

/* WordPress menu output: the theme's link classes are applied in PHP, but the
   wp_list_pages fallback has none, so style both shapes. */
.nav__list > li > a {
  display: block; padding: 10px 13px; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 600; color: var(--navy);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav__list > li > a:hover { background: var(--mist); color: var(--teal); }
.nav__list > li > a[aria-current="page"] { color: var(--teal); background: var(--teal-50); }
.drawer__list > li > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px; color: #EAF2F9; font-family: var(--font-display);
  font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.drawer__list > li > a:hover { color: var(--teal-200); }
.nav__list li.current-menu-item > a,
.drawer__list li.current-menu-item > a { color: var(--teal); }
.drawer__list li.current-menu-item > a { color: var(--teal-200); }
.footer ul li a { color: #B8C8D6; }
.footer ul li a:hover { color: var(--teal-200); }

/* Screen-reader text. */
.screen-reader-text {
  border: 0; clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #fff; clip-path: none; color: var(--navy); display: block;
  font-size: .875rem; font-weight: 700; height: auto; left: 6px; line-height: normal;
  padding: 15px 23px 14px; text-decoration: none; top: 6px; width: auto; z-index: 100000;
}

/* Sticky posts. */
.sticky .pcard__title::after,
.sticky h3::after { content: " ★"; color: var(--amber); }

/* Editor content, as rendered by the page templates. */
.entry-content { max-width: 900px; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { margin-top: var(--sp-7); }
.entry-content h3 { margin-top: var(--sp-6); }
.entry-content ul, .entry-content ol { padding-left: 1.15rem; }
.entry-content li::marker, .spec-panel li::marker { color: var(--teal); }
.entry-content img, .entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content img { height: auto; border-radius: var(--r-md); }
.entry-content blockquote {
  margin: var(--sp-5) 0; padding: var(--sp-5); border-left: 4px solid var(--teal);
  background: var(--mist); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: var(--sp-5); }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { color: var(--navy); font-family: var(--font-display); font-weight: 700; }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; }
.entry-content .alignwide { max-width: 100%; }
.entry-content .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.page-template-template-about .entry-content { max-width: none; }

/* Gutenberg alignment helpers. */
.alignleft { float: left; margin: 0 var(--sp-5) var(--sp-4) 0; }
.alignright { float: right; margin: 0 0 var(--sp-4) var(--sp-5); }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-block-image figcaption {
  font-size: .85rem; color: var(--muted); text-align: center; margin-top: var(--sp-2);
}
.wp-block-button__link {
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 22px;
  border-radius: var(--r-pill); background: var(--teal); color: #fff;
  font-family: var(--font-display); font-weight: 700; text-decoration: none;
}

/* Pagination generated by the_posts_pagination(). */
.pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: var(--sp-7); }
.pagination .page-numbers, .pagination .nav-links a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px;
  padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  color: var(--navy); background: #fff; text-decoration: none;
}
.pagination .page-numbers:hover { border-color: var(--teal); color: var(--teal); }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .page-numbers.dots { border-color: transparent; background: transparent; }

/* Comments. */
.comments-area { max-width: 820px; margin-top: var(--sp-8); }
.comment-list { list-style: none; padding: 0; margin: 0 0 var(--sp-6); }
.comment-list li { margin: 0; }
.comment-list .children { list-style: none; padding-left: var(--sp-5); }
.comment-body { border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); margin-bottom: var(--sp-4); }
.comment-author { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: .82rem; color: var(--muted); margin-bottom: var(--sp-3); }
.comment-metadata a { color: var(--muted); }
.comment-content p:last-child { margin-bottom: 0; }
.reply a { font-family: var(--font-display); font-weight: 700; font-size: .85rem; }
.comment-respond { margin-top: var(--sp-6); }
.comment-form label {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: .84rem; color: var(--navy); margin-bottom: 6px;
}
.comment-form input[type="text"], .comment-form input[type="email"],
.comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--mist); font: inherit;
}
.comment-form input:focus, .comment-form textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 4px rgba(16, 145, 132, .14);
}
.comment-form .submit {
  background: var(--teal); color: #fff; border: 0; padding: 14px 22px;
  border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 700; cursor: pointer;
}
.comment-form .submit:hover { background: var(--teal-500); }
.comment-form-cookies-consent { display: flex; gap: 9px; align-items: flex-start; font-size: .88rem; }
.comment-form-cookies-consent input { width: auto; }
.comment-form-cookies-consent label { margin: 0; font-weight: 400; font-family: var(--font-body); }
.comment-notes, .logged-in-as { font-size: .86rem; color: var(--muted); }

/* Search form, wherever it appears. */
.search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.search-form .search-field {
  flex: 1 1 220px; min-width: 0; padding: 13px 15px; font: inherit;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
}
.search-form .search-field:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(16, 145, 132, .14); }
.search-form .search-submit {
  background: var(--navy); color: #fff; border: 0; padding: 13px 20px;
  border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 700; cursor: pointer;
}
.search-form .search-submit:hover { background: var(--navy-700); }

/* Chip rendered as a link (category archives). */
.chip--link { display: inline-flex; align-items: center; text-decoration: none; }
.chip--link[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Equipment card title link and image. */
.pcard__title a { color: inherit; text-decoration: none; }
.pcard__title a:hover { color: var(--teal); }
.pcard__img { width: 100%; height: 168px; object-fit: contain; }
.spec-panel .entry-content { max-width: none; }
.spec-panel h4 + p { margin-top: 0; }


/* ===========================================================
   24. SALES ENHANCEMENTS — slider, red accents & product CTA
   =========================================================== */
.text-red { color: var(--red); }
.eyebrow--red { color: var(--red); }
.eyebrow--red::before { background: var(--red); }
.sales-kicker {
  display: inline-block; margin-bottom: 9px; color: #FF9B9B;
  font-family: var(--font-display); font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.sales-kicker--light { color: #FFB7B7; }

.btn--red { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 10px 26px rgba(214,40,40,.24); }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--whatsapp { background: #128C7E; color: #fff; border-color: #128C7E; box-shadow: var(--sh-2); }
.btn--whatsapp:hover { background: #0D7469; border-color: #0D7469; color: #fff; }
.btn--whatsapp svg, .btn--red svg { width: 18px; height: 18px; }

/* Homepage banner slider. */
.hero-slider { min-height: 650px; }
.hero-slider__media { position: absolute; inset: 0; z-index: -2; }
.hero-slider__bg { position: absolute; inset: 0; opacity: 0; transform: scale(1.025); transition: opacity .75s ease, transform 6s ease; }
.hero-slider__bg.is-active { opacity: 1; transform: scale(1); }
.hero-slider__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slider__progress { position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 4; background: rgba(255,255,255,.13); }
.hero-slider__progress span { display: block; width: 0; height: 100%; background: var(--red); }
.hero-slider__inner { z-index: 1; }
.hero-slider__left { min-width: 0; }
.hero-slider__copy-stack { display: grid; }
.hero-slider__copy { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; transition: opacity .4s ease, transform .4s ease, visibility .4s; }
.hero-slider__copy.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.hero-slider__copy h1 { max-width: 17ch; }
.hero-slider__copy h1::after { content: ""; display: block; width: 70px; height: 4px; margin-top: 18px; border-radius: 999px; background: var(--red); }
.hero-slider__controls { display: flex; align-items: center; gap: 12px; margin-top: var(--sp-5); }
.hero-slider__arrow {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #fff;
  font-size: 1.55rem; line-height: 1; cursor: pointer; transition: background .2s ease, border-color .2s ease;
}
.hero-slider__arrow:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.55); }
.hero-slider__dots { display: flex; align-items: center; gap: 8px; }
.hero-slider__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.38); cursor: pointer; transition: width .2s ease, background .2s ease; }
.hero-slider__dot.is-active { width: 28px; border-radius: 999px; background: var(--red); }
.hero-trust-note { margin: var(--sp-5) 0 0; color: #BFD2E2; font-size: .9rem; }
.hero-trust-note span { color: #fff; font-weight: 800; }
.hero__panel--sales { border-top: 3px solid var(--red); }
.hero__panel--sales h2 { font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); }

.hero-countdown {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: var(--sp-5); padding: 12px 14px; border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.16); background: rgba(5,20,34,.42); backdrop-filter: blur(8px);
}
.hero-countdown__label { color: #fff; font-family: var(--font-display); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.hero-countdown__grid { display: flex; gap: 7px; }
.hero-countdown__grid > span { min-width: 50px; padding: 7px 8px; border-radius: 9px; text-align: center; background: rgba(255,255,255,.1); }
.hero-countdown__grid strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.05; }
.hero-countdown__grid small { display: block; margin-top: 3px; color: #BFD2E2; font-size: .62rem; text-transform: uppercase; }
.hero-countdown.is-expired { display: none; }

/* More persuasive equipment cards without turning the catalogue into a checkout. */
.pcard { position: relative; }
.pcard::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--red); opacity: 0; transition: opacity .25s ease; }
.pcard:hover::after { opacity: 1; }
.pcard__actions { display: grid; grid-template-columns: 1fr 1.1fr; gap: 8px; margin-top: auto; padding-top: var(--sp-3); }
.pcard__view, .pcard__whatsapp {
  min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 11px; border-radius: 10px; font-family: var(--font-display); font-weight: 800;
  font-size: .78rem; text-align: center; text-decoration: none; transition: .18s ease;
}
.pcard__view { border: 1px solid var(--line); background: #fff; color: var(--navy); }
.pcard__view:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.pcard__whatsapp { border: 1px solid #128C7E; background: #128C7E; color: #fff; }
.pcard__whatsapp:hover { border-color: #0D7469; background: #0D7469; color: #fff; }
.pcard__view svg, .pcard__whatsapp svg { width: 15px; height: 15px; flex: none; }
.pcard__foot { margin-top: var(--sp-3); padding-top: var(--sp-3); }

/* Single equipment sales page. */
.product-head { position: relative; overflow: hidden; }
.product-head::after { content: ""; position: absolute; right: 5vw; bottom: -46px; width: 170px; height: 170px; border-radius: 50%; background: rgba(214,40,40,.08); }
.product-head__kicker { display: inline-block; margin: 10px 0 8px; color: var(--red); font-family: var(--font-display); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-section { padding-top: clamp(38px, 6vw, 74px); }
.product-showcase { display: grid; gap: clamp(30px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .product-showcase { grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); } }
.product-visual { position: sticky; top: 118px; }
.product-media-frame { position: relative; min-height: 420px; padding-top: 62px; background: linear-gradient(145deg,#fff 0%,#F5F8FB 100%); box-shadow: var(--sh-2); }
.product-media-frame img { max-height: 410px; width: 100%; object-fit: contain; }
.product-auth-badge {
  position: absolute; top: 18px; left: 18px; right: 18px; display: inline-flex; align-items: center; gap: 7px;
  width: max-content; max-width: calc(100% - 36px); padding: 8px 12px; border-radius: var(--r-pill);
  background: var(--red-soft); color: var(--red-dark); border: 1px solid #F6CACA;
  font-family: var(--font-display); font-size: .72rem; font-weight: 800;
}
.product-auth-badge svg { width: 16px; height: 16px; flex: none; }
.product-assurance-grid { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 12px; }
@media (min-width: 560px) and (max-width: 959px), (min-width: 1120px) { .product-assurance-grid { grid-template-columns: repeat(3,1fr); } }
.product-assurance-grid > div { padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.product-assurance-grid strong { display: block; margin-bottom: 4px; color: var(--navy); font-family: var(--font-display); font-size: .8rem; }
.product-assurance-grid span { display: block; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.product-meta { margin-bottom: var(--sp-5); }
.product-meta li:first-child { border-color: #F3C7C7 !important; background: var(--red-soft) !important; color: var(--red-dark) !important; }
.product-copy { color: var(--body); }
.product-copy > :first-child { margin-top: 0; }
.product-copy h2, .product-copy h3, .product-copy h4 { color: var(--navy); }
.product-copy a { color: var(--red); }
.product-specs { margin-top: var(--sp-6); padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--mist); }
.product-specs h3 { margin-bottom: var(--sp-4); font-size: 1rem; color: var(--navy); }
.product-buybox { margin-top: var(--sp-6); padding: clamp(22px,4vw,32px); border-radius: var(--r-xl); background: linear-gradient(135deg,var(--navy) 0%,#103E70 100%); color: #C8D8E6; box-shadow: var(--sh-3); border-top: 4px solid var(--red); }
.product-buybox h2 { margin-bottom: 10px; color: #fff; font-size: clamp(1.25rem,1.08rem + .8vw,1.72rem); }
.product-buybox p { margin-bottom: var(--sp-5); color: #C8D8E6; }
.product-buybox__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.product-buybox small { display: block; margin-top: 14px; color: #95ADC1; line-height: 1.5; }
.product-back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--sp-5); color: var(--navy); font-family: var(--font-display); font-size: .88rem; font-weight: 800; }
.product-back-link:hover { color: var(--red); }
.product-back-link svg { width: 16px; height: 16px; }

.mobile-order-bar { display: none; }
@media (max-width: 959px) { .product-visual { position: static; } }
@media (max-width: 720px) {
  .hero-slider { min-height: 0; }
  .hero-slider__bg img { object-position: 58% center; }
  .hero-slider__progress { height: 3px; }
  .hero-slider__copy h1 { max-width: none; }
  .hero-countdown { display: block; }
  .hero-countdown__label { display: block; margin-bottom: 8px; }
  .hero-countdown__grid { width: 100%; }
  .hero-countdown__grid > span { flex: 1; min-width: 0; }
  .hero__panel--sales { margin-top: 4px; }
  .pcard__actions { grid-template-columns: 1fr; }
  .product-media-frame { min-height: 320px; padding-inline: 18px; }
  .product-media-frame img { max-height: 310px; }
  .mobile-order-bar {
    position: fixed; z-index: 90; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 10px 10px 14px; border-radius: 16px; background: rgba(6,23,38,.96); color: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.26); backdrop-filter: blur(10px);
  }
  .mobile-order-bar > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-display); font-size: .78rem; font-weight: 700; }
  .mobile-order-bar a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 11px; background: #128C7E; color: #fff; font-family: var(--font-display); font-size: .78rem; font-weight: 800; }
  .mobile-order-bar svg { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider__bg, .hero-slider__copy, .hero-slider__progress span { transition: none !important; transform: none !important; }
}

/* Editable standard-page featured image */
.page-featured-image { margin: 0 0 var(--sp-7); }
.page-featured-image img { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-2); }


/* ========================================================================== 
   1.3 — WhatsApp equipment cart
   ========================================================================== */
.header-cart {
  position: relative; flex: none; min-width: 46px; height: 46px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--navy);
  font-family: var(--font-display); font-weight: 800; cursor: pointer; transition: .18s ease;
}
.header-cart:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.header-cart svg { width: 19px; height: 19px; }
.header-cart__label { display: none; font-size: .82rem; }
.bm-cart-count {
  min-width: 20px; height: 20px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--red); color: #fff; font-size: .68rem; line-height: 1; font-weight: 800;
}
@media (min-width: 1024px) { .header-cart__label { display: inline; } }
@media (max-width: 480px) {
  .header__inner { gap: 8px; }
  .brand__text { display: none; }
  .header-cart { width: 42px; min-width: 42px; height: 42px; padding: 0; }
  .header-cart .bm-cart-count { position: absolute; right: -5px; top: -5px; min-width: 18px; height: 18px; }
  .burger { width: 42px; height: 42px; }
}
.drawer__cart {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.1);
  background: transparent; color: #DCE7F0; display: flex; align-items: center; gap: 10px;
  font: inherit; font-size: .95rem; text-align: left; cursor: pointer;
}
.drawer__cart .bm-cart-count { margin-left: auto; }
.drawer__cart svg { width: 17px; height: 17px; color: var(--teal-200); }

.pcard__actions { grid-template-columns: 1fr 1fr; }
.pcard__view { grid-column: 1 / -1; }
.pcard__view, .pcard__whatsapp, .pcard__cart {
  min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 11px; border-radius: 10px; font-family: var(--font-display); font-weight: 800;
  font-size: .78rem; text-align: center; text-decoration: none; transition: .18s ease;
}
.pcard__cart { border: 1px solid var(--red); background: #fff; color: var(--red); cursor: pointer; }
.pcard__cart:hover, .pcard__cart.is-added { background: var(--red); color: #fff; }
.pcard__cart svg { width: 15px; height: 15px; flex: none; }
.btn--cart { background: #fff; color: var(--red); border-color: #fff; }
.btn--cart:hover, .btn--cart.is-added { background: var(--red); color: #fff; border-color: var(--red); }
@media (max-width: 720px) {
  .pcard__actions { grid-template-columns: 1fr 1fr; }
  .pcard__view { grid-column: 1 / -1; }
}
@media (max-width: 380px) { .pcard__actions { grid-template-columns: 1fr; } .pcard__view { grid-column: auto; } }

.bm-cart-overlay {
  position: fixed; inset: 0; z-index: 149; background: rgba(6,23,38,.58); opacity: 0;
  transition: opacity .22s ease; backdrop-filter: blur(2px);
}
.bm-cart-overlay.is-visible { opacity: 1; }
.bm-cart-drawer {
  position: fixed; z-index: 150; top: 0; right: 0; width: min(460px, 100%); height: 100dvh;
  display: grid; grid-template-rows: auto 1fr auto; background: #fff; box-shadow: -20px 0 60px rgba(6,23,38,.2);
  transform: translateX(105%); transition: transform .28s var(--ease); overflow: hidden;
}
.bm-cart-drawer.is-open { transform: translateX(0); }
.bm-cart-drawer__head {
  padding: 22px 22px 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--line); background: var(--mist);
}
.bm-cart-drawer__head h2 { margin: 2px 0 0; color: var(--navy); font-size: 1.35rem; }
.bm-cart-close {
  width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.bm-cart-close:hover { border-color: var(--red); color: var(--red); }
.bm-cart-drawer__body { padding: 18px 22px; overflow-y: auto; }
.bm-cart-empty { min-height: 240px; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; color: var(--muted); }
.bm-cart-empty svg { width: 42px; height: 42px; color: var(--red); }
.bm-cart-empty p { max-width: 300px; margin: 0; }
.bm-cart-items { display: grid; gap: 12px; }
.bm-cart-item { padding: 15px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.bm-cart-item__copy { display: grid; gap: 5px; }
.bm-cart-item__title { color: var(--navy); font-family: var(--font-display); font-weight: 800; line-height: 1.35; }
a.bm-cart-item__title:hover { color: var(--red); }
.bm-cart-item__copy span { color: var(--muted); font-size: .74rem; }
.bm-cart-item__controls { margin-top: 12px; display: flex; align-items: center; gap: 7px; }
.bm-cart-qty {
  width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px;
  background: var(--mist); color: var(--navy); font-size: 1.15rem; font-weight: 800; cursor: pointer;
}
.bm-cart-qty:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.bm-cart-item__qty { min-width: 26px; text-align: center; color: var(--navy); }
.bm-cart-remove { margin-left: auto; padding: 7px 9px; border: 0; background: transparent; color: var(--red); font-weight: 800; font-size: .75rem; cursor: pointer; }
.bm-cart-remove:hover { text-decoration: underline; }
.bm-cart-drawer__footer { padding: 17px 22px 22px; border-top: 1px solid var(--line); background: #fff; }
.bm-cart-summary { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: var(--body); }
.bm-cart-summary strong { color: var(--navy); font-size: 1.15rem; }
.bm-cart-whatsapp.is-disabled { opacity: .46; pointer-events: none; }
.bm-cart-clear { width: 100%; margin-top: 9px; padding: 8px; border: 0; background: transparent; color: var(--red); font-weight: 800; cursor: pointer; }
.bm-cart-clear:disabled { display: none; }
.bm-cart-drawer__footer small { display: block; margin-top: 8px; color: var(--muted); font-size: .7rem; line-height: 1.5; text-align: center; }
@media (max-width: 520px) {
  .bm-cart-drawer__head, .bm-cart-drawer__body, .bm-cart-drawer__footer { padding-left: 16px; padding-right: 16px; }
}


/* --------------------------------------------------------------------------
   Legacy Product & Services catalogue ordering
   -------------------------------------------------------------------------- */
.bm-legacy-products .bm-legacy-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bm-legacy-products .bm-legacy-product {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 26px;
  border: 1px solid rgba(20, 43, 73, 0.12);
  border-top: 3px solid var(--red, #c61f2b);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 43, 73, 0.08);
}

.bm-legacy-products .bm-legacy-product > h1,
.bm-legacy-products .bm-legacy-product h1:first-child,
.bm-legacy-products .bm-legacy-product > h2,
.bm-legacy-products .bm-legacy-product > h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 1.5vw, 1.6rem);
  line-height: 1.2;
  color: var(--navy, #142b49);
}

.bm-legacy-products .bm-legacy-product > h1::after,
.bm-legacy-products .bm-legacy-product h1:first-child::after,
.bm-legacy-products .bm-legacy-product > h2::after,
.bm-legacy-products .bm-legacy-product > h3::after {
  content: '';
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--red, #c61f2b);
}

.bm-legacy-products .bm-legacy-product ul,
.bm-legacy-products .bm-legacy-product ol {
  padding-left: 1.2rem;
}

.bm-legacy-product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(20, 43, 73, 0.09);
}

.bm-legacy-product__actions .pcard__whatsapp,
.bm-legacy-product__actions .pcard__cart {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.bm-legacy-product__actions .pcard__whatsapp {
  flex: 1 1 130px;
  justify-content: center;
}

.bm-legacy-product__actions .pcard__cart {
  flex: 1 1 130px;
  justify-content: center;
}

@media (max-width: 820px) {
  .bm-legacy-products .bm-legacy-product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .bm-legacy-products .bm-legacy-product {
    padding: 20px;
  }

  .bm-legacy-product__actions {
    flex-direction: column;
  }

  .bm-legacy-product__actions .pcard__whatsapp,
  .bm-legacy-product__actions .pcard__cart {
    width: 100%;
    flex-basis: auto;
  }
}
