/* =========================================================================
   Gastro Elite México — Hoja de estilos (HTML/CSS/JS puro)
   Reproduce el diseño original (React + Tailwind) sin dependencias de build.
   ========================================================================= */

/* ----------------------------- Tokens ---------------------------------- */
:root {
  --deep: #0b3c5d;      /* Azul profundo */
  --deep-2: #19567e;    /* Variante hero/gradientes */
  --deep-hover: #0d4a72;
  --trust: #328cc1;     /* Azul confianza */
  --trust-soft: #7cc6e8;
  --cta: #25d366;       /* Verde WhatsApp */
  --cta-dark: #1fb358;
  --ink: #1f2937;       /* Texto */
  --mist: #f7f9fb;      /* Gris claro */
  --white: #ffffff;
  --line: rgba(11, 60, 93, 0.10);

  --shadow-soft: 0 4px 24px -4px rgba(11, 60, 93, 0.10);
  --shadow-card: 0 10px 40px -12px rgba(11, 60, 93, 0.18);
  --shadow-glow: 0 20px 60px -15px rgba(50, 140, 193, 0.35);

  --container: 1200px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --header-h: 88px;
}

/* ----------------------------- Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.15; }
::selection { background: var(--trust); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: #cdd9e1; border-radius: 999px; border: 3px solid var(--mist); }
::-webkit-scrollbar-thumb:hover { background: var(--trust); }

/* ----------------------------- Icons ----------------------------------- */
.icon {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 44px; height: 44px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* --------------------------- Layout utils ------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 640px) { .container { padding-inline: 24px; } }
@media (min-width: 1024px) { .container { padding-inline: 32px; } }

.section { padding-block: 80px; }
@media (min-width: 640px) { .section { padding-block: 96px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px;
  background: rgba(50, 140, 193, 0.10);
  color: var(--deep);
  padding: 6px 16px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.eyebrow-dark {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--cta); }

.section-title {
  font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--deep);
  line-height: 1.15;
}
@media (min-width: 640px) { .section-title { font-size: 36px; } }

.lead { font-size: 18px; color: rgba(31, 41, 55, 0.65); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-2xl { max-width: 42rem; }

/* ----------------------------- Buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 16px; font-weight: 600;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(50, 140, 193, 0.30); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-wa { background: var(--cta); color: #fff; box-shadow: var(--shadow-soft); }
.btn-wa:hover { background: var(--cta-dark); box-shadow: var(--shadow-glow); }
.btn-wa:active { transform: scale(0.98); }

.btn-primary { background: var(--deep); color: #fff; }
.btn-primary:hover { background: var(--deep-hover); }
.btn-primary:active { transform: scale(0.98); }

.btn-outline { background: #fff; color: var(--deep); border-color: rgba(11, 60, 93, 0.15); }
.btn-outline:hover { border-color: var(--trust); color: var(--trust); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.05); color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.10); }

/* --------------------------- Reveal anim ------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(.22,1,.36,1), transform 0.6s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* keyframes */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floaty2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes pulseRing { 0% { transform: scale(0.9); opacity: 0.7; } 70% { transform: scale(1.6); opacity: 0; } 100% { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================== HEADER ================================= */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}
.header.is-solid {
  background: rgba(255, 255, 255, 0.90);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
  border-bottom-color: var(--line);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; }
.logo__badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--deep), var(--trust));
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}
.logo:hover .logo__badge { transform: scale(1.05); }
.logo__img { height: 52px; width: auto; display: block; }
@media (min-width: 640px) { .logo__img { height: 60px; } }

