/* Landing Captación Pacientes — Mediconecta PY */
@import url('./colors_and_type.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #fff; color: var(--fg-body); font-family: var(--font-sans); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.ms, .material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  user-select: none;
}

/* ========== NAV ========== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px) saturate(150%);
  transition: all 250ms var(--ease-standard);
}
.nav.is-scrolled { background: rgba(255,255,255,0.94); border-bottom: 1px solid var(--slate-200); box-shadow: var(--shadow-sm); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; gap: 32px; }
.nav-brand { flex-shrink: 0; }
.nav-links { flex: 1; display: flex; gap: 32px; justify-content: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--slate-700); transition: color 200ms; cursor: pointer; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.btn-text { font-size: 13px; font-weight: 600; color: var(--slate-600); padding: 8px 12px; cursor: pointer; }
.btn-text:hover { color: var(--brand-dark); }
.btn-primary {
  background: var(--brand); color: #fff; border: 0; font-weight: 600; font-size: 13px;
  padding: 10px 16px; border-radius: var(--radius-lg); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: var(--shadow-brand);
  transition: all 200ms var(--ease-standard);
}
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(76,177,220,0.35); }
.btn-primary .ms { font-size: 16px; }

/* ========== HERO — centered, search-first ========== */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 32px 64px;
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 70%);
  min-height: calc(100vh - 66px);
  display: flex; align-items: center;
  --cx: 50%; --cy: 50%;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--cx) var(--cy), rgba(76,177,220,0.12), transparent 60%);
  pointer-events: none; transition: background 200ms ease;
  z-index: 0;
}
.hero-compact { padding: 64px 32px 48px; min-height: auto; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(100px); }
.hero-bg .b1 { width: 560px; height: 560px; background: var(--brand-light); top: -220px; right: -140px; opacity: 0.5; animation: floatBlob 20s ease-in-out infinite; }
.hero-bg .b2 { width: 480px; height: 480px; background: var(--violet-50); bottom: -200px; left: -120px; opacity: 0.45; animation: floatBlob 24s ease-in-out infinite reverse; }
.hero-bg .b3 { width: 320px; height: 320px; background: #ffe8d4; top: 35%; left: 45%; opacity: 0.22; animation: floatBlob 28s ease-in-out infinite; }
@keyframes floatBlob {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(20px,-26px) scale(1.04); }
}
.hero-bg .grid-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(76,177,220,0.14) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.55;
}

/* ====== RADAR ====== */
.radar {
  position: absolute; top: 50%; left: 50%;
  width: 980px; height: 980px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.radar-ring {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(76,177,220,0.22);
  transform: translate(-50%, -50%) scale(0);
  animation: radarPulse 12s cubic-bezier(0.25, 0.8, 0.35, 1) infinite;
  opacity: 0;
}
.radar-ring.r1 { width: 220px; height: 220px; animation-delay: 0s; }
.radar-ring.r2 { width: 220px; height: 220px; animation-delay: 3s; }
.radar-ring.r3 { width: 220px; height: 220px; animation-delay: 6s; }
.radar-ring.r4 { width: 220px; height: 220px; animation-delay: 9s; }
@keyframes radarPulse {
  0%   { transform: translate(-50%, -50%) scale(0.15); opacity: 0; border-width: 2px; }
  15%  { opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(4.4);  opacity: 0; border-width: 1px; }
}
.radar-center {
  position: absolute; top: 50%; left: 50%;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(76,177,220,0.18), 0 0 0 14px rgba(76,177,220,0.08);
  transform: translate(-50%, -50%);
  animation: centerPulse 3.2s ease-in-out infinite;
  z-index: 1;
}
@keyframes centerPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(76,177,220,0.18), 0 0 0 14px rgba(76,177,220,0.08); }
  50%      { box-shadow: 0 0 0 10px rgba(76,177,220,0.28), 0 0 0 24px rgba(76,177,220,0.12); }
}
.radar-sweep {
  position: absolute; top: 50%; left: 50%;
  width: 980px; height: 980px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(76,177,220,0.32) 0deg,
    rgba(76,177,220,0.12) 22deg,
    rgba(76,177,220,0.02) 50deg,
    transparent 90deg,
    transparent 360deg
  );
  mask-image: radial-gradient(circle, transparent 20px, black 22px, black 480px, transparent 500px);
  -webkit-mask-image: radial-gradient(circle, transparent 20px, black 22px, black 480px, transparent 500px);
  animation: sweepRot 20s linear infinite;
}
/* Sweep starts pointing straight up (to align with 0% of ping keyframes which use bearing from top) */
@keyframes sweepRot {
  from { transform: translate(-50%, -50%) rotate(-90deg); }
  to   { transform: translate(-50%, -50%) rotate(270deg); }
}

