/* ============================================================
   EtherealMinds — Main Homepage
   Healthcare-only growth agency
   Design tokens shared with /system/ and /smm/ landings
   ============================================================ */

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-wrap: break-word;
  width: 100%;
}

:root {
  --ink: #0B1A2E;
  --ink-soft: #3A4A63;
  --ink-dim: #6B7A92;
  --bg: #FAFAF7;
  --bg-warm: #F4F1EA;
  --white: #FFFFFF;
  --accent: #4F76B4;
  --accent-bright: #4f76b4ab;
  --accent-solid: #4F76B4;
  --accent-soft: #D1FAE5;
  --accent-glow: #4f76b431;
  --gold: #C9A961;
  --gold-soft: rgba(201, 169, 97, 0.12);
  --border: #E6E1D6;
  --border-soft: #EFEBE2;
  --shadow-sm: 0 1px 2px rgba(11, 26, 46, 0.04), 0 1px 3px rgba(11, 26, 46, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 26, 46, 0.06), 0 2px 4px rgba(11, 26, 46, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(11, 26, 46, 0.12), 0 8px 16px -8px rgba(11, 26, 46, 0.08);
  --shadow-xl: 0 40px 80px -20px rgba(11, 26, 46, 0.18), 0 16px 32px -12px rgba(11, 26, 46, 0.10);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --serif: 'Fraunces', Georgia, serif;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.05; font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.1; font-weight: 400; }
h3 { font-size: 1.35rem; line-height: 1.3; font-weight: 500; }
p { color: var(--ink-soft); }
em { font-style: italic; color: var(--accent); font-family: var(--serif); }
a { color: inherit; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--border); padding: 10px 20px; font-size: 0.88rem;
}
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-link { background: transparent; color: var(--ink-soft); padding: 10px 0; font-size: 0.9rem; }
.btn-link:hover { color: var(--accent); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-xl { padding: 20px 40px; font-size: 1.05rem; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { height: 38px; width: auto; display: block; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-bright), var(--accent));
  box-shadow: 0 0 0 3px var(--accent-glow); flex-shrink: 0;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--ink-soft);
  font-size: 0.9rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* Services dropdown */
.nav-dd { position: relative; }
.nav-dd-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 500;
  color: var(--ink-soft); padding: 8px 0; transition: color 0.2s;
}
.nav-dd-toggle:hover { color: var(--accent); }
.nav-dd-toggle .caret { transition: transform 0.25s; font-size: 0.7rem; }
.nav-dd:hover .nav-dd-toggle .caret { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 320px; padding: 10px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-xl);
  opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s; z-index: 50;
}
/* Invisible bridge so the cursor can travel from the toggle to the menu
   without crossing a dead zone that would drop :hover and close it. */
.nav-dd-menu::before {
  content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 16px; background: transparent;
}
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu,
.nav-dd.open .nav-dd-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dd-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--radius-sm); text-decoration: none;
  transition: background 0.18s;
}
.nav-dd-item:hover { background: var(--bg-warm); }
.nav-dd-ico {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
  background: var(--accent-glow); color: var(--accent);
}
.nav-dd-tt { font-size: 0.9rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.nav-dd-tt .tag {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 5px; background: var(--gold-soft); color: var(--gold);
}
.nav-dd-sub { font-size: 0.78rem; color: var(--ink-dim); margin-top: 2px; line-height: 1.4; }

.nav-cta-wrap { display: flex; align-items: center; gap: 14px; }

/* Mobile nav */
.nav-burger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
}
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: var(--bg); padding: 80px 24px 40px;
  overflow-y: auto; flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu-close {
  position: absolute; top: 22px; right: 22px; background: none; border: none;
  font-size: 1.8rem; cursor: pointer; color: var(--ink); line-height: 1;
}
.mobile-menu a {
  text-decoration: none; color: var(--ink); font-size: 1.15rem; font-weight: 500;
  padding: 16px 0; border-bottom: 1px solid var(--border-soft); display: block;
}
.mobile-menu .mm-label {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-dim); margin-top: 24px; padding-bottom: 6px;
}
.mobile-menu .mm-sub { font-size: 1rem; color: var(--ink-soft); padding-left: 14px; }
.mobile-menu .btn { margin-top: 28px; justify-content: center; }

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-cta-wrap .btn-ghost { display: none; }
  .nav-burger { display: flex; }
}

