/* =========================================================
   Eklectica Sublim — Imprenta digital y taller de diseño
   Durango, Dgo. · Hoja de estilos principal
   Paleta base: #382954 · #523667 · #F7F7F7
   ========================================================= */

:root {
  /* Paleta corporativa */
  --brand-900: #382954;
  --brand-700: #523667;
  --brand-500: #6f4c8e;
  --brand-100: #ece7f3;
  --surface: #f7f7f7;
  --white: #ffffff;
  --ink: #2a1f3d;
  --ink-soft: #55496b;

  /* Acentos eclécticos */
  --yellow: #f5b700;
  --pink: #ff5d8f;
  --pink-strong: #d81b60;
  --teal: #2ec4b6;
  --orange: #ff8c42;
  /* Verde compartido por el botón del navbar y el widget flotante.
     Más profundo que el #25d366 de marca: con texto blanco alcanza
     5.02:1 (mínimo 4.5:1 para texto pequeño); el verde brillante
     se quedaba en 1.98:1. */
  --whatsapp: #15803d;
  --whatsapp-hover: #11692f;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(56, 41, 84, .10);
  --shadow-md: 0 12px 32px rgba(56, 41, 84, .16);
  --shadow-lg: 0 22px 60px rgba(56, 41, 84, .28);

  --nav-h: 74px;
  --fade-h: 96px;

  --font-head: "Baloo 2", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  font-size: 1.02rem;
  line-height: 1.68;
  /* Nota: no usar overflow-x aquí; rompería el position:sticky del header.
     Cada bloque que puede desbordar controla su propio overflow. */
}

h1, h2, h3, .navbar-brand strong, .footer-title {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.05rem, 5.2vw, 3.35rem); color: var(--brand-900); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); color: var(--brand-900); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--brand-700); }

a { color: var(--brand-700); text-underline-offset: 3px; }
a:hover, a:focus { color: var(--pink-strong); }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--brand-900);
  color: #fff;
  padding: .8rem 1.2rem;
  border-radius: 0 0 12px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section-light { background: var(--surface); }

/* ---------- Fondo animado: manchas de tinta a la deriva ----------
   Se animan solo con transform, así que el desenfoque se calcula una
   vez y el navegador compone en GPU sin repintar cada fotograma. */
.section, .hero, .cta-final {
  overflow: hidden;
  isolation: isolate;
  --blob-a: var(--teal);
  --blob-b: var(--pink);
}
.section > .container,
.hero > .container,
.cta-final > .container { position: relative; z-index: 1; }

.section::before, .section::after,
.hero::before, .hero::after,
.cta-final::before, .cta-final::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(46vw, 520px);
  height: min(46vw, 520px);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(65px);
  opacity: .22;
}
.section::before, .hero::before, .cta-final::before {
  left: -10vw;
  top: -12%;
  background: radial-gradient(circle, var(--blob-a) 0%, transparent 68%);
  animation: derivaA 27s ease-in-out infinite alternate;
}
.section::after, .hero::after, .cta-final::after {
  right: -9vw;
  bottom: -14%;
  background: radial-gradient(circle, var(--blob-b) 0%, transparent 68%);
  animation: derivaB 34s ease-in-out infinite alternate;
}
.section-deep::before, .section-deep::after { opacity: .34; }

@keyframes derivaA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(8vw, 5vh, 0) scale(1.18); }
}
@keyframes derivaB {
  from { transform: translate3d(0, 0, 0) scale(1.12); }
  to   { transform: translate3d(-7vw, -6vh, 0) scale(.9); }
}

/* Una paleta distinta por sección para reforzar el aire ecléctico */
.hero      { --blob-a: var(--teal);   --blob-b: var(--yellow); }
#servicios { --blob-a: var(--pink);   --blob-b: var(--yellow); }
#productos { --blob-a: var(--yellow); --blob-b: var(--pink); }
#galeria   { --blob-a: var(--teal);   --blob-b: var(--orange); }
#redes     { --blob-a: var(--pink);   --blob-b: var(--teal); }
#resenas   { --blob-a: var(--orange); --blob-b: var(--teal); }
#ubicacion { --blob-a: var(--yellow); --blob-b: var(--pink); }
#faq       { --blob-a: var(--teal);   --blob-b: var(--yellow); }
.cta-final { --blob-a: var(--pink);   --blob-b: var(--teal); }