/* ====== FLOATING MEDICAL ICONS ====== */
.float-ic {
  position: absolute; z-index: 1;
  width: 52px; height: 52px; border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15,23,42,0.08), 0 0 0 1px rgba(15,23,42,0.04) inset;
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-400);
  transition: transform 200ms var(--ease-standard);
}
.float-ic .ms { font-size: 26px; transition: transform 400ms var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1)); }

/* Each icon combines float animation + a ping keyframe synced to the 20s sweep */
.float-ic-1 { top: 14%; left: 7%;   animation: floatIcon 8s ease-in-out infinite,     iconPing1 20s linear infinite; }
.float-ic-2 { top: 26%; right: 8%;  animation: floatIcon 8s ease-in-out infinite,     iconPing2 20s linear infinite; }
.float-ic-3 { bottom: 22%; left: 5%; animation: floatIcon 8s ease-in-out infinite,     iconPing3 20s linear infinite; }
.float-ic-4 { bottom: 18%; right: 6%; animation: floatIcon 8s ease-in-out infinite,    iconPing4 20s linear infinite; }
.float-ic-5 { top: 48%; right: 3%;  animation: floatIcon 8s ease-in-out infinite,     iconPing5 20s linear infinite; }

@keyframes floatIcon {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%     { transform: translateY(-14px) rotate(3deg); }
}

/* Sweep rotates 20s full (conic from 0deg = top, clockwise).
   Icons ping when the beam crosses their CSS bearing from the hero center.
   ic1 top-left ≈ 330° → 92%;  ic2 top-right ≈ 60° → 17%;
   ic3 bottom-left ≈ 238° → 66%;  ic4 bottom-right ≈ 126° → 35%;  ic5 right ≈ 92° → 26% */
