/* Limpex — estilos (mobile-first: 360 → 768 → 1200) */
:root {
  --navy: #032661;
  --teal: #38B8C0;
  --pink: #F8709C;
  --yellow: #F8C818;
  --aqua: #7FD0D8;
  --p-blue: #DFF3F8;
  --p-pink: #FCE4EE;
  --p-lav: #E6DAF3;
  --p-yellow: #FFF5CC;
  --p-green: #E8F4D9;
  --bg: #FFFFFF;
  --wa: #25D366;
  /* versiones oscuras para texto sobre blanco (contraste AA) */
  --pink-ink: #C2185B;
  --teal-ink: #17727A;
  --texto: #032661;
  --texto-suave: #3A4A6B;

  --f-titulo: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --f-texto: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mano: "Caveat Brush", "Comic Sans MS", cursive;

  --radio: 22px;
  --sombra: 0 8px 24px rgba(3, 38, 97, .10);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--texto);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-titulo); line-height: 1.12; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--pink-ink); outline-offset: 3px; border-radius: 8px; }

.contenedor { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.centro { text-align: center; }

.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.saltar:focus { top: 10px; }

/* --- Acentos manuscritos --- */
.manuscrita { font-family: var(--f-mano); font-weight: 400; font-style: normal; letter-spacing: .01em; }
.manuscrita--rosa { color: var(--pink-ink); }
.manuscrita--rosa-claro { color: var(--pink); }        /* solo sobre azul marino */
.manuscrita--turquesa-claro { color: var(--aqua); }   /* solo sobre azul marino */
.manuscrita--amarillo { color: var(--yellow); }       /* solo sobre azul marino */

/* --- Botones --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-titulo); font-weight: 800; font-size: 1.08rem; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 1.3em; height: 1.3em; flex: none; }
.btn--wa { background: var(--wa); color: var(--navy); box-shadow: 0 6px 16px rgba(37, 211, 102, .35); }
.btn--wa:hover { background: #3be07a; }
.btn--linea { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--linea:hover { background: var(--p-blue); }
.btn--chico { min-height: 44px; padding: .55em 1.05em; font-size: 1rem; }
.ico { width: 1.2em; height: 1.2em; }

/* --- Header --- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 14px rgba(3, 38, 97, .08);
}
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.header__logo img { width: 126px; height: auto; }

/* --- Hero --- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 28px) 0 48px;
  background:
    radial-gradient(closest-side, rgba(127, 208, 216, .45), transparent) -120px -80px / 360px 360px no-repeat,
    radial-gradient(closest-side, rgba(248, 112, 156, .22), transparent) calc(100% + 140px) 60% / 380px 380px no-repeat,
    radial-gradient(closest-side, rgba(230, 218, 243, .7), transparent) 30% 105% / 420px 260px no-repeat;
}
.hero__in { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 8.6vw, 3.6rem); font-weight: 800; letter-spacing: -.01em; }
.hero h1 .manuscrita { display: inline-block; font-size: 1.12em; transform: rotate(-3deg); }
.hero__bajada { margin-top: 14px; font-size: 1.15rem; color: var(--texto-suave); max-width: 32ch; }
.hero__botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__img { position: relative; }
.hero__img img {
  width: 100%;
  border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%;
  border: 6px solid #fff;
  box-shadow: 0 0 0 5px var(--aqua), var(--sombra);
}
.burbuja {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0 18%, rgba(223, 243, 248, .55) 40%, rgba(127, 208, 216, .35));
  border: 2px solid rgba(255, 255, 255, .9);
  box-shadow: inset 0 0 8px rgba(56, 184, 192, .35);
}
.b1 { width: 54px; height: 54px; left: -6px; top: 8%; }
.b2 { width: 30px; height: 30px; left: 38px; top: -4px; }
.b3 { width: 40px; height: 40px; right: 2%; bottom: 4%; }
.destello { position: absolute; right: 8%; top: 2%; width: 34px; height: 34px; color: var(--yellow); }
@media (prefers-reduced-motion: no-preference) {
  .burbuja { animation: flotar 6s ease-in-out infinite; }
  .b2 { animation-delay: -2s; } .b3 { animation-delay: -4s; }
  @keyframes flotar { 50% { transform: translateY(-10px); } }
}

/* --- Títulos de sección --- */
section { position: relative; }
.titulo {
  font-size: clamp(1.75rem, 6vw, 2.5rem); font-weight: 800; text-transform: uppercase; text-align: center;
}
.titulo .manuscrita { text-transform: none; font-size: 1.15em; display: inline-block; transform: rotate(-3deg); }
.sub { text-align: center; color: var(--texto-suave); max-width: 52ch; margin: 10px auto 0; }
.cinta {
  display: block; width: fit-content; max-width: 100%; margin: 0 auto;
  padding: .45em 1.2em;
  font-size: clamp(1.1rem, 4.6vw, 1.6rem); font-weight: 800; text-transform: uppercase; text-align: center;
  background: var(--aqua); color: var(--navy);
  border-radius: 6px 18px 8px 16px;
  transform: rotate(-1deg);
}

/* --- Burbujas de íconos --- */
.burbuja-ico {
  display: grid; place-items: center; flex: none;
  width: 84px; height: 84px; border-radius: 48% 52% 46% 54% / 55% 45% 55% 45%;
  color: var(--navy);
}
.burbuja-ico svg { width: 52%; height: 52%; }
.burbuja-ico.chica { width: 56px; height: 56px; }
.bg-blue { background: var(--p-blue); } .bg-pink { background: var(--p-pink); } .bg-lav { background: var(--p-lav); }
.bg-yellow { background: var(--p-yellow); } .bg-green { background: var(--p-green); }

/* --- Rubros --- */
.rubros { padding: 44px 0 40px; }
.rubros__lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 10px; margin-top: 30px; }
.rubros__lista a {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; text-decoration: none; font-size: .95rem; line-height: 1.2; color: var(--texto-suave);
  padding: 8px 4px; border-radius: 16px; min-height: 44px;
}
.rubros__lista strong { display: block; color: var(--navy); font-family: var(--f-titulo); font-size: 1.08rem; }
.rubros__lista a:hover .burbuja-ico { transform: translateY(-4px) rotate(-3deg); }
.rubros__lista .burbuja-ico { transition: transform .2s ease; }