/* Nav */
.nav { display: none; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s, color 0.2s;
}
.nav a:hover { background: rgba(255, 255, 255, 0.10); color: #fff; }
.header.is-solid .nav a { color: rgba(31, 41, 55, 0.75); }
.header.is-solid .nav a:hover { background: var(--mist); color: var(--deep); }

.header__actions { display: none; align-items: center; gap: 12px; }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; border: 2px solid rgba(255,255,255,0.25); color: #fff;
  transition: all 0.2s;
}
.icon-btn:hover { border-color: #fff; background: rgba(255,255,255,0.10); }
.header.is-solid .icon-btn { border-color: rgba(11,60,93,0.10); color: var(--deep); }
.header.is-solid .icon-btn:hover { border-color: var(--trust); color: var(--trust); background: transparent; }

.menu-toggle {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  color: #fff;
}
.header.is-solid .menu-toggle { color: var(--deep); }
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle.is-open .icon-open { display: none; }
.menu-toggle.is-open .icon-close { display: block; }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: #fff; border-top: 1px solid var(--line);
  animation: fadeIn 0.2s ease;
}
.mobile-menu.is-open { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; padding-block: 16px; }
.mobile-menu nav a {
  padding: 14px 16px; border-radius: 8px;
  font-size: 16px; font-weight: 600; color: rgba(31,41,55,0.8);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu nav a:hover { background: var(--mist); color: var(--deep); }
.mobile-menu__cta { display: grid; gap: 12px; margin-top: 12px; }

@media (min-width: 1024px) {
  .nav, .header__actions { display: flex; }
  .menu-toggle { display: none; }
}

/* ========================= WhatsApp float ============================== */
.wa-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  transform: translateY(24px); opacity: 0;
  transition: all 0.5s ease;
}
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float__label {
  display: none;
  background: #fff; color: var(--deep);
  padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow-card);
}
@media (min-width: 640px) { .wa-float__label { display: block; } }
.wa-float__btn {
  position: relative; width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 999px; background: var(--cta); color: #fff;
  box-shadow: var(--shadow-glow);
  transition: transform 0.3s ease;
}
.wa-float:hover .wa-float__btn { transform: scale(1.10); }
.wa-float__btn svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float__btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border-radius: 999px; background: var(--cta);
  animation: pulseRing 2.4s cubic-bezier(0.4,0,0.6,1) infinite;
}

/* ============================== HERO ================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--deep); color: #fff;
  padding-top: var(--header-h);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(64px); }
.blob-1 { right: -10rem; top: -10rem; width: 36rem; height: 36rem; background: rgba(50,140,193,0.30); }
.blob-2 { bottom: -12rem; left: -6rem; width: 32rem; height: 32rem; background: rgba(50,140,193,0.15); }
.grid-dots {
  position: absolute; inset: 0; opacity: 0.6;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.12) 1px, transparent 0);
  background-size: 26px 26px;
}
.hero__inner {
  position: relative; display: grid; gap: 48px; align-items: center;
  padding-block: 64px;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr 1fr; padding-block: 96px; }
}
.hero h1 {
  margin-top: 20px;
  font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.08;
  animation: fadeUp 0.6s 0.05s both;
}
@media (min-width: 640px) { .hero h1 { font-size: 48px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 60px; } }
.hero .eyebrow-dark { animation: fadeUp 0.5s both; }
.gradient-text {
  background: linear-gradient(90deg, var(--trust), var(--trust-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  margin-top: 20px; max-width: 36rem;
  font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.75);
  animation: fadeUp 0.6s 0.12s both;
}
.hero__cta { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; animation: fadeUp 0.6s 0.18s both; }
@media (min-width: 640px) { .hero__cta { flex-direction: row; } }
.hero__badges {
  margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px;
  max-width: 32rem; animation: fadeIn 0.6s 0.3s both;
}
.hero__badge { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85); }
.hero__badge-ic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(37,211,102,0.20); color: var(--cta); }
.hero__badge-ic .icon { width: 18px; height: 18px; }

/* Hero visual */
.hero__visual { position: relative; width: 100%; max-width: 28rem; margin-inline: auto; animation: fadeIn 0.7s 0.15s both; }
@media (min-width: 1024px) { .hero__visual { max-width: none; } }
.hero__photo {
  position: relative; aspect-ratio: 4 / 5; width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.15);
  background: linear-gradient(135deg, var(--deep-2), var(--deep));
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.45);
  overflow: hidden; display: grid; place-items: center;
}
.hero__photo .grid-dots { opacity: 0.4; background-size: 22px 22px; }
.hero__photo-label { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; color: rgba(255,255,255,0.40); }
.hero__photo-label svg { width: 80px; height: 80px; }
.hero__photo-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,60,93,0.6), transparent 60%); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); border-radius: 16px;
  padding: 14px 20px 14px 14px; box-shadow: var(--shadow-card);
}
.float-card-1 { left: -16px; top: 40px; animation: floaty 6s ease-in-out infinite; }
.float-card-2 { right: -12px; bottom: 48px; animation: floaty2 6.5s ease-in-out 0.5s infinite; }
@media (min-width: 640px) { .float-card-1 { left: -32px; } .float-card-2 { right: -24px; } }
.float-card__ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.float-card__ic.green { background: rgba(37,211,102,0.15); color: var(--cta); }
.float-card__ic.blue { background: rgba(50,140,193,0.15); color: var(--trust); }
.float-card__t { font-size: 14px; font-weight: 700; color: var(--deep); line-height: 1.2; }
.float-card__d { font-size: 12px; color: rgba(31,41,55,0.55); }

