/* ═══════════════════════════════════════════
   HIDROSUM · Lavandería Autoservicio
   Identidad oficial (Manual de identidad):
   #5F249F → #3470A8 → #0EB4B0 → #00CFB4
   Burbujas, ondas de agua, Nunito + Aileron.
   ═══════════════════════════════════════════ */

:root {
  --purple: #5F249F;
  --purple-deep: #47187C;
  --purple-ink: #2b1150;
  --violet: #7B3FA8;
  --blue: #3470A8;
  --teal: #0EB4B0;
  --teal-bright: #00CFB4;
  --teal-dark: #0B9A92;
  --verde-titulo: #0B9A92;
  --mint: #E6FAF7;
  --lilac: #F3EDFB;
  --bg: #FDFDFF;
  --ink: #33245c;
  --ink-soft: #5d5478;
  --grad: linear-gradient(120deg, var(--purple) 0%, var(--blue) 41%, var(--teal) 81%, var(--teal-bright) 100%);
  --radius: 22px;
  --shadow: 0 12px 40px rgba(71, 24, 124, .14);
  --font-head: "Nunito", sans-serif;
  --font-body: "Nunito", sans-serif;
  --font-accent: "Aileron", "Nunito", sans-serif;
}

/* Tipografía de marca Aileron (acentos y kickers) */
@font-face {
  font-family: "Aileron";
  src: url("../assets/fonts/Aileron-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Aileron";
  src: url("../assets/fonts/Aileron-Black.otf") format("opentype");
  font-weight: 900;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; }

.container { width: min(1160px, 92%); margin-inline: auto; }
.container--narrow { width: min(820px, 92%); }

/* ─────────── Botones ─────────── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  padding: .85rem 1.8rem;
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-3px); }
.btn--solid { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(52, 112, 168, .35); }
.btn--solid:hover { box-shadow: 0 14px 30px rgba(52, 112, 168, .45); }
.btn--light { background: #fff; color: var(--purple); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.btn--ghost { background: rgba(255,255,255,.14); color: #fff; border: 2px solid rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.25); }
.btn--outline { background: transparent; color: var(--purple); border: 2px solid var(--purple); }
.btn--outline:hover { background: var(--lilac); }
.btn--sm { padding: .5rem 1.2rem; font-size: .9rem; }
.btn--lg { padding: 1.05rem 2.4rem; font-size: 1.15rem; }

/* ─────────── Header ─────────── */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: .9rem 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.header.is-scrolled {
  background: rgba(253, 253, 255, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(71, 24, 124, .10);
  padding: .45rem 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* Logotipo oficial: blanco sobre el hero, morado al hacer scroll */
.brand { position: relative; display: flex; align-items: center; }
.brand__logo { height: 46px; width: auto; transition: opacity .3s ease; }
.brand__logo--morado { position: absolute; inset: 0; opacity: 0; }
.header.is-scrolled .brand__logo--blanco { opacity: 0; }
.header.is-scrolled .brand__logo--morado { opacity: 1; }

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a:not(.btn) {
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  position: relative;
  transition: color .3s ease;
}
.header.is-scrolled .nav a:not(.btn) { color: var(--ink); }
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 3px;
  border-radius: 3px;
  background: var(--teal-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.burger { display: none; background: none; border: none; width: 44px; height: 44px; cursor: pointer; z-index: 110; }
.burger span { display: block; width: 26px; height: 3px; margin: 5px auto; border-radius: 3px; background: #fff; transition: all .3s ease; }
.header.is-scrolled .burger span, .header.nav-open .burger span { background: var(--purple); }
.header.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header.nav-open .burger span:nth-child(2) { opacity: 0; }
.header.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─────────── Hero ─────────── */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  background: var(--grad);
  background-size: 180% 180%;
  animation: gradShift 14s ease infinite;
  color: #fff;
  overflow: hidden;
  padding: 7.5rem 0 9rem;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: .42rem 1.15rem;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .05em;
  backdrop-filter: blur(6px);
  margin-bottom: 1.3rem;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.7rem, 6.2vw, 4.8rem);
  line-height: 1.02;
  margin-bottom: 1.1rem;
  text-shadow: 0 4px 30px rgba(43, 17, 80, .35);
}
.hero__title em { font-style: normal; color: var(--teal-bright); }
.hero__title .plus {
  display: inline-grid;
  place-items: center;
  width: .95em; height: .95em;
  border-radius: 50%;
  background: #fff;
  color: var(--purple);
  font-size: .8em;
  vertical-align: middle;
  animation: plusPulse 2.4s ease-in-out infinite;
}
@keyframes plusPulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,.5); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(255,255,255,0); }
}
.hero__sub { font-size: 1.2rem; max-width: 30rem; margin-bottom: 2rem; opacity: .96; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__media { display: flex; justify-content: center; }
.hero__photo {
  position: relative;
  width: min(380px, 90%);
  animation: heroFloat 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero__photo > img {
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(43, 17, 80, .45), 0 0 0 8px rgba(255,255,255,.14);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
/* La lavadora feliz saluda en grande: cercanía hidroamiga */
.hero__sticker {
  position: absolute;
  top: -34px; right: -30px;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 16px 40px rgba(43, 17, 80, .4);
  animation: stickerWiggle 4s ease-in-out infinite;
  will-change: transform;
}
.hero__sticker img { width: 62px; height: 62px; }
@keyframes stickerWiggle {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(7deg) translateY(-8px); }
}
.hero__chip {
  position: absolute;
  background: #fff;
  color: var(--purple);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .85rem;
  padding: .45rem .95rem;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(43, 17, 80, .3);
  white-space: nowrap;
  will-change: transform;
}
.hero__chip--1 { bottom: 14%; left: -13%; animation: chipFloat 4.5s ease-in-out infinite; }
.hero__chip--2 { bottom: -4%; right: 4%; animation: chipFloat 5.2s ease-in-out infinite .7s; }
@keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Burbujas ambientales sobre fondos degradados (JS las genera) */
.bubbles-zone { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.bubble {
  position: absolute;
  bottom: -90px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.65), rgba(255,255,255,.08) 46%, rgba(255,255,255,.16) 70%, rgba(255,255,255,.32));
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: inset -4px -4px 10px rgba(255,255,255,.18);
  animation: bubbleRise linear infinite;
  will-change: transform, opacity;
}
.bubble::after {
  content: "";
  position: absolute;
  top: 18%; left: 22%;
  width: 26%; height: 16%;
  border-radius: 50%;
  background: rgba(255,255,255,.75);
  transform: rotate(-30deg);
  filter: blur(1px);
}
@keyframes bubbleRise {
  0% { transform: translateY(0) translateX(0) scale(.85); opacity: 0; }
  8% { opacity: 1; }
  50% { transform: translateY(-55vh) translateX(var(--sway, 24px)) scale(1); }
  100% { transform: translateY(-112vh) translateX(calc(var(--sway, 24px) * -1)) scale(1.08); opacity: 0; }
}

/* ─────────── Ondas de agua (pronunciadas, doble capa) ─────────── */
.wave { position: absolute; left: 0; right: 0; line-height: 0; }
.wave svg { width: 100%; height: clamp(60px, 10vw, 150px); display: block; }
.wave--hero { bottom: -1px; z-index: 3; }
.wave--top { top: -1px; }
.wave--top svg { height: clamp(48px, 8vw, 110px); }
.wave--footer { top: -1px; position: relative; margin-top: -1px; }
.wave--footer svg { height: clamp(40px, 6vw, 90px); }

/* ─────────── Secciones ─────────── */
.section { position: relative; padding: 5.5rem 0; }
.section--tint { background: linear-gradient(180deg, var(--lilac) 0%, var(--mint) 100%); padding-top: 7.5rem; }
.section__kicker {
  font-family: var(--font-accent);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--teal-dark);
  margin-bottom: .4rem;
}
.section__kicker--light { color: var(--teal-bright); }
/* Títulos en morado con acento verde de marca */
.section__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.12;
  color: var(--purple);
  margin-bottom: .8rem;
}
.section__title .verde { color: var(--verde-titulo); }
.section__title .amp { color: var(--verde-titulo); }
.section__sub { max-width: 40rem; color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 2.2rem; }