/* En móvil: una sola mancha, más pequeña y con menos desenfoque. */
@media (max-width: 767.98px) {
  .section::before, .hero::before, .cta-final::before {
    width: 62vw; height: 62vw; filter: blur(45px);
  }
  .section::after, .hero::after, .cta-final::after { display: none; }
}
.section-deep {
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-700) 100%);
  color: #f1ecf7;
}
.section-deep h2 { color: #fff; }
.section-deep h3 { color: var(--yellow); }

.section-head { max-width: 56ch; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-intro { color: var(--ink-soft); margin-bottom: 0; }
.section-deep .section-intro { color: #d9d0e8; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .78rem;
  color: var(--pink-strong);
  margin-bottom: .5rem;
}
.section-deep .eyebrow, .hero .eyebrow { color: var(--yellow); }

/* ---------- Botones ---------- */
.btn {
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: 999px;
  padding: .72rem 1.5rem;
  border: 0;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.btn:active { transform: translateY(1px); }

.btn-wa {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 20px rgba(21, 128, 61, .35);
}
.btn-wa:hover, .btn-wa:focus {
  background: var(--whatsapp-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(21, 128, 61, .45);
}

.btn-ghost {
  background: transparent;
  color: var(--brand-700);
  box-shadow: inset 0 0 0 2.5px var(--brand-700);
}
.btn-ghost:hover, .btn-ghost:focus {
  background: var(--brand-700);
  color: #fff;
  transform: translateY(-2px);
}

.btn .ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- Header / navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(247, 247, 247, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--brand-700), var(--pink), var(--yellow), var(--teal)) 1;
}
.navbar { min-height: var(--nav-h); padding-block: .5rem; }

.navbar-brand { display: flex; align-items: center; gap: .65rem; padding: 0; }
.brand-logo {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--brand-700);
  background: #fff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.12rem; color: var(--brand-900); }
.brand-text small { font-size: .72rem; color: var(--ink-soft); font-weight: 600; }

.navbar .nav-link {
  font-weight: 700;
  color: var(--brand-900);
  padding: .45rem .7rem;
  border-radius: 999px;
}
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--pink-strong); background: var(--brand-100); }

.navbar-toggler { border: 2px solid var(--brand-700); border-radius: 12px; padding: .35rem .6rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23382954' stroke-linecap='round' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Bloque CTA + hamburguesa, fuera del collapse para que el botón de
   WhatsApp siga visible aunque el menú esté cerrado. */
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-cta { padding: .55rem 1.05rem; font-size: .93rem; white-space: nowrap; }
.nav-cta-corto { display: none; }

@media (min-width: 992px) {
  /* En escritorio: marca · menú · botón */
  .nav-actions { order: 3; }
  .navbar-collapse { order: 2; }
}

@media (max-width: 991.98px) {
  .navbar-collapse { padding-top: .75rem; }
  .navbar .nav-item { width: 100%; }
}

/* En pantallas estrechas se recorta la etiqueta y el subtítulo de la
   marca para que marca + botón + hamburguesa quepan en una sola línea. */
@media (max-width: 575.98px) {
  .nav-cta { padding: .5rem .8rem; font-size: .85rem; gap: .35rem; }
  .nav-cta-largo { display: none; }
  .nav-cta-corto { display: inline; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: 1rem; }
  .brand-logo { width: 40px; height: 40px; }
  .nav-actions { gap: .35rem; }
}

/* ---------- Difuminado superior/inferior del viewport ---------- */
.viewport-fade {
  position: fixed;
  left: 0;
  right: 0;
  height: var(--fade-h);
  pointer-events: none;
  z-index: 1035;
}
.viewport-fade::before,
.viewport-fade::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}
/* Capa 1: desenfoque suave y amplio */
.viewport-fade::before {
  top: 0; bottom: 0;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
/* Capa 2: desenfoque más intenso pegado al borde */
.viewport-fade::after {
  height: 55%;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.viewport-fade--top { top: var(--nav-h); }
.viewport-fade--top::before {
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 85%);
  mask-image: linear-gradient(to top, transparent 0%, #000 85%);
}
.viewport-fade--top::after {
  top: 0;
  background: linear-gradient(to bottom, rgba(247, 247, 247, .55), rgba(247, 247, 247, 0));
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 90%);
  mask-image: linear-gradient(to top, transparent 0%, #000 90%);
}

.viewport-fade--bottom { bottom: 0; }
.viewport-fade--bottom::before {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 85%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 85%);
}
.viewport-fade--bottom::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(247, 247, 247, .55), rgba(247, 247, 247, 0));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 90%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 90%);
}