/* ============ HERO ============ */
.hero { position: relative; padding: 88px 0 80px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 900px 460px at 50% -5%, var(--accent-glow), transparent 70%),
    radial-gradient(ellipse 620px 320px at 12% 90%, var(--gold-soft), transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: var(--white); border: 1px solid var(--border);
  border-radius: 999px; font-size: 0.82rem; font-weight: 500; color: var(--ink-soft);
  margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.pulse { width: 8px; height: 8px; background: var(--accent-solid); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

.hero-title { margin-bottom: 22px; }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 560px; margin-bottom: 18px; color: var(--ink-soft); }
@media (max-width: 980px) { .hero-sub { margin-left: auto; margin-right: auto; } }
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-micro { font-size: 0.92rem; color: var(--ink-dim); margin-bottom: 30px; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
@media (max-width: 980px) { .hero-cta-row { justify-content: center; } }

.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
@media (max-width: 980px) { .hero-pills { justify-content: center; } }
.hero-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; background: var(--white); border: 1px solid var(--border-soft);
  border-radius: 999px; font-size: 0.78rem; font-weight: 500; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.hero-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Hero media (right column) — replace with founders photo / brand video */
.hero-media {
  position: relative; background: none; border: none; box-shadow: none;
  border-radius: 0; overflow: visible; aspect-ratio: auto;
  max-width: 460px; margin: 0 auto; width: 100%;
}
.hero-media img { width: 100%; height: auto; object-fit: contain; display: block; }
.hero-media-badge {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); text-align: left;
}
.hero-media-badge .hmb-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, var(--accent-bright), var(--accent));
  display: flex; align-items: center; justify-content: center; color: var(--white);
  font-family: var(--serif); font-weight: 600;
}
.hero-media-badge .hmb-name { font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.hero-media-badge .hmb-role { font-size: 0.74rem; color: var(--ink-dim); }

/* Media placeholder shared style */
.media-ph {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 28px;
  background:
    repeating-linear-gradient(135deg, rgba(79,118,180,0.04) 0 14px, transparent 14px 28px),
    var(--bg-warm);
  border: 2px dashed var(--accent-bright); border-radius: inherit;
  color: var(--ink-dim); min-height: 100%;
}
.media-ph .mph-ico {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.media-ph .mph-tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
.media-ph .mph-text { font-size: 0.86rem; max-width: 240px; color: var(--ink-soft); }

/* ============ MARQUEE ============ */
.marquee {
  margin-top: 56px; padding: 8px 0; overflow: hidden; position: relative; width: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track { display: flex; width: max-content; align-items: center; animation: marquee-scroll 40s linear infinite; }
.marquee-track img { height: 58px; width: auto; display: block; flex-shrink: 0; opacity: 0.9; padding-right: 48px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .marquee-track img { height: 42px; padding-right: 32px; } }

/* ============ STAT BAR ============ */
.statbar-section { padding: 8px 0 0; }
.statbar {
  display: flex; justify-content: center; align-items: stretch; gap: 18px; flex-wrap: wrap;
  max-width: 980px; margin: 0 auto; padding: 26px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.stat-item { text-align: center; padding: 0 22px; flex: 1; min-width: 140px; }
.stat-num { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.stat-num em { color: var(--accent); }
.stat-label { font-size: 0.82rem; color: var(--ink-dim); margin-top: 8px; }
.stat-divider { width: 1px; background: var(--border); }
@media (max-width: 760px) { .stat-divider { display: none; } .statbar { gap: 8px; } .stat-item { flex: 1 1 45%; padding: 12px; } }

/* ============ SECTION HEADERS ============ */
.section { padding: 110px 0; }
.section-tight { padding: 88px 0; }
.bg-white { background: var(--white); }
.bg-warm-grad { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%); }
.bg-warm-grad-rev { background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%); }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.section-eyebrow.dim { color: var(--ink-dim); }
.section-title { margin-bottom: 20px; }
.section-sub { font-size: 1.08rem; color: var(--ink-soft); }

/* ============ TRADITIONAL vs ETHEREAL (PROBLEM) ============ */
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1040px; margin: 0 auto;
}
@media (max-width: 820px) { .compare-grid { grid-template-columns: 1fr; gap: 20px; } }
.compare-col {
  padding: 40px 36px; border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--white);
}
.compare-old { background: linear-gradient(180deg, var(--white) 0%, #FBF7F3 100%); border-top: 4px solid var(--ink-dim); }
.compare-new { border-top: 4px solid var(--accent); box-shadow: var(--shadow-lg); }
.compare-tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px;
}
.compare-old .compare-tag { color: var(--ink-dim); }
.compare-new .compare-tag { color: var(--accent); }
.compare-col h3 { font-size: 1.5rem; margin-bottom: 22px; }
.compare-list { list-style: none; }
.compare-list li {
  display: flex; gap: 13px; padding: 13px 0; font-size: 0.95rem; color: var(--ink-soft);
  border-bottom: 1px dashed var(--border-soft);
}
.compare-list li:last-child { border-bottom: none; }
.compare-list strong { color: var(--ink); font-weight: 600; }
.ic { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.76rem; font-weight: 700; margin-top: 1px; }
.ic-x { background: #F3F4F6; color: var(--ink-dim); }
.ic-check { background: var(--accent-glow); color: var(--accent); }

/* ============ ECOSYSTEM / GROWTH SYSTEM ============ */
.eco-flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1100px; margin: 0 auto 28px;
  position: relative;
}
@media (max-width: 900px) { .eco-flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .eco-flow { grid-template-columns: 1fr; } }
.eco-node {
  position: relative; background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 28px 24px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.eco-node:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-bright); }
.eco-step { font-family: var(--serif); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eco-ico {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; background: var(--accent-glow); color: var(--accent); margin-bottom: 16px;
}
.eco-node h3 { font-size: 1.15rem; margin-bottom: 8px; }
.eco-node p { font-size: 0.9rem; line-height: 1.5; }
.eco-foot { text-align: center; max-width: 680px; margin: 0 auto; color: var(--ink-soft); font-size: 1rem; }
.eco-foot strong { color: var(--ink); }

/* ============ SERVICES ============ */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1080px; margin: 0 auto; }
@media (max-width: 820px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 38px 34px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: var(--accent-bright); }
.service-card-feature {
  background: linear-gradient(160deg, #0f2040 0%, var(--ink) 100%); color: var(--white); border: none;
}
.service-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.service-ico {
  width: 50px; height: 50px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.45rem;
  background: var(--accent-glow); color: var(--accent);
}
.service-card-feature .service-ico { background: rgba(255,255,255,0.1); color: var(--accent-bright); }
.service-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); }
.service-card-feature .service-kicker { color: var(--accent-bright); }
.service-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.service-card-feature h3 { color: var(--white); }
.service-pain {
  font-size: 0.9rem; font-style: italic; color: var(--ink-dim);
  padding: 12px 16px; background: var(--bg); border-left: 3px solid var(--accent-bright);
  border-radius: 0 8px 8px 0; margin-bottom: 18px;
}
.service-card-feature .service-pain { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.7); }
.service-desc { font-size: 0.96rem; margin-bottom: 18px; flex: 1; }
.service-card-feature .service-desc { color: rgba(255,255,255,0.82); }
.service-bullets { list-style: none; margin-bottom: 24px; }
.service-bullets li { display: flex; gap: 10px; padding: 7px 0; font-size: 0.9rem; color: var(--ink-soft); }
.service-card-feature .service-bullets li { color: rgba(255,255,255,0.82); }
.service-bullets .check {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-glow); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 700; margin-top: 2px;
}
.service-card-feature .service-bullets .check { background: var(--accent-bright); color: var(--ink); }
.service-cta { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.92rem; color: var(--accent); text-decoration: none; transition: gap 0.2s; }
.service-cta:hover { gap: 12px; }
.service-card-feature .service-cta { color: var(--accent-bright); }
.service-badge {
  position: absolute; top: 22px; right: 22px; padding: 5px 12px; border-radius: 999px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.badge-soon { background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(201,169,97,0.3); }
.badge-live { background: var(--accent-glow); color: var(--accent); border: 1px solid var(--accent-bright); }
.badge-app { background: rgba(255,255,255,0.12); color: var(--accent-bright); border: 1px solid rgba(255,255,255,0.2); }

/* ============ SPECIALTIES ============ */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1080px; margin: 0 auto 36px; }
@media (max-width: 860px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-card {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 22px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.spec-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-bright); }
.spec-card.disabled { pointer-events: none; opacity: 0.62; }
.spec-ico { width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; background: var(--bg-warm); }
.spec-name { font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.spec-meta { font-size: 0.78rem; color: var(--ink-dim); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.spec-arrow { margin-left: auto; color: var(--accent); font-size: 1.1rem; opacity: 0; transform: translateX(-4px); transition: 0.25s; }
.spec-card:hover .spec-arrow { opacity: 1; transform: translateX(0); }
.spec-foot { text-align: center; color: var(--ink-soft); font-size: 0.98rem; }
.spec-foot a { color: var(--accent); font-weight: 600; text-decoration: none; }
.spec-foot a:hover { text-decoration: underline; }

/* ============ PROOF / RESULTS ============ */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1100px; margin: 0 auto 24px; }
@media (max-width: 880px) { .proof-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-tile { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--white); }
.proof-video-ph { aspect-ratio: 9 / 16; }
.proof-photo-ph { aspect-ratio: 4 / 5; }
.proof-tile-wide { grid-column: span 1; }
.proof-disclaimer { text-align: center; font-size: 0.78rem; color: var(--ink-dim); font-style: italic; max-width: 640px; margin: 18px auto 0; }
/* Client testimonial videos */
.proof-video { display: flex; flex-direction: column; background: linear-gradient(135deg, #1a2d4a 0%, var(--ink) 100%); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s; }
.proof-video:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.proof-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.proof-video-frame wistia-player { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.proof-video-frame wistia-player:not(:defined) { background: linear-gradient(135deg, #1a2d4a 0%, var(--ink) 100%); display: block; width: 100%; height: 100%; }
.proof-video-meta { padding: 16px 18px; color: var(--white); border-top: 1px solid rgba(255,255,255,0.08); }
.proof-name { font-weight: 600; font-size: 0.92rem; margin-bottom: 4px; }
.proof-stat { font-size: 0.8rem; color: var(--accent-bright); line-height: 1.4; }

/* ============ FOUNDERS / ABOUT ============ */
.founders-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; max-width: 1080px; margin: 0 auto; }
@media (max-width: 900px) { .founders-grid { grid-template-columns: 1fr; gap: 36px; } }
.founders-photo { background: none; border: none; box-shadow: none; border-radius: 0; overflow: visible; }
.founders-photo img { width: 100%; height: auto; display: block; }
.founders-body h2 { margin-bottom: 20px; }
.founders-body p { font-size: 1.04rem; margin-bottom: 18px; }
.founders-body p strong { color: var(--ink); }
.founders-sign { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.founders-sign .fs-name { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.founders-sign .fs-role { font-size: 0.84rem; color: var(--ink-dim); }
.founders-values { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.founders-value { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; background: var(--white); border: 1px solid var(--border); border-radius: 999px; font-size: 0.84rem; font-weight: 500; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.founders-value .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ============ PROCESS / STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1080px; margin: 0 auto; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--white); padding: 30px 26px; border-radius: var(--radius-lg); border: 1px solid var(--border-soft); transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-bright); }
.step-num { font-family: var(--serif); font-size: 2.1rem; font-weight: 400; color: var(--accent); letter-spacing: -0.04em; margin-bottom: 14px; line-height: 1; }
.step h3 { margin-bottom: 9px; font-size: 1.18rem; }
.step p { font-size: 0.9rem; }

/* ============ FIT ============ */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1040px; margin: 0 auto; }
@media (max-width: 820px) { .fit-grid { grid-template-columns: 1fr; } }
.fit-col { background: var(--white); padding: 38px; border-radius: var(--radius-xl); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.fit-yes { border-top: 4px solid var(--accent); }
.fit-no { background: linear-gradient(180deg, var(--white) 0%, var(--bg-warm) 100%); border-top: 4px solid var(--ink-dim); }
.fit-title { margin-bottom: 22px; font-size: 1.5rem; }
.fit-list { list-style: none; }
.fit-list li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--border-soft); font-size: 0.95rem; color: var(--ink-soft); }
.fit-list li:last-child { border-bottom: none; }
.fit-list strong { color: var(--ink); font-weight: 600; }

/* ============ FAQ ============ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.faq-item[open] { border-color: var(--accent-bright); box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 20px 24px; font-weight: 600; font-size: 1rem; color: var(--ink); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--serif); font-size: 1.5rem; color: var(--accent); transition: transform 0.25s; line-height: 1; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-body { padding: 0 24px 22px; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.65; }
.faq-body a { color: var(--accent); font-weight: 500; }

/* ============ BOOKING / CTA ============ */
.cta-section { padding: 110px 0; background: var(--white); }
.cta-card {
  max-width: 980px; margin: 0 auto; padding: 64px 48px;
  background: linear-gradient(135deg, var(--ink) 0%, #14243d 100%);
  border-radius: var(--radius-xl); text-align: center; position: relative; overflow: hidden; color: var(--white);
}
.cta-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 600px 400px at 20% 15%, var(--accent-glow), transparent 60%),
    radial-gradient(ellipse 600px 400px at 85% 90%, var(--gold-soft), transparent 60%);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; font-size: 0.82rem; color: var(--accent-bright); margin-bottom: 24px; }
.cta-title { color: var(--white); margin-bottom: 18px; }
.cta-title em { color: var(--accent-bright); }
.cta-sub { color: rgba(255,255,255,0.78); max-width: 600px; margin: 0 auto 8px; font-size: 1.05rem; }

.booking-steps { display: flex; align-items: stretch; justify-content: center; gap: 10px; flex-wrap: nowrap; margin: 34px auto 30px; max-width: 760px; }
.booking-step { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.booking-step-num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-bright); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; }
.booking-step-text { font-size: 0.84rem; font-weight: 600; color: var(--white); text-align: left; line-height: 1.3; min-width: 0; }
.booking-step-text span { display: block; font-weight: 400; font-size: 0.72rem; color: rgba(255,255,255,0.6); margin-top: 2px; }
.booking-step-sep { flex-shrink: 0; align-self: center; color: rgba(255,255,255,0.3); font-size: 1.1rem; }
@media (max-width: 640px) {
  .booking-steps { gap: 5px; }
  .booking-step { flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 10px 6px; }
  .booking-step-text { text-align: center; font-size: 0.7rem; line-height: 1.2; }
  .booking-step-text span { display: none; }
  .booking-step-num { width: 26px; height: 26px; font-size: 0.85rem; }
  .booking-step-sep { font-size: 0.95rem; }
}

.booking-wrap { background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08); overflow: hidden; margin: 0 auto; max-width: 760px; position: relative; scroll-margin-top: 100px; }
.booking-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--bg-warm); border-bottom: 1px solid var(--border); color: var(--ink); }
.booking-header-left { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; }
.booking-header-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.2); animation: pulse 2s infinite; }
.booking-header-right { font-size: 0.78rem; color: var(--ink-dim); font-weight: 500; }
.booking-frame { position: relative; min-height: 620px; background: var(--white); }
.booking-loader { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ink-dim); font-size: 0.9rem; z-index: 0; }
.booking-frame iframe { position: relative; width: 100%; min-height: 620px; border: none; display: block; z-index: 1; background: var(--white); }
@media (max-width: 640px) { .booking-header-right { display: none; } .booking-frame, .booking-frame iframe { min-height: 580px; } }
@media (max-width: 560px) { .cta-card { padding: 48px 22px; } }