/* ─────────── Carrusel de beneficios ─────────── */
.section--benefits { padding-bottom: 4.5rem; }
.carousel-wrap { position: relative; }
.carousel {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.2rem max(calc((100vw - 1160px) / 2), 4vw) 1.8rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.benefit {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 152px;
  padding: 1.4rem 1rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(95, 36, 159, .1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  justify-items: center;
  gap: .7rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .92rem;
  color: var(--purple-ink);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.benefit img { width: 46px; height: 46px; pointer-events: none; transition: transform .3s ease; }
.benefit span { pointer-events: none; text-align: center; line-height: 1.25; }
.benefit:hover, .benefit:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(71, 24, 124, .22);
  border-color: var(--teal-bright);
}
.benefit:hover img { transform: scale(1.15) rotate(-6deg); }

/* ─────────── Cards de servicios ─────────── */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 1.6rem; }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.9rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(95, 36, 159, .07);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(71, 24, 124, .2); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.card__icon img { width: 36px; height: 36px; transition: transform .35s ease; }
.card:hover .card__icon img { transform: scale(1.12) rotate(-5deg); }
.card__icon--wash { background: linear-gradient(135deg, var(--purple), var(--violet)); }
.card__icon--dry { background: linear-gradient(135deg, var(--blue), var(--teal)); }
.card__icon--soap { background: linear-gradient(135deg, var(--teal), var(--teal-bright)); }
.card__icon--points { background: linear-gradient(135deg, var(--violet), var(--blue)); }
.card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--purple-ink); margin-bottom: .5rem; }
.card p { font-size: .95rem; color: var(--ink-soft); }
.card a { font-weight: 800; }

