:root {
  --blue: #29b6d8;          /* azul turquesa del flyer */
  --blue-mid: #1f9ec0;
  --blue-deep: #14688a;
  --yellow: #f5b700;        /* amarillo del flyer */
  --yellow-soft: #ffce40;
  --ink: #15323c;
  --muted: #6b8896;
  --line: #e3edf1;
  --bg: #ffffff;
  --bg-alt: #f1fbfd;
  --radius: 20px;
  --shadow: 0 14px 34px rgba(20, 104, 138, 0.14);
  --max: 1080px;
}

@media (max-width: 640px) {
  .footer {
    padding-bottom: 60px;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: "Baloo 2", "Poppins", sans-serif; line-height: 1.1; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.pill {
  display: inline-block;
  background: rgba(255, 255, 255, .22);
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  padding: 7px 18px;
  border-radius: 999px;
}
.eyebrow {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  text-align: center;
}
.eyebrow--light { color: var(--yellow-soft); }

/* ===== REVEAL / FADE ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.features .feature { transition-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--blue-deep);
}
.nav__logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.nav__sun {
  width: 26px; height: 26px;
  fill: none; stroke: var(--yellow);
  stroke-width: 2; stroke-linecap: round;
}
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  text-decoration: none;
  font-size: .96rem;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s;
}
.nav__links a:hover { color: var(--blue-deep); }
.nav__cta {
  background: var(--yellow);
  color: var(--blue-deep) !important;
  padding: 9px 22px;
  border-radius: 999px;
  transition: background .2s, transform .15s;
}
.nav__cta:hover { background: var(--yellow-soft); transform: translateY(-2px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .25), transparent 42%),
    linear-gradient(160deg, var(--blue) 0%, var(--blue-mid) 55%, var(--blue-deep) 100%);
  color: #fff;
  text-align: center;
  padding: 90px 24px 150px;
  overflow: hidden;
}
.hero__content { position: relative; z-index: 3; max-width: 720px; margin: 0 auto; }
.hero__logo {
  width: clamp(112px, 22vw, 150px);
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
  margin-inline: auto;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 34px rgba(10, 56, 73, .3);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero__logo { animation: none; } }
.hero__title {
  font-size: clamp(3.5rem, 12vw, 6.5rem);
  font-weight: 800;
  margin: 16px 0 14px;
  color: #fff;
}
.hero__lead { font-size: 1.25rem; opacity: .95; max-width: 480px; margin: 0 auto; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  transition: transform .15s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-3px); }
.btn--yellow { background: var(--yellow); color: var(--blue-deep); box-shadow: var(--shadow); }
.btn--yellow:hover { background: var(--yellow-soft); }
.btn--ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 2px solid rgba(255, 255, 255, .8); }
.btn--ghost:hover { background: #fff; color: var(--blue-deep); }

.hero__meta {
  display: flex;
  justify-content: center;
  gap: 44px;
  margin-top: 50px;
}
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong { font-family: "Baloo 2", sans-serif; font-size: 1.9rem; color: var(--yellow-soft); }
.hero__meta span { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

/* burbujas decorativas */
.hero__bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__bubbles::before,
.hero__bubbles::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  animation: float 9s ease-in-out infinite;
}
.hero__bubbles::before { width: 180px; height: 180px; top: 12%; left: -40px; }
.hero__bubbles::after { width: 110px; height: 110px; bottom: 30%; right: 6%; animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.hero__wave svg { width: 100%; height: 90px; display: block; }
.hero__wave path { fill: var(--bg); }

/* ===== SECTIONS ===== */
.section { max-width: var(--max); margin: 0 auto; padding: 80px 24px; }
.section--alt {
  max-width: none;
  background: var(--bg-alt);
}
.section--alt .section__head,
.section--alt .gallery__grid { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section__head { margin-bottom: 48px; }
.section__title {
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 700;
  text-align: center;
  color: var(--blue-deep);
  margin-top: 8px;
}
.section__sub { text-align: center; color: var(--muted); max-width: 460px; margin: 10px auto 0; }
.section__title--light { color: #fff; }
.section__sub--light { color: rgba(255, 255, 255, .9); }

/* ===== PRECIO PRINCIPAL ===== */
.price {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-mid) 55%, var(--blue-deep) 100%);
  color: #fff;
  border-radius: 26px;
  padding: 38px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.price::after {            /* sol/burbuja decorativa */
  content: "";
  position: absolute;
  width: 240px; height: 240px;
  right: -70px; top: -90px;
  background: radial-gradient(circle, rgba(245, 183, 0, .35), transparent 70%);
  pointer-events: none;
}
.price__main { display: flex; flex-direction: column; position: relative; z-index: 1; }
.price__label { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow-soft); font-weight: 700; }
.price__amount { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: clamp(2.6rem, 7vw, 3.8rem); line-height: 1; margin: 4px 0; }
.price__amount small { font-size: .9rem; font-weight: 600; opacity: .85; letter-spacing: .05em; }
.price__cap { font-size: 1.05rem; font-weight: 600; opacity: .95; }
.price__extra { max-width: 280px; font-size: .98rem; opacity: .95; position: relative; z-index: 1; }
.price__extra strong { color: var(--yellow-soft); }

/* ===== PLANES (Incluye / Adicionales) ===== */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px;
  box-shadow: var(--shadow);
}
.plan__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 18px;
}
.plan__check {
  display: inline-flex;
  width: 30px; height: 30px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--yellow);
}
.plan__check svg { width: 17px; height: 17px; fill: none; stroke: var(--blue-deep); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.plan__ico {
  flex: none;
  display: inline-flex;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: 11px;
  background: var(--bg-alt);
}
.plan__ico svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.plan__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.plan__list li { display: flex; align-items: center; gap: 14px; font-size: 1.1rem; font-weight: 500; color: var(--ink); }

.addons { list-style: none; display: flex; flex-direction: column; }
.addons li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.addons li:last-child { border-bottom: 0; }
.addon__name { display: flex; align-items: center; gap: 14px; font-size: 1.08rem; font-weight: 500; color: var(--ink); }
.addon__price {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--blue-deep);
}
.addon__price::before { content: "+ "; color: var(--muted); font-weight: 600; }

