/* =============================================================
   GLOBALES MEDICAL — styles.css  (v2 — tema claro, look moderno)
   Fuente: Montserrat
   Paleta: #FFFFFF · #00C08B · #0081C9 · #E9EEF3
   ============================================================= */

/* ============================================================
   1. VARIABLES & RESET
   ============================================================ */
:root {
  --white:      #FFFFFF;
  --teal:       #00C08B;
  --blue:       #0081C9;
  --ice:        #E9EEF3;
  --blue-faint: #EBF5FC;
  --teal-faint: #E0FAF3;
  --text:       #0B1F30;
  --text-mid:   #3A5068;
  --text-soft:  #7A93A8;
  --border:     #D4E4EF;

  --grad:       linear-gradient(135deg, #0081C9 0%, #33cccc 100%);
  --grad-soft:  linear-gradient(135deg, #EBF5FC 0%, #E0FAF3 100%);

  --font: 'Montserrat', Helvetica, Arial, sans-serif;
  --nav-h: 68px;
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: #fff; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

/* ============================================================
   2. TYPOGRAPHY HELPERS
   ============================================================ */
.h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 18px;
}
.c-blue  { color: var(--blue); }
.c-teal  { color: var(--teal); }

/* Label tag (replaces section-badge) */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-faint);
  border: 1px solid rgba(0,129,201,0.18);
  padding: 5px 13px;
  margin-bottom: 14px;
  border-radius: 10px;
}
.tag--teal {
  color: var(--teal);
  background: var(--teal-faint);
  border-color: rgba(0,192,139,0.2);
}

/* Section description */
.sec-sub {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto;
}

/* Section header block */
.sec-header {
  text-align: center;
  margin-bottom: 56px;
}
.sec-header .h2 { margin-bottom: 12px; }

/* ============================================================
   3. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
  white-space: nowrap;
  border-radius: 10px; /* ← sin border-radius: look moderno/angular */
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,129,201,0.28);
}
.btn--primary:hover { box-shadow: 0 8px 28px rgba(0,129,201,0.40); }

.btn--ghost {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn--ghost:hover { background: var(--blue-faint); }

.btn--white {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn--white:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

.btn--lg { padding: 16px 36px; font-size: 1rem; }

/* ============================================================
   4. LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.container--rev { direction: rtl; }
.container--rev > * { direction: ltr; }
.container--col {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px;
}

/* ============================================================
   5. IMAGE BLOCK (replaces rounded placeholder frames)
   ============================================================ */
.img-block {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  overflow: hidden; /* no border-radius — sharp corners */
  border-radius: 10px;
}
.img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-block.empty .img-block__ph { display: flex; }
.img-block__ph {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.78rem;
  text-align: center;
  padding: 20px;
}
.img-block__ph code {
  font-size: 0.72rem;
  background: #fff;
  border: 1px solid var(--border);
  padding: 3px 8px;
  color: var(--blue);
}
/* Raised variant for SIUI block */
.img-block--shadow {
  box-shadow: 0 20px 60px rgba(0,129,201,0.14);
}

/* Official pill on image */
.official-pill {
  position: absolute;
  bottom: -1px;
  right: -1px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 9px 16px;
  white-space: nowrap;
  z-index: 2;
}

/* ============================================================
   6. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,129,201,0.12); }

.navbar__wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo img { height: 42px; width: auto; }

.navbar__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.navbar__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  padding: 8px 12px;
  transition: color 0.2s ease, background 0.2s ease;
  border-radius: 10px;
}
.navbar__link:hover { color: var(--blue); background: var(--blue-faint); }
.navbar__link--active { color: var(--blue); }

.navbar__cta {
  background: var(--grad);
  color: #fff !important;
  padding: 9px 20px;
  font-size: 0.85rem;
  box-shadow: 0 3px 12px rgba(0,129,201,0.28);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  border-radius: 10px;
}
.navbar__cta:hover {
  box-shadow: 0 6px 22px rgba(0,129,201,0.4);
  transform: translateY(-1px);
  background: var(--grad);
}

/* Hamburger */
.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   7. HERO — TEMA CLARO
   ============================================================ */
.hero {
  position: relative;
  min-height: 75vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ice); /* fallback si no hay imagen */
}

/* Imagen de fondo */
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay blanco semitransparente → texto oscuro, look claro */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255,255,255,0.92) 0%,
    rgba(235,245,252,0.88) 45%,
    rgba(224,250,243,0.70) 100%
  );
}

