/* =========================================================
   Elizabeth Nail Artist — estilos
   Mobile-first. Fases 3, 4 y 4.5 de la receta Vitrina Studio.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Paleta (definida en el brief) */
  --crema:        #F2EAD9;   /* almendra/beige cálido (color de soporte) */
  --lavanda:      #E9DFFF;
  --morado-vivo:  #7848FC;
  --morado-marca: #6D4CCF;
  --morado-prof:  #3A2A6B;
  --dorado:       #D9B36C;

  --tinta:        #2B2440;   /* texto cuerpo sobre claro */
  --tinta-suave:  #6A6280;

  /* Espaciado base 8 */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;

  /* Radios (máx. dos: tarjetas + pill) */
  --radius: 16px;
  --pill: 999px;

  /* Sombra */
  --shadow-sm: 0 2px 10px rgba(58, 42, 107, .08);
  --shadow-md: 0 14px 40px rgba(58, 42, 107, .16);

  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);   /* expo-out: entrada suave, propia de la marca */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 400;
  color: var(--tinta);
  background: var(--crema);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--dorado); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s-3); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--morado-marca); color: #fff; padding: var(--s-2) var(--s-3);
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Tipografía ---------- */
.brand__name, h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; line-height: 1.08; letter-spacing: .005em; }
.brand__script { font-family: "Allura", cursive; }

h1 { font-size: clamp(2.6rem, 7vw + .5rem, 5rem); }
h2 { font-size: clamp(2rem, 4vw + .8rem, 3.25rem); }
h3 { font-size: clamp(1.35rem, 1.4vw + 1rem, 1.7rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Montserrat", sans-serif; font-weight: 600;
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--morado-marca);
}
.eyebrow__gem {
  width: 9px; height: 9px; transform: rotate(45deg);
  background: var(--dorado);
  box-shadow: 0 0 0 3px rgba(217, 179, 108, .25);
}

.section-head { max-width: 640px; margin-bottom: var(--s-5); }
.section-head h2 { margin-top: var(--s-1); }
.section-sub { margin-top: var(--s-2); color: var(--tinta-suave); font-size: 1.05rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 var(--s-3);
  border-radius: var(--pill);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
  will-change: transform;
}
.btn .ic { flex: none; }
.btn--lg { min-height: 56px; padding: 0 var(--s-4); font-size: 1.02rem; }
.btn--sm { min-height: 44px; padding: 0 var(--s-3); font-size: .88rem; }

.btn--primary { background: var(--morado-marca); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--morado-vivo); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0) scale(.985); box-shadow: var(--shadow-sm); }

.btn--ghost { background: transparent; color: var(--morado-marca); box-shadow: inset 0 0 0 1.5px var(--morado-marca); }
.btn--ghost:hover { background: var(--morado-marca); color: #fff; transform: translateY(-2px); }
.btn--ghost:active { transform: translateY(0) scale(.985); }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* enlace-CTA de texto */
.link-cta {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px;
  font-weight: 600; font-size: .92rem; color: var(--morado-marca);
}
.link-cta svg { transition: transform .2s var(--ease); }
.link-cta:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242, 234, 217, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 179, 108, .35);
}
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-2); min-height: 64px; }
.brand { justify-self: center; display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
.brand__logo { height: 32px; width: auto; display: block; }
@media (min-width: 560px) { .brand__logo { height: 40px; } }
.brand__name { font-size: 1.5rem; color: var(--morado-prof); }
.brand__script { font-size: 1.5rem; color: var(--dorado); transform: translateY(2px); }
/* meta del header: Lima a la izquierda, teléfono a la derecha */
.header__meta { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 500; color: var(--morado-prof); white-space: nowrap; }
.header__meta svg { color: var(--dorado); flex: none; }
.header__meta--loc { justify-self: start; }
.header__meta--phone { justify-self: end; }
.header__meta--phone:hover { color: var(--morado-marca); }
@media (max-width: 559px) {
  .header__inner { gap: var(--s-1); }
  .header__meta { font-size: .62rem; gap: 3px; }
  .header__meta svg { width: 12px; height: 12px; }
  .brand__logo { height: 28px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: url("../marca/fondo.jpg") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(242,234,217,.30) 0%, rgba(242,234,217,.62) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; justify-items: center; align-content: center; text-align: center;
  gap: var(--s-2);
  padding-top: var(--s-6); padding-bottom: var(--s-6);
  min-height: 60vh;
}
.hero__panel { max-width: 760px; }
.hero__title { margin-top: var(--s-2); color: var(--morado-prof); font-size: clamp(2.75rem, 8vw + .2rem, 6.6rem); line-height: .98; letter-spacing: -.02em; }
.hero__lead { margin-top: var(--s-3); max-width: 52ch; margin-inline: auto; color: var(--tinta); font-size: 1.08rem; }
.hero__panel .btn { margin-top: var(--s-4); }
.hero__note { margin-top: var(--s-2); font-size: .85rem; color: var(--tinta-suave); }
@media (min-width: 880px) {
  .hero__inner { min-height: 70vh; padding-top: var(--s-7); padding-bottom: var(--s-7); }
}

/* ---------- Prueba social ---------- */
.proof { background: var(--lavanda); padding: var(--s-6) 0; }
.proof__card {
  max-width: 760px; margin-inline: auto; text-align: center;
}
.proof__stars { display: inline-flex; gap: 4px; color: var(--dorado); margin-bottom: var(--s-2); }
.proof__quote {
  font-family: "Cormorant Garamond", serif; font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw + 1rem, 2.25rem); line-height: 1.32;
  color: var(--morado-prof);
}
.proof__author { margin-top: var(--s-3); font-weight: 600; color: var(--morado-marca); }
.proof__author span { font-weight: 400; color: var(--tinta-suave); }

/* ---------- Diferenciales ---------- */
.perks { background: var(--lavanda); padding: var(--s-6) 0; }
.perks__grid { display: grid; gap: var(--s-4); }
.perk { text-align: center; }
.perk__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; color: var(--morado-marca); box-shadow: var(--shadow-sm);
  margin-bottom: var(--s-2);
}
.perk h3 { color: var(--morado-prof); font-size: clamp(1.3rem, 1.2vw + 1rem, 1.55rem); }
.perk p { margin-top: 6px; color: var(--tinta-suave); max-width: 32ch; margin-inline: auto; }
@media (min-width: 720px) { .perks__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }

/* ---------- Elemento firma: abanico ---------- */
.picker { padding: var(--s-7) 0 var(--s-6); text-align: center; }
.picker .section-head { margin-inline: auto; text-align: center; }
.picker .eyebrow { justify-content: center; }

.fan {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 6px;
  margin: var(--s-3) auto var(--s-4);
  padding-bottom: var(--s-1);
  min-height: 200px;
}
.tip {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 60px;                 /* área táctil cómoda por columna */
  transform-origin: bottom center;
  transition: transform .25s var(--ease);
}
.tip__shape {
  position: relative;
  width: 46px; height: 138px;
  background: linear-gradient(160deg, #fff 0%, #F3E9D9 45%, #EAD7C2 100%);
  box-shadow: inset 0 8px 14px rgba(255,255,255,.7), 0 6px 14px rgba(58,42,107,.14);
  border: 1.5px solid rgba(217,179,108,.5);
  transition: box-shadow .25s var(--ease), background .25s var(--ease), filter .25s var(--ease);
}
.tip__shape::before { /* brillo */
  content: ""; position: absolute; top: 14px; left: 8px; width: 8px; height: 38%;
  border-radius: var(--pill); background: rgba(255,255,255,.75); filter: blur(1px);
}
.tip__label {
  font-size: .7rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  color: var(--tinta-suave);
}
/* siluetas por forma */
.tip__shape--almendra { border-radius: 50% 50% 16px 16px / 78% 78% 14px 14px; }
.tip__shape--ovalada  { border-radius: 50% 50% 18px 18px / 45% 45% 16px 16px; }
.tip__shape--cuadrada { border-radius: 20px 20px 14px 14px; }
.tip__shape--coffin   { clip-path: polygon(16% 0, 84% 0, 100% 88%, 70% 100%, 30% 100%, 0 88%); }
.tip__shape--stiletto { clip-path: polygon(50% 0, 86% 80%, 76% 100%, 24% 100%, 14% 80%); }

.tip:hover { transform: translateY(-8px); }
.tip:hover .tip__shape { filter: brightness(1.03); }
.tip[aria-pressed="true"] { transform: translateY(-12px); }
.tip[aria-pressed="true"] .tip__shape {
  border-color: var(--dorado);
  box-shadow: inset 0 8px 14px rgba(255,255,255,.7), 0 0 0 2px var(--dorado), 0 14px 28px rgba(120,72,252,.28);
  background: linear-gradient(160deg, #fff 0%, #F6ECFB 50%, #E9DFFF 100%);
}
.tip[aria-pressed="true"] .tip__label { color: var(--morado-marca); }

/* despliegue en abanico — solo desktop, animación "pesada" */
@media (min-width: 768px) {
  .fan { gap: 2px; min-height: 240px; }
  .tip { width: 58px; }
  .tip:nth-child(1) { transform: rotate(-24deg); }
  .tip:nth-child(2) { transform: rotate(-12deg); }
  .tip:nth-child(3) { transform: rotate(0deg); }
  .tip:nth-child(4) { transform: rotate(12deg); }
  .tip:nth-child(5) { transform: rotate(24deg); }
  .tip:nth-child(1):hover { transform: rotate(-24deg) translateY(-10px); }
  .tip:nth-child(2):hover { transform: rotate(-12deg) translateY(-10px); }
  .tip:nth-child(3):hover { transform: rotate(0deg) translateY(-12px); }
  .tip:nth-child(4):hover { transform: rotate(12deg) translateY(-10px); }
  .tip:nth-child(5):hover { transform: rotate(24deg) translateY(-10px); }
  .tip[aria-pressed="true"] { z-index: 3; }
  .tip:nth-child(1)[aria-pressed="true"] { transform: rotate(-24deg) translateY(-14px); }
  .tip:nth-child(2)[aria-pressed="true"] { transform: rotate(-12deg) translateY(-14px); }
  .tip:nth-child(3)[aria-pressed="true"] { transform: rotate(0deg) translateY(-16px); }
  .tip:nth-child(4)[aria-pressed="true"] { transform: rotate(12deg) translateY(-14px); }
  .tip:nth-child(5)[aria-pressed="true"] { transform: rotate(24deg) translateY(-14px); }
  /* animación de entrada del abanico al revelarse (forwards: no se queda invisible) */
  .picker.in-view .tip__shape { animation: fan-open .55s var(--ease) backwards; }
  .picker.in-view .tip:nth-child(1) .tip__shape { animation-delay: .05s; }
  .picker.in-view .tip:nth-child(2) .tip__shape { animation-delay: .12s; }
  .picker.in-view .tip:nth-child(3) .tip__shape { animation-delay: .19s; }
  .picker.in-view .tip:nth-child(4) .tip__shape { animation-delay: .26s; }
  .picker.in-view .tip:nth-child(5) .tip__shape { animation-delay: .33s; }
}
@keyframes fan-open {
  from { transform: translateY(36px); opacity: 0; }
}

.finishes { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-1); margin-bottom: var(--s-3); }
.chip {
  min-height: 44px; padding: 0 var(--s-3);
  border-radius: var(--pill); font-weight: 500; font-size: .9rem;
  background: #fff; color: var(--tinta);
  box-shadow: inset 0 0 0 1.5px rgba(109,76,207,.25);
  transition: transform .15s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease);
}
.chip:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--morado-marca); }
.chip:active { transform: translateY(0) scale(.97); }
.chip[aria-pressed="true"] { background: var(--morado-marca); color: #fff; box-shadow: inset 0 0 0 1.5px var(--morado-marca); }

.picker__summary {
  max-width: 40ch; margin: 0 auto var(--s-3);
  font-family: "Cormorant Garamond", serif; font-size: 1.4rem; color: var(--morado-prof);
  min-height: 2.4em;
}
.picker__cta { margin-inline: auto; }

/* ---------- Servicios ---------- */
.services { padding: var(--s-7) 0; }
.services__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-2); }
.service-card {
  background: #fff; border-radius: var(--radius); padding: var(--s-4) var(--s-3);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(217,179,108,.25);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: var(--s-2);
  background: var(--lavanda); color: var(--morado-marca);
}
.service-card h3 { color: var(--morado-prof); }
.service-card p { margin: var(--s-1) 0 var(--s-3); color: var(--tinta-suave); font-size: .98rem; }

