/* =====================================================================
   Cross Air Link — site stylesheet
   ---------------------------------------------------------------------
   1. Fonts            5. Header & navigation    9. Page sections
   2. Design tokens    6. Buttons & links        10. Forms
   3. Base / reset     7. Tiles & cards           11. Footer & WhatsApp
   4. Layout helpers   8. Home hero & EHR mock    12. Utilities & motion
   To change brand colours, edit the tokens in section 2 only.
   ===================================================================== */

/* 1. Fonts ------------------------------------------------------------ */
/* Poppins (headings) is self-hosted in /fonts — it is the face used in the logo.
   IBM Plex Sans (body) is loaded from Google Fonts in each page <head>. */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-medium.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-bold.woff") format("woff"); }

/* 2. Design tokens ----------------------------------------------------- */
:root {
  /* Brand colours */
  --slate: #434D56;        /* logo slate — primary brand colour */
  --slate-ink: #1F272E;    /* deep slate — headings, dark sections */
  --slate-soft: #5E6873;   /* secondary text */
  --mist: #EEF1F3;         /* cool light background */
  --mist-deep: #DFE4E8;    /* borders, dividers */
  --paper: #FFFFFF;
  --amber: #F5B800;        /* accent — calls to action only */
  --amber-deep: #8A6500;   /* amber text on white (AA contrast) */
  --amber-wash: #FFF6D6;
  --ok: #1E7A4C;
  --err: #B3261E;

  /* Type */
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.2rem + 2.2vw, 2.25rem);
  --step-4: clamp(2rem, 1.3rem + 3vw, 2.9rem);
  --step-5: clamp(2.35rem, 1.4rem + 4.2vw, 4.1rem);

  /* Shape — tiles echo the rounded squares of the globe */
  --r-tile: 14px;
  --r-block: 24px;
  --r-btn: 10px;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 72px;
}

/* 3. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); color-scheme: light; }
body {
  margin: 0; background: var(--paper); color: var(--slate-ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--slate-ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--step-5); line-height: 1.07; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: var(--step-4); line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: var(--step-1); line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
h4 { font-size: var(--step-0); line-height: 1.4; font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
a { color: inherit; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber); color: var(--slate-ink); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--slate-ink); color: #fff; padding: 10px 16px; border-radius: var(--r-btn); text-decoration: none; }
.skip-link:focus { top: 12px; }

/* 4. Layout helpers ------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--slate-ink); color: #D5DBE0; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { font-size: var(--step-1); color: var(--slate-soft); margin: 0; line-height: 1.55; }
.section--dark .section-head p { color: #AEB8C1; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: end; justify-content: space-between; }
.section-head--split > div { max-width: 46rem; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--slate-soft); }
.prose { max-width: 42rem; }
.prose h2 { font-size: var(--step-3); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .35em; }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split > * { min-width: 0; }
.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.15fr .85fr; } }

/* 5. Header & navigation --------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--mist-deep); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--slate); flex-shrink: 0; }
.brand svg { width: 38px; height: 38px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; letter-spacing: .02em; color: var(--slate); white-space: nowrap; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--slate); }
.nav a:hover { background: var(--mist); color: var(--slate-ink); }
.nav a[aria-current="page"] { color: var(--slate-ink); box-shadow: inset 0 -2px 0 var(--amber); border-radius: 8px 8px 0 0; }
.header-cta { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--mist-deep); border-radius: var(--r-btn); background: #fff; color: var(--slate-ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* hidden on desktop */
.nav .nav-mobile-cta { display: none; }
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-header .header-cta { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: #fff; padding: 16px var(--gutter) 32px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; border-top: 1px solid var(--mist-deep); }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 16px 4px; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--mist); }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--amber); padding-left: 16px; }
  .nav .nav-mobile-cta { display: flex; flex-direction: column; margin-top: 24px; }
  body.nav-locked { overflow: hidden; }
}