/* Grid interior */
.hero__wrap {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0,129,201,0.08);
  border: 1px solid rgba(0,129,201,0.22);
  padding: 6px 14px;
  margin-bottom: 22px;
  border-radius: 10px;
}

/* Title */
.hero__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 20px;
}
.hero__accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.hero__sub {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--text-mid);
  max-width: 500px;
  margin-bottom: 14px;
  font-weight: 400;
}

/* Slogan */
.hero__slogan {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 34px;
}

/* Buttons row */
.hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Right column: image frame */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__img {
  width: 100%;
  max-width: 620px;
  height: auto;
  object-fit: contain;
  transform: scale(1.08);

  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.18));
}

/* Scroll indicator */
.hero__scroll-line {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-line span {
  display: block;
  width: 1.5px;
  height: 44px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ============================================================
   8. STATS — banda horizontal 3 columnas
   ============================================================ */
.stats {
  background: #fff;
  border-top: 3px solid transparent;
  border-image: var(--grad) 1;
  border-bottom: 1px solid var(--border);
}
.stats__wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
}

.stat {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 36px 24px;
}

/* Number */
.stat__num {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
}
.stat__num span,
.stat__num em {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
  font-weight: 900;
}

/* Label */
.stat__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stat__text strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.stat__text span {
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.2;
}

/* Separators */
.stats__sep {
  width: 1px;
  height: 56px;
  background: var(--border);
}

/* ============================================================
   9. ABOUT
   ============================================================ */
.about { background: #fff; }
.about__text .h2  { margin-top: 8px; }
.about__text p    { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 14px; }
.about__text strong { color: var(--text); }
.about__text .btn { margin-top: 6px; }

.about__media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__also {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}
.about__also span {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.about__also strong {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--blue);
  background: var(--blue-faint);
  border: 1px solid rgba(0,129,201,0.18);
  padding: 4px 12px;
  border-radius: 10px;
}

/* ============================================================
   10. SIUI
   ============================================================ */
.siui {
  background: var(--grad-soft);
  position: relative;
  overflow: hidden;
}
.siui__glow {
  position: absolute;
  top: -100px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,129,201,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.siui__media { }
.siui__text .h2 { margin-top: 8px; }
.siui__text p   { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 14px; }
.siui__text strong { color: var(--text); }
.siui__text .btn { margin-top: 6px; }

/* Check list */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 18px 0 26px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}
.check-list li::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: var(--grad);
  flex-shrink: 0;
  /* checkmark SVG as mask */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* ============================================================
   11. VENTAJAS
   ============================================================ */
.ventajas { background: #fff; }

.v-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px; /* gap as lines → modern grid look */
  background: var(--border);
  border: 1px solid var(--border);
}

.v-card {
  background: #fff;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.25s ease;
}
.v-card:hover { background: var(--blue-faint); }

.v-card__ico {
  width: 52px;
  height: 52px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 10px;
  /* No border-radius → sharp square icon */
}

.v-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}
.v-card p {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ============================================================
   12. TESTIMONIOS — 3 cards
   ============================================================ */
.testimonios { background: var(--grad-soft); }

.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.t-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
  border-radius: 10px;
  /* Sharp corners throughout */
}
.t-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,129,201,0.12);
}

.t-card__stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 2px;
}

.t-card blockquote {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  padding-left: 14px;
  border-left: 3px solid var(--grad); /* accent line */
  border-image: var(--grad) 1;
}

.t-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.t-card__av {
  width: 40px;
  height: 40px;
  background: var(--grad);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* No border-radius */
}

.t-card__author strong {
  display: block;
  font-size: 0.87rem;
  color: var(--text);
  font-weight: 700;
}
.t-card__author span {
  font-size: 0.75rem;
  color: var(--text-soft);
}

/* ============================================================
   13. CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  padding: 96px 24px;
  text-align: center;
  overflow: hidden;
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  background: var(--grad);
}
.cta-band__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.cta-band__inner h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-band__inner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  line-height: 1.65;
}

/* ============================================================
   14. CONTACTO
   ============================================================ */
