/* =====================================================================
   Club Delfines — Components & sections
   ===================================================================== */

/* ---------- Promo toast (glass notification, bottom-left, hero-only) ---------- */
.promo-toast {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(13, 36, 64, 0.42);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 18px 44px rgba(4, 14, 30, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.5s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.promo-toast--show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.promo-toast__sun {
  font-size: 20px;
  line-height: 1.2;
  flex: none;
}
.promo-toast__txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.promo-toast__txt strong {
  font-weight: 700;
  font-size: 13.5px;
}
.promo-toast__txt span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}
.promo-toast__txt a {
  color: var(--accent-mustard);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-top: 2px;
  align-self: flex-start;
}
.promo-toast__close {
  flex: none;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s;
}
.promo-toast__close:hover {
  background: rgba(255, 255, 255, 0.26);
}
.promo-toast__close svg {
  width: 14px;
  height: 14px;
}

/* ---------- Elastic cursor follower (fine pointers; built by cursor.js) ---------- */
.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.28s ease,
    border-color 0.28s ease;
}
.cursor-ring {
  width: 34px;
  height: 34px;
  border: 2px solid var(--action-cornflower);
  background: transparent;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--action-cornflower);
}
/* fade in once the pointer has moved and while it's inside the window */
.cursor-ready .cursor-ring,
.cursor-ready .cursor-dot {
  opacity: 1;
}
/* reacting to a link / button: ring blooms to mustard, dot tucks away */
.cursor-hover .cursor-ring {
  width: 62px;
  height: 62px;
  background: rgba(77, 150, 255, 0.16);
  border-color: var(--accent-mustard);
}
.cursor-hover .cursor-dot {
  opacity: 0;
}
/* pressed: quick squish */
.cursor-down .cursor-ring {
  width: 26px;
  height: 26px;
}
/* directional arrow inside the ring (shown over carousel prev/next + side cards) */
.cursor-arrow {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  color: var(--accent-mustard);
  transition: opacity 0.2s ease;
}
.cursor-arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
}
.cursor-dir-left .cursor-arrow,
.cursor-dir-right .cursor-arrow {
  opacity: 1;
}
.cursor-dir-left .cursor-arrow::before {
  transform: rotate(-135deg); /* chevron points left */
}
.cursor-dir-right .cursor-arrow::before {
  transform: rotate(45deg); /* chevron points right */
}
/* over a nav target the ring goes navy so the mustard arrow reads clearly */
.cursor-dir-left .cursor-ring,
.cursor-dir-right .cursor-ring {
  background: rgba(13, 36, 64, 0.9);
  border-color: var(--accent-mustard);
}
/* hide the native cursor while the follower is live (keep it for typing) */
html.has-cursor,
html.has-cursor * {
  cursor: none;
}
html.has-cursor input,
html.has-cursor textarea,
html.has-cursor select,
html.has-cursor [contenteditable="true"] {
  cursor: auto;
}
@media (prefers-reduced-motion: reduce) {
  .cursor-ring,
  .cursor-dot {
    display: none;
  }
}

/* ---------- Floating squircle nav (fixed) ---------- */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 71;
  padding: var(--gutter);
  display: flex;
  justify-content: center;
  align-items: center; /* center the logo disc with the nav pill (heights differ) */
  gap: 8px;
  width: 100%;
}
.nav {
  /* shared surface for the bar AND the logo disc so they read as one curved shape */

  width: max-content;
  max-width: calc(100vw - 2 * var(--gutter)); /* never spill past the viewport */
  min-width: 0;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 500px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  transition:
    padding 0.35s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.35s,
    background 0.35s,
    border-color 0.35s,
    border-radius 0.35s;
  height: max-content;
}
.nav--scrolled .nav {
  padding: 6px;
  background: var(--surface-white);
  gap: 0;
  border-color: var(--line);
}
/* hero out of viewport → solid white */
.nav--solid {
  border-color: var(--line);
}

/* tri-zone: links · centered logo · cta + toggle */
.nav__left {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: start;
  overflow: hidden;
  max-width: 360px;
  transition:
    max-width 0.45s cubic-bezier(0.2, 0.7, 0.3, 1),
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1),
    margin 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}
/* scrolled → drop the links and let the pill compact around the CTA */
.nav--scrolled .nav__left {
  max-width: 0;
  margin-right: -8px;
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}
/* social icons in the nav — bone discs, same size as the hamburger toggle
   (desktop only; mobile uses the menu + footer) */
.nav__social {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-bone);
  color: var(--ink-navy);
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.nav__social a:hover {
  background: var(--surface-frozen);
  color: var(--action-cornflower-deep);
  transform: translateY(-1px);
}
.nav__social svg {
  width: 18px;
  height: 18px;
}
/* tablet/mobile: collapse the inline links so the bar never outgrows the
   viewport (the menu panel carries them). Social icons stay visible in the nav. */
@media (max-width: 980px) {
  .nav__left {
    display: none;
  }
}
.nav__left a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-navy);
  padding: 10px 13px;
  border-radius: var(--r-pill);
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.5);
}

.nav--scrolled .nav__left a {
  background: rgba(197, 219, 248, 0.4);
}

.nav__left a .nav__ic {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--ink-navy);
  transition: color 0.2s;
}
.nav__left a:hover {
  background: rgba(171, 207, 255, 0.318);
  color: var(--action-cornflower-deep);
}
.nav__left a:hover .nav__ic {
  color: var(--action-cornflower-deep);
}
.nav__logo {
  background: rgba(255, 255, 255, 0);
  width: 76px;
  height: 76px;
  border-radius: 100%;
  border: 1px solid rgba(255, 255, 255, 0.01);
  padding: 0px;
  transition: 0.3s;
  display: grid;
  align-items: center;
}
.nav__logo img {
  object-fit: contain;
  margin: 0;
  transition:
    width 0.35s cubic-bezier(0.2, 0.7, 0.3, 1),
    height 0.35s,
    margin 0.35s;
  z-index: 1;
  position: relative;
}

.nav--scrolled .nav__logo {
  width: 60px;
  height: 60px;
  padding: 4px;
  border-color: var(--line);
  background: var(--surface-white);
}