/* ─────────── Pasos ─────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  list-style: none;
  margin-top: 2.4rem;
}
.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.6rem 1.5rem 1.8rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .3s ease;
}
.step:hover { transform: translateY(-6px); }
/* Íconos de señalética oficial en lugar de números */
.step__icon {
  position: absolute;
  top: -28px; left: 1.4rem;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  box-shadow: 0 10px 24px rgba(52, 112, 168, .35);
}
.step__icon::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--grad);
  z-index: -1;
}
.step__icon img { width: 32px; height: 32px; transition: transform .35s ease; }
.step:hover .step__icon img { transform: scale(1.15) rotate(6deg); }
.step h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--purple-ink); margin-bottom: .4rem; }
.step p { font-size: .93rem; color: var(--ink-soft); }

/* ─────────── Hidroamigo (filosofía, lavadora feliz en grande) ─────────── */
.hidroamigo {
  position: relative;
  background: var(--grad);
  background-size: 160% 160%;
  animation: gradShift 16s ease infinite;
  color: #fff;
  overflow: hidden;
  padding: 6rem 0 8.5rem;
}
.hidroamigo__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}
.hidroamigo__icon { display: grid; place-items: center; }
.hidroamigo__icon img {
  width: min(260px, 60vw);
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(43, 17, 80, .45));
  animation: amigoFloat 5s ease-in-out infinite;
  will-change: transform;
}
@keyframes amigoFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-18px) rotate(4deg); }
}
.hidroamigo__copy h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hidroamigo__copy em { font-style: normal; color: var(--teal-bright); }
.hidroamigo__copy p { font-size: 1.12rem; max-width: 32rem; opacity: .96; margin-bottom: 1.6rem; }