/* Section wave */
.wave { position: relative; line-height: 0; }
.wave svg { width: 100%; display: block; }

/* ============================ SERVICES ================================ */
.bg-white { background: #fff; }
.bg-mist { background: var(--mist); }

.grid-cards { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 640px) { .grid-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-cards-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .grid-cards-3 { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.service-card::before {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--trust), var(--cta));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__ic {
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 12px; background: var(--mist); color: var(--trust);
  transition: all 0.3s ease;
}
.service-card:hover .service-card__ic { background: var(--deep); color: #fff; transform: scale(1.05); }
.service-card h3 { margin-top: 20px; font-size: 18px; font-weight: 700; color: var(--deep); }
.service-card p { margin-top: 10px; flex: 1; font-size: 14px; line-height: 1.6; color: rgba(31,41,55,0.65); }
.service-card__link { margin-top: 20px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--trust); }
.service-card__link .icon { width: 16px; height: 16px; transition: transform 0.3s; }
.service-card:hover .service-card__link .icon { transform: translateX(4px); }

/* ============================ SYMPTOMS ================================ */
.symptoms__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .symptoms__grid { grid-template-columns: 1fr 1.1fr; } }
.symptom-list { display: grid; gap: 14px; }
@media (min-width: 640px) { .symptom-list { grid-template-columns: 1fr 1fr; } }
.symptom-item {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: 16px; box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}
.symptom-item:hover { transform: translateY(-4px); }
.symptom-item__ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(50,140,193,0.10); color: var(--trust); }
.symptom-item span:last-child { font-weight: 600; color: var(--deep); }