.nav__toggle.nav__toggle--pill {
  display: flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-mustard);
  color: var(--ink-navy);
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  margin: 0;
  transition:
    filter 0.2s,
    transform 0.2s;
}
.nav__toggle--pill:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.nav__toggle--pill svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 760px) {
  .nav__left {
    display: none;
  }
  .nav__logo img {
    width: 60px;
    height: 60px;
    margin: -12px 0;
  }
  .nav__cta {
    display: none;
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
  display: block;
}
.brand__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand__name {
  font-family: var(--display-font), "Fraunces", serif;
  font-variation-settings:
    "wght" 600,
    "opsz" 40,
    "SOFT" 30;
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  color: var(--ink-navy);
  letter-spacing: -0.01em;
}
.brand__name small {
  display: block;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan-deep);
  margin-top: 3px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-navy);
  padding: 8px 13px;
  border-radius: var(--r-pill);
  transition:
    background 0.2s,
    color 0.2s;
}
.nav__links a:hover {
  background: rgba(143, 192, 255, 0.18);
  color: var(--action-cornflower-deep);
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: rgba(30, 58, 95, 0.06);
  color: var(--ink-navy);
  margin-left: auto;
  align-items: center;
  justify-content: center;
}
.nav__toggle svg {
  width: 22px;
  height: 22px;
}

/* ---------- Slide-down ocean menu panel ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(8, 22, 42, 0.55);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0.35s;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.35s ease,
    visibility 0s;
}
.menu-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50px;
  overflow: hidden;
  padding: 25px;
  background: var(--surface-white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 34px 90px rgba(4, 14, 30, 0.55);
  transition: transform 0.42s cubic-bezier(0.2, 0.85, 0.25, 1);
  max-width: 480px;
}
.mobile-menu.open .menu-panel {
  transform: translate(-50%, -50%);
}

.menu-panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.brand--light .brand__name {
  color: #fff;
}
.brand--light .brand__name small {
  color: #7aeaee;
}
/* light menu panel: brand reads dark (name navy, sub-label cyan-deep) */
.menu-panel .brand--light .brand__name {
  color: var(--ink-navy);
}
.menu-panel .brand--light .brand__name small {
  color: var(--accent-cyan-deep);
}
.menu-panel__close {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--surface-bone);
  /* color: #fff; */
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.25s;
}
.menu-panel__close:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: rotate(90deg);
}
.menu-panel__close svg {
  width: 18px;
  height: 18px;
}

.menu-nav {
  display: flex;
  flex-direction: column;
}
.menu-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(11px, 1.5vw, 17px) 6px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-navy);
  position: relative;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.2, 0.85, 0.25, 1),
    padding-left 0.3s cubic-bezier(0.2, 0.85, 0.25, 1);
}
.menu-link:last-of-type {
  border-bottom: none;
}
.menu-link__no {
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-cyan-deep);
  width: 24px;
  flex: none;
}
.menu-link__txt {
  flex: 1;
  font-family: var(--display-font), "Fraunces", serif;
  font-variation-settings:
    "wght" 500,
    "opsz" 40,
    "SOFT" 40;
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  transition: color 0.25s;
}
.menu-link__arrow {
  width: 22px;
  height: 22px;
  color: rgba(30, 58, 95, 0.3);
  flex: none;
  transition:
    color 0.25s,
    transform 0.25s;
}
.menu-link:hover {
  padding-left: 18px;
}
.menu-link:hover .menu-link__txt {
  color: var(--accent-cyan-deep);
}
.menu-link:hover .menu-link__arrow {
  color: var(--accent-mustard);
  transform: translateX(5px);
}

.menu-foot {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.2, 0.85, 0.25, 1);
}
.menu-foot__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.menu-foot__chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-navy);
  background: rgba(30, 58, 95, 0.05);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: var(--r-pill);
}
.menu-foot__chips svg {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan-deep);
  flex: none;
}
.menu-foot__cta {
  width: 100%;
  justify-content: center;
}

/* staggered reveal */
.mobile-menu.open .menu-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open .menu-link:nth-of-type(1) {
  transition-delay: 0.1s, 0.1s, 0s;
}
.mobile-menu.open .menu-link:nth-of-type(2) {
  transition-delay: 0.16s, 0.16s, 0s;
}
.mobile-menu.open .menu-link:nth-of-type(3) {
  transition-delay: 0.22s, 0.22s, 0s;
}
.mobile-menu.open .menu-link:nth-of-type(4) {
  transition-delay: 0.28s, 0.28s, 0s;
}
.mobile-menu.open .menu-link:nth-of-type(5) {
  transition-delay: 0.34s, 0.34s, 0s;
}
.mobile-menu.open .menu-foot {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.42s;
}

@media (prefers-reduced-motion: reduce) {
  .menu-panel,
  .menu-link,
  .menu-foot {
    transition: opacity 0.2s ease;
    transform: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 56px;
  padding-bottom: var(--section-gap);
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.hero h1 {
  margin-bottom: 30px;
  line-height: 1.12;
}
.hero__lead {
  max-width: 30em;
  margin-bottom: 30px;
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-navy);
}
.trust__item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan-deep);
  flex: none;
}

.hero__media {
  position: relative;
}
.hero__photo {
  aspect-ratio: 4/5;
  box-shadow: var(--sh-lg);
}
.hero__blob-1 {
  width: 260px;
  height: 260px;
  top: -40px;
  right: -30px;
}
.hero__blob-2 {
  width: 200px;
  height: 200px;
  bottom: -36px;
  left: -40px;
}
/* floating testimonial card */
.float-card {
  position: absolute;
  bottom: 26px;
  left: -34px;
  z-index: 3;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  padding: 16px 18px;
  max-width: 270px;
  border: 1px solid var(--line);
}
.float-card .stars {
  color: var(--accent-mustard);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.float-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-body);
  font-style: italic;
}
.float-card .who {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
}
.float-card .who .av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8fc0ff, #4d96ff);
  flex: none;
}
.float-card .who span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-navy);
}

/* ---------- Stat / why cards ---------- */
.why-section {
  background: #f8fcff;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0px;
}
#porque {
  padding: 100px 0;
}

#porque .section-head {
  margin-bottom: 100px;
}

/* a clean, level row of banderines (flat tops, pointed bottoms) — no cord */
.why-flags {
  position: relative;
  margin-bottom: 72px; /* gap below the row */
}
.why-card {
  position: relative;
  top: 0;
  padding: 42px 30px 125px;
  border: none;
  background: var(--ink-navy);
  text-align: center;
  /* banderín: flat top + pointed bottom. clip-path makes drop-shadow follow the
     pennant shape, so we use filter not box-shadow. */
  clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 72%);
  /* filter: drop-shadow(0 16px 24px rgba(4, 14, 30, 0.22)); */
  transition:
    top 0.3s cubic-bezier(0.2, 0.85, 0.25, 1),
    background 0.3s;
}
.why-card:hover {
  top: 6px; /* dips a touch on hover */
}