/* 6. Buttons & links ---------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--r-btn); border: 2px solid transparent; font-family: var(--font-head); font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--primary { background: var(--amber); color: var(--slate-ink); }
.btn--primary:hover { background: #E3AA00; }
.btn--dark { background: var(--slate-ink); color: #fff; }
.btn--dark:hover { background: var(--slate); }
.btn--outline { border-color: var(--slate); color: var(--slate-ink); background: transparent; }
.btn--outline:hover { background: var(--slate-ink); border-color: var(--slate-ink); color: #fff; }
.section--dark .btn--outline, .band .btn--outline, .ehr-band .btn--outline { border-color: #8D99A4; color: #fff; }
.section--dark .btn--outline:hover, .band .btn--outline:hover, .ehr-band .btn--outline:hover { background: #fff; color: var(--slate-ink); border-color: #fff; }
.btn--whatsapp { background: #1F8F4E; color: #fff; }
.btn--whatsapp:hover { background: #18733F; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { color: var(--slate-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.link:hover { text-decoration-color: var(--slate-ink); }
.section--dark .link { color: #fff; }

/* 7. Tiles & cards ---------------------------------------------------------------- */
/* Icon chip: a small rounded square, like one tile of the globe */
.chip { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--slate-ink); flex-shrink: 0; }
.chip svg { width: 24px; height: 24px; }
.chip--amber { background: var(--amber); }
.chip--dark { background: rgba(255,255,255,.08); color: var(--amber); }

/* Service tile wall: tiles share borders like a grid of panels */
.tile-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 12px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; background: #fff; border: 1px solid var(--mist-deep); border-radius: var(--r-tile); text-decoration: none; color: inherit; transition: border-color .15s, background-color .15s; }
a.tile:hover { border-color: var(--slate); }
a.tile:hover .chip { background: var(--amber); }
.tile h3 { margin: 0; font-size: 1.12rem; }
.tile p { margin: 0; color: var(--slate-soft); font-size: .98rem; line-height: 1.55; }
.section--mist .tile { border-color: transparent; }
.section--mist a.tile:hover { border-color: var(--slate); }
@media (max-width: 640px) {
  .tile { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; padding: 20px; align-items: start; }
  .tile .chip { grid-row: span 2; width: 44px; height: 44px; }
  .tile h3 { align-self: center; }
}

.card { background: #fff; border: 1px solid var(--mist-deep); border-radius: var(--r-block); padding: clamp(24px, 3vw, 36px); }
.section--mist .card { border-color: transparent; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 5px; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F272E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.ticks--cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); column-gap: 28px; }
.section--dark .ticks li { color: #D5DBE0; }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 1px solid var(--mist-deep); }
.fact { padding: 24px 24px 24px 0; }
.fact strong { display: block; font-family: var(--font-head); font-size: var(--step-3); font-weight: 700; letter-spacing: -0.02em; color: var(--slate-ink); line-height: 1.1; }
.fact span { color: var(--slate-soft); font-size: .98rem; }

/* 8. Page hero (inner pages) ------------------------------------------------------ */
.page-hero { background: var(--mist); padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 18ch; margin-bottom: .35em; }
.page-hero .lead { max-width: 40rem; margin: 0; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero__mark { position: absolute; right: -90px; bottom: -150px; width: 440px; color: var(--slate); opacity: .07; pointer-events: none; }
.crumbs { font-size: var(--step--1); color: var(--slate-soft); margin-bottom: 18px; }
.crumbs a { color: var(--slate-soft); }

/* Home hero */
.hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); overflow: hidden; }
.hero .split { align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 34rem; margin-bottom: 32px; }
.hero-contact { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: .98rem; color: var(--slate-soft); }
.hero-contact a, .hero-contact span { display: inline-flex; align-items: center; gap: 8px; color: var(--slate-ink); font-weight: 500; text-decoration: none; }
.hero-contact a:hover { text-decoration: underline; }
.hero-contact svg { width: 18px; height: 18px; color: var(--slate); }
.hero-globe { position: relative; width: min(100%, 520px); margin-inline: auto; aspect-ratio: 1; color: var(--slate); }
.hero-globe svg { width: 100%; height: 100%; overflow: visible; }
.hero-globe .g-tile { transform-box: fill-box; transform-origin: center; }
.hero-globe .g-tile--accent { fill: var(--amber); }
.hero-globe .g-ring { transform-box: view-box; transform-origin: 50% 50%; }
.hero-badge { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--mist-deep); border-radius: 12px; padding: 10px 14px; font-size: .9rem; font-weight: 500; color: var(--slate-ink); box-shadow: 0 12px 30px -16px rgba(31,39,46,.35); white-space: nowrap; }
.hero-badge .chip { width: 32px; height: 32px; border-radius: 8px; }
.hero-badge .chip svg { width: 18px; height: 18px; }
.hero-badge--a { left: -4%; top: 14%; }
.hero-badge--b { right: -2%; bottom: 16%; }
@media (max-width: 899px) { .hero-globe { width: min(78%, 380px); margin-top: 8px; } .hero-badge--a { left: -10%; } .hero-badge--b { right: -8%; } }
@media (max-width: 420px) { .hero-badge { font-size: .8rem; padding: 8px 10px; } }

