/* ============================================================
   Osamedic Diagnostics — osamedicare.com
   Aesthetic: medical red + royal/navy blue on cool off-white
   Display: Fraunces · Body: Hanken Grotesk · Data: Spline Sans Mono
   ============================================================ */

/* ---- Tokens ---- */
:root {
  /* palette — Osamedic red + blue */
  --mist:      #F4F7FB;
  --mist-2:    #FBFCFE;
  --paper:      #FFFFFF;
  --ink:        #241A1C;
  --ink-soft:   #695C5F;
  --blue-900:  #4C1013;
  --blue-800:  #6B161A;
  --blue-700:  #CC241F;
  --blue-600:  #1488BC;
  --blue-500:  #36B5EC;
  --sky-200:   #C2E4F6;
  --sky-100:   #E2F2FB;
  --sky-50:    #EFF8FD;
  --red:      #E5302A;   /* vivid accent — large display & decoration only */
  --red-600:  #CC241F;   /* AA on light: button bg + coral text on ivory/white */
  --red-700:  #A81A1A;   /* button hover */
  --azure:      #5BC0EE;
  --line:       rgba(40,20,20, 0.12);
  --line-2:     rgba(40,20,20, 0.07);

  /* type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "SF Mono", monospace;

  /* layout */
  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-sm: 12px;

  /* effects */
  --shadow-sm: 0 1px 2px rgba(35,15,16,.06), 0 4px 14px rgba(35,15,16,.05);
  --shadow-md: 0 8px 30px rgba(35,15,16,.10), 0 2px 8px rgba(35,15,16,.05);
  --shadow-lg: 0 30px 70px rgba(35,15,16,.16), 0 8px 24px rgba(35,15,16,.08);
  --ease: cubic-bezier(.22,.61,.36,1);

  --header-h: 74px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--mist);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* grain overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

::selection { background: var(--red); color: #fff; }

/* focusing scroll targets / main shouldn't paint a ring */
main:focus, section:focus, [tabindex="-1"]:focus { outline: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--blue-700); color: #fff; padding: 10px 20px; border-radius: 0 0 12px 12px;
  z-index: 10000; transition: top .2s var(--ease); font-weight: 600;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --bg: var(--blue-700); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .96rem; letter-spacing: .005em;
  padding: 13px 22px; border-radius: 100px;
  background: var(--bg); color: var(--fg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  will-change: transform; white-space: nowrap;
  box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--bg) 60%, transparent);
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--primary { --bg: var(--red-600); --fg: #fff; }
.btn--primary:hover { --bg: var(--red-700); }
.btn--ghost {
  --bg: transparent; --fg: var(--blue-800);
  box-shadow: inset 0 0 0 1.6px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.6px var(--blue-600); background: var(--sky-50); }
.btn--light { --bg: var(--mist); --fg: var(--blue-800); }
.btn--light:hover { --bg: #fff; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ============================================================
   Announcement bar
   ============================================================ */
.announce {
  background: var(--blue-900); color: var(--sky-100);
  font-size: .85rem; position: relative; z-index: 60;
}
.announce__row { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 9px 0; flex-wrap: wrap; }
.announce__text { display: inline-block; text-align: center; max-width: 100%; }
.announce__text strong { color: #fff; white-space: nowrap; }
.announce__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 0 var(--blue-500); animation: pulse 2.2s infinite; display: inline-block; vertical-align: middle; margin-right: 8px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,167,224,.55); } 70% { box-shadow: 0 0 0 8px rgba(31,167,224,0); } 100% { box-shadow: 0 0 0 0 rgba(31,167,224,0); } }
.announce__cta { display: inline-flex; align-items: center; gap: 6px; color: var(--azure); font-weight: 700; padding: 5px 6px; }
.announce__cta:hover { color: #fff; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--mist) 80%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); background: color-mix(in srgb, var(--mist) 92%, transparent); }
.header__row { display: flex; align-items: center; gap: 22px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand__mark { display: inline-grid; place-items: center; filter: drop-shadow(0 4px 8px rgba(35,15,16,.18)); transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__name { font-family: var(--display); font-weight: 600; font-size: 1.32rem; line-height: 1; color: var(--red-600); letter-spacing: -.01em; }
.brand__os { color: var(--blue-600); }
.brand__name em { display: block; font-style: normal; font-family: var(--body); font-weight: 600; font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { font-weight: 600; font-size: .94rem; color: var(--ink-soft); padding: 11px 14px; border-radius: 100px; position: relative; transition: color .2s var(--ease), background .2s var(--ease); }
.nav a:hover { color: var(--blue-800); background: var(--sky-50); }
.nav a.is-current { color: var(--blue-800); }
.nav a.is-current::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--red-600); border-radius: 2px; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.link-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .92rem; color: var(--blue-800); }
.link-phone:hover { color: var(--red-700); }
.link-phone svg { color: var(--red-600); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.6px var(--line); }
.nav-toggle span { width: 20px; height: 2px; background: var(--blue-800); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile nav ---- */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px);
  background: var(--mist-2); z-index: 70; padding: calc(var(--header-h) + 28px) 28px 28px;
  transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow-y: auto;
  border-left: 1px solid var(--line);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a { font-family: var(--display); font-size: 1.5rem; font-weight: 500; color: var(--blue-800); padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.mobile-nav nav a:hover { color: var(--red-700); padding-left: 8px; transition: padding .2s var(--ease), color .2s; }
.mobile-nav__foot { margin-top: auto; padding-top: 26px; display: grid; gap: 12px; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(35,15,16,.45); z-index: 65; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; backdrop-filter: blur(2px); }
.nav-backdrop.is-open { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); overflow: hidden; }
.hero__mesh {
  position: absolute; inset: -20% -10% auto -10%; height: 120%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 40% at 78% 8%, rgba(229,48,42,.22), transparent 60%),
    radial-gradient(44% 46% at 90% 42%, rgba(20,140,188,.20), transparent 62%),
    radial-gradient(50% 50% at 12% 18%, rgba(194,228,246,.55), transparent 60%),
    radial-gradient(30% 34% at 60% 90%, rgba(229,48,42,.10), transparent 60%);
  filter: blur(6px);
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .26;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 72px); align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-800); background: var(--sky-100); padding: 7px 14px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--sky-200); }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

.hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.7rem, 6.6vw, 5rem); line-height: .98; letter-spacing: -.025em;
  color: var(--blue-900); margin-top: 22px;
  font-optical-sizing: auto;
}
.hero__title-accent { display: block; font-style: italic; font-weight: 500; color: var(--red); position: relative; width: max-content; max-width: 100%; }
.hero__title-accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .2em;
  background: color-mix(in srgb, var(--blue-500) 38%, transparent); border-radius: 4px; z-index: -1;
  transform: scaleX(0); transform-origin: left; animation: underline 1s var(--ease) .7s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }

.hero__lead { font-size: clamp(1.04rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 33em; margin-top: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.hero__trust svg { color: var(--blue-600); flex: none; }

/* ---- Hero visual ---- */
.hero__visual { position: relative; perspective: 1400px; }
.result-card {
  background: var(--paper); border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line-2);
  position: relative; z-index: 2;
  transform: rotate3d(1, -1, 0, 6deg) translateY(0);
  animation: floatCard 7s ease-in-out infinite;
}
@keyframes floatCard { 0%,100% { transform: rotate3d(1,-1,0,6deg) translateY(0); } 50% { transform: rotate3d(1,-1,0,4deg) translateY(-12px); } }
.result-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.result-card__kicker { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); }
.result-card__name { font-family: var(--display); font-size: 1.35rem; font-weight: 600; color: var(--blue-900); margin-top: 2px; }
.result-card__badge { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-700); background: var(--sky-100); padding: 5px 11px; border-radius: 100px; white-space: nowrap; }
.result-card__rows { display: grid; gap: 2px; padding: 14px 0; }
.rc-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); }
.rc-row:last-child { border-bottom: 0; }
.rc-row__label { font-size: .9rem; color: var(--ink-soft); font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.rc-row__metric { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; min-width: 0; }
.rc-row__val { font-family: var(--mono); font-size: .92rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rc-row__val em { font-style: normal; color: var(--ink-soft); font-weight: 400; font-size: .78em; }
.rc-row__val sup { font-size: .62em; }
.rc-row__ref { font-family: var(--mono); font-size: .6rem; color: var(--ink-soft); letter-spacing: .01em; white-space: nowrap; }
.rc-row__status { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 4px 9px; border-radius: 100px; white-space: nowrap; }
.rc-row__status--ok { color: var(--blue-700); background: var(--sky-100); }
.result-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line-2); }
.rc-turn { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--ink-soft); min-width: 0; }
.rc-turn__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 3px rgba(31,167,224,.18); flex: none; }
.rc-time { font-family: var(--mono); font-size: .76rem; font-weight: 600; color: var(--blue-700); background: var(--sky-50); padding: 5px 10px; border-radius: 8px; white-space: nowrap; }