.why-card:nth-child(even) {
  background: var(--accent-mustard);
}

.why-card__ic {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: none;
  place-items: center;
  background: var(--surface-frozen);
  color: var(--accent-cyan-deep);
  margin-bottom: 18px;
}
.why-card__ic svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}
.why-card h3 {
  margin-bottom: 17px;
}
.why-card:nth-child(odd) h3 {
  color: #fff;
}
.why-card p {
  font-size: 14.5px;
  line-height: 1.55;
}

.why-card:nth-child(odd) .lead {
  color: #fff;
}
@media (max-width: 980px) {
  .why-flags {
    margin-bottom: 24px;
  }
}

/* ---------- Segment selector ---------- */
.seg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.seg-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.01);
}
.seg-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.seg-card__ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(77, 150, 255, 0.12);
  color: var(--action-cornflower-deep);
}
.seg-card__ic svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.7;
}
.seg-card h3 {
  margin-bottom: 7px;
}
.seg-card p {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: auto;
}
.seg-card--rehab {
  background: var(--ink-navy);
}
.seg-card--rehab h3,
.seg-card--rehab p {
  color: #fff;
}
.seg-card--rehab p {
  color: rgba(255, 255, 255, 0.78);
}
.seg-card--rehab .seg-card__ic {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
/* ---------- Segment detail (horarios y precios, siempre visible) ---------- */
.seg-grid {
  align-items: start; /* each card sizes to its own content */
}
.seg-card__detail {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.seg-sched {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}
.seg-sched svg {
  flex: none;
  margin-top: 2px;
  color: var(--action-cornflower-deep);
}
.seg-sched b {
  color: var(--ink-navy);
  font-weight: 700;
}

.price-dl {
  margin: 14px 0 0;
  display: grid;
  gap: 5px;
}
.price-dl__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  color: rgb(0, 0, 0);
}
.price-dl__row:nth-child(odd) {
  background: rgba(143, 192, 255, 0.203);
}
.price-dl__row dt {
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-dl__row dd {
  margin: 0;
  font-family: var(--display-font), "Fraunces", serif;
  font-variation-settings:
    "wght" 600,
    "opsz" 40;
  font-size: 17px;
  color: var(--ink-navy);
}
.price-dl__row--best {
  background: rgba(255, 217, 61, 0.18) !important;
}
.price-dl__row .pill--promo {
  padding: 3px 9px;
  font-size: 10.5px;
}

.seg-card__note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* navy (rehab) variants */
.seg-card--rehab .seg-card__detail {
  border-color: rgba(255, 255, 255, 0.16);
}
.seg-card--rehab .seg-sched,
.seg-card--rehab .seg-card__note {
  color: rgba(255, 255, 255, 0.72);
}
.seg-card--rehab .seg-sched b {
  color: #fff;
}
.seg-card--rehab .seg-sched svg {
  color: var(--accent-mustard);
}
.seg-card--rehab .seg-card__detail-in .btn {
  margin-top: 14px;
}

#segmentos {
  position: relative;
  z-index: 0;

  background-image: url("./dist/price-gradient.png");
  background-size: cover;
  background-position: center;
}

/* ---------- Info compartida: panel pastel amarillo ----------
   Duración (60/30 min) · Anualidad ($400) — mismo formato hero —
   · Requisitos en chips. Sin íconos. */
.seg-info {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 40px;
  padding: 15px;
  border-radius: calc(var(--r-lg) - 5px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(50px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "head req"
    "facts req";
  gap: 15px;
}

.seg-info__eyebrow {
  grid-area: head;
  justify-self: start;
  align-self: start;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-navy);
  padding: 14px var(--gutter);
  background: var(--accent-mustard);
  border-radius: var(--r-pill);
  margin: 0;
}
.seg-info__grid {
  grid-area: facts;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.seg-info__item--req {
  grid-area: req;
}
.seg-info__item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  --ink-navy: #fff;
}

.seg-info__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.794);
  margin-bottom: 14px;
}
/* las dos duraciones, apiladas */
.seg-info__durations {
  display: flex;
  gap: 50px;
}
/* número protagonista, compartido por duraciones y anualidad */
.seg-info__price {
  margin: 0;
  display: grid;
  /* align-items: baseline; */
  /* gap: 11px; */
  flex-wrap: wrap;
}
.seg-info__price b {
  font-family: var(--display-font), "Fraunces", serif;
  font-variation-settings:
    "wght" 600,
    "opsz" 40;
  font-size: 38px;
  line-height: 0.9;
  color: var(--ink-navy);
}
.seg-info__item span {
  color: var(--ink-navy);
  opacity: 0.68;
}
.seg-info__item--req .seg-info__label {
  color: var(--ink-navy);
}
/* requisitos como chips llamativos, centrados en el alto de la tarjeta */
.seg-info__list {
  display: grid;
  gap: 10px;
}
.seg-info__list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-navy);
  transition:
    transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.25s;
}
.seg-info__list li:hover {
  color: var(--action-cornflower-deep);
}
.seg-info__list svg {
  flex: none;
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--accent-mustard);
  color: #1e3a5f;
  stroke-width: 4;
}