/* ─────────── Hidropuntos (split claro) ─────────── */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.4rem; align-items: center; position: relative; z-index: 2; }
.split__media img {
  border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(71, 24, 124, .3);
  transform: rotate(-3deg);
  transition: transform .4s ease;
}
.split__media:hover img { transform: rotate(0deg) scale(1.02); }
.checklist { list-style: none; margin: 1.2rem 0 1.8rem; display: grid; gap: .65rem; }
.checklist li { padding-left: 2.1rem; position: relative; font-weight: 700; }
.checklist--light li { color: var(--ink); }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 800;
}

/* ─────────── Galería ─────────── */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 1.6rem; }
.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.2rem .9rem;
  background: linear-gradient(transparent, rgba(43, 17, 80, .85));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  transform: translateY(30%);
  opacity: 0;
  transition: all .35s ease;
}
.gallery__item:hover figcaption { transform: translateY(0); opacity: 1; }

/* Lightbox con navegación */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(43, 17, 80, .93);
  display: grid; place-items: center;
  z-index: 200;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox figure { display: grid; gap: .8rem; justify-items: center; max-width: 92vw; }
.lightbox img { max-height: 78vh; max-width: 92vw; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox figcaption { color: #fff; font-family: var(--font-head); font-weight: 800; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 1.35rem;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
  display: grid; place-items: center;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,.3); transform: scale(1.07); }
.lightbox__close { top: 1.2rem; right: 1.6rem; }
.lightbox__prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover, .lightbox__next:hover { transform: translateY(-50%) scale(1.07); }

/* ─────────── Ubicación ─────────── */
.location { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.2rem; align-items: stretch; margin-top: 1.6rem; }
.hours {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.7rem;
  margin-bottom: 1.4rem;
}
.hours__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .8rem 0;
  gap: 1rem;
}
.hours__row + .hours__row { border-top: 2px dashed var(--lilac); }
.hours__row span { font-weight: 700; color: var(--ink-soft); }
.hours__row strong {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.12rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.address { font-style: normal; color: var(--ink-soft); margin-bottom: 1.5rem; line-height: 1.8; }
.address strong { color: var(--purple-ink); font-family: var(--font-head); font-weight: 800; }
.address a { font-weight: 800; color: var(--purple); }
.location__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.location__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 380px;
}
.location__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ─────────── FAQ ─────────── */
.section--faq { padding-bottom: 6rem; }
.faq { display: grid; gap: .9rem; margin-top: 1.6rem; }
.faq__item {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(95, 36, 159, .08);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3.2rem 1.15rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--purple-ink);
  position: relative;
  transition: color .25s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 1.2rem;
  transition: transform .3s ease, background .3s ease;
}
.faq__item[open] summary { color: var(--teal-dark); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--grad); color: #fff; }
.faq__item p { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }

/* ─────────── CTA final ─────────── */
.cta {
  position: relative;
  background: var(--grad);
  background-size: 160% 160%;
  animation: gradShift 14s ease infinite;
  color: #fff;
  text-align: center;
  padding: 5.5rem 0;
  overflow: hidden;
}
.cta__inner { position: relative; z-index: 2; }
.cta__icon { width: 84px; height: 84px; margin: 0 auto 1rem; animation: amigoFloat 4.5s ease-in-out infinite; }
.cta h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: .7rem; }
.cta p { font-size: 1.15rem; opacity: .95; margin-bottom: 1.8rem; }