/* ========================= SYMPTOM CHECKER =========================== */
.checker { position: relative; overflow: hidden; background: var(--deep); color: #fff; }
.checker .blob-1 { right: -8rem; top: 0; width: 24rem; height: 24rem; background: rgba(50,140,193,0.25); }
.checker .blob-2 { left: -8rem; bottom: 0; width: 24rem; height: 24rem; background: rgba(50,140,193,0.10); }
.checker h2 { margin-top: 16px; font-size: 30px; font-weight: 800; }
@media (min-width: 640px) { .checker h2 { font-size: 36px; } }
.checker__sub { margin-top: 16px; font-size: 18px; color: rgba(255,255,255,0.70); }
.checker__card {
  position: relative; margin: 40px auto 0; max-width: 42rem;
  background: #fff; color: var(--ink);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.45);
}
.progress { height: 8px; width: 100%; background: var(--mist); }
.progress__bar { height: 100%; width: 0; background: var(--trust); transition: width 0.4s ease, background 0.3s; }
.checker__body { padding: 28px; }
@media (min-width: 640px) { .checker__body { padding: 40px; } }

.checker__panel { animation: fadeUp 0.35s ease both; }
.checker__panel[hidden] { display: none; }

.checker__intro-ic { margin: 0 auto; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; background: rgba(50,140,193,0.10); color: var(--trust); }
.checker__intro-ic .icon { width: 32px; height: 32px; }
.checker__intro h3 { margin-top: 20px; font-size: 20px; font-weight: 700; color: var(--deep); }
.checker__intro p { margin-top: 12px; color: rgba(31,41,55,0.65); }

.checker__step-label { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--trust); }
.checker__question { margin-top: 12px; min-height: 3.5rem; font-size: 24px; font-weight: 700; line-height: 1.3; color: var(--deep); }
.checker__answers { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.answer-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 2px solid rgba(11,60,93,0.15); border-radius: 12px;
  padding: 20px 24px; font-size: 18px; font-weight: 700; color: var(--deep);
  transition: all 0.2s ease;
}
.answer-btn .icon { width: 24px; height: 24px; }
.answer-btn:disabled { cursor: not-allowed; }
.answer-yes:hover { border-color: var(--trust); background: rgba(50,140,193,0.05); }
.answer-no:hover { border-color: var(--deep); background: var(--mist); }
.checker__back { margin-top: 24px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: rgba(31,41,55,0.5); transition: color 0.2s; }
.checker__back:hover { color: var(--deep); }
.checker__back .icon { width: 16px; height: 16px; }

/* Result */
.result__meta { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(31,41,55,0.5); }
.result__badge { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 6px 16px; font-size: 14px; font-weight: 700; border: 1px solid; }
.result__badge.low  { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.result__badge.mid  { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.result__badge.high { background: #fff1f2; color: #be123c; border-color: #fecdd3; }
.result__msg { margin-top: 20px; font-size: 18px; line-height: 1.6; color: rgba(31,41,55,0.75); }
.result__alert {
  margin-top: 20px; display: flex; gap: 12px;
  border: 1px solid #fecdd3; background: #fff1f2; border-radius: 12px; padding: 16px;
  animation: fadeUp 0.35s 0.15s both;
}
.result__alert .icon { color: #e11d48; width: 24px; height: 24px; }
.result__alert p { font-size: 14px; line-height: 1.6; color: #9f1239; }
.result__actions { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .result__actions { flex-direction: row; } .result__actions .btn-wa { flex: 1; } }
.disclaimer { margin-top: 24px; display: flex; align-items: flex-start; gap: 8px; border-radius: 8px; background: var(--mist); padding: 14px; font-size: 12px; line-height: 1.6; color: rgba(31,41,55,0.55); }
.disclaimer .icon { width: 16px; height: 16px; color: rgba(31,41,55,0.40); }
.progress__bar.low { background: #10b981; } .progress__bar.mid { background: #f59e0b; } .progress__bar.high { background: #f43f5e; }

/* ============================== BELICE ================================ */
.belice-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl); color: #fff;
  background: linear-gradient(135deg, var(--deep), var(--deep-2));
  box-shadow: var(--shadow-card);
  padding: 48px 28px;
}
@media (min-width: 640px) { .belice-card { padding: 64px 48px; } }
.belice-card .blob-1 { right: -5rem; top: -5rem; width: 18rem; height: 18rem; background: rgba(50,140,193,0.30); }
.belice-card .grid-dots { opacity: 0.5; background-size: 24px 24px; }
.belice__grid { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .belice__grid { grid-template-columns: 1fr 1fr; } }
.belice h2 { margin-top: 16px; font-size: 30px; font-weight: 800; }
@media (min-width: 640px) { .belice h2 { font-size: 36px; } }
.belice__sub { margin-top: 16px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.75); }
.belice__benefits { margin-top: 28px; display: grid; gap: 12px; }
@media (min-width: 640px) { .belice__benefits { grid-template-columns: 1fr 1fr; } }
.belice__benefit { display: flex; align-items: center; gap: 12px; }
.belice__benefit-ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(37,211,102,0.20); color: var(--cta); }
.belice__benefit-ic .icon { width: 20px; height: 20px; }
.belice__benefit span:last-child { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.9); }
.belice__visual { position: relative; width: 100%; max-width: 24rem; margin-inline: auto; aspect-ratio: 1; }
.belice__map { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.belice__map svg { width: 100%; height: 100%; }
.belice__badge { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); background: #fff; color: var(--deep); padding: 8px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; box-shadow: var(--shadow-card); white-space: nowrap; }

/* =============================== ABOUT ================================ */
.about__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: 1fr 1fr; } }
.about__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about__photo {
  position: relative;
  grid-column: span 2; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--deep-2), var(--deep));
  display: grid; place-items: center; color: rgba(255,255,255,0.40);
}
.about__photo div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.about__photo svg { width: 48px; height: 48px; }
.about__photo span { font-size: 14px; font-weight: 500; }
.cred {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; padding: 16px; box-shadow: var(--shadow-soft);
}
.cred svg { width: 36px; height: 36px; flex: none; color: var(--trust); }
.cred p:first-child { font-size: 14px; font-weight: 700; color: var(--deep); }
.cred p:last-child { font-size: 12px; color: rgba(31,41,55,0.55); }
.pillars { margin-top: 32px; display: grid; gap: 16px; }
@media (min-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 20px; box-shadow: var(--shadow-soft); }
.pillar__ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(50,140,193,0.10); color: var(--trust); }
.pillar h3 { margin-top: 14px; font-weight: 700; color: var(--deep); }
.pillar p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: rgba(31,41,55,0.65); }
.order-1 { order: 1; } .order-2 { order: 2; }
@media (min-width: 1024px) { .lg-order-1 { order: 1; } .lg-order-2 { order: 2; } }