@media (max-width: 860px) {
  .seg-info {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "facts"
      "req";
  }
  .seg-info__list {
    align-content: start;
  }
}
@media (max-width: 560px) {
  .seg-info__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Segment slider (3D deck) ----------
   Sin JS la .seg-slider__stage conserva el grid de .seg-grid (fallback);
   app.js añade .seg-slider--on y la baraja 3D toma el control. */
.seg-slider--on .seg-slider__stage {
  display: block;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  /* perspective: 1600px; */
  /* touch-action: pan-y; */
}
/* Carrusel de 4 slots sin encimarse — la activa (pos 0) vive en el slot 2:
   slot 1 = pos5 (vecina izquierda) · slot 2 = pos0 (ACTIVA) · slot 3 = pos1
   · slot 4 = pos2. pos3/pos4 son fantasmas de entrada/salida por los bordes.
   --dx está en % del ancho de la carta (24% del stage → 104% ≈ un slot). */
.seg-slider--on .seg-card {
  --dx: 0px;
  --dy: 0px;
  --ry: 0deg;
  --s: 1;
  position: absolute;
  top: 0;
  left: 0;
  /* 4 equal cards across with a fixed 25px gap; the --dx slots below step by
     one card width + 25px so nothing overlaps and all measure the same. */
  width: calc((100% - 75px) / 4);
  transform: translate3d(var(--dx), var(--dy), 0) rotateY(var(--ry))
    scale(var(--s));
  transition:
    transform 0.65s cubic-bezier(0.2, 0.7, 0.3, 1),
    opacity 0.65s ease,
    filter 0.65s ease,
    box-shadow 0.65s ease;
  will-change: transform, filter;
}
.seg-slider--on .seg-card:not([data-pos="0"]) {
  cursor: pointer;
}
.seg-slider--on .seg-card[data-pos="5"] {
  /* slot 1: vecina izquierda — misma medida, alineada */
  --dx: 0%;
  --dy: 0px;
  --ry: 0deg;
  --s: 1;
  z-index: 4;
  opacity: 1;
  filter: none;
}
.seg-slider--on .seg-card[data-pos="0"] {
  /* slot 2: ACTIVA — al frente, misma medida, distinguida por su sombra */
  --dx: calc(100% + 25px);
  z-index: 7;
  /* border-color: rgba(54, 115, 222, 0.28); */
}
.seg-slider--on .seg-card[data-pos="1"] {
  /* slot 3 */
  --dx: calc(2 * (100% + 25px));
  --dy: 0px;
  --ry: 0deg;
  --s: 1;
  z-index: 5;
  opacity: 1;
  filter: none;
}
.seg-slider--on .seg-card[data-pos="2"] {
  /* slot 4 */
  --dx: calc(3 * (100% + 25px));
  --dy: 0px;
  --ry: 0deg;
  --s: 1;
  z-index: 4;
  opacity: 1;
  filter: none;
}
.seg-slider--on .seg-card[data-pos="3"] {
  /* fantasma derecho: entra/sale por el borde derecho */
  --dx: calc(4 * (100% + 25px));
  --dy: 0px;
  --ry: 0deg;
  --s: 1;
  z-index: 2;
  opacity: 0;
  filter: none;
  pointer-events: none;
}
.seg-slider--on .seg-card[data-pos="4"] {
  /* fantasma izquierdo: entra/sale por el borde izquierdo */
  --dx: calc(-100% - 25px);
  --dy: 0px;
  --ry: 0deg;
  --s: 1;
  z-index: 1;
  opacity: 0;
  filter: none;
  pointer-events: none;
}

.seg-slider__controls {
  display: none;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}
.seg-slider--on .seg-slider__controls {
  display: none;
}
.seg-slider__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--surface-white);
  color: var(--ink-navy);
  display: grid;
  place-items: center;
  box-shadow: var(--sh-sm);
  transition:
    transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.25s,
    background 0.2s,
    color 0.2s;
}
.seg-slider__btn:hover {
  background: var(--ink-navy);
  border-color: var(--ink-navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.seg-slider__btn svg {
  width: 18px;
  height: 18px;
}
.seg-slider__btn--prev svg {
  transform: rotate(180deg);
}
.seg-slider__dots {
  display: flex;
  gap: 8px;
}
.seg-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(30, 58, 95, 0.18);
  transition:
    background 0.2s,
    transform 0.2s;
}
.seg-slider__dot[aria-current="true"] {
  background: var(--action-cornflower-deep);
  transform: scale(1.3);
}

@media (max-width: 1100px) {
  /* tablet: 3 cartas iguales con el mismo gap de 25px — la activa al centro.
     Los --dx (en % del ancho de carta + 25px) son universales, así que solo
     cambian el ancho y qué carta se oculta. */
  .seg-slider--on .seg-card {
    width: calc((100% - 50px) / 3);
  }
  .seg-slider--on .seg-card[data-pos="2"] {
    opacity: 0;
    pointer-events: none;
  }
}
@media (max-width: 640px) {
  /* móvil: la activa domina y las vecinas asoman por los bordes */
  .seg-slider--on .seg-card {
    width: 86%;
  }
  .seg-slider--on .seg-card[data-pos="5"] {
    --dx: -92%;
    --dy: 16px;
    --s: 0.94;
  }
  .seg-slider--on .seg-card[data-pos="0"] {
    --dx: 8%;
  }
  .seg-slider--on .seg-card[data-pos="1"] {
    --dx: 108%;
    --dy: 16px;
    --s: 0.94;
  }
  .seg-slider--on .seg-card[data-pos="2"] {
    --dx: 130%;
    opacity: 0;
    pointer-events: none;
  }
  .seg-slider--on .seg-card[data-pos="3"] {
    --dx: 150%;
  }
  .seg-slider--on .seg-card[data-pos="4"] {
    --dx: -130%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .seg-slider--on .seg-card,
  .seg-slider__btn,
  .seg-slider__dot {
    transition: none;
  }
}

/* Responsive: the absolute-positioned 3D deck spills past the viewport on small
   screens. Swap it for a plain horizontal scroll rail — cards back in normal flow,
   no transforms, no transition. (app.js stops hiding the ghost cards here.) */
@media (max-width: 980px) {
  /* one card per row, stacked vertically — no horizontal scroll */
  .seg-slider--on .seg-slider__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 4px 2px 14px;
  }
  .seg-slider--on .seg-card {
    position: static !important;
    flex: none;
    width: 100% !important;
    max-width: 420px;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto !important;
  }
}

/* ---------- Generic two-col feature (Nosotros / Instalaciones / Aquafiestas) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature--rev .feature__media {
  order: -1;
}
.feature__media {
  position: relative;
}
.feature__photo {
  aspect-ratio: 4/3;
  box-shadow: var(--sh-md);
}
.feature ul.checks {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.feature ul.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}
.feature ul.checks li svg {
  width: 22px;
  height: 22px;
  color: var(--accent-cyan-deep);
  flex: none;
  margin-top: 1px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.stat-row {
  display: flex;
  gap: 36px;
  margin: 26px 0;
  flex-wrap: wrap;
}
.stat b {
  display: block;
  font-family: var(--display-font), "Fraunces", serif;
  font-variation-settings:
    "wght" 600,
    "opsz" 90;
  font-size: 38px;
  color: var(--ink-navy);
  line-height: 1;
}
.stat span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Nosotros (about) ---------- */
.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #5db5fd;
}
/* soft cornflower→cyan light behind the block — restrained, no hard glow */
.about__glow {
  position: absolute;
  z-index: -1;
  top: -10%;
  right: -8%;
  width: 60%;
  height: 80%;
  background: radial-gradient(
    closest-side,
    rgba(77, 150, 255, 0.14),
    rgba(0, 194, 203, 0.05) 60%,
    transparent
  );
  pointer-events: none;
}
.about__inner {
  position: relative;
}
.about__head {
  max-width: 760px;
  margin-bottom: 44px;
  margin: 44px auto;
  text-align: center;
  --ink-navy: #fff;
  --accent: var(--accent-mustard);
}