@keyframes iconPing1 {
  0%, 88%  { color: var(--slate-400); box-shadow: 0 14px 32px rgba(15,23,42,0.08), 0 0 0 1px rgba(15,23,42,0.04) inset; }
  92%      { color: #ef4444; box-shadow: 0 14px 40px rgba(239,68,68,0.45), 0 0 0 2px rgba(239,68,68,0.6) inset, 0 0 50px rgba(239,68,68,0.4); }
  100%     { color: var(--slate-400); box-shadow: 0 14px 32px rgba(15,23,42,0.08), 0 0 0 1px rgba(15,23,42,0.04) inset; }
}
@keyframes iconPing2 {
  0%, 13%  { color: var(--slate-400); box-shadow: 0 14px 32px rgba(15,23,42,0.08), 0 0 0 1px rgba(15,23,42,0.04) inset; }
  17%      { color: #9d4edd; box-shadow: 0 14px 40px rgba(157,78,221,0.45), 0 0 0 2px rgba(157,78,221,0.6) inset, 0 0 50px rgba(157,78,221,0.4); }
  30%,100% { color: var(--slate-400); box-shadow: 0 14px 32px rgba(15,23,42,0.08), 0 0 0 1px rgba(15,23,42,0.04) inset; }
}
@keyframes iconPing3 {
  0%, 62%  { color: var(--slate-400); box-shadow: 0 14px 32px rgba(15,23,42,0.08), 0 0 0 1px rgba(15,23,42,0.04) inset; }
  66%      { color: #10b981; box-shadow: 0 14px 40px rgba(16,185,129,0.45), 0 0 0 2px rgba(16,185,129,0.6) inset, 0 0 50px rgba(16,185,129,0.4); }
  80%,100% { color: var(--slate-400); box-shadow: 0 14px 32px rgba(15,23,42,0.08), 0 0 0 1px rgba(15,23,42,0.04) inset; }
}
@keyframes iconPing4 {
  0%, 31%  { color: var(--slate-400); box-shadow: 0 14px 32px rgba(15,23,42,0.08), 0 0 0 1px rgba(15,23,42,0.04) inset; }
  35%      { color: #f59e0b; box-shadow: 0 14px 40px rgba(245,158,11,0.45), 0 0 0 2px rgba(245,158,11,0.6) inset, 0 0 50px rgba(245,158,11,0.4); }
  48%,100% { color: var(--slate-400); box-shadow: 0 14px 32px rgba(15,23,42,0.08), 0 0 0 1px rgba(15,23,42,0.04) inset; }
}
@keyframes iconPing5 {
  0%, 22%  { color: var(--slate-400); box-shadow: 0 14px 32px rgba(15,23,42,0.08), 0 0 0 1px rgba(15,23,42,0.04) inset; }
  26%      { color: var(--brand); box-shadow: 0 14px 40px rgba(76,177,220,0.45), 0 0 0 2px rgba(76,177,220,0.6) inset, 0 0 50px rgba(76,177,220,0.4); }
  40%,100% { color: var(--slate-400); box-shadow: 0 14px 32px rgba(15,23,42,0.08), 0 0 0 1px rgba(15,23,42,0.04) inset; }
}
.float-ic:hover {
  transform: translateY(-6px) scale(1.12);
  animation-play-state: paused;
  color: var(--brand);
  box-shadow: 0 20px 44px rgba(76,177,220,0.35), 0 0 0 2px rgba(76,177,220,0.55) inset;
  z-index: 2;
}
.float-ic:hover .ms { transform: scale(1.1) rotate(-8deg); }
.hero-inner {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative; width: 100%;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--brand-light);
  font-size: 11px; font-weight: 600; color: var(--brand-dark);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(76,177,220,0.08);
}
.eyebrow.muted { background: var(--slate-50); border-color: var(--slate-100); color: var(--slate-500); box-shadow: none; }
.eb-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--emerald-500); box-shadow: 0 0 0 4px rgba(16,185,129,0.15); }
.hero-h1 {
  font-size: 68px; line-height: 1.02; font-weight: 800;
  letter-spacing: -0.04em; color: var(--slate-900);
  margin: 24px 0 18px; max-width: 760px;
  text-wrap: balance;
}
.hero-compact .hero-h1 { font-size: 52px; }
.h1-accent { color: var(--brand); display: inline-block; }
.hero-sub {
  font-size: 19px; line-height: 1.55; color: var(--slate-600);
  max-width: 580px; margin: 0 auto 36px;
  text-wrap: pretty;
}

/* search — protagonist */
.search-wrap { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 680px; align-items: center; }
.search-big {
  display: flex; align-items: center; gap: 0;
  background: #fff; border: 2px solid var(--slate-200);
  border-radius: 20px; padding: 8px 8px 8px 22px;
  box-shadow: 0 20px 60px rgba(15,23,42,0.10);
  transition: all 200ms var(--ease-standard);
  width: 100%;
}
.search-big:focus-within { border-color: var(--brand); box-shadow: 0 20px 60px rgba(76,177,220,0.22); transform: translateY(-2px); }
.search-big.has-match { border-color: var(--brand); }
.search-big.is-searching { border-color: var(--brand); }
.search-ic { color: var(--brand); font-size: 26px; }
.search-big input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-family: var(--font-sans); font-size: 18px; font-weight: 500; color: var(--slate-900);
  padding: 18px 14px; min-width: 0;
}
.search-big input::placeholder { color: var(--slate-400); font-weight: 400; }
.search-clear {
  border: 0; background: var(--slate-100); border-radius: 999px;
  width: 26px; height: 26px; cursor: pointer; color: var(--slate-500);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 6px;
}
.search-clear .ms { font-size: 16px; }
.search-btn {
  background: var(--brand); color: #fff; border: 0;
  border-radius: 14px; padding: 14px 22px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 200ms;
  box-shadow: 0 6px 14px rgba(76,177,220,0.25);
}
.search-btn:hover { background: var(--brand-hover); box-shadow: 0 8px 20px rgba(76,177,220,0.35); }
.search-btn .ms { font-size: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.chips-lab { font-size: 12px; color: var(--slate-400); margin-right: 4px; }
.chip {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: 999px; padding: 7px 14px;
  font-size: 13px; font-weight: 500; color: var(--slate-700);
  cursor: pointer; transition: all 200ms var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
  position: relative;
}
.chip:hover { background: var(--brand-50); border-color: var(--brand); color: var(--brand-dark); transform: translateY(-2px) scale(1.04); box-shadow: 0 4px 10px rgba(76,177,220,0.15); }
.chip:active { transform: translateY(0) scale(0.98); }

.hero-proof {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; margin-top: 56px; width: 100%; max-width: 680px;
}
.pf {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 10px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(76,177,220,0.15);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  transition: all 250ms var(--ease-standard);
}
.pf:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,23,42,0.08); border-color: var(--brand); }
.pf-ic {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--brand-light); color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2px;
}
.pf-ic .ms { font-size: 16px; }
.pf-accent .pf-ic { background: #fef3c7; color: #b45309; }
.pf strong { font-size: 24px; font-weight: 800; color: var(--slate-900); letter-spacing: -0.02em; line-height: 1; }
.pf span:last-child { font-size: 10px; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; text-align: center; }
.pfdiv { display: none; }

/* scroll cue */
.scroll-cue {
  background: transparent; border: 0; cursor: pointer;
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: inherit; font-size: 11px; font-weight: 600;
  color: var(--slate-400); letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 44px; padding: 8px;
  transition: color 200ms;
  animation: scrollCueBounce 2.4s ease-in-out infinite;
}
.scroll-cue:hover { color: var(--brand-dark); }
.scroll-cue-arrow { font-size: 22px; }
@keyframes scrollCueBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ========== RESULTS PREVIEW (below search) ========== */
.results-preview {
  width: 100%; max-width: 900px; margin-top: 28px;
  animation: resultsSlide 360ms var(--ease-out) both;
}
@keyframes resultsSlide {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rp-searching {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; background: #fff; border: 1px solid var(--slate-200);
  border-radius: 16px; font-size: 14px; color: var(--slate-600);
  box-shadow: 0 8px 24px rgba(15,23,42,0.06);
}
.rp-spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid var(--slate-200); border-top-color: var(--brand);
  animation: spin 800ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.rp-nomatch {
  display: flex; align-items: center; gap: 16px; padding: 20px 24px;
  background: #fff; border: 1px solid var(--amber-100);
  border-radius: 18px; text-align: left;
  box-shadow: 0 8px 24px rgba(15,23,42,0.06);
}
.rp-nomatch > .ms { font-size: 28px; color: var(--amber-500); flex-shrink: 0; }
.rp-nomatch > div { display: flex; flex-direction: column; }
.rp-nomatch strong { font-size: 14px; color: var(--slate-900); }
.rp-nomatch span { font-size: 13px; color: var(--slate-600); margin-top: 2px; }

.rp-found {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: 22px; padding: 22px;
  box-shadow: 0 20px 60px rgba(15,23,42,0.08);
  text-align: left;
}
.rp-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--slate-100);
}
.rp-head-left { flex: 1; }
.rp-recommend { font-size: 11px; font-weight: 600; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.08em; }
.rp-esp-row { display: flex; align-items: center; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.rp-esp {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; border: 1px solid;
  font-size: 14px; font-weight: 700;
}
.chip-dot { width: 6px; height: 6px; border-radius: 999px; }
.rp-exp { font-size: 13px; color: var(--slate-600); }
.rp-count {
  font-size: 11px; font-weight: 700; color: var(--emerald-700);
  background: var(--emerald-50); padding: 5px 10px; border-radius: 999px;
  white-space: nowrap;
}

.rp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.rp-doc {
  padding: 14px; background: var(--slate-50);
  border-radius: 14px; border: 1px solid transparent;
  transition: all 200ms var(--ease-standard);
  display: flex; flex-direction: column; gap: 10px;
}
.rp-doc:hover { background: #fff; border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.rp-doc-top { display: flex; align-items: center; gap: 10px; }
.rp-doc-ava {
  width: 40px; height: 40px; border-radius: 50%;
  color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rp-doc-id { flex: 1; min-width: 0; }
.rp-doc-name { font-size: 13px; font-weight: 700; color: var(--slate-900); }
.rp-doc-esp { font-size: 11px; font-weight: 600; margin-top: 1px; }
.rp-doc-rating {
  font-size: 12px; font-weight: 700; color: var(--amber-600);
  display: inline-flex; align-items: center; gap: 2px;
}
.rp-doc-rating .star { font-size: 14px; font-variation-settings: 'FILL' 1; }
.rp-doc-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; color: var(--slate-500); }
.rp-doc-meta span { display: inline-flex; align-items: center; gap: 3px; }
.rp-doc-meta .ms { font-size: 13px; }
.rp-doc-bot {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding-top: 10px; border-top: 1px solid var(--slate-200);
}
.rp-doc-bot > div { display: flex; flex-direction: column; gap: 2px; }
.rp-doc-next { font-size: 11px; color: var(--emerald-700); font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.rp-doc-next .ms { font-size: 13px; }
.rp-doc-price { font-size: 11px; font-weight: 700; color: var(--slate-700); font-variant-numeric: tabular-nums; }
.rp-doc-go {
  background: var(--brand); color: #fff; border: 0;
  padding: 6px 12px; border-radius: 10px;
  font-size: 11px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 3px;
  transition: all 200ms;
  white-space: nowrap;
}
.rp-doc-go:hover { background: var(--brand-hover); }
.rp-doc-go .ms { font-size: 14px; }

.rp-seemore {
  width: 100%; background: transparent;
  border: 1px dashed var(--slate-300);
  color: var(--brand-dark);
  font-weight: 600; font-size: 13px;
  padding: 12px; border-radius: 12px; cursor: pointer;
  margin-top: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: all 200ms;
}
.rp-seemore:hover { background: var(--brand-50); border-color: var(--brand); }
.rp-seemore .ms { font-size: 16px; }

/* scroll-reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ========== SECTIONS ========== */
.sec-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.sec-inner.narrow { max-width: 820px; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-h2 { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; color: var(--slate-900); margin: 0; line-height: 1.15; }

.how { padding: 80px 0; }
.steps-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { position: relative; padding: 32px 28px; border: 1px solid var(--slate-100); border-radius: 20px; background: #fff; transition: all 300ms var(--ease-standard); transform-style: preserve-3d; will-change: transform; }
.step-card:hover { box-shadow: var(--shadow-lg); border-color: var(--slate-200); }
.step-ic { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: transform 300ms var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1)); }
.step-card:hover .step-ic { transform: scale(1.12) rotate(-5deg); }
.step-ic .ms { font-size: 26px; }
.step-num { position: absolute; top: 24px; right: 28px; font-family: var(--font-mono); font-size: 11px; font-weight: 800; color: var(--slate-300); letter-spacing: 0.1em; }
.step-t { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--slate-900); letter-spacing: -0.01em; }
.step-p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--slate-600); }