.float-chip {
  position: absolute; background: var(--paper); border-radius: 16px; padding: 11px 15px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 11px; z-index: 3;
}
.float-chip svg { color: var(--red-600); flex: none; }
.float-chip div { display: flex; flex-direction: column; line-height: 1.2; }
.float-chip strong { font-size: .9rem; color: var(--blue-900); }
.float-chip span { font-size: .74rem; color: var(--ink-soft); }
.float-chip--1 { top: -22px; left: -26px; animation: floatChip 6s ease-in-out infinite; }
.float-chip--2 { bottom: 8px; right: -28px; animation: floatChip 6s ease-in-out infinite .8s; }
.float-chip--2 svg { color: var(--blue-600); }
@keyframes floatChip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(40px, 6vw, 72px); background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--mist-2); padding: 24px clamp(16px, 2vw, 28px); text-align: left; }
.stat__num { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1; color: var(--blue-800); letter-spacing: -.01em; }
.stat__label { display: block; font-size: .82rem; color: var(--ink-soft); margin-top: 9px; font-weight: 500; }

/* ============================================================
   Section primitives
   ============================================================ */
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section-head { max-width: 640px; margin-inline: auto; text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--left { text-align: left; margin-inline: 0; }
.section-head__eyebrow { font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-600); margin-bottom: 14px; }
.section-head__eyebrow--light { color: var(--azure); }
.section-head__title { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.02em; color: var(--blue-900); }
.section-head__sub { font-size: 1.06rem; color: var(--ink-soft); margin-top: 16px; }

/* ============================================================
   How it works
   ============================================================ */