/* Sin soporte de backdrop-filter: degradado simple, sin capas vacías */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .viewport-fade::before { display: none; }
  .viewport-fade--top::after { height: 100%; -webkit-mask-image: none; mask-image: none; }
  .viewport-fade--bottom::after { height: 100%; -webkit-mask-image: none; mask-image: none; }
}

@media (max-width: 575.98px) { :root { --fade-h: 64px; --nav-h: 66px; } }
@media print { .viewport-fade, .wa-fab, .site-header { display: none !important; } }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .3, 1);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; will-change: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .section::before, .section::after,
  .hero::before, .hero::after,
  .cta-final::before, .cta-final::after { animation: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(46, 196, 182, .10), transparent 60%),
    radial-gradient(800px 520px at 92% 8%, rgba(255, 93, 143, .10), transparent 62%),
    radial-gradient(700px 460px at 55% 110%, rgba(245, 183, 0, .12), transparent 60%),
    var(--surface);
  overflow: hidden;
}
/* ---------- Brochazos de tinta del hero ---------- */
.brochazos {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.brochazos .trazo {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  animation: pintar 1.9s cubic-bezier(.42, .04, .22, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes pintar {
  0%   { stroke-dashoffset: 1; opacity: 0; }
  12%  { opacity: var(--o, .3); }
  100% { stroke-dashoffset: 0; opacity: var(--o, .3); }
}

/* Este bloque va DESPUÉS de .brochazos .trazo a propósito: con la misma
   especificidad gana la última regla, así que aquí es donde el estado
   "ya pintado" sobrescribe al estado inicial invisible. Sin animación
   los trazos deben verse, no desaparecer. */
@media (prefers-reduced-motion: reduce) {
  .brochazos .trazo {
    stroke-dashoffset: 0;
    opacity: var(--o, .3);
    animation: none;
  }
}

.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink); margin-bottom: 1rem; }
.hero .lead-sub { color: var(--ink-soft); margin-bottom: 1.75rem; }

/* Nunito 800 para los destacados del hero (el bold normal es 700). */
.hero strong { font-weight: 800; color: var(--brand-900); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.75rem; }

.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem .5rem; margin: 0; }
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1.5px solid var(--brand-100);
  border-radius: 999px;
  padding: .38rem .9rem;
  font-weight: 700;
  font-size: .88rem;
  color: var(--brand-900);
  box-shadow: var(--shadow-sm);
}
.dot { width: .62rem; height: .62rem; border-radius: 50%; flex: none; }
.dot-yellow { background: var(--yellow); }
.dot-pink { background: var(--pink); }
.dot-teal { background: var(--teal); }

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  padding: 1.1rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.hero-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 4px dashed rgba(82, 54, 103, .35);
  animation: giro 34s linear infinite;
}
@keyframes giro { to { transform: rotate(360deg); } }

.hero-logo {
  width: min(360px, 78vw);
  height: auto;
  border-radius: 50%;
  display: block;
}

