/* ==========================================================================
   JuanMeds Health Care Center — site styles
   Brand tokens first; edit these to adjust colors and type site-wide.
   ========================================================================== */

:root {
  /* Brand colors */
  --navy: #0B2A5B;        /* headline navy */
  --blue: #0D4AA6;        /* corporate blue */
  --blue-700: #0A3C88;
  --green: #1E9B45;       /* healthcare green (large text, icons) */
  --green-btn: #178038;   /* accessible green for buttons and small text */
  --green-btn-hover: #116A2D;
  --lime: #3DB54A;        /* accent rule, on-dark highlights */
  --sky: #EAF4FD;         /* light blue section background */
  --sky-2: #D9EAFA;
  --mint: #E6F5EA;
  --white: #FFFFFF;

  /* Text */
  --ink: #1C2B45;
  --muted: #4A5D7A;
  --line: #D5E2F0;

  /* Type */
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 2px rgba(11, 42, 91, .06), 0 10px 28px -12px rgba(11, 42, 91, .22);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue); }
a:hover { color: var(--blue-700); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 850;
  font-stretch: 88%;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -0.005em;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  text-wrap: balance;
}
.display span { display: inline; }
.line-navy { color: var(--navy); }
.line-green { color: var(--green); }
.line-white { color: #fff; }
.line-lime { color: #7FD88A; }
h3 { font-family: var(--font-display); font-weight: 750; font-stretch: 92%; color: var(--navy); font-size: 1.25rem; line-height: 1.2; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 34em; }
.intro { color: var(--muted); font-size: 1.125rem; max-width: 42em; }
.subhead { font-family: var(--font-display); font-weight: 750; font-stretch: 90%; color: var(--blue); font-size: clamp(1.1rem, 2vw, 1.45rem); text-transform: uppercase; letter-spacing: .01em; }
.tagline-spaced {
  font-family: var(--font-body); font-weight: 600; font-size: .8125rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--navy);
  display: inline-flex; flex-direction: column; gap: 10px;
}
.tagline-spaced::after { content: ""; width: 56px; height: 3px; background: var(--lime); border-radius: 2px; }
.fineprint { font-size: .9375rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; margin-top: 28px; }
.fineprint .icon { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.fineprint.center { justify-content: center; text-align: left; max-width: 760px; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green-btn); --btn-fg: #fff; --btn-bd: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bd);
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn-green:hover { --btn-bg: var(--green-btn-hover); }
.btn-blue { --btn-bg: var(--blue); }
.btn-blue:hover { --btn-bg: var(--blue-700); }
.btn-navy { --btn-bg: var(--navy); }
.btn-navy:hover { --btn-bg: #071D40; }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy); }
.btn-outline:hover { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] {
  --btn-bg: rgba(255,255,255,.08); --btn-fg: rgba(255,255,255,.72); --btn-bd: rgba(255,255,255,.28);
  cursor: not-allowed; transform: none; border-style: dashed;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Badges (circle icons, as in brand materials) ---------- */
.badge {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; color: #fff;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
}
.badge-green { background: linear-gradient(160deg, #2DB052, #178038); }
.badge-blue { background: linear-gradient(160deg, #1E63C9, #0A3C88); }
.badge-white { background: #fff; color: var(--blue); box-shadow: none; }
.badge-lg { width: 60px; height: 60px; }
.badge-lg .icon { width: 30px; height: 30px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  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 ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(11,42,91,.35); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 850; font-stretch: 92%; font-size: 1.55rem; letter-spacing: -.01em; }
.brand-juan { color: var(--blue); }
.brand-meds { color: var(--green); }
.brand-sub { font-weight: 700; font-size: .8125rem; color: var(--navy); margin-top: 3px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a:not(.btn) {
  display: block; padding: 8px 11px; border-radius: 8px; color: var(--navy);
  font-weight: 600; font-size: .9688rem; text-decoration: none; position: relative; white-space: nowrap;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 3px; border-radius: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.header-cta { flex: none; font-size: .9375rem; min-height: 44px; padding: 9px 18px; }
.menu-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; place-items: center;
}

@media (max-width: 1260px) {
  .header-cta { display: none; }
}
@media (max-width: 1020px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: grid; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px; box-shadow: 0 24px 40px -24px rgba(11,42,91,.4);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a:not(.btn) { padding: 14px 4px; font-size: 1.0625rem; border-bottom: 1px solid #EEF3F9; border-radius: 0; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: flex; width: 100%; margin-top: 18px; }
}
@media (max-width: 400px) {
  .brand-name { font-size: 1.3rem; }
  .brand img { width: 42px; height: 42px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, #CFE6FB 0%, transparent 60%),
    linear-gradient(180deg, #F3F9FF 0%, #FFFFFF 70%);
  padding-top: clamp(36px, 6vw, 72px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-bottom: clamp(72px, 9vw, 120px); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(2.35rem, 5.4vw, 4.25rem); line-height: .98; }
.hero h1 span { display: block; }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 14px; }
.hero-points li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  font-weight: 700; color: var(--navy); line-height: 1.25; font-size: .9688rem;
  padding: 0 16px; border-left: 2px solid var(--sky-2);
}
.hero-points li:first-child { padding-left: 0; border-left: 0; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(11,42,91,.45); }
.hero-art figcaption { font-size: .8125rem; color: var(--muted); margin-top: 10px; text-align: right; }
.wave-band {
  position: absolute; left: 0; right: 0; bottom: 0; height: clamp(44px, 6vw, 72px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 46 C 360 0, 760 70, 1440 22 L1440 80 L0 80 Z' fill='%230D4AA6'/%3E%3Cpath d='M0 46 C 360 0, 760 70, 1440 22' fill='none' stroke='%233DB54A' stroke-width='5'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: 2; max-width: 620px; }
}
@media (max-width: 560px) {
  .hero-points { grid-template-columns: 1fr; gap: 14px; }
  .hero-points li { flex-direction: row; align-items: center; padding: 0; border: 0; }
  .btn-row .btn { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-sky { background: linear-gradient(180deg, var(--sky) 0%, #F5FAFF 100%); }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { align-items: center; text-align: center; }
.section-head.center .intro { margin-inline: auto; }
.section-head .display::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--lime); margin: 18px auto 0; }
.section-head:not(.center) .display::after { margin-left: 0; }

/* ---------- What is JuanMeds ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: linear-gradient(180deg, #F2F8FF, #E4F0FC); border: 1px solid #CFE1F5;
  border-radius: var(--radius-lg); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 12px;
}
.service-green { background: linear-gradient(180deg, #F1FAF3, #E1F3E6); border-color: #C7E7CF; }
.service h3 { font-size: 1.4rem; }
.service h3 .small { display: block; font-size: .95rem; color: var(--blue); font-weight: 800; margin-bottom: 2px; }
.service-green h3 .small { color: var(--green-btn); }
.motto { font-family: var(--font-display); font-weight: 800; font-stretch: 88%; text-transform: uppercase; color: var(--navy); letter-spacing: .02em; font-size: 1.0625rem; }
.service p:last-child { color: var(--muted); }
.connector { display: grid; grid-template-columns: repeat(3, 1fr); height: 48px; position: relative; }
.connector span { position: relative; }
.connector span::before { content: ""; position: absolute; left: 50%; top: 0; height: 100%; width: 3px; background: var(--blue); transform: translateX(-50%); }
.connector::after { content: ""; position: absolute; left: calc(100%/6); right: calc(100%/6); top: 50%; height: 3px; background: var(--blue); }
.integrated {
  display: flex; gap: 22px; align-items: center;
  max-width: 920px; margin-inline: auto; padding: 24px 30px; border-radius: var(--radius-lg);
  background: #fff; border: 2px solid var(--blue); box-shadow: var(--shadow-card);
}
.integrated img { width: 72px; height: 72px; flex: none; }
.integrated h3 { font-size: 1.45rem; margin-bottom: 6px; }
.integrated p { color: var(--muted); }
@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; }
  .connector { grid-template-columns: 1fr; height: 36px; }
  .connector span:nth-child(n+2), .connector::after { display: none; }
}
@media (max-width: 560px) { .integrated { flex-direction: column; align-items: flex-start; padding: 22px; } }

/* ---------- Opportunity cards ---------- */
.opp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.opp-card {
  background: #fff; border-radius: var(--radius-lg); padding: 30px 24px 28px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
}
.opp-card h3::after { content: ""; display: block; width: 52px; height: 4px; margin: 12px auto 0; border-radius: 2px; background: var(--lime); }
.opp-card p { color: var(--muted); font-size: 1rem; }
.disk { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--navy); }
.disk .icon { width: 46px; height: 46px; stroke-width: 1.6; }
.note {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 32px; padding: 22px 26px;
  border-radius: var(--radius-md); background: #fff; border-left: 5px solid var(--blue);
}
.note .icon { width: 28px; height: 28px; color: var(--blue); }
.note-plan { max-width: 880px; margin-inline: auto; }
.note strong { color: var(--navy); }
@media (max-width: 1020px) { .opp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .opp-grid { grid-template-columns: 1fr; } }

/* ---------- Support hub ---------- */
.hub { display: grid; grid-template-columns: 1fr 260px 1fr; gap: 28px; align-items: center; }
.hub-list { display: flex; flex-direction: column; gap: 18px; }
.hub-list li {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--sky), #F6FAFF);
}
.hub-left li { flex-direction: row-reverse; text-align: right; background: linear-gradient(270deg, var(--sky), #F6FAFF); }
.hub-list li:nth-child(odd) { background: linear-gradient(90deg, var(--mint), #F6FCF7); }
.hub-left li:nth-child(odd) { background: linear-gradient(270deg, var(--mint), #F6FCF7); }
.hub-list h3 { font-size: 1.125rem; margin-bottom: 3px; }
.hub-list p { color: var(--muted); font-size: .9688rem; line-height: 1.45; }
.hub-core { display: grid; place-items: center; }
.hub-ring {
  width: 240px; height: 240px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: #fff; position: relative;
  box-shadow: 0 0 0 10px #fff, 0 0 0 14px var(--blue), 0 0 0 22px #fff, 0 0 0 25px var(--lime), 0 26px 50px -20px rgba(11,42,91,.4);
}
.hub-ring img { width: 92px; height: 92px; }
.hub-name { font-family: var(--font-display); font-weight: 850; font-stretch: 92%; font-size: 1.6rem; line-height: 1; }
.hub-sub { font-weight: 700; color: var(--navy); font-size: .875rem; }
@media (max-width: 1020px) {
  .hub { grid-template-columns: 1fr 1fr; }
  .hub-core { grid-column: 1 / -1; order: -1; margin-bottom: 20px; }
  .hub-left li { flex-direction: row; text-align: left; background: linear-gradient(90deg, var(--sky), #F6FAFF); }
  .hub-left li:nth-child(odd) { background: linear-gradient(90deg, var(--mint), #F6FCF7); }
}
@media (max-width: 640px) {
  .hub { grid-template-columns: 1fr; gap: 18px; }
  .hub-ring { width: 190px; height: 190px; }
  .hub-ring img { width: 70px; height: 70px; }
  .hub-name { font-size: 1.3rem; }
}

/* ---------- Business models ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.model { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.model > header { padding: 26px 26px 24px; color: #fff; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.model > header .badge { grid-row: 1 / 3; width: 54px; height: 54px; }
.model > header .badge .icon { width: 28px; height: 28px; }
.model-option { font-weight: 700; font-size: .875rem; opacity: .9; }
.model h3 { color: #fff; font-size: 1.45rem; }
.model-pharmacy > header { background: linear-gradient(135deg, #22A24C, #137232); }
.model-pharmacy .badge { color: var(--green-btn); }
.model-clinic > header { background: linear-gradient(135deg, #1A5FC4, #0A3C88); }
.model-integrated > header { background: linear-gradient(135deg, #133B78, #071D40); }
.model-integrated .badge { color: var(--navy); }
.model-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.model-body > p { color: var(--muted); }
.model-body h4 { font-family: var(--font-display); font-weight: 750; font-stretch: 92%; color: var(--navy); font-size: 1.0625rem; margin-top: 8px; }
.checks { display: flex; flex-direction: column; gap: 8px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink); font-size: 1rem; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--mint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23178038' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
}
.concept-tag {
  margin-top: auto; padding-top: 14px; font-size: .875rem; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.concept-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E3A008; flex: none; }
.model-body .btn { margin-top: 6px; }
@media (max-width: 980px) { .models { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }

/* ---------- Process timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 32px; left: 12.5%; right: 12.5%; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--lime));
}
.timeline li { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 6px; }
.step-num {
  position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 4px solid var(--blue);
  font-family: var(--font-display); font-weight: 850; font-size: 1.75rem; color: var(--navy);
  box-shadow: 0 0 0 8px #fff;
}
.timeline li:nth-child(even) .step-num { border-color: var(--green); }
.timeline p { color: var(--muted); font-size: 1rem; }
.process-foot {
  margin-top: 48px; padding: 24px 28px; border-radius: var(--radius-md); background: var(--sky);
  display: flex; gap: 24px; align-items: center; justify-content: space-between;
}
.process-foot p { color: var(--navy); font-weight: 500; max-width: 46em; }
.process-foot .btn { flex: none; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 34px; bottom: 34px; left: 32px; right: auto; width: 4px; height: auto; background: linear-gradient(180deg, var(--blue), var(--lime)); }
  .timeline li { display: grid; grid-template-columns: 68px 1fr; grid-template-rows: auto 1fr; column-gap: 18px; text-align: left; align-items: start; padding: 0 0 28px; }
  .step-num { grid-row: 1 / 3; }
  .timeline h3 { padding-top: 10px; }
  .process-foot { flex-direction: column; align-items: flex-start; }
}

/* ---------- Investment ---------- */
.invest-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.invest-copy { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.invest-copy .display::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--lime); margin-top: 18px; }
.note-warn { border-left-color: #E3A008; margin-top: 8px; }
.note-warn .icon { color: #B47B00; }
.note-warn h3 { font-size: 1.125rem; margin-bottom: 4px; }
.note-warn p { color: var(--muted); font-size: 1rem; }
.invest-table-wrap { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 8px 8px 20px; }
.invest-table { width: 100%; border-collapse: collapse; }
.invest-table thead th {
  text-align: left; font-family: var(--font-display); font-weight: 750; font-stretch: 92%; font-size: 1rem;
  color: #fff; background: var(--navy); padding: 14px 18px;
}
.invest-table thead th:first-child { border-radius: 14px 0 0 0; width: 40%; }
.invest-table thead th:last-child { border-radius: 0 14px 0 0; }
.invest-table tbody th, .invest-table td { padding: 14px 18px; vertical-align: top; border-bottom: 1px solid #E8EFF7; text-align: left; }
.invest-table tbody th { color: var(--navy); font-weight: 700; }
.invest-table td { color: var(--muted); }
.invest-table tbody tr:nth-child(even) { background: #F7FBFF; }
.invest-table-wrap .fineprint { padding: 0 18px; margin-top: 16px; }
@media (max-width: 900px) {
  .invest-grid { grid-template-columns: 1fr; }
  .invest-copy { position: static; }
}
@media (max-width: 560px) {
  .invest-table thead { display: none; }
  .invest-table tbody tr { display: block; padding: 14px 16px; border-bottom: 1px solid #E8EFF7; }
  .invest-table tbody th, .invest-table td { display: block; padding: 0; border: 0; }
  .invest-table td { margin-top: 4px; }
}

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.person-visual { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; overflow: hidden; }
.person-visual::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 34%;
  background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.person-visual .icon { width: 56px; height: 56px; color: #fff; stroke-width: 1.5; position: relative; z-index: 1; margin-bottom: 18px; }
.visual-blue { background: radial-gradient(circle at 30% 20%, #2A6FD3, #0A3C88); }
.visual-green { background: radial-gradient(circle at 30% 20%, #34B85A, #137232); }
.person h3 { padding: 4px 22px 0; font-size: 1.2rem; }
.person p { padding: 8px 22px 24px; color: var(--muted); font-size: 1rem; }
@media (max-width: 1020px) { .audience { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .audience { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-head { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-head .display::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--lime); margin-top: 18px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--line); transition: border-color .2s ease, box-shadow .2s ease; }
.faq[open] { border-color: #A9C6E6; box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-weight: 700; color: var(--navy); font-size: 1.0625rem; border-radius: var(--radius-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--blue); transition: transform .25s ease; }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq summary:hover { background: #F7FBFF; }
.faq-body { padding: 0 22px 20px; color: var(--muted); }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}

/* ---------- Contact ---------- */
.contact {
  position: relative; color: #fff; padding-block: calc(var(--section-y) + 30px) var(--section-y);
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(61,181,74,.22), transparent 60%),
    linear-gradient(180deg, #0D4AA6 0%, #0B2A5B 100%);
}
.contact::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: clamp(36px, 5vw, 64px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1440 V18 C 1040 64, 520 4, 0 40 Z' fill='%23F5FAFF'/%3E%3Cpath d='M0 40 C 520 4, 1040 64, 1440 18' fill='none' stroke='%233DB54A' stroke-width='5'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
}
.section-head.on-dark .intro { color: #D6E4F7; }
.section-head.on-dark .display::after { background: var(--lime); }
.model-interest { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 8px 18px; font-size: .9688rem; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg);
  padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.contact-card h3 { color: #fff; font-size: 1.2rem; }
.contact-value { color: #D6E4F7; font-size: .9688rem; min-height: 3em; overflow-wrap: anywhere; }
.contact-card .btn { margin-top: auto; }
.contact-card .btn-green { --btn-bg: #1E9B45; --btn-bd: #1E9B45; }
.contact-card .btn-green:hover { --btn-bg: #178038; }
.contact-card .btn[aria-disabled="true"] {
  --btn-bg: transparent; --btn-fg: #BFD3EE; --btn-bd: rgba(255,255,255,.35);
  border-style: dashed; cursor: not-allowed; transform: none;
}
.contact-note { text-align: center; color: #BFD3EE; margin-top: 26px; font-size: .9688rem; }
@media (max-width: 1020px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #071D40; color: #C3D3EA; padding-top: 56px; font-size: .9688rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand-light .brand-juan { color: #7FB4FF; }
.brand-light .brand-meds { color: #7FD88A; }
.brand-light .brand-sub { color: #fff; }
.footer-services { margin-top: 12px; color: #9FB6D6; }
.footer-brand .tagline-spaced { color: #fff; margin-top: 22px; }
.footer-tag2 { margin-top: 10px; color: #9FB6D6; }
.site-footer h2 { font-family: var(--font-display); font-weight: 750; font-stretch: 92%; color: #fff; font-size: 1.0625rem; margin-bottom: 14px; }
.footer-nav ul, .footer-contact ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #DCE7F6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li span:first-child { color: #fff; font-weight: 600; }
.social { flex-direction: row !important; gap: 14px !important; margin-top: 14px; }
.disclaimers { padding-block: 28px; display: grid; gap: 12px; font-size: .875rem; color: #9FB6D6; border-bottom: 1px solid rgba(255,255,255,.12); }
.disclaimers strong { color: #DCE7F6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 28px; font-size: .875rem; color: #9FB6D6; }
.footer-bottom p:last-child { display: flex; gap: 20px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- One orchestrated entrance (hero only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .14s; }
  .hero-copy > *:nth-child(4) { animation-delay: .22s; }
  .hero-copy > *:nth-child(5) { animation-delay: .3s; }
  .hero-art { animation: rise .9s .1s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- Legal placeholder pages ---------- */
.legal { padding-block: 64px 96px; max-width: 780px; }
.legal h1 { margin-bottom: 18px; }
.legal p { color: var(--muted); margin-top: 14px; }
.placeholder-banner { background: #FFF6DB; border: 1px solid #F0D58A; color: #6B4E00; padding: 14px 18px; border-radius: var(--radius-md); margin-top: 22px; }

/* ==========================================================================
   Brand ambassador, real photography, video, JuanCollab, contact portrait
   ========================================================================== */

/* Studio portraits sit on a soft grey that matches the photo backdrop */
.portrait-frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #E6E8EC 0%, #DADEE4 100%);
  box-shadow: 0 30px 60px -32px rgba(11, 42, 91, .5);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }

/* Hero portrait */
.hero-portrait { justify-self: center; width: 100%; max-width: 480px; position: relative; padding-bottom: 28px; }
.hero-portrait .portrait-frame::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--lime));
}
.hero-art .ambassador-tag {
  position: absolute; left: -18px; bottom: 0; margin: 0;
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 12px 18px 12px 12px; border-radius: 14px; background: #fff;
  box-shadow: 0 18px 40px -18px rgba(11, 42, 91, .45);
}
.ambassador-tag img { width: 40px; height: 40px; flex: none; }
.ambassador-tag > span { display: flex; flex-direction: column; line-height: 1.2; }
.ambassador-tag strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); }
.ambassador-tag span span { font-size: .875rem; font-weight: 600; color: var(--green-btn); }
@media (max-width: 900px) {
  .hero-portrait { max-width: 380px; }
  .hero-art .ambassador-tag { left: 50%; transform: translateX(-50%); white-space: nowrap; }
}

/* Ambassador + video */
.ambassador { background: linear-gradient(180deg, #FFFFFF 0%, #EEF6FE 100%); }
.ambassador-grid { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.ambassador-photo { display: flex; flex-direction: column; gap: 10px; }
.ambassador-photo figcaption { font-size: .875rem; color: var(--muted); text-align: center; }
.video-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; border-radius: var(--radius-lg);
  background: #0B1B33; box-shadow: 0 34px 70px -34px rgba(11, 42, 91, .65);
  outline: 5px solid #fff;
}
.video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #0B1B33; }
.video-card figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--navy); font-weight: 600; }
.video-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 8px; border-radius: 999px;
  background: var(--green-btn); color: #fff; font-size: .8125rem; font-weight: 700;
}
.video-badge .icon { width: 16px; height: 16px; stroke: none; }
.video-length { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .ambassador-grid { grid-template-columns: 1fr; }
  .video-card { order: -1; }
  .ambassador-photo { max-width: 300px; margin-inline: auto; width: 100%; }
}

/* Real branch photos on the service cards */
.service { --pad-t: 28px; --pad-x: 26px; padding: var(--pad-t) var(--pad-x) 30px; }
.service-photo {
  display: block; max-width: none; width: calc(100% + 2 * var(--pad-x));
  margin: calc(-1 * var(--pad-t)) calc(-1 * var(--pad-x)) 0;
  aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service .badge-lg { margin-top: -42px; position: relative; box-shadow: 0 0 0 5px #fff; }

/* JuanCollab */
.collab {
  position: relative; color: #fff; padding-block: var(--section-y);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath d='M32 26h8v6h6v8h-6v6h-8v-6h-6v-8h6z' fill='%23ffffff' fill-opacity='.04'/%3E%3C/svg%3E"),
    radial-gradient(900px 420px at 100% 0%, rgba(61,181,74,.25), transparent 60%),
    linear-gradient(160deg, #0B2A5B 0%, #0D4AA6 100%);
}
.collab-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(44px, 6vw, 72px); }
.collab-head { display: flex; flex-direction: column; gap: 18px; }
.collab-head .display { font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: #fff; }
.collab-word { display: block; color: #86DE91; font-size: clamp(3rem, 7.5vw, 5.75rem); line-height: .9; margin-bottom: 8px; }
.collab-line { display: block; }
.collab-head .intro { color: #D6E4F7; }
.collab-photo { display: flex; flex-direction: column; gap: 10px; }
.collab-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); border: 5px solid rgba(255,255,255,.9); }
.collab-photo figcaption { font-size: .875rem; color: #BFD3EE; }

.journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.journey::before, .journey::after {
  content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 4px; border-radius: 2px;
}
.journey::before { background: rgba(255,255,255,.18); }
.journey::after { background: linear-gradient(90deg, #86DE91, #3DB54A); transform-origin: left; }
.stop {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  transition: opacity .5s ease, transform .5s ease;
}
.stop-marker { position: relative; z-index: 1; width: 72px; height: 72px; margin-bottom: 12px; }
.stop-icon {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: #fff; color: var(--blue); box-shadow: 0 0 0 6px rgba(255,255,255,.14);
  transition: box-shadow .25s ease, transform .25s ease;
}
.stop-icon .icon { width: 32px; height: 32px; }
.stop-num {
  position: absolute; z-index: 2; top: -6px; right: -12px; min-width: 32px; height: 26px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center; background: #3DB54A; color: #fff;
  font: 800 .8125rem/1 var(--font-display); font-variant-numeric: tabular-nums;
}
.stop-tag { color: #86DE91; font-weight: 700; font-size: .875rem; }
.stop h3 { color: #fff; font-size: 1.125rem; min-height: 2.4em; }
.stop > p:last-child { color: #C9D8EE; font-size: .9375rem; line-height: 1.5; }
.stop:hover .stop-icon { box-shadow: 0 0 0 6px #3DB54A; transform: translateY(-2px); }

/* Reveal: steps are visible at rest; JS arms this only when the section starts off-screen */
.journey.is-armed::after { transform: scaleX(0); }
.journey.is-armed .stop { opacity: .25; transform: translateY(14px); }
.journey.is-armed.is-visible::after { transform: scaleX(1); transition: transform 1.4s cubic-bezier(.4,0,.2,1); }
.journey.is-armed.is-visible .stop { opacity: 1; transform: none; }
.journey.is-visible .stop:nth-child(2) { transition-delay: .2s; }
.journey.is-visible .stop:nth-child(3) { transition-delay: .4s; }
.journey.is-visible .stop:nth-child(4) { transition-delay: .6s; }
.journey.is-visible .stop:nth-child(5) { transition-delay: .8s; }

.collab-foot {
  margin-top: clamp(36px, 5vw, 56px); padding: 22px 26px; border-radius: var(--radius-md);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.collab-foot p { display: flex; gap: 10px; align-items: flex-start; color: #D6E4F7; font-size: .9688rem; max-width: 52em; }
.collab-foot .icon { width: 20px; height: 20px; margin-top: 2px; color: #86DE91; }
.collab-foot .btn { flex: none; }

@media (max-width: 980px) {
  .collab-top { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey::before, .journey::after { top: 36px; bottom: 36px; left: 34px; right: auto; width: 4px; height: auto; }
  .journey::after { background: linear-gradient(180deg, #86DE91, #3DB54A); transform-origin: top; }
  .journey.is-armed::after { transform: scaleY(0); }
  .journey.is-armed.is-visible::after { transform: scaleY(1); }
  .stop { display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; row-gap: 4px; text-align: left; align-items: start; padding-bottom: 30px; }
  .stop-marker { grid-row: 1 / 4; margin: 0; }
  .stop h3 { min-height: 0; }
  .collab-foot { flex-direction: column; align-items: flex-start; }
}

/* Contact with portrait */
.contact-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.contact-portrait .portrait-frame { box-shadow: 0 0 0 6px rgba(255,255,255,.14), 0 30px 60px -30px rgba(0,0,0,.6); }
.contact-main { min-width: 0; display: flex; flex-direction: column; }
.contact-main .section-head { margin-bottom: 28px; }
.consultant-label { font-weight: 700; color: #86DE91; margin-bottom: 14px; }
.contact-layout .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: auto; }
.contact-actions .btn { flex: 1 1 auto; }
.btn-ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.btn-ghost:hover { --btn-bg: rgba(255,255,255,.12); }
.btn-ghost .icon { width: 18px; height: 18px; }
.contact-value { font-size: 1.0625rem; font-weight: 600; color: #fff; user-select: all; }
.contact-card[data-channel="booking"] .contact-value, .contact-card[data-channel="inquiry"] .contact-value { font-weight: 400; }
.contact-layout .contact-note { text-align: left; }
@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-portrait { max-width: 260px; }
}
@media (max-width: 540px) {
  .contact-layout .contact-grid { grid-template-columns: 1fr; }
}

/* Header fit: JuanCollab link lives in the mobile menu and footer; desktop bar stays one line */
.nav-mobile-only { display: none; }
@media (max-width: 1020px) { .nav-mobile-only { display: block; } }
.header-inner { gap: 18px; }
.main-nav a:not(.btn) { padding-inline: 9px; }
.main-nav a:not(.btn)::after { left: 9px; right: 9px; }
.service-photo, .collab-photo img { height: auto; }
[hidden] { display: none !important; }
.contact-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.contact-actions .btn:only-child { grid-column: 1 / -1; }
.collab-word { font-size: clamp(3rem, 6.6vw, 5rem); }
@media (max-width: 980px) { .collab-top { grid-template-columns: minmax(0, 1fr); } }
.collab-word { overflow-wrap: anywhere; }
@media (max-width: 540px) {
  .contact-actions { grid-template-columns: 1fr; }
  .contact-value { min-height: 0; }
}

/* ==========================================================================
   Eric Quizon cutouts: background removed, standing on a brand disc
   ========================================================================== */
.eric-stage { position: relative; width: 100%; max-width: 100%; aspect-ratio: 4 / 5; isolation: isolate; }
.stage-disc {
  position: absolute; z-index: -1; left: 50%; bottom: 6%; width: 92%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.35), transparent 45%),
    linear-gradient(160deg, #1E63C9 0%, #0B2A5B 100%);
  box-shadow: 0 0 0 10px #fff, 0 0 0 16px var(--lime), 0 40px 70px -30px rgba(11, 42, 91, .55);
}
.stage-disc::after {
  /* faint cross watermark from the JuanMeds mark */
  content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: .12;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M38 14h24v24h24v24H62v24H38V62H14V38h24z' fill='%23ffffff'/%3E%3C/svg%3E") 82% 18% / 34% no-repeat;
}
.eric-cutout {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: auto; height: 100%; max-width: none; object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 18px 24px rgba(11, 42, 91, .28));
}

/* Hero */
.hero-portrait { max-width: 520px; padding-bottom: 0; }
.hero-portrait .eric-stage { aspect-ratio: 5 / 6; }
.hero-portrait .stage-disc { bottom: 0; width: 96%; }
.hero-art .ambassador-tag { left: auto; right: -6px; bottom: 9%; z-index: 2; }
@media (max-width: 900px) {
  .hero-portrait { max-width: 400px; }
  .hero-art .ambassador-tag { left: 50%; right: auto; bottom: -14px; }
}

/* Ambassador section: lighter disc, he gestures toward the video */
.ambassador-photo .eric-stage { aspect-ratio: 3 / 4; }
.stage-light .stage-disc {
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #D9EAFA 70%);
  box-shadow: 0 0 0 10px #fff, 0 0 0 14px var(--lime), 0 30px 60px -30px rgba(11, 42, 91, .4);
}
.stage-light .stage-disc::after { opacity: .5; filter: invert(28%) sepia(80%) saturate(900%) hue-rotate(190deg); opacity: .08; }

/* Contact: on the dark band, disc turns green */
.contact-portrait { align-self: end; }
.contact-portrait .eric-stage { aspect-ratio: 3 / 4; }
.stage-dark .stage-disc {
  background: radial-gradient(circle at 35% 30%, #3DB54A 0%, #178038 75%);
  box-shadow: 0 0 0 10px rgba(255,255,255,.12), 0 0 0 16px rgba(255,255,255,.06);
}
.stage-dark .eric-cutout { filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .4)); }
@media (max-width: 960px) {
  .contact-portrait { max-width: 300px; margin-inline: auto; width: 100%; }
}

/* Porthole: body clipped by the disc, head and shoulders rise above it.
   --top = share of the stage height above the disc's centre line. */
.eric-stage { --top: 60%; }
.ambassador-photo .eric-stage, .contact-portrait .eric-stage { --top: 64%; }
.eric-stage .stage-disc, .hero-portrait .stage-disc { bottom: 0; width: 96%; }
.cutout-mask {
  position: absolute; inset: 0; display: block;
  -webkit-mask-image: linear-gradient(#000, #000), radial-gradient(circle closest-side, #000 99.4%, transparent 100%);
          mask-image: linear-gradient(#000, #000), radial-gradient(circle closest-side, #000 99.4%, transparent 100%);
  -webkit-mask-size: 100% var(--top), 96% auto;
          mask-size: 100% var(--top), 96% auto;
  -webkit-mask-position: top center, bottom center;
          mask-position: top center, bottom center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.cutout-mask .eric-cutout { height: auto; width: 82%; top: 4%; bottom: auto; }
.hero-portrait .cutout-mask .eric-cutout { width: 80%; top: 3%; }
.ambassador-photo .cutout-mask .eric-cutout { width: 92%; top: 3%; left: 48%; }
.contact-portrait .cutout-mask .eric-cutout { width: 84%; top: 3%; }
.stage-light .stage-disc {
  background: radial-gradient(circle at 35% 28%, #FFFFFF 0%, #CFE3F8 55%, #A9CBEF 100%);
  box-shadow: 0 0 0 10px #fff, 0 0 0 15px var(--lime), 0 30px 60px -28px rgba(11, 42, 91, .45);
}
/* Circle mask must match the disc exactly: width 96% of the stage, height = same length
   expressed as % of stage height (5:6 stage -> 80%, 3:4 stage -> 72%). */
.eric-stage { --disc-h: 80%; }
.ambassador-photo .eric-stage, .contact-portrait .eric-stage { --disc-h: 72%; }
.cutout-mask {
  -webkit-mask-size: 100% var(--top), 96% var(--disc-h);
          mask-size: 100% var(--top), 96% var(--disc-h);
}

/* Standalone official video */
.video-section { background: linear-gradient(180deg, #FFFFFF 0%, #EEF6FE 100%); }
.video-solo { max-width: 960px; margin-inline: auto; }
.video-solo figcaption { justify-content: center; }

/* Hero: Eric always sits beside the headline.
   Desktop: align him with the top of the headline instead of the column centre.
   Tablet/phone: headline and Eric share the first row; the rest of the copy runs full width below. */
.hero-grid { align-items: start; }
.hero-portrait { align-self: start; margin-top: clamp(8px, 2vw, 24px); }
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    column-gap: clamp(12px, 3vw, 28px); row-gap: 20px; align-items: center;
  }
  .hero-copy { display: contents; }
  .hero-copy > * { grid-column: 1 / -1; }
  .hero-copy > .tagline-spaced { grid-column: 1; grid-row: 1; }
  .hero-copy > h1 { grid-column: 1; grid-row: 2; }
  .hero-art.hero-portrait { grid-column: 2; grid-row: 1 / span 2; order: 0; max-width: none; margin: 0; align-self: center; }
  .hero-art .ambassador-tag { left: 50%; right: auto; bottom: -10px; transform: translateX(-50%); white-space: nowrap; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(1.7rem, 7.6vw, 2.35rem); }
  .hero .tagline-spaced { font-size: .6875rem; letter-spacing: .16em; }
  .hero-art .ambassador-tag { padding: 6px 10px 6px 6px; gap: 6px; border-radius: 10px; bottom: -16px; }
  .ambassador-tag img { width: 24px; height: 24px; }
  .ambassador-tag strong { font-size: .8125rem; }
  .ambassador-tag span span { font-size: .625rem; }
}
@media (max-width: 900px) {
  .hero-art .ambassador-tag {
    position: relative; left: auto; right: auto; bottom: auto; transform: none;
    margin: -18px auto 0; width: max-content; max-width: 100%; white-space: normal;
  }
}
@media (max-width: 560px) {
  .hero-art .ambassador-tag { margin-top: -10px; padding: 6px 8px; }
  .ambassador-tag img { display: none; }
  .ambassador-tag > span { text-align: center; }
}

/* ==========================================================================
   Conversion elements: video CTA, mid-page CTA band, sticky mobile bar
   ========================================================================== */
.video-cta {
  max-width: 960px; margin: 28px auto 0; padding: 18px 22px; border-radius: var(--radius-md);
  background: #fff; box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.video-cta p { color: var(--navy); font-weight: 600; }
.video-cta .btn { flex: none; }
@media (max-width: 640px) { .video-cta { flex-direction: column; align-items: stretch; text-align: center; } }

.cta-band { background: linear-gradient(120deg, #E6F5EA 0%, #EAF4FD 100%); padding-block: clamp(36px, 5vw, 56px); border-block: 1px solid #D5E9DC; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { font-family: var(--font-display); font-weight: 850; font-stretch: 90%; color: var(--navy); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; text-wrap: balance; }
.cta-band p { color: var(--muted); margin-top: 8px; max-width: 40em; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.cta-band .btn .icon { width: 20px; height: 20px; }
.btn-ghost-navy { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: var(--navy); }
.btn-ghost-navy:hover { --btn-bg: var(--navy); --btn-fg: #fff; }
@media (max-width: 900px) {
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1 1 220px; }
}

.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta:not([hidden]) {
    position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -18px rgba(11,42,91,.45);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transform: translateY(0); transition: transform .25s ease;
  }
  .mobile-cta.is-away { transform: translateY(110%); }
  .mobile-cta .btn { min-height: 48px; }
  .mobile-cta .icon { width: 20px; height: 20px; }
  body.has-mobile-cta .site-footer { padding-bottom: 76px; }
}

/* ==========================================================================
   Inquiry form (in the contact section, on the dark band)
   ========================================================================== */
.inquiry-form {
  margin-top: 28px; padding: clamp(20px, 3vw, 30px); border-radius: var(--radius-lg);
  background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
}
.inquiry-head h3 { font-size: 1.35rem; color: var(--navy); }
.inquiry-head p { color: var(--muted); font-size: .9688rem; margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 700; color: var(--navy); font-size: .9375rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 10px;
  border: 1.5px solid #C5D5E8; background: #fff; color: var(--ink);
  font: 500 1rem/1.4 var(--font-body);
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13,74,166,.18); }
.field [aria-invalid="true"] { border-color: #C2410C; }
.field-error { color: #B42318; font-size: .875rem; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.field-check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--green-btn); flex: none; }
.field-check label { font-weight: 500; color: var(--ink); flex: 1 1 0; min-width: 0; }
.field-check .field-error { flex-basis: 100%; }
.inquiry-form a { color: var(--blue); }
.form-actions { margin-top: 20px; }
.form-status {
  margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-md);
  background: var(--mint); border: 1px solid #BFE3C9; color: var(--ink); display: grid; gap: 10px;
}
.form-status strong { color: var(--navy); }
.form-summary {
  margin: 0; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid #D5E2F0;
  font: 500 .875rem/1.5 var(--font-body); white-space: pre-wrap; overflow-wrap: anywhere; user-select: all;
}
.form-status .btn-ghost { --btn-fg: var(--navy); --btn-bd: var(--navy); justify-self: start; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
}

/* Legal pages */
.legal { max-width: 820px; padding-block: 56px 88px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 6px; }
.legal-meta { color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.legal h2 { font-family: var(--font-display); font-weight: 800; font-stretch: 92%; color: var(--navy); font-size: 1.35rem; margin-top: 34px; }
.legal p, .legal li { color: var(--ink); line-height: 1.7; }
.legal p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-top: 12px; display: grid; gap: 8px; }
.legal-back { margin-left: auto; }
.legal-footer { padding-top: 0; }

/* ==========================================================================
   Selling sections: hero assurance, real-branch proof, comparison
   ========================================================================== */
.hero-assure { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--navy); font-weight: 600; font-size: .9375rem; margin-top: -6px; }
.hero-assure .icon { width: 18px; height: 18px; color: var(--green-btn); stroke-width: 2.6; margin-right: -8px; }
@media (max-width: 900px) { .hero-copy > .hero-assure { grid-column: 1 / -1; } }

.proof { background: #fff; }
.gallery { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--sky); box-shadow: var(--shadow-card); }
.gallery .g-main { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px);
  padding: 6px 12px; border-radius: 999px; background: rgba(11,42,91,.82); color: #fff; font-size: .875rem; font-weight: 600;
}
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .g-main { grid-row: auto; }
  .gallery img { height: auto; aspect-ratio: 16 / 10; }
}
.offer { margin-top: clamp(28px, 4vw, 44px); text-align: center; }
.offer h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.offer-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.offer-chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--sky); color: var(--navy); font-weight: 700; font-size: .9688rem; border: 1px solid #D2E4F6;
}
.offer-chips li:nth-child(even) { background: var(--mint); border-color: #CBE8D3; }
.offer-chips .icon { width: 20px; height: 20px; color: var(--blue); }
.offer-chips li:nth-child(even) .icon { color: var(--green-btn); }
.offer-note { margin-top: 14px; color: var(--muted); font-size: .875rem; }

.compare { background: linear-gradient(180deg, #F5FAFF 0%, #FFFFFF 100%); }
.compare-wrap { max-width: 980px; margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table thead th { padding: 16px 18px; font-family: var(--font-display); font-weight: 800; font-stretch: 92%; font-size: 1.0625rem; text-align: left; }
.compare-table .c-alone-h { background: #EEF1F5; color: #4A5568; }
.compare-table .c-jm-h { background: var(--navy); color: #fff; }
.compare-table .c-jm-h img { display: inline-block; vertical-align: middle; width: 28px; height: 28px; margin-right: 6px; }
.compare-table thead th:first-child { background: #fff; width: 26%; }
.compare-table tbody th { padding: 15px 18px; text-align: left; color: var(--navy); font-weight: 700; vertical-align: top; }
.compare-table td { padding: 15px 18px; vertical-align: top; }
.compare-table td > span { display: inline; }
.compare-table td .icon { width: 20px; height: 20px; vertical-align: -4px; margin-right: 8px; stroke-width: 2.4; }
.compare-table .c-alone { color: #5B6474; background: #FAFBFC; }
.compare-table .c-alone .icon { color: #B42318; }
.compare-table .c-jm { color: var(--ink); font-weight: 600; background: #F1FAF3; }
.compare-table .c-jm .icon { color: var(--green-btn); }
.compare-table tbody tr + tr > * { border-top: 1px solid #E6EDF5; }
.compare-cta { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 720px) {
  .compare-table thead { display: none; }
  .compare-table tbody tr { display: grid; grid-template-columns: 1fr; border-top: 1px solid #E6EDF5; }
  .compare-table tbody tr + tr > * { border-top: 0; }
  .compare-table tbody th { padding-bottom: 6px; background: #fff; }
  .compare-table td { padding: 8px 18px; }
  .compare-table td.c-jm { padding-bottom: 16px; }
  .compare-table .c-alone::before { content: "Alone: "; font-weight: 700; }
  .compare-table .c-jm::before { content: "JuanMeds: "; font-weight: 800; color: var(--navy); }
  .compare-table td::before { display: inline; }
  .compare-table td .icon { display: none; }
}
.invest-cta { align-self: flex-start; }
.compare-table td .icon { display: block; float: left; margin: 2px 10px 0 0; }
.compare-table td > span { display: block; overflow: hidden; }
@media (max-width: 720px) { .compare-table td > span { display: inline; overflow: visible; } }
/* Mobile legibility: keep small labels at 12px or larger */
@media (max-width: 560px) {
  .hero .tagline-spaced { font-size: .75rem; letter-spacing: .14em; }
  .ambassador-tag span span { font-size: .75rem; }
  .ambassador-tag strong { font-size: .875rem; }
}
/* Two-photo gallery: equal columns, same height */
.gallery-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
.gallery-2 .g-main { grid-row: auto; }
.gallery-2 img { aspect-ratio: 3 / 2; height: auto; }
@media (max-width: 860px) { .gallery-2 { grid-template-columns: 1fr; } }
.office-line { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; color: #D6E4F7; font-size: .9688rem; }
.office-line strong { color: #fff; }
.office-line .icon { width: 20px; height: 20px; color: #86DE91; margin-top: 2px; }