.how { background: linear-gradient(180deg, var(--mist) 0%, var(--mist-2) 100%); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; background: var(--paper); border-radius: var(--radius); padding: 28px 24px 26px;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); min-width: 0;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step__num { font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--red-600); letter-spacing: .1em; }
.step__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--sky-100); color: var(--blue-700); margin: 14px 0 18px; transition: background .3s var(--ease), color .3s; }
.step:hover .step__icon { background: var(--blue-700); color: #fff; }
.step__title { font-family: var(--display); font-size: 1.32rem; font-weight: 600; color: var(--blue-900); margin-bottom: 9px; }
.step__text { font-size: .95rem; color: var(--ink-soft); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: -12px; width: 24px; height: 2px; background: var(--line); z-index: 2;
}

/* ============================================================
   Tests / tabs
   ============================================================ */
.tabs__bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.tab {
  font-weight: 600; font-size: .94rem; color: var(--ink-soft); padding: 11px 20px; border-radius: 100px;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: all .25s var(--ease);
}
.tab:hover { color: var(--blue-800); box-shadow: inset 0 0 0 1.5px var(--blue-600); }
.tab.is-active { background: var(--blue-700); color: #fff; box-shadow: inset 0 0 0 1.5px var(--blue-700), var(--shadow-sm); }

.tab-panel { display: none; animation: fadeUp .5s var(--ease); }
.tab-panel.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.test-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.test {
  display: flex; flex-direction: column; gap: 10px; justify-content: space-between;
  background: var(--mist-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 18px 18px 16px; min-height: 96px; min-width: 0;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s;
}
.test:hover { transform: translateY(-4px); border-color: var(--blue-600); box-shadow: var(--shadow-sm); background: #fff; }
.test__name { font-weight: 600; font-size: .98rem; color: var(--blue-900); line-height: 1.3; overflow-wrap: anywhere; }
.test__code { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: var(--blue-600); align-self: flex-start; background: var(--sky-50); padding: 3px 8px; border-radius: 6px; }

.tests__note { text-align: center; margin-top: 32px; color: var(--ink-soft); font-size: .98rem; }
.tests__note a { color: var(--red-600); font-weight: 700; }
.tests__note a:hover { text-decoration: underline; }

/* ============================================================
   Packages
   ============================================================ */
.packages { background: var(--blue-900); color: var(--sky-100); position: relative; overflow: hidden; }
.packages::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(40% 50% at 85% 12%, rgba(31,167,224,.30), transparent 60%),
    radial-gradient(34% 40% at 10% 88%, rgba(229,48,42,.16), transparent 60%);
}
.packages .section-head__title { color: #fff; }
.packages .section-head__sub { color: var(--sky-200); }
.packages .container { position: relative; z-index: 1; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pkg {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column;
  position: relative; backdrop-filter: blur(4px);
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.pkg:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.pkg--featured { background: var(--mist-2); color: var(--ink); border-color: var(--mist-2); box-shadow: var(--shadow-lg); }
.pkg--featured:hover { background: #fff; border-color: #fff; }
/* ghost "Get a quote" buttons sit on the dark maroon cards — give them a visible light outline */
.pkg .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1.6px rgba(255,255,255,.5); }
.pkg .btn--ghost:hover { box-shadow: inset 0 0 0 1.6px #fff; background: rgba(255,255,255,.14); }
.pkg--featured .pkg__name { color: var(--blue-900); }
.pkg--featured .pkg__for { color: var(--ink-soft); }
.pkg--featured .pkg__price { color: var(--red-600); }
.pkg--featured .pkg__list li { color: var(--ink-soft); }
.pkg--featured .pkg__list li::before { border-color: var(--red-600); }
.pkg__flag { position: absolute; top: -13px; left: 28px; background: var(--red-600); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; box-shadow: var(--shadow-sm); }
.pkg__top { margin-bottom: 16px; }
.pkg__name { font-family: var(--display); font-size: 1.7rem; font-weight: 600; color: #fff; }
.pkg__for { font-size: .92rem; color: var(--sky-200); margin-top: 4px; }
.pkg__price { font-family: var(--mono); font-size: 1rem; font-weight: 600; color: var(--azure); padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 20px; }
.pkg--featured .pkg__price { border-color: var(--line); }
.pkg__list { display: grid; gap: 12px; margin-bottom: 26px; flex: 1; }
.pkg__list li { position: relative; padding-left: 26px; font-size: .96rem; color: var(--sky-200); }
.pkg__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--azure); border-bottom: 2px solid var(--azure); transform: rotate(-45deg); border-radius: 1px; }
.packages__foot { text-align: center; margin-top: 30px; color: var(--sky-200); font-size: .92rem; position: relative; z-index: 1; }

/* ============================================================
   Corporate
   ============================================================ */
.corporate__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.corporate__title { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.06; letter-spacing: -.02em; color: var(--blue-900); margin-bottom: 18px; }
.corporate__lead { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 26px; max-width: 36em; }
.corporate__list { display: grid; gap: 16px; margin-bottom: 30px; }
.corporate__list li { display: flex; gap: 15px; align-items: flex-start; }
.corporate__list svg { color: var(--blue-600); flex: none; margin-top: 3px; }
.corporate__list strong { display: block; color: var(--blue-900); font-size: 1.02rem; }
.corporate__list span { color: var(--ink-soft); font-size: .92rem; }

.corporate__card { position: relative; }
.impact {
  background: var(--blue-800); color: #fff; border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.impact::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(229,48,42,.35), transparent 70%); }
.impact__k { font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--azure); margin-bottom: 22px; position: relative; }
.impact__row { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); position: relative; }
.impact__row:first-of-type { border-top: 0; }
.impact__big { font-family: var(--display); font-weight: 600; font-size: 1.7rem; color: var(--sky-100); flex: none; min-width: 92px; }
.impact__lab { font-size: .94rem; color: var(--sky-200); }

/* ============================================================
   About
   ============================================================ */
.about__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about__panel {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--blue-900); box-shadow: var(--shadow-lg);
}
.about__portrait { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.about__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,29,51,.04) 52%, rgba(13,29,51,.55) 100%); pointer-events: none; }
.about__est { position: absolute; top: 26px; left: 26px; font-family: var(--display); font-weight: 700; font-size: 1.7rem; line-height: .92; color: var(--azure); z-index: 2; letter-spacing: .02em; }
.about__sign { position: absolute; bottom: 26px; left: 26px; right: 26px; z-index: 2; padding: 16px 18px; background: rgba(35,15,16,.55); backdrop-filter: blur(6px); border-radius: 14px; border: 1px solid rgba(255,255,255,.12); }
.about__sig { display: block; font-family: var(--display); font-style: italic; font-size: 1.16rem; color: #fff; }
.about__role { display: block; font-size: .78rem; color: var(--sky-200); margin-top: 3px; letter-spacing: .02em; }

.about__text { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 18px; max-width: 40em; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin-top: 30px; }
.values li { padding-left: 18px; border-left: 2px solid var(--sky-200); }
.values__h { display: block; font-family: var(--display); font-size: 1.16rem; font-weight: 600; color: var(--blue-800); }
.values__p { display: block; font-size: .9rem; color: var(--ink-soft); margin-top: 2px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: linear-gradient(180deg, var(--mist-2), var(--mist)); }
.faq__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq .section-head .btn { margin-top: 24px; }
.accordion { display: grid; gap: 12px; }
.acc { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s; }
.acc[open] { box-shadow: var(--shadow-sm); border-color: var(--line); }
.acc__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-family: var(--display); font-size: 1.12rem; font-weight: 600; color: var(--blue-900); cursor: pointer; list-style: none; }
.acc__q::-webkit-details-marker { display: none; }
.acc__icon { position: relative; width: 18px; height: 18px; flex: none; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; background: var(--red-600); border-radius: 2px; transition: transform .3s var(--ease); }
.acc__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc__icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.acc[open] .acc__icon::after { transform: rotate(90deg); opacity: 0; }
.acc__a { padding: 0 22px 22px; }
.acc[open] .acc__a { animation: accIn .4s var(--ease); }
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.acc__a p { color: var(--ink-soft); font-size: .98rem; }

/* ============================================================
   Contact
   ============================================================ */
.contact__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.contact__form-wrap { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-md); }
.contact__title { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--blue-900); margin: 8px 0 8px; letter-spacing: -.01em; }
.contact__sub { color: var(--ink-soft); margin-bottom: 28px; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field__label { font-weight: 600; font-size: .88rem; color: var(--blue-900); }
.field__opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--mist-2);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; width: 100%;
  transition: border-color .2s var(--ease), background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input::placeholder, .field textarea::placeholder { color: #6a5f61; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(20,140,188,.10); }
.field--invalid input, .field--invalid select { border-color: var(--red-600); }
.field__error { font-size: .8rem; color: var(--red-700); font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.form__alt { font-size: .9rem; color: var(--ink-soft); text-align: center; margin-top: 4px; overflow-wrap: anywhere; }
.form__alt a { color: var(--blue-700); font-weight: 700; }
.form__alt a:hover { text-decoration: underline; }

/* contact info card */
.info-card { background: var(--blue-800); color: var(--sky-100); border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 38px); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.info-card::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(31,167,224,.4), transparent 70%); }
.info-card__title { font-family: var(--display); font-size: 1.4rem; font-weight: 600; color: #fff; margin-bottom: 22px; position: relative; }
.info-list { display: grid; gap: 20px; position: relative; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list li div { min-width: 0; }
.info-list__ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.10); color: var(--azure); flex: none; }
.info-list__k { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sky-200); margin-bottom: 4px; }
.info-list__v { display: block; font-weight: 600; color: #fff; font-size: 1.02rem; overflow-wrap: anywhere; }
a.info-list__v:hover { color: var(--azure); }
.info-list__v--plain { font-weight: 500; font-size: .96rem; line-height: 1.5; }

.hours { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); position: relative; }
.hours__title { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sky-200); margin-bottom: 12px; }
.hours__row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .95rem; }
.hours__row span:first-child { color: var(--sky-200); }
.hours__row span:last-child { font-weight: 600; color: #fff; }
.hours__muted { color: var(--azure) !important; font-weight: 600; }

.socials { display: flex; gap: 12px; margin-top: 26px; position: relative; }
.socials a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.10); color: #fff; transition: background .25s var(--ease), transform .25s, color .25s; }
.socials a:hover { background: var(--azure); color: var(--blue-900); transform: translateY(-3px); }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--blue-900); color: var(--sky-200); padding-top: clamp(56px, 7vw, 88px); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.brand--footer .brand__name--footer { color: #fff; }
.brand--footer .brand__name em { color: var(--sky-200); }
.footer__tag { margin: 18px 0 20px; font-size: .95rem; max-width: 30em; color: var(--sky-200); }
.socials--footer { margin-top: 0; }
.socials--footer a { width: 38px; height: 38px; }
.footer__col { min-width: 0; }
.footer__col h4 { font-family: var(--display); font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer__col a { display: block; padding: 10px 0; font-size: .95rem; color: var(--sky-200); transition: color .2s var(--ease), padding .2s; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--azure); padding-left: 5px; }
.footer__contact p { font-size: .95rem; line-height: 1.6; margin-bottom: 12px; color: var(--sky-200); overflow-wrap: anywhere; }
.footer__contact a { color: #fff; font-weight: 600; }
.footer__contact a:hover { color: var(--azure); }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: var(--sky-200); }
.footer__credit { color: var(--sky-200); }

/* ============================================================
   Floating action button
   ============================================================ */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 0; overflow: hidden;
  background: var(--red-600); color: #ffffff; border-radius: 100px; padding: 14px;
  box-shadow: 0 12px 30px -8px rgba(204,36,31,.5), var(--shadow-md);
  transition: transform .3s var(--ease), padding .3s var(--ease);
  animation: fabIn .6s var(--ease) 1.2s both;
}
.fab svg { color: #ffffff; flex: none; }
.fab__label { max-width: 0; opacity: 0; white-space: nowrap; font-weight: 800; font-size: .92rem; transition: max-width .35s var(--ease), opacity .3s var(--ease), margin .35s var(--ease); }
.fab:hover { transform: translateY(-3px); }
.fab:hover .fab__label { max-width: 140px; opacity: 1; margin-left: 8px; margin-right: 4px; }
@keyframes fabIn { from { transform: translateY(30px) scale(.8); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }

/* ============================================================
   Scroll reveal
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: none; }
[data-reveal].in-view ~ [data-reveal] { transition-delay: .05s; }
.steps [data-reveal].in-view:nth-child(2) { transition-delay: .08s; }
.steps [data-reveal].in-view:nth-child(3) { transition-delay: .16s; }
.steps [data-reveal].in-view:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* hero load stagger */
.hero__copy [data-reveal] { opacity: 0; transform: translateY(22px); animation: heroIn .8s var(--ease) forwards; }
.hero__copy .eyebrow { animation-delay: .05s; }
.hero__copy .hero__title { animation-delay: .15s; }
.hero__copy .hero__lead { animation-delay: .28s; }
.hero__copy .hero__cta { animation-delay: .4s; }
.hero__copy .hero__trust { animation-delay: .52s; }
.hero__visual { animation: heroIn 1s var(--ease) .35s both; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__copy [data-reveal], .hero__visual { animation: none; opacity: 1; transform: none; }
  .result-card, .float-chip, .announce__pulse { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin: 12px auto 0; }
  .float-chip--1 { left: 6px; }
  .float-chip--2 { right: 6px; }
  .corporate__inner, .about__inner, .faq__inner, .contact__inner { grid-template-columns: 1fr; }
  .about__panel { max-width: 360px; margin-inline: auto; }
  .faq .section-head { text-align: left; }
  .test-list { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav, .header__book, .link-phone { display: none; }
  .nav-toggle { display: flex; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after, .step:not(:last-child)::after { display: none; }
  .pkg-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .test-list { grid-template-columns: repeat(2, 1fr); }
  .float-chip--1 { left: 10px; }
  .float-chip--2 { right: 10px; }
}

@media (max-width: 760px) {
  .announce__cta { display: none; }
  .announce__row { display: block; text-align: center; }
  .announce__text { display: block; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .announce__text { font-size: .78rem; }
  .form__row { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .test-list { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  .fab__label { display: none; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .float-chip { display: none; }
  .result-card { transform: none; animation: none; padding: 20px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}