/* ---------- Tarjetas de servicio ---------- */
.card-eklectic {
  height: 100%;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 6px solid var(--brand-700);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card-eklectic:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-eklectic h3 { margin: .85rem 0 .5rem; }
.card-eklectic p { color: var(--ink-soft); margin: 0; }
.card-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: 16px;
  font-size: 1.5rem;
  background: var(--brand-100);
  line-height: 1;
}
.accent-purple { border-top-color: var(--brand-700); }
.accent-purple .card-ico { background: #ece7f3; }
.accent-pink { border-top-color: var(--pink); }
.accent-pink .card-ico { background: #ffe4ed; }
.accent-teal { border-top-color: var(--teal); }
.accent-teal .card-ico { background: #d9f6f3; }
.accent-yellow { border-top-color: var(--yellow); }
.accent-yellow .card-ico { background: #fdf0cc; }
.accent-orange { border-top-color: var(--orange); }
.accent-orange .card-ico { background: #ffe8d8; }

/* ---------- Chips de productos ---------- */
.chip-grid { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: 0 0 1rem; }
.chip-grid li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .28);
  color: #fff;
  border-radius: 999px;
  padding: .48rem 1.05rem .48rem .55rem;
  font-weight: 700;
  font-size: .93rem;
  cursor: default;
  transition: transform .22s cubic-bezier(.2, .8, .25, 1),
              background-color .22s ease,
              box-shadow .22s ease;
}
.chip-grid li:nth-child(4n + 1) { border-color: var(--yellow); }
.chip-grid li:nth-child(4n + 2) { border-color: var(--pink); }
.chip-grid li:nth-child(4n + 3) { border-color: var(--teal); }
.chip-grid li:nth-child(4n) { border-color: var(--orange); }

/* Icono del artículo dentro del chip.
   Fondo claro a propósito: los emoji están dibujados para leerse sobre
   superficies claras y varios (☕ 📓 🖊️ 📿 🧢) son de tonos oscuros que
   se perdían contra el morado de la sección. */
.chip-ico {
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  flex: none;
  border-radius: 50%;
  background: #fdfcff;
  font-size: 1rem;
  line-height: 1;
  transition: transform .22s cubic-bezier(.2, .8, .25, 1), box-shadow .22s ease;
}

/* Efecto grow al pasar el cursor */
.chip-grid li:hover {
  transform: scale(1.12) translateY(-3px);
  background: rgba(255, 255, 255, .2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}
.chip-grid li:hover .chip-ico {
  transform: scale(1.18) rotate(-8deg);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .35);
}

.panel {
  height: 100%;
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.panel p { color: #ded6ea; margin: 0; }

/* ---------- Galería: tarjetas traslapadas ---------- */
.stack-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3rem 1rem 3.5rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.stack {
  display: flex;
  width: max-content;
  margin-inline: auto;
  padding-inline: 3rem;
}

.stack-item {
  --card-w: clamp(190px, 21vw, 265px);
  flex: 0 0 var(--card-w);
  width: var(--card-w);
  margin-left: calc(var(--card-w) * -.28);
  padding: .7rem .7rem 1.6rem;
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: calc(var(--i));
  transform: rotate(calc((var(--i) - 2) * 2.2deg));
  transform-origin: bottom center;
  transition: transform .35s cubic-bezier(.2, .8, .25, 1), box-shadow .35s ease;
  text-align: center;
}
.stack-item:first-child { margin-left: 0; }
.stack-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
  background: var(--brand-100);
}

/* La tarjeta siguiente tapa el 28% derecho, así que el texto se alinea
   a la izquierda y reserva ese margen para no quedar cortado. */
.stack-caption {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.25;
  color: var(--brand-900);
  padding: .6rem calc(28% + .35rem) .2rem .35rem;
  text-align: left;
  min-height: 2.9em;
}

.stack-item:hover,
.stack-item:focus-visible {
  transform: rotate(0deg) translateY(-16px) scale(1.16);
  box-shadow: var(--shadow-lg);
  z-index: 30;
}
.stack-item { position: relative; }
.stack-item::after {
  content: "Ver completa";
  position: absolute;
  inset: auto .7rem .55rem 1.05rem;
  opacity: 0;
  transition: opacity .3s ease;
  font-size: .68rem;
  font-weight: 800;
  color: var(--pink-strong);
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: left;
}
.stack-item:hover::after, .stack-item:focus-visible::after { opacity: 1; }

@media (max-width: 767.98px) {
  .stack-item { --card-w: clamp(160px, 46vw, 210px); margin-left: calc(var(--card-w) * -.22); }
  .stack { padding-inline: 1.5rem; }
  .stack-item:hover, .stack-item:focus-visible { transform: rotate(0deg) translateY(-8px) scale(1.06); }
}

/* Modal de la galería */
#galeriaModal .modal-content { border: 0; border-radius: var(--radius-lg); overflow: hidden; }
#galeriaModal .modal-header { background: var(--brand-900); color: #fff; border: 0; }
#galeriaModal .btn-close { filter: invert(1) grayscale(1) brightness(2); }
#galeriaModal .modal-body { text-align: center; padding: 1.5rem; background: #fff; }
#galeriaModalImg { max-width: 100%; height: auto; border-radius: var(--radius); }
.modal-caption { color: var(--ink-soft); margin: 1rem auto; max-width: 58ch; }

/* ---------- Selector de redes sociales ---------- */
.social-switch {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: .4rem;
  max-width: 560px;
  margin: 0 auto 2.25rem;
}
.social-tab {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 0;
  background: transparent;
  color: #e8e0f2;
  font-family: var(--font-head);
  font-weight: 700;
  padding: .6rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.social-tab:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.social-tab.is-active { background: #fff; color: var(--brand-900); transform: translateY(-1px); }

@media (max-width: 420px) {
  .social-switch { gap: .25rem; padding: .3rem; }
  .social-tab { padding: .55rem .35rem; font-size: .88rem; gap: .35rem; }
}

.social-ico { width: 1.05rem; height: 1.05rem; border-radius: 5px; flex: none; }
.social-ico.ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.social-ico.fb { background: #1877f2; }
.social-ico.tt { background: linear-gradient(45deg, #25f4ee, #000, #fe2c55); }

.social-pane[hidden] { display: none; }
.embed-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: flex-start;
  min-height: 240px;
}
.embed-card {
  background: #fff;
  border-radius: var(--radius);
  padding: .75rem;
  box-shadow: var(--shadow-md);
  max-width: 340px;
  width: 100%;
}
.embed-card > figcaption {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--brand-900);
  font-size: .92rem;
  padding: .6rem .3rem .2rem;
  text-align: center;
}
.embed-card iframe { border: 0; display: block; margin: 0 auto; max-width: 100%; border-radius: 12px; }
.embed-card blockquote { margin: 0 auto; }
.embed-loading { color: #ddd4ea; font-weight: 600; }

.social-links { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; margin-top: 2.25rem; }
.social-links a { color: var(--yellow); font-weight: 700; }
.social-links a:hover, .social-links a:focus { color: #fff; }

/* ---------- Carrusel de reseñas ---------- */
.reviews { position: relative; display: flex; align-items: center; gap: .5rem; }

.reviews-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .5rem .25rem 1.5rem;
  margin: 0;
  flex: 1 1 auto;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.4rem;
  border-left: 6px solid var(--pink);
}
.review-card:nth-child(4n + 2) { border-left-color: var(--teal); }
.review-card:nth-child(4n + 3) { border-left-color: var(--yellow); }
.review-card:nth-child(4n) { border-left-color: var(--brand-700); }

.review-card blockquote { margin: 0; display: flex; flex-direction: column; height: 100%; }
.review-card p { color: var(--ink); font-size: .98rem; margin-bottom: 1rem; flex: 1 1 auto; }
.review-card cite {
  display: block;
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--brand-900);
}
.review-card footer a { font-size: .8rem; font-weight: 700; }

@media (min-width: 576px) { .review-card { flex-basis: calc((100% - 1rem) / 2); } }
@media (min-width: 992px) { .review-card { flex-basis: calc((100% - 2rem) / 3); } }
@media (min-width: 1200px) { .review-card { flex-basis: calc((100% - 3rem) / 4); } }

.reviews-nav {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--brand-700);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color .2s ease, transform .2s ease;
}
.reviews-nav:hover { background: var(--pink-strong); transform: scale(1.06); }
.reviews-nav svg { width: 22px; height: 22px; }
.reviews-nav[disabled] { opacity: .3; cursor: default; transform: none; }
@media (max-width: 575.98px) { .reviews-nav { width: 38px; height: 38px; } }

/* ---------- Ubicación ---------- */
.info-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-md);
}
.info-card h3 { color: var(--brand-900); margin-bottom: 1.2rem; }
.info-list li { display: flex; gap: .85rem; margin-bottom: 1.15rem; }
.info-list strong { color: var(--brand-900); font-family: var(--font-head); }
.info-list address, .info-list p { margin: .15rem 0 .2rem; font-style: normal; color: var(--ink-soft); }
.info-ico {
  flex: none;
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--brand-100);
  font-size: 1.15rem;
}
.hours { width: 100%; margin-top: .35rem; font-size: .95rem; }
.hours th { font-weight: 600; color: var(--ink-soft); padding: .18rem 0; text-align: left; }
.hours td { text-align: right; font-weight: 700; color: var(--brand-900); padding: .18rem 0 .18rem .9rem; }

.map-card { display: flex; flex-direction: column; }
.map-frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--brand-500);
  display: grid;
  place-items: center;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { color: #efe9f7; font-weight: 600; padding: 2rem; text-align: center; margin: 0; }
.map-foot { margin: .9rem 0 0; text-align: center; }
.map-foot a { color: var(--yellow); font-weight: 700; }

/* ---------- FAQ ---------- */
.accordion-eklectic { max-width: 860px; margin-inline: auto; }
.accordion-eklectic .accordion-item {
  border: 0;
  background: #fff;
  border-radius: var(--radius) !important;
  margin-bottom: .85rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.accordion-eklectic .accordion-button {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-900);
  background: #fff;
  padding: 1.1rem 1.3rem;
}
.accordion-eklectic .accordion-button:not(.collapsed) {
  background: var(--brand-100);
  color: var(--brand-900);
  box-shadow: none;
}
.accordion-eklectic .accordion-button:focus { box-shadow: none; }
.accordion-eklectic .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23523667'%3e%3cpath fill-rule='evenodd' d='M1.6 4.5a1 1 0 0 1 1.4 0L8 9.6l5-5.1a1 1 0 1 1 1.4 1.4l-5.7 5.8a1 1 0 0 1-1.4 0L1.6 5.9a1 1 0 0 1 0-1.4z'/%3e%3c/svg%3e");
}
.accordion-eklectic .accordion-body { padding: 0 1.3rem 1.3rem; }
.accordion-eklectic .accordion-body p { color: var(--ink-soft); margin: 0; }

/* ---------- CTA final ---------- */
.cta-final {
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(255, 93, 143, .14), rgba(46, 196, 182, .14) 55%, rgba(245, 183, 0, .18)),
    var(--surface);
}
.cta-final p { max-width: 58ch; margin: .75rem auto 0; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-900);
  color: #cfc5e0;
  padding: clamp(2.75rem, 6vw, 4rem) 0 1.5rem;
}
.footer-logo { border-radius: 50%; background: #fff; padding: 4px; margin-bottom: 1rem; }
.footer-desc { font-size: .95rem; max-width: 42ch; }
.footer-desc strong { color: #fff; }
.footer-title { font-size: 1.05rem; color: var(--yellow); margin-bottom: .9rem; }
.footer-nav li { margin-bottom: .45rem; }
.footer-nav a, .footer-address a { color: #cfc5e0; text-decoration: none; }
.footer-nav a:hover, .footer-nav a:focus,
.footer-address a:hover, .footer-address a:focus { color: #fff; text-decoration: underline; }
.footer-address { font-style: normal; font-size: .95rem; margin-bottom: .6rem; }
.footer-hours { font-size: .88rem; color: #b3a6c8; }
.footer-legal {
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem;
  text-align: center;
  color: #a89bbe;
}

/* ---------- Botón flotante de WhatsApp ---------- */
/* Botón circular solo con el logotipo. El verde es un tono más profundo
   que el #25d366 de marca para que el glifo blanco alcance 3.4:1 de
   contraste (mínimo 3:1 para elementos gráficos); en el verde brillante
   se quedaba en 1.98:1. */
/* Esquina inferior IZQUIERDA: la derecha la ocupa el chat de Chatwoot. */
.wa-fab {
  position: fixed;
  left: clamp(.9rem, 2.5vw, 1.6rem);
  bottom: clamp(.9rem, 2.5vw, 1.6rem);
  z-index: 1042;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(21, 128, 61, .45);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.wa-fab:hover, .wa-fab:focus {
  color: #fff;
  background: var(--whatsapp-hover);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 36px rgba(21, 128, 61, .55);
}
.wa-fab svg { width: 1.85rem; height: 1.85rem; fill: currentColor; }

@media (max-width: 575.98px) {
  .wa-fab { width: 3.25rem; height: 3.25rem; }
  .wa-fab svg { width: 1.7rem; height: 1.7rem; }
}