/* ============================== PROCESS =============================== */
.process__grid { position: relative; margin-top: 56px; display: grid; gap: 24px; }
@media (min-width: 768px) { .process__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .process__grid { grid-template-columns: repeat(4, 1fr); } }
.process__line { display: none; }
@media (min-width: 1024px) {
  .process__line { display: block; position: absolute; inset-inline: 0; top: 34px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(50,140,193,0.30), transparent); }
}
.step { position: relative; text-align: center; }
.step__ic { position: relative; margin: 0 auto; width: 68px; height: 68px; display: grid; place-items: center; border-radius: var(--radius-lg); background: var(--deep); color: #fff; box-shadow: var(--shadow-card); }
.step__num { position: absolute; right: -8px; top: -8px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: var(--cta); color: #fff; font-size: 14px; font-weight: 700; border: 4px solid #fff; }
.step h3 { margin-top: 20px; font-size: 18px; font-weight: 700; color: var(--deep); }
.step p { margin: 8px auto 0; max-width: 20rem; font-size: 14px; line-height: 1.6; color: rgba(31,41,55,0.65); }

/* ================================ FAQ ================================= */
.faq { max-width: 48rem; }
.faq__list { margin-top: 40px; display: grid; gap: 12px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.faq-item.is-open { border-color: rgba(50,140,193,0.40); box-shadow: var(--shadow-soft); }
.faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; }
.faq-item__q span:first-child { font-size: 16px; font-weight: 700; color: var(--deep); }
@media (min-width: 640px) { .faq-item__q span:first-child { font-size: 18px; } }
.faq-item__toggle { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 999px; background: var(--mist); color: var(--deep); transition: transform 0.3s, background 0.3s, color 0.3s; }
.faq-item.is-open .faq-item__toggle { transform: rotate(45deg); background: var(--trust); color: #fff; }
.faq-item__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > div { overflow: hidden; }
.faq-item__a p { padding: 0 24px 24px; line-height: 1.6; color: rgba(31,41,55,0.70); }

/* ============================== CONTACT ============================== */
.contact__grid { margin-top: 48px; display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1.1fr 0.9fr; } }
.contact__form {
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  background: var(--mist); padding: 28px; box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) { .contact__form { padding: 36px; } }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--deep); }
.field label .req { color: var(--trust); }
.field__wrap { position: relative; }
.field__wrap .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: rgba(31,41,55,0.35); pointer-events: none; }
.field__wrap.textarea .icon { top: 14px; transform: none; }
.field input, .field textarea {
  width: 100%; border: 1px solid rgba(11,60,93,0.15); border-radius: 12px;
  background: #fff; padding: 12px 16px 12px 44px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: none; }
.field input:focus, .field textarea:focus { border-color: var(--trust); box-shadow: 0 0 0 4px rgba(50,140,193,0.15); }
.field input::placeholder, .field textarea::placeholder { color: rgba(31,41,55,0.4); }
.form-note { margin-top: 12px; text-align: center; font-size: 12px; color: rgba(31,41,55,0.45); }
.form-success { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 420px; animation: fadeUp 0.4s both; }
.form-success__ic { width: 80px; height: 80px; display: grid; place-items: center; border-radius: 999px; background: rgba(37,211,102,0.15); color: var(--cta); }
.form-success__ic .icon { width: 44px; height: 44px; }
.form-success h3 { margin-top: 24px; font-size: 24px; font-weight: 700; color: var(--deep); }
.form-success p { margin-top: 12px; max-width: 24rem; color: rgba(31,41,55,0.65); }

.contact__info { display: flex; flex-direction: column; gap: 20px; }
.info-card { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; padding: 24px; box-shadow: var(--shadow-soft); }
.info-row { display: flex; align-items: center; gap: 14px; border-radius: 12px; padding: 10px; transition: background 0.2s; }
.info-row:hover { background: var(--mist); }
.info-row__ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(50,140,193,0.10); color: var(--trust); }
.info-row__ic.green { background: rgba(37,211,102,0.15); color: var(--cta); }
.info-row__t { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(31,41,55,0.45); }
.info-row__v { font-weight: 600; color: var(--deep); }
.map-placeholder { position: relative; min-height: 220px; flex: 1; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--line); background: var(--mist); }
.map-placeholder__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(11,60,93,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(11,60,93,0.06) 1px, transparent 1px); background-size: 28px 28px; }
.map-placeholder__pin { position: absolute; inset: 0; display: grid; place-items: center; }
.map-placeholder__pin > div { display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(31,41,55,0.45); }
.map-pin-dot { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 999px; background: var(--trust); color: #fff; box-shadow: var(--shadow-card); }
.map-pin-dot::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 999px; background: rgba(50,140,193,0.40); animation: pulseRing 2.4s cubic-bezier(0.4,0,0.6,1) infinite; }
.map-placeholder__pin span:nth-of-type(1) { font-size: 14px; font-weight: 500; }
.map-placeholder__pin span:nth-of-type(2) { font-size: 12px; }