.about__lead {
  margin-top: 25px;
  font-size: 16px;
  padding: 0 50px;
  color: var(--surface-bone);
}
/* ---- the band: 4 overlapping token-colored shapes (the centerpiece) ---- */
.about__band {
  position: relative;
  width: 100%;
  max-width: 1480px;
  /* keep ratio so the %-based circles stay round + in-frame as it scales down */
  aspect-ratio: 1480 / 560;
  margin: 0 auto;
}
.band-shape {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(22px, 3vw, 40px);
  border-radius: 50%;
  aspect-ratio: 1;
  --fill: rgba(234, 240, 250, 0.2);
  backdrop-filter: blur(50px);
  border: 1px solid rgba(255, 255, 255, 0.21);
  background: var(--fill);
  /* box-shadow: var(--ring-inset); */
  color: rgba(255, 255, 255, 1);
  /* heavy, weighted glide for the hover lift/repel (the whole band reveals as
     one unit, so shapes carry no GSAP inline transform to fight here) */
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    background 0.45s ease,
    color 0.45s ease;
}

.band-shape:hover {
  color: var(--ink-navy);
}

/* hovered ball lifts to the front + scales; its siblings part on the X axis */
.band-shape:hover {
  transform: scale(1.06);
  /* z-index: 9; */
  /* box-shadow: 0 26px 54px -18px rgba(30, 58, 95, 0.38); */
}
/* shapes AFTER the hovered one slide right */
.about__band .band-shape:hover ~ .band-shape {
  transform: translateX(75px);
}
/* shapes BEFORE the hovered one slide left (no preceding-sibling combinator) */
.about__band:has(.band-shape--2:hover) .band-shape--1,
.about__band:has(.band-shape--3:hover) .band-shape--1,
.about__band:has(.band-shape--3:hover) .band-shape--2,
.about__band:has(.band-shape--4:hover) .band-shape--1,
.about__band:has(.band-shape--4:hover) .band-shape--2,
.about__band:has(.band-shape--4:hover) .band-shape--3 {
  transform: translateX(-75px);
}

.about__band .band-shape--2:hover ~ .band-shape {
  transform: translateX(75px);
}
.band-shape__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.2);
  display: none;
}
.band-shape__icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}
.band-shape__title {
  margin: 0 0 8px;
  color: inherit; /* white on dark shapes, navy on the gold circle */
  font-family: var(--display-font), "Fraunces", serif;
  font-variation-settings:
    "wght" 600,
    "opsz" 40;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.1;
}
.band-shape__copy {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: inherit;
  max-width: 23ch;
  /* hidden at rest — revealed when its own shape is hovered */
opacity: .75;
  transition:
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
/* .band-shape:hover .band-shape__copy {
  opacity: 1;
  transform: translateY(0);
} */

/* Four overlapping solid balls, different sizes, ordered left→right (rising z so
   each ball laps the one before it). Sizes are % of the band width; aspect-ratio
   keeps them round, so left/top in % stack predictably. Each ball's own centre
   (where its label sits) clears its neighbour, so labels never get clipped.
   --fill drives the disc colour; --ink the label (a deep tone of the same hue). */
/* 1 · cornflower */
.band-shape--1 {
  left: 1%;
  top: 7.7%;
  width: 32%;
  z-index: 1;
}
.band-shape--1:hover {
  --fill: var(--accent-mustard);
}
/* 2 · gold — biggest */
.band-shape--2 {
  left: 23%;
  top: 7.7%;
  width: 32%;
  z-index: 2;
}
.band-shape--2:hover {
  --fill: var(--accent-mustard);
}
/* 3 · deep cyan */
.band-shape--3 {
  left: 45%;
  top: 7.7%;
  width: 32%;
  z-index: 3;
}
.band-shape--3:hover {
  --fill: var(--accent-mustard);
}
/* 4 · orange — smallest, rides on top */
.band-shape--4 {
  left: 67%;
  top: 7.7%;
  width: 32%;
  z-index: 4;
}
.band-shape--4:hover {
  --fill: var(--accent-mustard);
}
/* (floating geometric accents removed — the four overlapping balls are the
   whole centerpiece now) */

/* ---- foot: honest stats + CTA ---- */
.about__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 56px;

}
.about__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  margin: 25px auto 0;
  max-width: 100%;
}
.about__stat b {
  display: block;
  font-family: var(--display-font), "Fraunces", serif;
  font-variation-settings:
    "wght" 600,
    "opsz" 60;
  font-size: 34px;
  line-height: 1;
  color: var(--ink-navy);
}
.about__stat span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-navy);
}

@media (max-width: 980px) {
  .about__band {
    height: auto;
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  /* balls flatten into readable rounded cards in the stacked grid */
  .band-shape {
    position: static;
    width: auto !important;
    height: auto !important;
    aspect-ratio: auto;
    min-height: 190px;
    border-radius: var(--r-md) !important;
    /* flat cards in the stacked grid — drop the inset volume */
    box-shadow: none;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }
  .band-shape--2 {
    padding: 30px;
  }
  /* no lift/repel in the stacked grid — it would just break the layout */
  .band-shape:hover,
  .about__band .band-shape:hover ~ .band-shape,
  .about__band:has(.band-shape:hover) .band-shape {
    transform: none;
    box-shadow: none;
  }
  /* no hover on touch — keep the copy visible */
  .band-shape__copy {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 560px) {
  .about__band {
    grid-template-columns: 1fr;
  }
  .about__foot {
    margin-top: 40px;
  }
}

/* (instalaciones gallery grid removed — the section is now the full-viewport
   facility scene with spec hotspots, styled in facility-scene.css) */

/* ---------- Summer (star) ---------- */
.summer {
  /* sky→sand gradient + scene live in summer-scene.css */
  position: relative;
  overflow: hidden;
}
.summer__inner {
  position: relative;
  z-index: 2;
}
/* title guiño: warm "Verano" + playful wavy underline (Fraunces stays) */
.summer__hl {
  color: #ff8a24;
 
}
.summer__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  background: var(--ink-navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.summer-act {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.summer-act .pill {
  background: rgba(0, 194, 203, 0.1);
  color: var(--accent-cyan-deep);
}
.trips {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.trip {
  text-align: center;
}
.trip__ic {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  display: none;
  place-items: center;
  background: var(--surface-frozen);
  color: var(--accent-cyan-deep);
  margin-bottom: 9px;
}
.trip__ic svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.6;
}
.trip span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-navy);
  line-height: 1.3;
  display: block;
}
/* nostalgia gallery tabs */
.years {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.year-tab {
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--ink-navy);
  font-weight: 600;
  font-size: 15px;
  padding: 9px 22px;
  border-radius: var(--r-pill);
  transition: all 0.2s;
}
.year-tab[aria-selected="true"] {
  background: var(--ink-navy);
  color: #fff;
  border-color: var(--ink-navy);
}
.year-panel {
  display: none;
}
.year-panel.active {
  display: block;
}
.nostalgia {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
}
.nostalgia__mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 120px;
  gap: 12px;
}
.nostalgia__mosaic .big {
  grid-column: span 2;
  grid-row: span 2;
}
.nostalgia__side {
  display: grid;
  grid-template-rows: 1.4fr 1fr;
  gap: 18px;
}

/* ---------- Programs (otros) ---------- */
/* #programas {
  display: none;
} */
.prog-card {
  overflow: hidden;
}
.prog-card .photo {
  border-radius: 0;
}
.prog-card__body {
  padding: 22px 24px 26px;
}
.prog-card__body h3 {
  margin-bottom: 8px;
}
.prog-card__body p {
  font-size: 14px;
}

/* ---------- Team — "Carril de alberca" (swim-lane lineup) ---------- */
#equipo {
  /* light sky base — the .lane-water rises over it on scroll to fill blue */
  background: #eef2f6;
  padding: 125px 0 0 !important;
}