/* ============ FOOTER ============ */
.footer { padding: 72px 0 40px; background: var(--bg-warm); border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-tagline { font-size: 0.9rem; color: var(--ink-soft); max-width: 320px; line-height: 1.6; }
.footer-col h4 { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 16px; }
.footer-col a { display: block; text-decoration: none; color: var(--ink-soft); font-size: 0.9rem; padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-col a .ext { font-size: 0.66rem; color: var(--ink-dim); margin-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--border); }
.footer-copy { font-size: 0.82rem; color: var(--ink-dim); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.82rem; color: var(--ink-dim); text-decoration: none; }
.footer-legal a:hover { color: var(--accent); }

/* ============ STICKY CTA ============ */
.sticky-cta { position: fixed; bottom: 24px; right: 24px; z-index: 95; opacity: 0; pointer-events: none; transform: translateY(20px); transition: opacity 0.3s ease, transform 0.3s ease; }
.sticky-cta.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.sticky-cta .btn-primary { box-shadow: 0 12px 32px -8px rgba(11,26,46,0.35), 0 4px 12px rgba(11,26,46,0.15); padding: 16px 28px; font-size: 0.95rem; font-weight: 600; }
@media (max-width: 720px) { .sticky-cta { bottom: 16px; right: 16px; left: 16px; } .sticky-cta .btn-primary { width: 100%; justify-content: center; } }

/* ============ REVEAL ON SCROLL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.2,0.8,0.2,1), transform 0.8s cubic-bezier(0.2,0.8,0.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .pulse, .booking-header-dot { animation: none; }
  html { scroll-behavior: auto; }
}
/* ============ MOBILE TEXT HARDENING ============
   Garantiza que TODO texto se adapte (envuelva) en pantallas pequeñas en vez de
   salirse del margen o quedar cortado. Encabezados más chicos = más holgura. */
@media (max-width: 600px) {
  h1 { font-size: clamp(2rem, 8.4vw, 2.7rem); }
  h2 { font-size: clamp(1.55rem, 6.4vw, 2.05rem); }
  h3 { font-size: 1.18rem; }
  h1, h2, h3, h4, p, li, a, span, em, strong,
  .section-title, .hero-title, .section-eyebrow, .eyebrow, .section-sub {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  .container { padding-left: 18px; padding-right: 18px; }
}