/* ─────────── Footer ─────────── */
.footer { background: var(--purple-ink); color: rgba(255,255,255,.85); position: relative; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.4rem;
  padding: 3.2rem 0 2.4rem;
}
.footer__logo { height: 52px; width: auto; margin-bottom: 1rem; }
.footer__brand p { font-size: .95rem; max-width: 20rem; }
.footer__col h4 {
  font-family: var(--font-accent);
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .9rem;
  font-size: .9rem;
}
.footer__col a { display: block; color: rgba(255,255,255,.75); padding: .28rem 0; font-weight: 600; transition: color .25s ease, transform .25s ease; }
.footer__col a:hover { color: var(--teal-bright); transform: translateX(4px); }
.footer__col p { font-size: .95rem; padding: .22rem 0; }
.socials { display: flex; gap: .7rem; margin-bottom: .9rem; }
.socials a {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  transition: all .3s ease;
  padding: 0;
}
.socials a:hover { background: var(--grad); transform: translateY(-4px) scale(1.06); border-color: transparent; }
.socials svg { width: 21px; height: 21px; }
.footer__hashtag { font-family: var(--font-head); font-weight: 800; color: var(--teal-bright); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 1.3rem 0 1.6rem;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}
.footer__bottom a { color: var(--teal-bright); font-weight: 800; }

/* ─────────── Volver arriba ─────────── */
.to-top {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--grad);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(52, 112, 168, .45);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all .35s ease;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); }

/* ─────────── Reveal on scroll ─────────── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .12s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .24s; }
.cards .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .36s; }
.gallery .reveal:nth-child(2), .gallery .reveal:nth-child(6) { transition-delay: .1s; }
.gallery .reveal:nth-child(3), .gallery .reveal:nth-child(7) { transition-delay: .2s; }
.gallery .reveal:nth-child(4), .gallery .reveal:nth-child(8) { transition-delay: .3s; }

/* Movimiento reducido: el contenido siempre visible, ambiente sereno */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__photo, .hero__sticker, .hero__chip, .cta__icon, .hidroamigo__icon img { animation: none; }
}

/* ─────────── Responsive ─────────── */
@media (max-width: 1024px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps { row-gap: 2.8rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .hero__chip--1 { left: -4%; }
}

@media (max-width: 820px) {
  .hero { padding: 6.5rem 0 8rem; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 2.4rem; }
  .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__kicker { font-size: .78rem; }
  .hero__media { margin-top: .8rem; }
  .hero__photo { width: min(310px, 84%); }
  .hero__sticker { width: 84px; height: 84px; top: -26px; right: -18px; }
  .hero__sticker img { width: 50px; height: 50px; }
  .hero__chip { font-size: .78rem; padding: .4rem .85rem; }
  .hero__chip--1 { bottom: 12%; left: -7%; }
  .hero__chip--2 { bottom: -4%; right: 0; }
  .brand__logo { height: 38px; }
  .hidroamigo__inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hidroamigo__icon img { width: min(190px, 50vw); }
  .hidroamigo__copy p { margin-inline: auto; }
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .split__media { max-width: 400px; margin-inline: auto; }
  .location { grid-template-columns: 1fr; }
  .location__map { min-height: 300px; }
  .location__map iframe { min-height: 300px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .benefit { width: 138px; }
  .nav a, .btn, .faq__item summary, .socials a, .benefit { -webkit-tap-highlight-color: rgba(0, 207, 180, .25); }
  .btn { padding: .95rem 1.9rem; }

  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, var(--purple-deep), var(--blue) 60%, var(--teal-dark));
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.7, 0, .3, 1);
    z-index: 100;
  }
  .header.nav-open .nav { transform: translateX(0); }
  .nav a:not(.btn) { color: #fff !important; font-size: 1.35rem; font-weight: 800; }
  .header.nav-open .burger span { background: #fff; }
}

@media (max-width: 540px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .steps { row-gap: 2.8rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer__bottom { justify-content: center; text-align: center; }
  .hero__title { font-size: clamp(2.4rem, 11.5vw, 3rem); }
  .hero__chip--1 { left: 0; }
  .brand__logo { height: 34px; }
  .section { padding: 4.2rem 0; }
  .section--tint { padding-top: 6rem; }
  .hidroamigo { padding: 4.5rem 0 7rem; }
  .cta__icon { width: 64px; height: 64px; }
  .to-top { width: 48px; height: 48px; right: 1rem; bottom: 1rem; }
  .lightbox__prev { left: .5rem; }
  .lightbox__next { right: .5rem; }
}