.specs { padding: 80px 0; background: var(--slate-50); }
.esp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.esp-tile { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--slate-100); border-radius: 16px; cursor: pointer; transition: all 250ms; position: relative; overflow: hidden; }
.esp-tile::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, currentColor 100%);
  opacity: 0; transition: opacity 300ms; pointer-events: none;
  color: var(--brand-light);
}
.esp-tile:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-md); border-color: var(--brand-light); }
.esp-tile:hover::before { opacity: 0.15; }
.esp-tile-ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.esp-tile-ic .ms { font-size: 22px; }
.esp-tile-body { flex: 1; min-width: 0; }
.esp-tile-name { font-size: 14px; font-weight: 700; color: var(--slate-900); }
.esp-tile-docs { font-size: 11px; color: var(--slate-500); margin-top: 2px; }
.esp-tile-arrow { color: var(--slate-300); font-size: 18px; transition: all 200ms; }
.esp-tile:hover .esp-tile-arrow { color: var(--brand); transform: translateX(3px); }

.urgency { padding: 40px 0; }
.urg-card { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 44px 56px; border-radius: 24px; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; position: relative; overflow: hidden; }
.urg-card::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(239,68,68,0.2) 0%, transparent 70%); top: -250px; right: -150px; }
.urg-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.4); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: #fecaca; }
.urg-h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin: 16px 0 10px; line-height: 1.2; }
.urg-p { font-size: 15px; color: rgba(255,255,255,0.8); margin: 0 0 20px; max-width: 520px; }
.urg-p strong { color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: 13px; cursor: pointer; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.urg-right { position: relative; z-index: 1; }
.urg-clock { position: relative; width: 160px; height: 160px; display: flex; align-items: center; justify-content: center; }
.clock-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px dashed rgba(255,255,255,0.3); animation: rotate 18s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.clock-num { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }

.app-dl { padding: 80px 0; }
.app-inner { display: grid; grid-template-columns: 1fr 0.85fr; gap: 60px; align-items: center; }
.app-p { font-size: 16px; color: var(--slate-600); margin: 16px 0 28px; line-height: 1.6; max-width: 460px; }
.store-row { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; background: #0f172a; color: #fff; border-radius: 12px; cursor: pointer; transition: all 200ms; }
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.store-badge .ms { font-size: 26px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge small { font-size: 10px; opacity: 0.7; }
.store-badge strong { font-size: 15px; font-weight: 600; }
.app-stats { display: flex; gap: 32px; }
.app-stats div { display: flex; flex-direction: column; }
.app-stats strong { font-size: 26px; font-weight: 800; color: var(--slate-900); letter-spacing: -0.02em; }
.app-stats span { font-size: 11px; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

/* phone mock */
.app-right { display: flex; justify-content: center; }
.phone { width: 280px; height: 560px; background: #0f172a; border-radius: 42px; padding: 12px; box-shadow: 0 30px 60px rgba(15,23,42,0.2); position: relative; animation: phoneFloat 6s ease-in-out infinite; }
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-14px) rotate(1deg); }
}
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 120px; height: 22px; background: #0f172a; border-radius: 999px; z-index: 2; }
.phone-screen { background: #f6f7f8; border-radius: 32px; height: 100%; padding: 40px 14px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.ph-status { display: flex; justify-content: space-between; font-size: 10px; font-weight: 600; color: var(--slate-700); padding: 0 6px; }
.ph-icons { letter-spacing: 2px; }
.ph-h { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px; }
.ph-brand { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--slate-900); }
.ph-h .ms { font-size: 18px; color: var(--slate-600); }
.ph-search { display: flex; align-items: center; gap: 6px; background: #fff; padding: 9px 12px; border-radius: 12px; font-size: 12px; color: var(--slate-700); box-shadow: 0 2px 4px rgba(0,0,0,0.04); }
.ph-search .ms { font-size: 16px; color: var(--brand); }
.ph-chip { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; align-self: flex-start; }
.ph-card { display: flex; gap: 8px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.04); align-items: center; }
.ph-ava { width: 32px; height: 32px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ph-body { flex: 1; min-width: 0; }
.ph-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--slate-900); }
.ph-row b { font-weight: 700; font-size: 11px; }
.ph-row span { color: var(--amber-600); font-weight: 700; }
.ph-meta { font-size: 10px; color: var(--slate-500); margin-top: 2px; }
.ph-cta { background: var(--brand); color: #fff; text-align: center; padding: 10px; border-radius: 12px; font-size: 12px; font-weight: 700; margin-top: auto; }

.trust { padding: 80px 0; background: var(--slate-50); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-card { padding: 28px 24px; background: #fff; border-radius: 18px; border: 1px solid var(--slate-100); }
.trust-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-light); color: var(--brand-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.trust-ic .ms { font-size: 22px; }
.trust-t { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--slate-900); letter-spacing: -0.01em; }
.trust-p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--slate-600); }

.faq { padding: 80px 0; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--slate-200); border-radius: 14px; padding: 18px 22px; cursor: pointer; transition: all 250ms var(--ease-standard); background: #fff; }
.faq-item:hover { border-color: var(--brand-light); transform: translateX(4px); box-shadow: 0 4px 12px rgba(76,177,220,0.06); }
.faq-item.is-open { border-color: var(--brand); background: #fcfeff; box-shadow: 0 8px 24px rgba(76,177,220,0.10); transform: none; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 15px; font-weight: 600; color: var(--slate-900); }
.faq-chev { color: var(--slate-400); font-size: 22px; transition: all 200ms; }
.faq-item.is-open .faq-chev { color: var(--brand); }
.faq-a { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--slate-600); }

.finale { padding: 80px 0; }
.finale-card { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); border-radius: 28px; padding: 64px 32px; text-align: center; position: relative; overflow: hidden; color: #fff; }
.finale-card::before, .finale-card::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08); }
.finale-card::before { width: 300px; height: 300px; top: -150px; left: -80px; }
.finale-card::after { width: 400px; height: 400px; bottom: -200px; right: -100px; }
.finale-h2 { position: relative; font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 14px; line-height: 1.1; }
.finale-p { position: relative; font-size: 17px; opacity: 0.92; margin: 0 0 32px; }
.btn-primary-lg { position: relative; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--brand-dark); padding: 16px 32px; border-radius: 14px; font-weight: 700; font-size: 16px; box-shadow: 0 12px 30px rgba(0,0,0,0.15); transition: all 200ms; overflow: hidden; }
.btn-primary-lg::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(76,177,220,0.25), transparent);
  transition: left 600ms;
}
.btn-primary-lg:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 44px rgba(0,0,0,0.22); }
.btn-primary-lg:hover::after { left: 100%; }