.services__more { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid rgba(217,179,108,.4); }
.services__more-title { font-weight: 600; color: var(--morado-prof); margin-bottom: var(--s-2); }
.services__list { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-2); }
.services__list a {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 var(--s-3);
  border-radius: var(--pill); font-weight: 500; font-size: .92rem;
  background: var(--crema); color: var(--morado-prof);
  box-shadow: inset 0 0 0 1.5px rgba(217,179,108,.5);
  transition: transform .15s var(--ease), background-color .15s var(--ease);
}
.services__list a:hover { background: var(--lavanda); transform: translateY(-2px); }
.services__list svg { color: var(--morado-marca); }

@media (min-width: 640px) {
  .services__grid { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
}
@media (min-width: 1000px) {
  .services__grid { grid-template-columns: repeat(4, 1fr); }
  /* romper simetría: la primera tarjeta sube un poco */
  .service-card:nth-child(1), .service-card:nth-child(3) { transform: translateY(-12px); }
  .service-card:nth-child(1):hover, .service-card:nth-child(3):hover { transform: translateY(-16px); }
}

/* ---------- Galería ---------- */
.gallery { padding: var(--s-7) 0; background: var(--lavanda); }
.gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.shot {
  position: relative; overflow: hidden; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); background: #fff; aspect-ratio: 9 / 13;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(58,42,107,.35));
  opacity: 0; transition: opacity .3s var(--ease);
}
.shot:hover::after { opacity: 1; }
.shot--star { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.shot__tag {
  position: absolute; left: var(--s-2); bottom: var(--s-2); z-index: 2;
  display: inline-flex; align-items: center;
  padding: 7px 14px; border-radius: var(--pill);
  background: rgba(58,42,107,.82); color: #fff; backdrop-filter: blur(4px);
  font-size: .76rem; font-weight: 600; letter-spacing: .02em;
}
@media (min-width: 720px) {
  .gallery__grid { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
  .shot { aspect-ratio: 9 / 14; }
  .shot--star { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* Carrusel horizontal de la galería (izquierda → derecha) */
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.marquee {
  margin-top: var(--s-5); overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
@keyframes marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee .shot {
  display: block; position: relative; flex: none;
  width: clamp(160px, 46vw, 240px); margin-right: var(--s-2);
  border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm);
}
.marquee .shot img { width: 100%; height: auto; display: block; -webkit-user-drag: none; user-drag: none; }
.marquee .shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(58,42,107,.32));
  opacity: 0; transition: opacity .3s var(--ease);
}
.marquee .shot:focus-visible { outline: 3px solid var(--dorado); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee__track { animation-play-state: paused; }
  .marquee .shot:hover::after { opacity: 1; }
}
@media (min-width: 760px) { .marquee .shot { width: 260px; margin-right: var(--s-3); } }

/* ---------- Cierre de marca (firma grande sobre el fondo) ---------- */
.brand-close {
  position: relative;
  background: url("../marca/fondo.jpg") center/cover no-repeat;
  padding: var(--s-8) var(--s-3); text-align: center;
}
.brand-close::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(242,234,217,.32), rgba(242,234,217,.55));
}
.brand-close__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: var(--s-3); }
.brand-close__sign { width: min(520px, 82%); height: auto; }
.brand-close__tag {
  font-family: "Montserrat", sans-serif; font-weight: 600;
  letter-spacing: .42em; text-transform: uppercase; font-size: .8rem;
  color: var(--dorado); margin-top: calc(-1 * var(--s-2)); padding-left: .42em;
}
.brand-close .btn { margin-top: var(--s-2); }