/* ===== AVISO ANTICIPO ===== */
.notice {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 20px 26px;
  box-shadow: var(--shadow);
}
.notice__star {
  flex: none;
  display: inline-flex;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .55);
}
.notice__star svg { width: 24px; height: 24px; fill: var(--blue-deep); }
.notice p { font-size: 1.12rem; font-weight: 600; color: var(--blue-deep); }
.notice strong { font-weight: 800; }

/* ===== GALLERY ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #d6eef4;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: scale(.96);
  transition: opacity .6s ease, transform .6s ease;
}
.gallery__item.is-visible { opacity: 1; transform: none; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 52px 24px;
  border: 2px dashed #bcdde6;
  border-radius: var(--radius);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 56, 73, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 90vw; max-height: 86vh; border-radius: 12px; }
.lightbox__close {
  position: absolute;
  top: 18px; right: 26px;
  background: none; border: none;
  color: #fff;
  font-size: 2.8rem;
  cursor: pointer;
  line-height: 1;
  opacity: .85;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .15);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s;
}
.lightbox__nav:hover { background: var(--yellow); color: var(--blue-deep); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

/* ===== CONTACT ===== */
.contact {
  position: relative;
  background: linear-gradient(165deg, var(--blue) 0%, var(--blue-mid) 48%, var(--blue-deep) 100%);
  padding: 110px 24px 90px;   /* extra arriba para alojar la ola */
  overflow: hidden;
}
/* ola que conecta la galería (clara) con el azul, sin bordes cortados */
.contact__topwave { position: absolute; top: -1px; left: 0; right: 0; line-height: 0; }
.contact__topwave svg { width: 100%; height: 90px; display: block; }
.contact__topwave path { fill: var(--bg-alt); }
.contact__wrap { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }

.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  align-items: stretch;
}
.contact__col { display: flex; flex-direction: column; gap: 14px; }

.contact__item,
.contact__hours {
  background: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
}
.contact__item { transition: transform .15s, box-shadow .2s; }
.contact__item:hover { transform: translateX(4px); box-shadow: 0 18px 36px rgba(10, 56, 73, .28); }
.contact__hours { background: rgba(255, 255, 255, .14); box-shadow: none; }
.contact__hours .contact__ico { background: rgba(255, 255, 255, .22); }
.contact__hours .contact__ico svg { stroke: #fff; }
.contact__hours .contact__label { color: rgba(255, 255, 255, .8); }
.contact__hours .contact__value { color: #fff; }

.contact__ico {
  flex: none;
  display: inline-flex;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border-radius: 13px;
  background: var(--bg-alt);
}
.contact__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__item--wa .contact__ico { background: #e7fff0; }
.contact__item--wa .contact__ico svg { fill: #25d366; stroke: none; }
.contact__text { display: flex; flex-direction: column; }
.contact__label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact__value { font-size: 1.4rem; font-weight: 700; font-family: "Baloo 2", sans-serif; color: var(--blue-deep); line-height: 1.1; }
.contact__value--sm { font-size: 1.15rem; }

/* ===== MAPA ===== */
.map {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.map__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.map__pin {
  flex: none;
  display: inline-flex;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--yellow);
}
.map__pin svg { width: 22px; height: 22px; fill: none; stroke: var(--blue-deep); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.map__bar > div { display: flex; flex-direction: column; margin-right: auto; }
.map__title { font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--blue-deep); line-height: 1.1; }
.map__addr { font-size: .85rem; color: var(--muted); }
.map__btn {
  flex: none;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background .2s, transform .15s;
}
.map__btn:hover { background: var(--blue-deep); transform: translateY(-2px); }
.map__frame { width: 100%; flex: 1; min-height: 260px; border: 0; display: block; filter: saturate(1.05); }

/* ===== FOOTER ===== */
.footer { background: var(--blue-deep); color: #fff; }
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer__brand { font-family: "Baloo 2", sans-serif; font-size: 1.3rem; font-weight: 700; }
.footer p { color: rgba(255, 255, 255, .8); font-size: .92rem; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .map { min-height: 0; }
  .map__frame { min-height: 300px; }
  .plans { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .price { flex-direction: column; align-items: flex-start; gap: 16px; padding: 30px 26px; }
  .price__extra { max-width: none; }
}

@media (max-width: 640px) {
  .nav__links { gap: 16px; }
  .nav__links a:not(.nav__cta) { display: none; }
  .hero { padding: 70px 24px 120px; }
  .hero__meta { gap: 28px; }
  .contact { padding: 90px 24px 70px; }
  .map__bar { flex-wrap: wrap; }
  .map__btn { width: 100%; text-align: center; }
}