/* --- Valores --- */
.valores { background: var(--navy); color: #fff; padding: 28px 0; }
.valores__lista { display: grid; gap: 18px; }
.valores__lista li {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  font-family: var(--f-titulo); font-weight: 800; font-size: 1.35rem;
}
.valores__lista em { font-size: 1.3em; }
.v-ico { width: 46px; height: 46px; flex: none; }
.v-ico.rosa { color: var(--pink); } .v-ico.turquesa { color: var(--teal); } .v-ico.amarillo { color: var(--yellow); }

/* --- Catálogo --- */
.catalogo { padding: 56px 0 48px; background: linear-gradient(#fff, var(--p-blue) 30%, #fff); }
.pestanas {
  display: flex; gap: 6px; margin: 26px auto 24px; padding: 6px;
  width: fit-content; max-width: 100%;
  background: #fff; border-radius: 999px; box-shadow: var(--sombra);
}
.pestanas button {
  min-height: 46px; padding: .5em 1.1em; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--f-titulo); font-weight: 800; font-size: 1rem; color: var(--navy); background: transparent;
}
.pestanas button[aria-selected="true"] { background: var(--navy); color: #fff; }
.pestanas button:not([aria-selected="true"]):hover { background: var(--p-pink); }
.panel h3.panel__t { text-align: center; font-size: 1.3rem; margin-bottom: 18px; }
.tarjetas { display: grid; gap: 20px; }
.tarjeta {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radio); overflow: hidden;
  box-shadow: var(--sombra); border: 2px solid var(--p-blue);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.tarjeta:nth-child(5n+2) { border-color: var(--p-pink); }
.tarjeta:nth-child(5n+3) { border-color: var(--p-lav); }
.tarjeta:nth-child(5n+4) { border-color: var(--p-yellow); }
.tarjeta:nth-child(5n+5) { border-color: var(--p-green); }
.tarjeta.resaltada { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(248, 112, 156, .35), var(--sombra); }
.tarjeta img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tarjeta__cuerpo { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.tarjeta h4 { font-family: var(--f-titulo); font-size: 1.35rem; font-weight: 800; line-height: 1.15; margin: 0 0 8px; }
.tarjeta ul { flex: 1; margin-bottom: 16px; }
.tarjeta li { position: relative; padding: 3px 0 3px 22px; color: var(--texto-suave); }
.tarjeta li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-radius: 50%;
  background: var(--aqua);
}
.tarjeta .btn { align-self: flex-start; }
.catalogo__cta { text-align: center; margin-top: 32px; }

/* --- Cómo pedir --- */
.pedir { padding: 56px 0; }
.pasos { display: grid; gap: 18px; margin-top: 28px; counter-reset: paso; }
.pasos li {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center;
  padding: 18px; border-radius: var(--radio); background: #fff; box-shadow: var(--sombra);
}
.pasos .burbuja-ico { grid-row: span 2; width: 68px; height: 68px; }
.pasos b {
  position: absolute; top: -10px; left: -6px; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--f-titulo);
}
.pasos h3 { font-size: 1.2rem; }
.pasos p { color: var(--texto-suave); font-size: .98rem; }
.pagos { margin: 34px auto 28px; text-align: center; }
.pagos h3 { font-size: 1.3rem; text-transform: uppercase; }
.pagos ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 26px; margin-top: 16px; }
.pagos li { display: flex; align-items: center; gap: 10px; font-weight: 700; }

/* --- Próximamente --- */
.proximamente {
  background: var(--yellow); color: var(--navy); padding: 22px 0;
  background-image: radial-gradient(circle at 8% 50%, rgba(255, 255, 255, .35) 0 40px, transparent 41px),
                    radial-gradient(circle at 92% 40%, rgba(248, 112, 156, .25) 0 60px, transparent 61px);
}
.proximamente__in { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.proximamente p { font-family: var(--f-titulo); font-size: clamp(1.25rem, 5vw, 1.8rem); line-height: 1.15; }
.proximamente strong { font-weight: 800; display: block; }
.proximamente .manuscrita { font-size: 1.12em; }
.mega, .proximamente .corazon { width: 42px; height: 42px; flex: none; }
.proximamente .corazon { color: var(--pink-ink); }

/* --- Visitanos --- */
.visita { padding: 56px 0; }
.visita__in { display: grid; gap: 28px; }
.visita .titulo { text-align: left; margin-bottom: 22px; }
.dato { display: flex; gap: 14px; margin-bottom: 20px; }
.dato h3 { font-size: 1.15rem; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 4px; }
.dato .ref { font-size: 1.45rem; margin-top: 4px; }
.horas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.horas li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; background: var(--p-pink); font-weight: 700;
}
.h-ico { width: 22px; height: 22px; }
.h-ico.sol { color: #B4530A; } .h-ico.luna { color: var(--navy); }
.cerrado { margin-top: 8px; color: var(--texto-suave); font-size: .95rem; }
.visita__botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.visita__mapa iframe {
  width: 100%; height: 340px; border: 0; border-radius: var(--radio);
  box-shadow: 0 0 0 5px var(--p-blue), var(--sombra); background: var(--p-blue);
}

/* --- Cierre --- */
.cierre {
  padding: 56px 0 64px; text-align: center;
  background:
    radial-gradient(closest-side, rgba(248, 112, 156, .22), transparent) -90px 20% / 300px 300px no-repeat,
    radial-gradient(closest-side, rgba(127, 208, 216, .4), transparent) calc(100% + 90px) 80% / 320px 320px no-repeat,
    var(--p-pink);
}
.cierre__in { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cierre__ico { width: 64px; height: 64px; color: var(--navy); }
.cierre h2 { font-size: clamp(1.7rem, 6.4vw, 2.6rem); font-weight: 800; max-width: 22ch; }
.cierre h2 .manuscrita { display: block; font-size: 1.12em; margin-top: 4px; }
.cierre p { font-size: 1.12rem; color: var(--texto-suave); margin-bottom: 8px; }

/* --- Footer --- */
.footer { background: var(--navy); color: #fff; padding: 40px 0 92px; }
.footer__in { display: grid; gap: 24px; }
.footer__marca img { width: 170px; }
.footer__marca p { margin-top: 8px; font-weight: 600; color: var(--aqua); }
.footer__datos li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.footer__datos .ico { flex: none; margin-top: .2em; color: var(--aqua); }
.footer__datos a { display: inline-block; padding: 6px 0; font-weight: 700; }
.footer__credito { text-align: center; margin-top: 28px; font-size: .9rem; color: #C9D3E6; }
.footer__credito a { display: inline-block; padding: 12px 4px; }

/* --- WhatsApp flotante --- */
.wa-flotante {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff;
  box-shadow: 0 6px 18px rgba(3, 38, 97, .3);
  transition: transform .15s ease;
}
.wa-flotante svg { width: 34px; height: 34px; }
.wa-flotante:hover { transform: scale(1.07); }

/* --- 768 px --- */
@media (min-width: 768px) {
  :root { --header-h: 76px; }
  .header__logo img { width: 150px; }
  .rubros__lista { grid-template-columns: repeat(6, 1fr); }
  .valores__lista { grid-template-columns: repeat(3, 1fr); }
  .valores__lista li { flex-direction: column; gap: 6px; text-align: center; }
  .valores__lista li + li { border-left: 2px dashed rgba(255, 255, 255, .3); }
  .tarjetas { grid-template-columns: repeat(2, 1fr); }
  .pasos { grid-template-columns: repeat(3, 1fr); }
  .pasos li { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 26px 18px; }
  .pasos .burbuja-ico { grid-row: auto; }
  .footer__in { grid-template-columns: 1fr 1.6fr; align-items: start; }
}

/* --- 1200 px --- */
@media (min-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + 48px); padding-bottom: 72px; }
  .hero__in { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .visita__in { grid-template-columns: 1fr 1.15fr; align-items: center; gap: 40px; }
  .visita__mapa iframe { height: 420px; }
}
@media (min-width: 1100px) {
  .tarjetas { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