/* ---- Team lane: the lane fills with water as you scroll the section past ---- */
.lane-water {
  display: none; /* desktop scrub only (app.js sets --water; media query below) */
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--water, 0%);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(180deg, #5db5fd 0%, #5db5fd 45%, #3297ea 100%);
}
/* rippling wavy surface — bg-coloured crests cut the water's top edge */
.lane-water::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 26px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 26" preserveAspectRatio="none"><path d="M0,14 C35,4 105,24 140,14 L140,0 L0,0 Z" fill="%23e9f5ff"/></svg>')
    repeat-x;
  background-size: 140px 26px;
  animation: lane-ripple 7s linear infinite;
}
@keyframes lane-ripple {
  to {
    background-position-x: 140px;
  }
}
.lane-bubble {
  position: absolute;
  bottom: 0;
  left: var(--x, 50%);
  width: var(--s, 12px);
  height: var(--s, 12px);
  border-radius: 50%;
  background: radial-gradient(
    circle at 34% 30%,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.22) 60%,
    transparent 72%
  );
  border: 1px solid rgba(255, 255, 255, 0.45);
  opacity: 0;
  animation: lane-bubble var(--t, 7s) ease-in var(--d, 0s) infinite;
}
@keyframes lane-bubble {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }
  14% {
    opacity: 0.85;
  }
  80% {
    opacity: 0.55;
  }
  100% {
    transform: translateY(-72vh) scale(1.15);
    opacity: 0;
  }
}
/* content rides above the rising water */
.lane-sticky > .container,
.lane-sticky .lane-pool {
  position: relative;
  z-index: 1;
}
@media (min-width: 769px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .lane-water {
    display: block;
  }
}

#equipo .accent {
  color: var(--accent-cyan-deep);
}

#equipo .section-head {
    margin-bottom: 75px;
    text-align: center;
    margin: 0 auto 75px;
}
/* No pin / no fixed height: the lane grows with its content (3 lines of 4) so no
   row is ever clipped. GSAP scrubs the cards surfacing as the section scrolls past
   (app.js); .lane-stage / .lane-sticky just position the water layer behind them. */
.lane-stage {
  position: relative;
}
.lane-sticky {
  position: relative;
}
/* full-bleed pool band: aqua water with one discreet corchera up top */
.lane-pool {
  position: relative;
  /* margin-top: 44px; */
  overflow: visible; /* never clip the cards as they drift up to surface */
}
/* corcheras: same bead rhythm as the hero but discreet — soft surface tones.
   Block bar sitting in the gap between the copy and the track. */
.lane-rope {
  display: none;
  position: relative;
  height: 9px;
  margin: 0 0 30px;
  border-radius: 999px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  --bead: 24px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0) 45%,
      rgba(30, 58, 95, 0.12) 100%
    ),
    repeating-linear-gradient(
      90deg,
      rgba(30, 58, 95, 0) 0 calc(var(--bead) - 1.5px),
      rgba(30, 58, 95, 0.16) calc(var(--bead) - 1.5px) var(--bead)
    ),
    repeating-linear-gradient(
      90deg,
      var(--surface-white) 0 var(--bead),
      var(--surface-frozen) var(--bead) calc(var(--bead) * 2),
      var(--surface-baby) calc(var(--bead) * 2) calc(var(--bead) * 3),
      var(--surface-white) calc(var(--bead) * 3) calc(var(--bead) * 4)
    );
  box-shadow: 0 2px 7px rgba(30, 58, 95, 0.12);
}
/* a single discreet rope sits in the gap between the copy and the track */

/* the row of swimmers — GSAP scrubs its x; flex lays the cards out */
.lane-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* row-gap lets the lines of 4 breathe; tight col-gap for 4 across */
  gap: 35px;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 max(20px, 3vw) 100px;
}
/* rows of 4: the two centre cards sit slightly lower than the edge ones (collage
   feel). `top` (relative offset) is used — not margin/transform — so it neither
   inflates the grid height (the sticky clips to 100vh) nor fights the GSAP
   surfacing transform. Desktop-with-motion only; mobile/reduced keeps it flat. */