.contacto { background: #fff; }

.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
  margin-top: 0;
}

.contacto__info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.c-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: background 0.2s ease;
}
.c-row:first-child { border-top: 1px solid var(--border); }
.c-row:hover { background: var(--blue-faint); padding-left: 8px; }

.c-row__ico {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--blue-faint);
  border: 1px solid rgba(0,129,201,0.15);
  border-radius: 10px;
}

.c-row div span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 3px;
}
.c-row div strong {
  font-size: 0.9rem;
  color: var(--blue);
  font-weight: 600;
}

.contacto__soc {
  display: flex;
  gap: 10px;
  padding-top: 20px;
  flex-wrap: wrap;
}
.soc-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--blue-faint);
  border: 1px solid rgba(0,129,201,0.15);
  padding: 8px 16px;
  transition: background 0.2s ease, color 0.2s ease;
  border-radius: 10px;
}
.soc-pill:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}

.contacto__map {
  height: 360px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.contacto__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(135deg, #091825 0%, #0B2135 100%);
  color: rgba(255,255,255,0.65);
  padding: 60px 24px 0;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand img { filter: brightness(0) invert(1); opacity: 0.85; margin-bottom: 14px; }
.footer__brand p   { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.65; }

.footer__col h4 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 7px; }
.footer__col a,
.footer__col li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--teal); }

.footer__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 0;
  text-align: center;
}
.footer__bar p { font-size: 0.78rem; color: rgba(255,255,255,0.28); }

/* ============================================================
   16. WHATSAPP FLOAT BUTTON
   ============================================================ */
.wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
  animation: waPulse 3s ease-in-out infinite;
  border-radius: 10px;
  /* Sharp — no border-radius */
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
  animation: none;
}

.wa-btn__tip {
  position: absolute;
  right: calc(100% + 10px);
  background: var(--text);
  color: #fff;
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.wa-btn__tip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--text);
}
.wa-btn:hover .wa-btn__tip { opacity: 1; transform: translateX(0); }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.72); }
}

/* ============================================================
   17. SCROLLBAR
   ============================================================ */
::-webkit-scrollbar        { width: 5px; }
::-webkit-scrollbar-track  { background: var(--ice); }
::-webkit-scrollbar-thumb  { background: var(--grad); }

/* ============================================================
   18. RESPONSIVE — TABLET ≤ 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .hero__wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { display: none; } /* hide image on tablet to keep focus on text */

  .container,
  .container--rev { grid-template-columns: 1fr; gap: 40px; direction: ltr; }

  .stats__wrap { grid-template-columns: 1fr; }
  .stats__sep  { width: 100%; height: 1px; }
  .stat        { padding: 28px 24px; }

  .v-grid { grid-template-columns: repeat(2, 1fr); }

  .t-grid { grid-template-columns: 1fr 1fr; }

  .contacto__grid { grid-template-columns: 1fr; }
  .contacto__map  { height: 280px; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================================================
   19. RESPONSIVE — MOBILE ≤ 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 62px; }

  /* Nav mobile */
  .navbar__nav {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 14px 20px 20px;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.3s var(--ease), opacity 0.3s ease;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-radius: 10px;
  }
  .navbar__nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .navbar__list  { flex-direction: column; align-items: stretch; gap: 2px; }
  .navbar__link  { padding: 12px 16px; font-size: 0.95rem; }
  .navbar__cta   { text-align: center; margin-top: 8px; }
  .navbar__burger { display: flex; }

  /* Hero mobile */
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { width: 100%; justify-content: center; }

  /* Stats */
  .stats__wrap { gap: 0; }
  .stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px 20px; }
  .stats__sep { width: 100%; height: 1px; background: var(--border); }

  /* Sections */
  .container,
  .container--col { padding: 64px 20px; }

  /* Ventajas grid */
  .v-grid { grid-template-columns: 1fr; }

  /* Testi */
  .t-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }

  /* WA button smaller */
  .wa-btn { width: 52px; height: 52px; bottom: 18px; right: 18px; }
}

/* ============================================================
   20. PRINT
   ============================================================ */
@media print {
  .navbar, .wa-btn, .hero__scroll-line { display: none; }
  body { color: #000; }
}