/* ============================== FOOTER =============================== */
.footer { background: var(--deep); color: rgba(255,255,255,0.80); }
.footer__inner { display: grid; gap: 40px; padding-block: 56px; }
@media (min-width: 768px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__inner { grid-template-columns: repeat(4, 1fr); } }
.footer__about { margin-top: 16px; max-width: 20rem; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.65); }
.footer h3 { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.footer ul { margin-top: 16px; display: grid; gap: 12px; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact .icon { width: 20px; height: 20px; flex: none; color: var(--trust); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.10); }
.footer__bottom div { display: flex; flex-direction: column; gap: 12px; align-items: center; padding-block: 20px; font-size: 12px; color: rgba(255,255,255,0.55); }
@media (min-width: 640px) { .footer__bottom div { flex-direction: row; justify-content: space-between; } .footer__bottom p:last-child { text-align: right; } }

/* ============================ PAGE HERO ============================== */
.page-hero { position: relative; overflow: hidden; background: var(--deep); color: #fff; padding-top: var(--header-h); }
.page-hero .blob-1 { right: -8rem; top: -6rem; width: 28rem; height: 28rem; background: rgba(50,140,193,0.25); }
.page-hero .grid-dots { opacity: 0.5; background-size: 24px 24px; }
.page-hero__inner { position: relative; padding-block: 56px; }
@media (min-width: 1024px) { .page-hero__inner { padding-block: 80px; } }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .icon { width: 16px; height: 16px; }
.breadcrumb span { color: rgba(255,255,255,0.9); }
.page-hero__main { margin-top: 24px; display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .page-hero__main { grid-template-columns: 1.4fr 0.6fr; } }
.page-hero h1 { margin-top: 16px; max-width: 42rem; font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; animation: fadeUp 0.6s 0.05s both; }
@media (min-width: 640px) { .page-hero h1 { font-size: 48px; } }
.page-hero__sub { margin-top: 20px; max-width: 36rem; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.75); animation: fadeUp 0.6s 0.12s both; }
.page-hero__cta { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; animation: fadeUp 0.6s 0.18s both; }
@media (min-width: 640px) { .page-hero__cta { flex-direction: row; } }
.page-hero__icon { display: none; justify-self: end; }
@media (min-width: 1024px) { .page-hero__icon { display: block; } }
.page-hero__icon span { width: 160px; height: 160px; display: grid; place-items: center; border-radius: var(--radius-xl); border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); color: var(--trust); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.page-hero__icon svg { width: 80px; height: 80px; }

/* ====================== SERVICE CONTENT BLOCKS ====================== */
.block { padding-block: 64px; }
@media (min-width: 640px) { .block { padding-block: 80px; } }
.intro-block { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .intro-block { grid-template-columns: 1fr 1fr; } }
.intro-block__text .section-title { margin-top: 16px; }
.intro-block__text p { margin-top: 20px; font-size: 18px; line-height: 1.7; color: rgba(31,41,55,0.70); }
.intro-block__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(135deg, var(--mist), #eaf1f6); }
.intro-block__media-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(11,60,93,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11,60,93,0.05) 1px, transparent 1px); background-size: 26px 26px; }
.intro-block__media-label { position: absolute; inset: 0; display: grid; place-items: center; }
.intro-block__media-label > div { display: flex; flex-direction: column; align-items: center; gap: 12px; color: rgba(50,140,193,0.70); }
.intro-block__media-label svg { width: 64px; height: 64px; }
.intro-block__media-label span { font-size: 14px; font-weight: 500; color: rgba(31,41,55,0.45); }