@media (min-width: 769px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .lane-card:nth-child(4n + 2),
  .lane-card:nth-child(4n + 3) {
    top: clamp(14px, 1.7vw, 26px);
  }
}
/* profile card (glass, light) floating on the water */
.lane-card {
  position: relative;
  width: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  text-align: center;
  padding: 26px 22px 24px;
  border-radius: 30px;
  background:
    radial-gradient(
      125% 70% at 50% 118%,
      rgba(0, 194, 203, 0.26),
      transparent 62%
    ),
    rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* box-shadow: var(--sh-md); */
  /* no transform transition: GSAP scrubs the surfacing transform inline every frame,
     and a CSS transform transition would fight that smoothing → floaty/laggy cards. */
  transition: box-shadow 0.4s;
}
.lane-num {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--accent-cyan-deep);
  background: rgba(0, 194, 203, 0.14);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  display: none;
}
.lane-card__avatar {
  width: 120px;
  height: 120px;
  flex: none;
  padding: 3px;
  border-radius: 50%;
  box-shadow: var(--sh-sm);
  margin: 0 auto;
}
.lane-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(0.85);
}
.lane-card__name {
  margin: 12px 0 0;
  font-family: var(--display-font), "Fraunces", serif;
  font-variation-settings:
    "wght" 600,
    "opsz" 50;
  font-size: 18.5px;
  line-height: 1.12;
  color: var(--ink-navy);
}
.lane-card__title {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
}
.lane-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 10px 0 0;
}
.lane-card__tags .pill {
  font-size: 10.5px;
  padding: 4px 10px;
}
.lane-card__stats {
  display: flex;
  width: 100%;
  /* margin: 18px 0; */
}
.lane-stat {
  flex: 1;
  padding: 0 4px;
}
.lane-stat + .lane-stat {
  border-left: 1px solid var(--line);
}
.lane-stat b {
  display: block;
  font-family: var(--display-font), "Fraunces", serif;
  font-variation-settings:
    "wght" 600,
    "opsz" 40;
  font-size: 17px;
  line-height: 1;
  color: var(--ink-navy);
}
.lane-stat span {
  display: block;
  margin-top: 5px;
  font-size: 10.5px;
  color: var(--text-muted);
}
.lane-card__cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--action-cornflower);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.lane-card__cta:hover {
  background: var(--action-cornflower-deep);
  transform: translateY(-1px);
}
.lane-card__cta svg {
  stroke: currentColor;
}
/* Desktop: the section pins (CSS sticky) and GSAP scrubs the coaches surfacing
   from the water (see app.js). Touch / reduced-motion: no pin — a plain stacked
   grid (no JS reveal runs in this mode). */
@media (prefers-reduced-motion: reduce), (hover: none) {
  /* no pin / reveal here → coach cards in a wrapping grid (no horizontal scroll;
     auto-fit gives 1 column on phones, more as the width allows) */
  .lane-pool {
    overflow-x: visible;
  }
  .lane-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    gap: 18px;
    padding: 4px max(20px, 5vw) 40px;
  }
  .lane-card {
    width: auto;
    max-width: none;
    top: 0 !important; /* cancel the centre-line offset */
    transform: none !important;
  }
}

/* ---------- Testimonials carousel ---------- */

#testimonios {
  overflow: hidden;
}

.testi-track {
  /* overflow-x: auto; */
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar {
  display: none;
}
.testi-row {
  display: flex;
  align-items: stretch;
  width: max-content;
}
/* infinite marquee — enabled by JS once it clones the cards and adds
   .testi-track--loop. Without JS / reduced motion this stays a manual
   horizontal scroll carousel. */
.testi-track--loop {
  /* overflow: hidden; */
}
.testi-track--loop .testi-row {
  animation: testi-marquee 48s linear infinite;
}
.testi-track--loop:focus-within .testi-row {
  animation-play-state: paused;
}
@keyframes testi-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .testi-track--loop {
    overflow-x: auto;
  }
  .testi-track--loop .testi-row {
    animation: none;
  }
}
.testi {
  flex: none;
  width: min(360px, 82vw);
  margin-right: 22px;
  scroll-snap-align: start;
  padding: 35px;
  display: flex;
  flex-direction: column;
}
.testi .stars {
  color: var(--accent-mustard);
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testi blockquote {
  font-variation-settings:
    "wght" 400,
    "opsz" 60,
    "SOFT" 40;
  /* font-style: italic; */
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-navy);
  margin: 0 0 18px;
}
.testi__who {
  display: flex;
  align-items: center;
  font-family: var(--display-font), "Fraunces", serif;
  gap: 12px;
  margin-top: auto;
}
.testi__who .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body-font), sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-navy);
  text-transform: uppercase;
  background: var(--surface-bone);
  /* box-shadow: inset 0 0 0 1px var(--line); */
}
.testi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* align-self: flex-end; */
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--surface-white);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  font-family: var(--body-font), sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 25px;
}
.testi-badge .stars {
  color: var(--accent-mustard);
  letter-spacing: 1px;
}
.testi-badge b {
  color: var(--ink-navy);
}
.testi__who b {
  display: block;
  font-size: 14.5px;
  color: var(--ink-navy);
}
.testi__who span {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ---------- Blog ---------- */
#blog {
  display: none;
}
.blog-card {
  overflow: hidden;
}
.blog-card .photo {
  border-radius: 0;
}
.blog-card__body {
  padding: 20px 22px 24px;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
  font-size: 12px;
  color: var(--text-muted);
}
.blog-card h3 {
  font-size: 19px;
  margin-bottom: 0;
}

/* ---------- Big CTA ---------- */
.cta-final {
  background: var(--ink-navy);
  border-radius: var(--r-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ---------- Inscríbete — 3-step enrollment close (cornflower→cyan field) ---------- */
.enroll {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-gap);
  color: #fff;
  background:
    
    linear-gradient(
      180deg,
     #3498ea 0%,
      #1164a8 100%
    );
  padding: 120px 0 300px;
}
.enroll__inner {
  position: relative;
  z-index: 1;
}
.enroll__head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}
.enroll__eyebrow {
  color: #ffe07a;
}
.enroll__title {
  color: #fff;
  margin: 12px 0 14px;
}
.enroll__accent {
  color: var(--accent-mustard);
  font-style: italic;
}
.enroll__lead {
  margin: 0 auto;
  max-width: 52ch;
  font-size: clamp(15px, 1.3vw, 17.5px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

/* free-sample offer banner (highlight chip between head and steps) */
.enroll__offer {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 40px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.45;
  text-align: left;
}
.enroll__offer svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--accent-mustard);
}
.enroll__offer b {
  color: var(--accent-mustard);
  font-weight: 700;
}
@media (max-width: 560px) {
  .enroll__offer {
    align-items: flex-start;
  }
}

/* steps: three tiles with numbered discs joined by a dashed "lane" */
.enroll__steps {
  position: relative;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.enroll__steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 16%;
  right: 16%;
  border-top: 2px dashed rgba(255, 255, 255, 0.4);
  z-index: 0;
}
.enroll-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 14px;
}
.enroll-step__num {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--action-cornflower-deep);
  font-family: var(--display-font), "Fraunces", serif;
  font-variation-settings:
    "wght" 600,
    "opsz" 40;
  font-size: 28px;
  box-shadow: 0 12px 28px rgba(4, 14, 30, 0.3);
}
.enroll-step__title {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--display-font), "Fraunces", serif;
  font-variation-settings:
    "wght" 600,
    "opsz" 40;
  font-size: 20px;
}
.enroll-step__txt {
  margin: 0;
  max-width: 30ch;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}
.enroll-step__txt b {
  color: var(--accent-mustard);
}

