:root {
  --blue-950: #032c4d;
  --blue-900: #064a79;
  --blue-800: #075a91;
  --blue-700: #0a70ad;
  --blue-600: #1486c4;
  --blue-500: #2a9bd3;
  --blue-300: #8cd2ef;
  --blue-100: #e8f6fc;
  --blue-50: #f4fbfe;
  --ink: #113248;
  --muted: #587286;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 74, 121, .14);
  --shadow-sm: 0 12px 34px rgba(6, 74, 121, .10);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  background: var(--blue-950);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.topbar {
  color: #fff;
  background: linear-gradient(90deg, var(--blue-950), var(--blue-800));
  font-size: .9rem;
}
.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.status-pill { display: inline-flex; align-items: center; gap: 9px; }
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ef5c0;
  box-shadow: 0 0 0 6px rgba(126,245,192,.12);
}
.topbar__link { color: #fff; text-decoration: none; font-weight: 700; }
.topbar__link:hover { text-decoration: underline; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7,90,145,.08);
}
.navbar__inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; min-width: 0; }
.brand img { width: 68px; height: 68px; object-fit: contain; }
.brand__text { line-height: 1.03; color: var(--blue-950); letter-spacing: -.02em; }
.brand__text strong, .brand__text span { display: block; }
.brand__text strong { font-size: 1rem; }
.brand__text span { font-size: .9rem; margin-top: 4px; color: var(--blue-700); }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu > a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; position: relative; }
.nav-menu > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--blue-600);
  transition: right .25s ease;
}
.nav-menu > a:not(.nav-cta):hover::after, .nav-menu > a.active::after { right: 0; }
.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 10px 24px rgba(10,112,173,.22);
}
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--blue-50); padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--blue-900); margin: 5px 0; transition: .25s ease; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 16%, rgba(140,210,239,.27), transparent 34%),
    radial-gradient(circle at 86% 30%, rgba(42,155,211,.18), transparent 35%),
    linear-gradient(135deg, #f5fbfe 0%, #eaf7fc 52%, #f9fdff 100%);
  padding: 82px 0 112px;
}
.hero__grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 56px; }
.hero__content { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--blue-700);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--blue-500); }
.eyebrow--on-dark { color: #bcecff; }
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 5.8vw, 5.9rem);
  line-height: .95;
  letter-spacing: -.055em;
  color: var(--blue-950);
}
.hero h1 span { display: block; color: var(--blue-700); }
.hero__lead { margin: 28px 0 0; max-width: 640px; font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: var(--muted); }
.hero__facts { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.fact {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 218px;
  padding: 12px 15px;
  border: 1px solid rgba(7,90,145,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 34px rgba(6,74,121,.07);
}
.fact__icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-700), var(--blue-500));
  font-weight: 900;
  font-size: .85rem;
}
.fact__icon--pin { position: relative; }
.fact__icon--pin::before { content: ""; width: 11px; height: 14px; border: 2px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.fact__icon--pin::after { content: ""; position: absolute; width: 3px; height: 3px; background: #fff; border-radius: 50%; top: 15px; left: 20px; }
.fact strong, .fact span { display: block; }
.fact strong { color: var(--blue-950); font-size: .9rem; }
.fact span { color: var(--muted); font-size: .78rem; margin-top: 1px; }
.hero__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--blue-800), var(--blue-500)); box-shadow: 0 14px 32px rgba(10,112,173,.22); }
.btn--ghost { color: var(--blue-900); background: rgba(255,255,255,.72); border-color: rgba(7,90,145,.17); }
.btn--white { color: var(--blue-900); background: #fff; box-shadow: 0 14px 30px rgba(1,37,62,.16); }
.btn--large { min-height: 58px; padding-inline: 28px; }

.hero__visual { min-height: 520px; display: grid; place-items: center; position: relative; z-index: 2; }
.logo-stage { width: min(100%, 480px); aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.logo-card {
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 35px 85px rgba(6,74,121,.22);
  border: 1px solid rgba(10,112,173,.1);
  position: relative;
  z-index: 3;
}
.logo-card::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(10,112,173,.18); }
.logo-card img { width: 88%; height: 88%; object-fit: contain; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(10,112,173,.16); }
.orbit--one { inset: 4%; animation: spin 24s linear infinite; }
.orbit--one::before, .orbit--two::before { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 8px rgba(42,155,211,.12); }
.orbit--one::before { top: 10%; left: 15%; }
.orbit--two { inset: 14%; border-style: dashed; animation: spinReverse 18s linear infinite; }
.orbit--two::before { right: -7px; top: 44%; width: 10px; height: 10px; }
.hero-badge {
  position: absolute;
  z-index: 5;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--blue-900);
  border: 1px solid rgba(7,90,145,.08);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  font-size: .85rem;
  white-space: nowrap;
}
.hero-badge--top { top: 14%; right: -1%; }
.hero-badge--bottom { left: -3%; bottom: 15%; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero__glow--one { width: 340px; height: 340px; background: rgba(42,155,211,.1); left: -180px; top: 90px; }
.hero__glow--two { width: 260px; height: 260px; background: rgba(140,210,239,.18); right: -90px; bottom: 40px; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; }
.hero__wave svg { width: 100%; height: 100%; display: block; }
.hero__wave path { fill: var(--blue-950); }

.section { padding: 100px 0; }
.section-heading { max-width: 720px; margin-bottom: 45px; }
.section-heading h2, .hours-copy h2, .location-card__content h2, .family-band h2, .contact-cta h2 { margin: 0; letter-spacing: -.035em; line-height: 1.05; }
.section-heading h2 { color: #fff; font-size: clamp(2.3rem, 4vw, 4rem); }
.section-heading p { color: #c6e8f6; margin: 12px 0 0; }
.section--services {
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(42,155,211,.15), transparent 30%),
    linear-gradient(180deg, var(--blue-950), #043a62 100%);
  position: relative;
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  min-height: 225px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.11); border-color: rgba(140,210,239,.42); }
.service-card--wide { grid-column: span 3; min-height: 190px; display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: 22px; }
.service-card--wide p { grid-column: 2; }
.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--blue-500), #58bee7);
  box-shadow: 0 12px 24px rgba(42,155,211,.2);
  font-size: 1.55rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 22px;
}
.service-card h3 { margin: 0; font-size: 1.28rem; letter-spacing: -.02em; }
.service-card p { margin: 9px 0 0; color: #c6e8f6; }

.family-band {
  padding: 54px 0;
  background: linear-gradient(115deg, var(--blue-800), #0b7bb7 55%, var(--blue-500));
  color: #fff;
  overflow: hidden;
}
.family-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.family-band h2 { font-size: clamp(2rem, 4vw, 3.8rem); }
.family-band p { margin: 12px 0 0; color: #d8f3ff; }

.section--hours { background: linear-gradient(180deg, #fff, var(--blue-50)); }
.hours-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: center; }
.hours-copy h2 { font-size: clamp(2.4rem, 4.5vw, 4.5rem); color: var(--blue-950); }
.hours-note { margin: 18px 0 0; color: var(--muted); font-size: 1.05rem; }
.hours-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.time-card {
  min-height: 290px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(7,90,145,.09);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.time-card > span { color: var(--blue-700); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 900; margin-bottom: 16px; }
.time-card strong { font-size: clamp(2rem, 3.5vw, 3.25rem); color: var(--blue-950); line-height: 1; letter-spacing: -.04em; }
.time-line { width: 100%; display: flex; align-items: center; gap: 10px; margin: 18px 0; color: var(--muted); }
.time-line i { height: 1px; flex: 1; background: #d8ebf4; }
.time-line span { font-size: .85rem; }

.section--location { padding-top: 80px; }
.location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 450px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(7,90,145,.08);
}
.location-card__visual {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #dff4fc, #acdff1);
}
.map-grid {
  position: absolute;
  inset: -30px;
  opacity: .56;
  background-image:
    linear-gradient(rgba(7,90,145,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,90,145,.12) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: rotate(9deg) scale(1.1);
}
.map-grid::before, .map-grid::after { content: ""; position: absolute; background: rgba(255,255,255,.75); border-radius: 999px; }
.map-grid::before { width: 140%; height: 30px; left: -20%; top: 40%; transform: rotate(-18deg); }
.map-grid::after { width: 32px; height: 140%; left: 54%; top: -20%; transform: rotate(16deg); }
.map-pin {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(145deg, var(--blue-800), var(--blue-500));
  transform: rotate(-45deg);
  top: 50%;
  left: 50%;
  margin: -50px 0 0 -36px;
  box-shadow: 0 18px 34px rgba(6,74,121,.26);
  z-index: 4;
}
.map-pin span { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: #fff; left: 24px; top: 24px; }
.pulse { position: absolute; border-radius: 50%; border: 2px solid rgba(7,90,145,.2); top: 50%; left: 50%; transform: translate(-50%,-50%); animation: pulse 2.4s ease-out infinite; }
.pulse--one { width: 140px; height: 140px; }
.pulse--two { width: 210px; height: 210px; animation-delay: .8s; }
.location-card__content { padding: clamp(36px, 6vw, 70px); display: flex; flex-direction: column; justify-content: center; }
.location-card__content h2 { font-size: clamp(2rem, 3.8vw, 3.7rem); color: var(--blue-950); }
.location-card__content address { margin-top: 24px; color: var(--muted); font-style: normal; font-size: 1.13rem; }
.location-card__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.text-link { color: var(--blue-700); font-weight: 800; text-underline-offset: 4px; }

.contact-cta { padding: 26px 0 76px; }
.contact-cta__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 25px;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f1fbff, #fff);
  border: 1px solid rgba(7,90,145,.09);
}
.contact-cta img { width: 88px; height: 88px; object-fit: contain; }
.contact-cta span { color: var(--blue-700); font-weight: 800; font-size: .85rem; }
.contact-cta h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--blue-950); margin-top: 3px; }
.contact-cta p { margin: 8px 0 0; color: var(--muted); }

.footer { color: #c7e5f1; background: #022a47; padding: 34px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 66px; height: 66px; object-fit: contain; border-radius: 50%; background: #fff; }
.footer__brand strong, .footer__brand span { display: block; }
.footer__brand strong { color: #fff; }
.footer__brand span { font-size: .85rem; margin-top: 3px; }
.footer__info { display: flex; flex-direction: column; align-items: flex-end; font-size: .88rem; }
.footer__info a { color: #fff; font-weight: 800; text-decoration: none; margin-top: 4px; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 14px 34px rgba(21,129,62,.32);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); }
.whatsapp-float svg { width: 31px; height: 31px; fill: #fff; }

/* El contenido es visible por defecto para que el sitio nunca dependa de JavaScript para mostrarse. */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js-ready .reveal--delay { transition-delay: .12s; }
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes pulse { 0% { opacity: .7; transform: translate(-50%,-50%) scale(.55); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(1.2); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .js-ready .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero { padding-top: 65px; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__content { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__facts, .hero__actions { justify-content: center; }
  .hero__visual { min-height: 430px; }
  .logo-stage { width: min(86vw, 450px); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: span 2; }
  .hours-grid { grid-template-columns: 1fr; }
  .hours-copy { text-align: center; max-width: 680px; margin-inline: auto; }
  .location-card { grid-template-columns: 1fr; }
  .location-card__visual { min-height: 330px; }
  .contact-cta__inner { grid-template-columns: auto 1fr; }
  .contact-cta__inner .btn { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .topbar__inner { justify-content: center; min-height: 42px; }
  .topbar__link { display: none; }
  .navbar__inner { min-height: 76px; }
  .brand img { width: 56px; height: 56px; }
  .brand__text strong { font-size: .92rem; }
  .brand__text span { font-size: .82rem; }
  .menu-toggle { display: block; margin-left: auto; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: grid;
    gap: 4px;
    padding: 13px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(3,44,77,.18);
    border: 1px solid rgba(7,90,145,.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .24s ease;
  }
  .nav-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-menu > a { padding: 12px 13px; border-radius: 11px; }
  .nav-menu > a:hover { background: var(--blue-50); }
  .nav-menu > a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 4px; }

  .hero { padding: 52px 0 92px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .hero__lead { margin-top: 20px; }
  .hero__facts { margin-top: 26px; }
  .fact { width: 100%; text-align: left; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { min-height: 350px; }
  .hero-badge { font-size: .7rem; padding: 9px 12px; }
  .hero-badge--top { right: -2%; top: 10%; }
  .hero-badge--bottom { left: -2%; bottom: 10%; }

  .section { padding: 74px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: auto; display: block; min-height: 225px; }
  .service-card--wide p { grid-column: auto; }
  .family-band__inner { flex-direction: column; align-items: flex-start; }
  .family-band .btn { width: 100%; }
  .hours-cards { grid-template-columns: 1fr; }
  .time-card { min-height: 245px; }
  .location-card { border-radius: 25px; }
  .location-card__content { padding: 34px 24px 38px; }
  .location-card__actions { flex-direction: column; align-items: stretch; }
  .location-card__actions .btn { width: 100%; }
  .text-link { text-align: center; }
  .contact-cta__inner { grid-template-columns: 1fr; text-align: center; padding: 25px 20px; }
  .contact-cta img { margin-inline: auto; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__info { align-items: flex-start; }
  .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
  .brand__text { display: none; }
  .hero-badge--top { right: 0; }
  .hero-badge--bottom { left: 0; }
  .logo-card { width: 76%; }
}