.check-grid { margin-top: 40px; display: grid; gap: 14px; }
@media (min-width: 640px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check-item { display: flex; align-items: flex-start; gap: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 16px; box-shadow: var(--shadow-soft); }
.check-item__ic { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 999px; background: rgba(37,211,102,0.15); color: var(--cta); }
.check-item__ic .icon { width: 18px; height: 18px; }
.check-item span:last-child { font-weight: 500; color: var(--deep); }

.steps-grid { margin-top: 40px; display: grid; gap: 16px; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
.step-row { display: flex; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 24px; box-shadow: var(--shadow-soft); }
.step-row__num { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--deep); color: #fff; font-size: 18px; font-weight: 700; }
.step-row h3 { font-weight: 700; color: var(--deep); }
.step-row p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: rgba(31,41,55,0.65); }

/* ============================= CTA BAND ============================== */
.cta-band { padding-bottom: 80px; }
.cta-band__inner {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--deep), var(--deep-2));
  box-shadow: var(--shadow-card);
  padding: 48px 28px;
}
@media (min-width: 640px) { .cta-band__inner { padding: 64px 48px; } }
.cta-band .blob-1 { right: -6rem; top: -6rem; width: 18rem; height: 18rem; background: rgba(50,140,193,0.30); }
.cta-band .blob-2 { left: -6rem; bottom: -6rem; width: 18rem; height: 18rem; background: rgba(37,211,102,0.15); }
.cta-band__content { position: relative; max-width: 42rem; margin-inline: auto; }
.cta-band h2 { font-size: 30px; font-weight: 800; }
@media (min-width: 640px) { .cta-band h2 { font-size: 36px; } }
.cta-band p { margin-top: 16px; font-size: 18px; color: rgba(255,255,255,0.75); }
.cta-band__cta { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
@media (min-width: 640px) { .cta-band__cta { flex-direction: row; } }

/* ============================== 404 etc ============================== */
.maxw-3xl { max-width: 48rem; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.text-white { color: #fff; }

/* ===================== Imágenes "drop-in" ============================ */
/* Si el archivo existe, la foto cubre el placeholder; si falta, el
   atributo onerror la elimina y queda el placeholder decorativo. */
.media-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; border: 0; display: block;
}

/* ====================== Redes sociales (footer) ====================== */
.socials { display: flex; gap: 12px; margin-top: 20px; }
.social-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}
.social-btn:hover { background: var(--trust); border-color: var(--trust); transform: translateY(-2px); }

/* ================================ Videos =============================== */
.videos__featured { margin-top: 48px; }

.video-card {
  display: block; width: 100%; text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.video-card:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(50, 140, 193, 0.30); }

.video-card__frame {
  position: relative; display: block; width: 100%;
  background: var(--deep);
  overflow: hidden;
}
.video-card__frame--16x9 { aspect-ratio: 16 / 9; }
.video-card__frame--9x16 { aspect-ratio: 9 / 16; max-height: 480px; margin-inline: auto; }

.video-card__thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.video-card__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(to top, rgba(11,60,93,0.55), rgba(11,60,93,0.15));
  color: #fff;
  transition: background 0.25s ease;
}
.video-card__play svg {
  width: 64px; height: 64px;
  padding: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: transform 0.25s ease, background 0.25s ease;
}
.video-card:hover .video-card__play { background: linear-gradient(to top, rgba(11,60,93,0.65), rgba(11,60,93,0.05)); }
.video-card:hover .video-card__play svg { transform: scale(1.08); background: rgba(37, 211, 102, 0.85); border-color: transparent; }