/* ---------- Presentación (Sobre) ---------- */
.about { padding: var(--s-7) 0; }
.about__inner { display: grid; gap: var(--s-4); justify-items: center; text-align: center; }
.about__portrait { margin: 0; }
.about__portrait img {
  width: clamp(150px, 40vw, 220px); height: auto; border-radius: 50%;
  box-shadow: 0 10px 30px rgba(58,42,107,.16); background: rgba(255,255,255,.45);
}
.about__text h2 { color: var(--morado-prof); margin: var(--s-1) 0 var(--s-3); }
.about__text p { color: var(--tinta); margin-bottom: var(--s-2); max-width: 56ch; margin-inline: auto; }
.about__text .btn { margin-top: var(--s-3); }
.about__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-1) var(--s-2); margin: var(--s-3) 0 0; }
.about__facts li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px var(--s-2); border-radius: var(--pill);
  background: #fff; box-shadow: inset 0 0 0 1px rgba(217,179,108,.5);
  color: var(--morado-prof); font-size: .9rem;
}
.about__facts svg { color: var(--dorado); flex: none; }
.about__facts strong { color: var(--morado-marca); font-weight: 600; }
@media (min-width: 880px) {
  .about__inner { grid-template-columns: auto 1fr; gap: var(--s-6); justify-items: start; text-align: left; align-items: center; }
  .about__text p { margin-inline: 0; }
  .about__facts { justify-content: flex-start; }
  .about__portrait img { width: 240px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--morado-prof); color: #EDE7FF; padding: var(--s-6) 0 var(--s-3); }
.footer__inner { display: grid; gap: var(--s-5); }
.site-footer .brand__name { color: #fff; font-size: 1.7rem; }
.site-footer .brand__script { color: var(--dorado); font-size: 1.7rem; }
.footer__tag { margin-top: var(--s-2); color: #C9BEEC; max-width: 38ch; font-size: .95rem; }
.footer__col h3 { color: #fff; font-size: 1.2rem; margin-bottom: var(--s-2); }
.footer__col p { color: #C9BEEC; }
.footer__muted { font-size: .85rem; opacity: .8; margin-top: 6px; }
.footer__social { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #EDE7FF; font-weight: 500; }
.footer__social:hover { color: var(--dorado); }
.footer__base {
  max-width: var(--maxw); margin: var(--s-5) auto 0; padding: var(--s-3) var(--s-3) 0;
  border-top: 1px solid rgba(217,179,108,.3);
  display: flex; flex-wrap: wrap; gap: 6px var(--s-3); justify-content: space-between;
  font-size: .82rem; color: #B6A9E0;
}
.footer__credit a { color: var(--dorado); }
@media (min-width: 760px) {
  .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s-4); }
}

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: inline-flex; align-items: center; gap: 0;
  height: 58px; min-width: 58px; padding: 0;
  border-radius: var(--pill);
  background: var(--morado-marca); color: #fff;
  box-shadow: 0 10px 26px rgba(109,76,207,.5);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), padding .25s var(--ease);
  overflow: hidden;
}
.wa-float svg { flex: none; width: 58px; }
.wa-float__label { font-weight: 600; font-size: .95rem; max-width: 0; opacity: 0; transition: max-width .25s var(--ease), opacity .2s var(--ease), padding .25s var(--ease); white-space: nowrap; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(120,72,252,.55); }
.wa-float:hover .wa-float__label { max-width: 120px; opacity: 1; padding-right: 20px; }
.wa-float:active { transform: scale(.96); }
/* pulso sutil para llamar la atención (no en reduced-motion) */
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--pill);
  box-shadow: 0 0 0 0 rgba(120,72,252,.45); animation: wa-pulse 2.6s var(--ease) infinite;
}
@keyframes wa-pulse { 70% { box-shadow: 0 0 0 16px rgba(120,72,252,0); } 100% { box-shadow: 0 0 0 0 rgba(120,72,252,0); } }
@media (min-width: 768px) { .wa-float { right: 28px; bottom: 28px; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(33, 24, 60, .92); backdrop-filter: blur(6px);
  padding: var(--s-3);
  opacity: 0; transition: opacity .25s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { max-width: min(92vw, 560px); text-align: center; }
.lightbox__figure img {
  max-height: 78vh; width: auto; margin-inline: auto; border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox__figure figcaption { margin-top: var(--s-2); color: #EDE7FF; font-size: .9rem; }
.lightbox__close {
  position: absolute; top: 14px; right: 14px;
  width: 48px; height: 48px; border-radius: var(--pill);
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); color: #fff;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.lightbox__close:hover { background: rgba(255,255,255,.24); transform: rotate(90deg); }
.lightbox__nav {
  width: 48px; height: 48px; border-radius: var(--pill); flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); color: #fff;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.lightbox__nav:hover { background: rgba(255,255,255,.24); }
.lightbox__nav--prev { margin-right: var(--s-1); }
.lightbox__nav--prev:hover { transform: translateX(-3px); }
.lightbox__nav--next { margin-left: var(--s-1); }
.lightbox__nav--next:hover { transform: translateX(3px); }
@media (max-width: 560px) {
  .lightbox__nav { position: absolute; bottom: 18px; }
  .lightbox__nav--prev { left: 28%; }
  .lightbox__nav--next { right: 28%; }
}

/* ---------- Reveal al scroll ----------
   Solo se oculta si el JS está activo (clase .js en <html>).
   Sin JS, el contenido se ve siempre.
   Firma de Elizabeth: desenfoque + zoom suave (distinto al fade-up clásico). */
.reveal { transition: opacity .85s var(--ease-out), transform .85s var(--ease-out), filter .85s var(--ease-out); }
.js .reveal { opacity: 0; transform: translateY(14px) scale(.965); filter: blur(7px); }
.js .reveal.in-view { opacity: 1; transform: none; filter: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .wa-float::after { display: none; }
  .tip, .tip:hover, .tip[aria-pressed="true"] { transition: none; }
  /* el carrusel de la galería es parte del diseño: sigue corriendo (suave) */
  .marquee__track { animation-duration: 46s !important; animation-iteration-count: infinite !important; }
}