/* ========== FOOTER ========== */
.ft { background: #0f172a; color: #cbd5e1; padding: 60px 0 24px; margin-top: 60px; }
.ft-inner { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
.ft-brand img { filter: brightness(0) invert(1); margin-bottom: 14px; }
.ft-tag { font-size: 13px; color: #94a3b8; margin: 0 0 12px; font-style: italic; }
.ft-legal { font-size: 11px; color: #64748b; margin: 0; font-family: var(--font-mono); }
.ft-h { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; font-weight: 700; margin-bottom: 16px; }
.ft-col a { display: block; padding: 4px 0; font-size: 13px; color: #94a3b8; cursor: pointer; transition: color 200ms; }
.ft-col a:hover { color: #fff; }
.ft-bot { max-width: 1200px; margin: 40px auto 0; padding: 24px 32px 0; border-top: 1px solid #1e293b; display: flex; justify-content: space-between; font-size: 11px; color: #64748b; }

/* ========== RESPONSIVE ========== */

/* Tablet: 960px and below */
@media (max-width: 960px) {
  .radar { width: 720px; height: 720px; }
  .radar-sweep { width: 720px; height: 720px; mask-image: radial-gradient(circle, transparent 18px, black 20px, black 360px, transparent 380px); -webkit-mask-image: radial-gradient(circle, transparent 18px, black 20px, black 360px, transparent 380px); }
  .float-ic { width: 46px; height: 46px; }
  .float-ic .ms { font-size: 22px; }
  .float-ic-5 { display: none; }
  .nav-inner { padding: 14px 20px; gap: 16px; }
  .nav-links { display: none; }
  .nav-cta .btn-text { display: none; }

  .hero { padding: 36px 20px 56px; }
  .hero-inner { gap: 0; }
  .hero-h1 { font-size: 44px; }
  .hero-sub { font-size: 15px; margin-bottom: 24px; }
  .search-big { padding: 4px 4px 4px 14px; border-radius: 14px; }
  .search-big input { font-size: 15px; padding: 12px 10px; }
  .search-btn { padding: 10px 14px; font-size: 13px; }

  .hero-proof { gap: 10px; margin-top: 40px; }
  .pf { padding: 14px 8px; }
  .pf strong { font-size: 20px; }
  .pf span:last-child { font-size: 9px; }

  .rp-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rp-esp-row { flex-wrap: wrap; }
  .rp-grid { grid-template-columns: 1fr; }

  .sec-inner { padding: 0 20px; }
  .sec-h2 { font-size: 30px; }
  .sec-head { margin-bottom: 36px; }

  .how, .specs, .app-dl, .trust, .faq, .finale { padding: 60px 0; }
  .steps-3, .trust-grid { grid-template-columns: 1fr; gap: 14px; }
  .esp-grid { grid-template-columns: repeat(2, 1fr); }

  .urg-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
  .urg-h3 { font-size: 22px; }
  .urg-right { display: flex; justify-content: center; }
  .urg-clock { width: 130px; height: 130px; }
  .clock-num { font-size: 42px; }

  .app-inner { grid-template-columns: 1fr; gap: 40px; }
  .app-right { order: -1; }

  .finale-card { padding: 48px 24px; border-radius: 22px; }
  .finale-h2 { font-size: 30px; }
  .finale-p { font-size: 15px; }
  .btn-primary-lg { padding: 14px 24px; font-size: 14px; }

  .ft { padding: 48px 0 20px; }
  .ft-inner { grid-template-columns: 1fr 1fr; gap: 28px; padding: 0 20px; }
  .ft-bot { flex-direction: column; gap: 8px; text-align: center; padding: 20px 20px 0; }
}

/* Mobile: 640px and below */
@media (max-width: 640px) {
  .radar { width: 520px; height: 520px; opacity: 0.7; }
  .radar-sweep { width: 520px; height: 520px; mask-image: radial-gradient(circle, transparent 14px, black 16px, black 250px, transparent 260px); -webkit-mask-image: radial-gradient(circle, transparent 14px, black 16px, black 250px, transparent 260px); }
  .radar-center { width: 10px; height: 10px; }
  .float-ic { width: 40px; height: 40px; border-radius: 12px; }
  .float-ic .ms { font-size: 20px; }
  .float-ic-1 { top: 6%; left: 4%; }
  .float-ic-2 { top: 14%; right: 4%; }
  .float-ic-3 { bottom: 30%; left: 2%; }
  .float-ic-4 { bottom: 24%; right: 2%; }
  .nav-inner { padding: 12px 16px; }
  .nav-brand img { height: 22px; }
  .btn-primary { padding: 8px 12px; font-size: 12px; }
  .btn-primary .ms { font-size: 14px; }

  .hero { padding: 28px 16px 48px; }
  .eyebrow { font-size: 10px; padding: 5px 10px; }
  .hero-h1 { font-size: 32px; letter-spacing: -0.025em; margin: 16px 0 12px; }
  .hero-sub { font-size: 14px; margin-bottom: 20px; }

  .search-big {
    flex-wrap: wrap; padding: 10px; gap: 8px;
    border-radius: 16px;
  }
  .search-ic { font-size: 20px; margin-left: 4px; }
  .search-big input {
    order: 0; flex: 1 0 calc(100% - 40px);
    padding: 4px 8px; font-size: 15px;
  }
  .search-clear { order: 1; margin-right: 0; }
  .search-btn {
    order: 2; flex: 1; justify-content: center;
    padding: 11px 14px; border-radius: 10px;
  }

  .chips { gap: 6px; }
  .chips-lab { display: none; }
  .chip { font-size: 11px; padding: 5px 10px; }

  .hero-proof {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; margin-top: 28px;
  }
  .pf { padding: 16px 12px; border-radius: 14px; }
  .pf strong { font-size: 22px; }
  .pf span:last-child { font-size: 10px; letter-spacing: 0.06em; }
  .pf-ic { width: 32px; height: 32px; }
  .pf-ic .ms { font-size: 18px; }

  .scroll-cue { margin-top: 40px; }
  .scroll-cue-lab { font-size: 10px; }

  .results-preview { padding: 16px; border-radius: 16px; margin-top: 24px; }
  .rp-recommend { font-size: 10px; }
  .rp-esp { font-size: 13px; padding: 5px 12px; }
  .rp-exp { font-size: 12px; }
  .rp-count { font-size: 10px; }

  .sec-inner { padding: 0 16px; }
  .sec-h2 { font-size: 24px; letter-spacing: -0.02em; }
  .sec-head { margin-bottom: 28px; }

  .how, .specs, .app-dl, .trust, .faq, .finale { padding: 48px 0; }
  .urgency { padding: 24px 0; }

  .step-card { padding: 24px 20px; border-radius: 16px; }
  .step-t { font-size: 16px; }
  .step-p { font-size: 13px; }

  .esp-grid { grid-template-columns: 1fr; gap: 10px; }
  .esp-tile { padding: 14px; }
  .esp-tile-ic { width: 40px; height: 40px; }

  .urg-card { padding: 24px 20px; border-radius: 20px; }
  .urg-h3 { font-size: 19px; }
  .urg-p { font-size: 13px; }
  .urg-clock { width: 110px; height: 110px; }
  .clock-num { font-size: 34px; }

  .store-row { flex-direction: column; gap: 10px; }
  .store-badge { padding: 10px 16px; justify-content: center; width: 100%; }
  .app-stats { gap: 18px; flex-wrap: wrap; }
  .app-stats strong { font-size: 20px; }
  .app-stats span { font-size: 10px; }
  .phone { width: 240px; height: 480px; border-radius: 36px; }
  .phone-screen { border-radius: 28px; }

  .trust-card { padding: 22px 18px; }

  .faq-item { padding: 14px 16px; }
  .faq-q { font-size: 13px; gap: 10px; }
  .faq-a { font-size: 12px; }

  .finale-card { padding: 40px 20px; border-radius: 20px; }
  .finale-h2 { font-size: 24px; }
  .finale-p { font-size: 14px; margin-bottom: 24px; }

  .ft-inner { grid-template-columns: 1fr; gap: 24px; }
  .ft-brand img { height: 24px; }
}

/* Small mobile: 380px and below */
@media (max-width: 380px) {
  .hero-h1 { font-size: 28px; }
  .sec-h2 { font-size: 22px; }
  .chips .chip:nth-child(n+5) { display: none; }
}