.video-card__info { display: block; padding: 20px 22px 24px; }
.video-card__title { display: block; font-size: 18px; font-weight: 700; color: var(--deep); }
.video-card__desc { display: block; margin-top: 8px; font-size: 14px; line-height: 1.55; color: rgba(31, 41, 55, 0.65); }

.video-card--featured .video-card__title { font-size: 22px; }

.videos__reels {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .videos__reels { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .videos__reels {
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 78%);
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin-inline: -20px;
    padding-inline: 20px;
  }
  .videos__reels .video-card--reel { scroll-snap-align: start; flex: none; width: minmax(220px, 78%); }
}

.videos__cta { margin-top: 56px; }
.videos__cta-text { font-size: 18px; font-weight: 600; color: var(--deep); margin-bottom: 20px; }

/* Modal de video */
.video-modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 20px;
}
.video-modal[hidden] { display: none; }
.video-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(11, 60, 93, 0.82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.video-modal__dialog {
  position: relative;
  max-width: min(92vw, 920px);
  max-height: 88vh;
  width: 100%;
  animation: video-modal-in 0.22s ease;
}
@keyframes video-modal-in {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.video-modal__close {
  position: absolute; top: -44px; right: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.2s ease;
}
.video-modal__close:hover { background: rgba(255, 255, 255, 0.25); }
.video-modal__stage {
  position: relative;
  width: 100%; max-height: 88vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #000;
  display: flex; align-items: center; justify-content: center;
}
.video-modal__stage video {
  display: block;
  width: 100%; max-height: 88vh;
  background: #000;
}
.video-modal__stage.is-vertical video { width: auto; height: 88vh; max-width: 100%; }