/* Page-load moment: tiles assemble, ring sweeps in, one tile lights up */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-globe .g-tile { animation: tile-in .55s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 32ms + 150ms); }
  .js .hero-globe .g-ring { animation: ring-in 1.3s cubic-bezier(.2,.8,.2,1) both .1s; }
  .js .hero-globe .g-tile--accent { animation: tile-in .55s cubic-bezier(.2,.8,.2,1) both, accent-on .6s ease both; animation-delay: calc(var(--i) * 32ms + 150ms), 1.6s; }
  .js .hero-badge { animation: badge-in .6s ease both 1.4s; }
  .js .hero-badge--b { animation-delay: 1.65s; }
}
@keyframes tile-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes ring-in { from { opacity: 0; transform: rotate(-70deg); } to { opacity: 1; transform: none; } }
@keyframes accent-on { from { fill: currentColor; } to { fill: var(--amber); } }
@keyframes badge-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Cross EHR band + illustrative app screen */
.ehr-band { background: var(--slate-ink); color: #D5DBE0; border-radius: var(--r-block); padding: clamp(28px, 5vw, 64px); display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .ehr-band { grid-template-columns: .95fr 1.05fr; } }
.ehr-band h2 { color: #fff; }
.ehr-band p { color: #AEB8C1; }
.ehr-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-family: var(--font-head); font-weight: 500; margin-bottom: 14px; }
.ehr-tag svg { width: 20px; height: 20px; }
.modules { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; padding: 0; list-style: none; }
.modules li { padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,.07); color: #E4E8EC; font-size: .92rem; }
.modules--light li { background: #fff; color: var(--slate-ink); border: 1px solid var(--mist-deep); }

.app-mock { background: #F6F8F9; border-radius: 16px; overflow: hidden; color: var(--slate-ink); font-size: 12px; line-height: 1.4; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.12); }
.app-mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--mist-deep); }
.app-mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--mist-deep); }
.app-mock__bar b { margin-left: 10px; font-family: var(--font-head); font-weight: 500; font-size: 12px; color: var(--slate); }
.app-mock__body { display: grid; grid-template-columns: 128px 1fr; min-height: 300px; }
.app-mock__side { background: var(--slate); color: #DDE3E8; padding: 14px 10px; display: grid; align-content: start; gap: 4px; }
.app-mock__side span { padding: 6px 8px; border-radius: 6px; }
.app-mock__side span.on { background: rgba(255,255,255,.14); color: #fff; font-weight: 600; }
.app-mock__main { padding: 14px; display: grid; gap: 12px; align-content: start; }
.app-mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-mock__stat { background: #fff; border-radius: 10px; padding: 10px; border: 1px solid var(--mist-deep); }
.app-mock__stat small { display: block; color: var(--slate-soft); font-size: 10px; }
.app-mock__stat strong { font-family: var(--font-head); font-size: 18px; }
.app-mock__panel { background: #fff; border-radius: 10px; border: 1px solid var(--mist-deep); padding: 10px 12px; }
.app-mock__panel h5 { margin: 0 0 8px; font-family: var(--font-head); font-weight: 500; font-size: 11.5px; color: var(--slate); }
.app-mock__row { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 8px; padding: 6px 0; border-top: 1px solid var(--mist); align-items: center; }
.app-mock__row:first-of-type { border-top: 0; }
.pill { font-size: 10px; padding: 2px 8px; border-radius: 99px; background: var(--mist); white-space: nowrap; }
.pill--amber { background: var(--amber-wash); color: var(--amber-deep); }
.pill--ok { background: #E3F3EA; color: var(--ok); }
.app-mock__bars { display: flex; align-items: end; gap: 6px; height: 54px; }
.app-mock__bars i { flex: 1; background: var(--mist-deep); border-radius: 4px 4px 0 0; }
.app-mock__bars i.on { background: var(--amber); }
.mock-note { margin-top: 10px; font-size: .8rem; color: #8D99A4; }
@media (max-width: 520px) { .app-mock__body { grid-template-columns: 1fr; } .app-mock__side { display: none; } }

/* 9. Page sections ------------------------------------------------------------------ */
/* Steps: a real sequence, so numbering is meaningful */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); counter-reset: step; }
.steps li { counter-increment: step; padding: 24px; border-radius: var(--r-tile); background: #fff; border: 1px solid var(--mist-deep); }
.section--mist .steps li { border-color: transparent; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--slate-ink); color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: 16px; }
.steps h3 { font-size: 1.08rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--slate-soft); font-size: .97rem; line-height: 1.55; }

/* Industries: compact icon list */
.industries { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 0; border-top: 1px solid var(--mist-deep); }
.industry { display: flex; gap: 14px; align-items: flex-start; padding: 22px 16px 22px 0; border-bottom: 1px solid var(--mist-deep); }
.industry h3 { font-size: 1.02rem; margin: 0 0 4px; }
.industry p { margin: 0; color: var(--slate-soft); font-size: .95rem; line-height: 1.5; }
.section--dark .industries, .section--dark .industry { border-color: rgba(255,255,255,.1); }
.section--dark .industry p { color: #AEB8C1; }

/* Service detail sections */
.service { display: grid; gap: clamp(20px, 4vw, 56px); padding-block: clamp(40px, 6vw, 64px); border-top: 1px solid var(--mist-deep); }
.service:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .service { grid-template-columns: 5fr 7fr; } }
.service__intro .chip { margin-bottom: 18px; }
.service__intro h2 { font-size: var(--step-3); }
.service__intro p { color: var(--slate-soft); }
.service__body h3 { font-size: 1rem; font-family: var(--font-head); font-weight: 500; color: var(--slate); margin-bottom: 14px; }
.service__body .btn-row { margin-top: 8px; }
.service-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.service-index a { padding: 8px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--mist-deep); text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--slate-ink); }
.service-index a:hover { border-color: var(--slate); }

/* Product cards (software) */
.product { display: grid; gap: 20px; padding: clamp(24px, 3.5vw, 40px); background: #fff; border-radius: var(--r-block); border: 1px solid var(--mist-deep); }
.section--mist .product { border-color: transparent; }
.product__head { display: flex; gap: 16px; align-items: center; }
.product__head h2, .product__head h3 { margin: 0; font-size: var(--step-2); }
.product__head p { margin: 2px 0 0; color: var(--slate-soft); font-size: .95rem; }
.product > p { margin: 0; color: var(--slate-soft); }
.product .ticks { margin: 0; }

/* Shop */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.shop-item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mist-deep); border-radius: var(--r-block); overflow: hidden; }
.shop-item__art { aspect-ratio: 16 / 9; background: var(--mist); display: grid; place-items: center; color: var(--slate); position: relative; }
.shop-item__art svg { width: 64px; height: 64px; stroke-width: 1.4; }
.shop-item__art img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.shop-item__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.shop-item__body h3 { margin: 0; }
.shop-item__body p { margin: 0; color: var(--slate-soft); font-size: .96rem; line-height: 1.55; }
.shop-item__body .brands { font-size: .88rem; color: var(--slate-soft); }
.shop-item__body .btn { margin-top: auto; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-bar button { font: inherit; font-size: .95rem; font-weight: 500; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--mist-deep); background: #fff; color: var(--slate-ink); cursor: pointer; }
.filter-bar button[aria-pressed="true"] { background: var(--slate-ink); color: #fff; border-color: var(--slate-ink); }

/* Stories */
.story { display: grid; gap: 0; background: #fff; border-radius: var(--r-block); border: 1px solid var(--mist-deep); overflow: hidden; }
.section--mist .story { border-color: transparent; }
.story__head { padding: clamp(24px, 3vw, 36px); background: var(--slate-ink); color: #fff; }
.story__head h3 { color: #fff; margin: 10px 0 0; font-size: var(--step-2); }
.story__kind { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-size: .92rem; font-weight: 500; }
.story__kind svg { width: 18px; height: 18px; }
.story__body { padding: clamp(24px, 3vw, 36px); display: grid; gap: 22px; }
@media (min-width: 900px) { .story__body { grid-template-columns: repeat(3, 1fr); } }
.story__body h4 { font-family: var(--font-head); font-size: .95rem; color: var(--slate); margin-bottom: 8px; }
.story__body p, .story__body li { color: var(--slate-soft); font-size: .97rem; line-height: 1.55; }
.story__body ul { margin: 0; }
.story-mini { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-block); background: #fff; border: 1px solid var(--mist-deep); text-decoration: none; color: inherit; }
.section--mist .story-mini { border-color: transparent; }
a.story-mini:hover { border-color: var(--slate); }
.story-mini h3 { margin: 0; font-size: 1.15rem; }
.story-mini p { margin: 0; color: var(--slate-soft); font-size: .97rem; line-height: 1.55; }
.story-mini .result { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--mist-deep); font-weight: 500; color: var(--slate-ink); font-size: .95rem; }

/* Quote / testimonial (ready for real client quotes) */
.quote { padding: 32px; border-radius: var(--r-block); background: #fff; border: 1px solid var(--mist-deep); }
.quote blockquote { margin: 0 0 20px; font-family: var(--font-head); font-size: 1.15rem; line-height: 1.5; color: var(--slate-ink); }
.quote figcaption { color: var(--slate-soft); font-size: .95rem; }
.quote figcaption strong { color: var(--slate-ink); display: block; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.person { text-align: left; }
.person__photo { aspect-ratio: 4 / 5; border-radius: var(--r-block); background: var(--mist); display: grid; place-items: center; overflow: hidden; margin-bottom: 14px; color: var(--slate); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__photo span { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; opacity: .5; }
.person h3 { margin: 0; font-size: 1.05rem; }
.person p { margin: 2px 0 0; color: var(--slate-soft); font-size: .95rem; }

/* FAQ accordion (native details/summary — works without JavaScript) */
.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq details { background: #fff; border: 1px solid var(--mist-deep); border-radius: var(--r-tile); }
.section--mist .faq details { border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--slate); border-bottom: 2.5px solid var(--slate); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 22px 20px; color: var(--slate-soft); }
.faq details > div p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: var(--step-2); }

/* News */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mist-deep); border-radius: var(--r-block); overflow: hidden; text-decoration: none; color: inherit; }
a.post-card:hover { border-color: var(--slate); }
.post-card__art { aspect-ratio: 16 / 8; background: var(--slate-ink); color: var(--amber); display: grid; place-items: center; }
.post-card__art svg { width: 56px; height: 56px; stroke-width: 1.4; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__body h3 { margin: 0; font-size: 1.18rem; }
.post-card__body p { margin: 0; color: var(--slate-soft); font-size: .97rem; line-height: 1.55; }
.post-meta { font-size: .88rem; color: var(--slate-soft); }
.article { padding-block: clamp(48px, 7vw, 88px); }
.article .prose { margin-inline: auto; }
.article-header { max-width: 42rem; margin: 0 auto 40px; }
.article-header h1 { font-size: var(--step-4); max-width: none; }
.callout { background: var(--mist); border-radius: var(--r-tile); padding: 22px 24px; margin: 1.6em 0; }
.callout p:last-child { margin: 0; }

/* Call-to-action band */
.band { background: var(--slate-ink); color: #D5DBE0; border-radius: var(--r-block); padding: clamp(32px, 5vw, 64px); display: grid; gap: 28px; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 900px) { .band { grid-template-columns: 1.4fr 1fr; } }
.band h2 { color: #fff; margin-bottom: .3em; }
.band p { margin: 0; color: #AEB8C1; font-size: var(--step-1); line-height: 1.5; }
.band .btn-row { justify-content: flex-start; }
@media (min-width: 900px) { .band .btn-row { justify-content: flex-end; } }
.band__mark { position: absolute; right: -60px; top: -80px; width: 300px; color: #fff; opacity: .05; pointer-events: none; }

/* Contact blocks */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list a { color: var(--slate-ink); font-weight: 500; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; color: var(--slate-soft); font-size: .9rem; }
.map { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: var(--r-block); background: var(--mist); }
.map-wrap { position: relative; }
.map-load { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: var(--mist); border-radius: var(--r-block); }

/* 10. Forms ------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; color: var(--slate-ink); }
.field label span { font-weight: 400; color: var(--slate-soft); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; width: 100%; padding: 12px 14px; border: 1.5px solid #C7CED5; border-radius: var(--r-btn); background: #fff; color: var(--slate-ink); min-height: 48px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--slate-ink); box-shadow: 0 0 0 3px rgba(245,184,0,.45); }
.field .hint { font-size: .85rem; color: var(--slate-soft); }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--r-btn); font-weight: 500; }
.form-status.is-ok { display: block; background: #E3F3EA; color: var(--ok); }
.form-status.is-err { display: block; background: #FCE8E6; color: var(--err); }
.form-note { font-size: .88rem; color: var(--slate-soft); margin: 0; }
.form-card { background: #fff; border-radius: var(--r-block); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--mist-deep); }
.section--mist .form-card { border-color: transparent; }

/* 11. Footer & floating WhatsApp ------------------------------------------------------- */
.site-footer { background: var(--slate-ink); color: #AEB8C1; padding-block: clamp(56px, 7vw, 88px) 28px; margin-top: 0; font-size: .97rem; }
.site-footer a { color: #D5DBE0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 40px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin: 16px 0 0; max-width: 22rem; line-height: 1.6; }
.site-footer h2 { font-size: 1rem; color: #fff; font-weight: 500; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .9rem; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.social a:hover { background: rgba(255,255,255,.15); }
.social svg { width: 20px; height: 20px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 0 18px 0 14px; height: 54px; border-radius: 27px; background: #1F8F4E; color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 500; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); }
.wa-float:hover { background: #18733F; }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 640px) { .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 16px; } .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* 12. Utilities & motion ------------------------------------------------------------------ */
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-l { margin-top: clamp(32px, 5vw, 56px); }
.muted { color: var(--slate-soft); }
.note { font-size: .9rem; color: var(--slate-soft); }
.center { text-align: center; }
.tag { display: inline-block; font-size: .85rem; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: var(--amber-wash); color: var(--amber-deep); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .wa-float, .site-footer, .band { display: none !important; }
  body { font-size: 12pt; }
}
.contact-list .chip { background: #fff; }
/* Buttons inside the mobile menu keep their button styling */
.nav a.btn { display: flex; padding: 12px 22px; border-radius: var(--r-btn); border-bottom: 0; font-size: 1rem; box-shadow: none; }
.nav a.btn--primary, .nav a.btn--primary:hover { color: var(--slate-ink); background: var(--amber); }
.nav a.btn--whatsapp, .nav a.btn--whatsapp:hover { color: #fff; background: #1F8F4E; }
.nav .nav-mobile-cta { gap: 10px; }
.ehr-band .ehr-tag { color: var(--amber); }