/* foot: requisitos chips + CTA */
.enroll__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.enroll__reqs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.enroll__reqs .pill {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.enroll__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.enroll__phone {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 760px) {
  .enroll__steps {
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 420px;
    margin-inline: auto;
  }
  .enroll__steps::before {
    display: none; /* no horizontal connector when stacked */
  }
}

/* ---------- Promociones (#programas) ---------- */
.promos__lead {
  margin: 14px auto 0;
  max-width: 52ch;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--text-muted);
}
.promo-grid {
  margin: 44px auto 0;
  max-width: 880px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-md);
  border: 1px solid var(--line);
}
.promo-card--feat {
  outline: 2.5px solid var(--accent-mustard);
  outline-offset: -2.5px;
}
.promo-card__badge {
  background: var(--surface-frozen);
  color: var(--action-cornflower-deep);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
}
.promo-card--feat .promo-card__badge {
  background: var(--accent-mustard);
  color: var(--ink-navy);
}
.promo-card__ic {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 16px 0 4px;
  border-radius: 16px;
  background: var(--action-cornflower);
  color: #fff;
}
.promo-card__ic svg {
  width: 28px;
  height: 28px;
}
.promo-card h3 {
  margin: 10px 0 8px;
}
.promo-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
}
.promo-card .promo-card__price {
  margin: 18px 0 0;
}
.promo-card__price b {
  display: block;
  font-family: var(--display-font), "Fraunces", serif;
  font-variation-settings:
    "wght" 600,
    "opsz" 60;
  font-size: 28px;
  line-height: 1;
  color: var(--ink-navy);
}
.promo-card--feat .promo-card__price b {
  color: #b07d12;
}
.promo-card__price span {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.promo-card__cta {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}
@media (max-width: 640px) {
  .promo-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.cta-final h2 {
  color: #fff;
  margin-bottom: 16px;
}
.cta-final p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 34em;
  margin: 0 auto 30px;
}
.cta-final .btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-final .wave-deco {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  opacity: 0.18;
  color: #fff;
}

/* ---------- Footer ---------- */
.footer {
  background: #16314f;
  color: rgba(255, 255, 255, 0.72);
  padding-block: 64px 28px;
}
.footer a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
}
.footer a:hover {
  color: #fff;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__brand .brand__name {
  color: #fff;
}
.footer__brand p {
  font-size: 14px;
  margin-top: 16px;
  max-width: 26em;
}
.footer__brand .socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer__brand .socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #fff;
}
.footer__brand .socials a:hover {
  background: var(--action-cornflower);
}
.footer__brand .socials svg {
  width: 19px;
  height: 19px;
}
.footer h4 {
  color: #fff;
  font-family: var(--body-font);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer ul li {
  margin-bottom: 11px;
  font-size: 14px;
}
.footer .nap {
  font-size: 14px;
  line-height: 1.7;
}
.footer .nap b {
  color: #fff;
}
.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
}
.footer__legal .links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__legal,
.footer__legal a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}
.footer__credit {
  color: rgba(255, 255, 255, 0.38);
  transition: color 0.2s ease;
}
.footer__credit:hover {
  color: rgba(255, 255, 255, 0.7);
}
.footer__made {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.4);
}
.footer__made a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__made a:hover {
  color: #fff;
}

/* ---------- Mobile sticky bar + WhatsApp FAB ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-bar .btn {
  flex: 1;
  justify-content: center;
}
.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 54;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s;
}
.wa-fab:hover {
  transform: scale(1.06);
}
.wa-fab svg {
  width: 30px;
  height: 30px;
}

/* section background variants */
.bg-frozen {
  background: var(--surface-frozen);
}
/* Pastel líder (tweak) */
html[data-lead="cielo"] .bg-frozen {
  background: #e8f1ff;
}
html[data-lead="cielo"] .why-card__ic,
html[data-lead="cielo"] .trip__ic {
  background: rgba(143, 192, 255, 0.28);
}
html[data-lead="wisteria"] .bg-frozen {
  background: #ecf0fa;
}
html[data-lead="wisteria"] .why-card__ic,
html[data-lead="wisteria"] .trip__ic {
  background: rgba(126, 158, 214, 0.22);
  color: #4a64a0;
}
.bg-white {
  background: var(--surface-white);
}
.bg-page {
  background: var(--surface-page);
}

/* ---------- Hover micro-interactions ---------- */
/* image zoom inside cards with clipped media */
.prog-card .photo,
.blog-card .photo {
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.prog-card:hover .photo,
.blog-card:hover .photo {
  transform: scale(1.055);
}
/* the gradient/icon stays put while the block scales — reads as a subtle push-in */
.prog-card,
.blog-card {
  overflow: hidden;
}
/* segment cards: title nudges toward the arrow on hover */
.seg-card h3 {
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.seg-card:hover h3 {
  transform: translateX(3px);
}
/* social icons */
.footer__brand .socials a {
  transition:
    background 0.25s,
    transform 0.25s;
}
.footer__brand .socials a:hover {
  transform: translateY(-3px);
}
/* year tabs */
.year-tab {
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.2s;
}
.year-tab:hover {
  transform: translateY(-2px);
}
/* trips */
.trip__ic {
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1),
    background 0.25s;
}
.trip:hover .trip__ic {
  transform: translateY(-4px);
}
/* magnetic buttons get a will-change hint */
.btn[data-magnetic] {
  will-change: transform;
}

/* parallax layers */
[data-parallax],
.hero__media .photo,
.blob {
  will-change: transform;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__media {
    max-width: 460px;
    margin-inline: auto;
    width: 100%;
  }
  .float-card {
    left: 0;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .seg-grid,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature,
  .grid-2,
  .nostalgia {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature--rev .feature__media {
    order: 0;
  }
  .trips {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 760px) {
  :root {
    --section-gap: 56px;
  }
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: grid;
  }
  .mobile-bar {
    display: flex;
  }
  .wa-fab {
    display: none; /* the bottom mobile-bar already carries a WhatsApp button */
  }
  body {
    padding-bottom: 74px;
  }
  .grid-4,
  .seg-grid,
  .grid-3,
  .nostalgia__mosaic,
  .trips {
    grid-template-columns: 1fr 1fr;
  }
  .blog-card .grid-3 {
    grid-template-columns: 1fr;
  }
  .summer-card {
    padding: 26px 20px;
  }
  .cta-final {
    padding: 44px 24px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .promo .hide-sm {
    display: none;
  }
}
@media (max-width: 480px) {
  .grid-4,
  .seg-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .trips {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-row {
    gap: 24px;
  }
}
