/* ==========================================================
   Bruj@s y Guap@s de Anna MH · estilos
   ========================================================== */

:root {
  --pink: #E763C6;        /* rosa del logo */
  --pink-strong: #D94BB6; /* rosa para texto grande sobre fondo claro */
  --pink-ink: #B02F91;    /* rosa para texto pequeño sobre fondo claro */
  --ink: #241326;
  --cream: #FFF6EE;
  --butter: #FFD75E;
  --lilac: #F8DDF0;
  --white: #fff;
  --logo-gray: #6b6b6b;

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-script: "Yellowtail", cursive;
  --f-logo: "Saira", system-ui, sans-serif;

  --radius: 22px;
  --header-h: 76px;
  --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0Q14.4 9.6 24 12Q14.4 14.4 12 24Q9.6 14.4 0 12Q9.6 9.6 12 0Z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* recorta la cinta inclinada sin crear scroll horizontal */
main { overflow-x: clip; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.03em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h3 { font-size: 1.5rem; line-height: 1.1; letter-spacing: -.02em; }

p { text-wrap: pretty; }

:focus-visible { outline: 3px dashed var(--pink-ink); outline-offset: 3px; }

.container { width: min(100% - 2.5rem, 1200px); margin-inline: auto; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: .75rem 1rem; border-radius: 8px;
  background: var(--ink); color: var(--cream); font-weight: 700;
}
.skip:focus { top: 1rem; }

/* Palabra en letra de neón */
.script {
  display: inline-block;
  padding-inline: .06em;
  font-family: var(--f-script);
  font-weight: 400;
  font-style: normal;
  font-size: 1.12em;
  line-height: 1;
  letter-spacing: 0;
  color: var(--pink-strong);
  transform: rotate(-4deg);
}

.tag {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 1.1rem;
  padding: .35rem .9rem;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--white);
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.tag .icon { width: 1em; height: 1em; color: var(--pink-strong); }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.3rem;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--white); color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800; line-height: 1.1; text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--lg { padding: 1.05rem 1.6rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--pink { background: var(--pink); }
.btn--butter { background: var(--butter); }
.btn--ghost { background: var(--cream); }
.btn--ghost:hover { background: var(--white); }

/* ---------- Cabecera ---------- */

.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}
.header.is-scrolled { border-bottom-color: var(--ink); }

.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand__wand { width: 46px; height: 46px; flex: none; color: var(--pink); }
.brand__text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand__name {
  font-family: var(--f-logo); font-weight: 300;
  font-size: 1.3rem; letter-spacing: .02em; white-space: nowrap;
  color: var(--logo-gray);
}
.brand__by {
  margin-top: .25rem;
  font-weight: 800; font-style: italic; font-size: .8rem;
  color: var(--pink-strong);
}
.brand--light .brand__name { color: var(--cream); }
.brand--light .brand__by { color: var(--pink); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.nav__list a { position: relative; padding-block: .25rem; font-weight: 600; text-decoration: none; }
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; border-radius: 3px; background: var(--pink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav__list a:hover::after { transform: scaleX(1); }
.nav__cta { padding: .65rem 1.1rem; box-shadow: 3px 3px 0 var(--ink); }

.burger { display: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(5rem, 9vw, 7rem);
}

.hero__at {
  position: absolute; z-index: 0;
  right: -8vw; top: 50%;
  transform: translateY(-52%);
  font-weight: 800; line-height: 1;
  font-size: clamp(26rem, 58vw, 50rem);
  color: var(--lilac);
  pointer-events: none; user-select: none;
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}

.hero__title { font-size: clamp(3.3rem, 8.4vw, 6.9rem); margin-bottom: 1.5rem; }
.hero__title .script { font-size: 1.2em; margin-right: .04em; }

.hero__lead { max-width: 34ch; margin: 0 0 2rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.hero__more {
  display: inline-flex; align-items: center; gap: .4rem;
  padding-bottom: 2px; border-bottom: 2px solid currentColor;
  font-weight: 800; text-decoration: none;
}
.hero__more svg { width: 18px; height: 18px; transform: rotate(90deg); transition: transform .2s ease; }
.hero__more:hover svg { transform: rotate(90deg) translateX(4px); }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  margin: 0; padding: 0; list-style: none;
  font-size: .95rem;
}
.hero__facts li { display: flex; flex-direction: column; line-height: 1.3; }
.hero__facts strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }

.hero__media {
  position: relative;
  width: 100%; max-width: 460px; justify-self: center;
  padding: 0 0 3rem 2.5rem;
}

.hero__photo {
  margin: 0;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 999px 999px 28px 28px;
  background: var(--lilac);
  box-shadow: 12px 12px 0 var(--pink);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.hero__polaroid {
  position: absolute; left: -.5rem; bottom: 0; z-index: 2;
  width: 44%;
  margin: 0; padding: .55rem .55rem 0;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-7deg);
}
.hero__polaroid img { aspect-ratio: 1; object-fit: cover; object-position: center 30%; }
.hero__polaroid figcaption {
  padding: .15rem 0 .35rem;
  font-family: var(--f-script); font-size: 1.4rem; text-align: center;
  color: var(--pink-strong);
}

.badge {
  position: absolute; top: -1rem; right: -1.5rem; z-index: 2;
  display: grid; place-items: center;
  width: 132px; height: 132px;
  border: 2px solid var(--ink); border-radius: 50%;
  background: var(--butter);
  box-shadow: 5px 5px 0 var(--ink);
}
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.badge__ring text { font-family: var(--f-display); font-weight: 800; font-size: 11.5px; letter-spacing: .06em; fill: var(--ink); }
.badge__wand { width: 54px; height: 54px; color: var(--ink); }

.twinkle { position: absolute; color: var(--pink); animation: twinkle 2.8s ease-in-out infinite; }
.twinkle--1 { width: 34px; height: 34px; top: 16%; left: 0; }
.twinkle--2 { width: 20px; height: 20px; top: 4%; left: 22%; color: var(--ink); animation-delay: .9s; }
.twinkle--3 { width: 28px; height: 28px; bottom: 20%; right: -1.2rem; animation-delay: 1.6s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0); opacity: 1; }
  50% { transform: scale(.5) rotate(45deg); opacity: .6; }
}

/* ---------- Cinta ---------- */

.ribbon {
  position: relative; z-index: 3;
  width: 104%; margin: -1.5rem 0 0 -2%;
  overflow: hidden;
  background: var(--ink); color: var(--cream);
  transform: rotate(-2deg);
}
.ribbon__track { display: flex; width: max-content; padding-block: 1rem; animation: marquee 45s linear infinite; }
.ribbon span, .ribbon i { padding-right: 1.5rem; }
.ribbon span {
  font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap;
}
.ribbon i { align-self: center; font-style: normal; font-size: 1.4rem; color: var(--pink); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */

.section { padding-block: clamp(4.5rem, 10vw, 8rem); }

.section__head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section__head h2 { margin-bottom: 1.1rem; }
.section__head p:not(.tag) { margin: 0; font-size: 1.15rem; }
.section__head--center { margin-inline: auto; text-align: center; }

/* ---------- Servicios ---------- */

.services { padding-top: clamp(6rem, 12vw, 9rem); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
  margin: 0; padding: 0; list-style: none;
}

.card {
  display: flex; flex-direction: column; gap: .85rem;
  padding: 1.75rem;
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:nth-child(4n+1) { background: var(--pink); }
.card:nth-child(4n+3) { background: var(--butter); }
.card:nth-child(4n+4) { background: var(--lilac); }
.card:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 9px 9px 0 var(--ink); }

.card__icon {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border: 2px solid var(--ink); border-radius: 50%;
  background: var(--cream);
}
.card__icon svg { width: 28px; height: 28px; }
.card p { flex: 1; margin: 0; }

.card__link {
  display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start;
  padding-bottom: 2px; border-bottom: 2px solid currentColor;
  font-weight: 800; text-decoration: none;
}
.card__link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.card__link:hover svg { transform: translateX(4px); }

/* ---------- Novedad ---------- */

.novelty { background: var(--ink); color: var(--cream); }
.novelty :focus-visible { outline-color: var(--pink); }

.novelty__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}

.neon {
  display: inline-block;
  margin: 0 0 .75rem;
  font-family: var(--f-script); font-size: clamp(3rem, 7vw, 4.8rem); line-height: 1;
  color: #ffe1f6;
  text-shadow: 0 0 6px var(--pink), 0 0 18px var(--pink), 0 0 42px rgba(231, 99, 198, .7);
  transform: rotate(-5deg);
  animation: flicker 7s infinite;
}
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .5; }
}

.novelty h2 { margin-bottom: 1.25rem; }
.novelty__lead { max-width: 40ch; margin: 0 0 1.5rem; font-size: 1.2rem; color: #f3e6ef; }

.novelty__list { display: grid; gap: .7rem; margin: 0 0 2.25rem; padding: 0; list-style: none; }
.novelty__list li { display: flex; align-items: flex-start; gap: .75rem; }
.novelty__list li::before {
  content: ""; flex: none;
  width: 18px; height: 18px; margin-top: .25rem;
  background: var(--pink);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
          mask: var(--sparkle) center / contain no-repeat;
}

.novelty .btn { border-color: var(--cream); box-shadow: 4px 4px 0 var(--cream); }
.novelty .btn:hover { box-shadow: 6px 6px 0 var(--cream); }

.novelty__media {
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--cream); border-radius: var(--radius);
  box-shadow: 12px 12px 0 var(--pink);
  transform: rotate(2.5deg);
}

/* ---------- Trabajos ---------- */

.gallery {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  padding-bottom: 2.5rem; /* hueco para las fotos desplazadas */
}

.gallery__item {
  position: relative;
  display: block; width: 100%;
  margin: 0; padding: 0;
  overflow: hidden;
  border: 2px solid var(--ink); border-radius: 20px;
  background: var(--lilac);
  box-shadow: 5px 5px 0 var(--ink);
  cursor: zoom-in;
}
.gallery__item:nth-child(even) { top: 2.5rem; }
.gallery__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s ease; }
.gallery__item span {
  position: absolute; left: .75rem; bottom: .75rem;
  padding: .3rem .8rem;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--cream);
  font-size: .875rem; font-weight: 700;
  transform: translateY(calc(100% + 1rem));
  transition: transform .3s ease;
}
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.05); }
.gallery__item:hover span, .gallery__item:focus-visible span { transform: none; }

.work__more { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ---------- El salón ---------- */

.salon { background: var(--lilac); }

.salon__inner {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}

.salon__photo {
  width: 100%; max-width: 460px; justify-self: center;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 2px solid var(--ink); border-radius: 999px 999px 28px 28px;
  box-shadow: 12px 12px 0 var(--ink);
}
.salon__photo img { width: 100%; height: 100%; object-fit: cover; }

.salon__copy h2 { margin-bottom: 1rem; }
.salon__quote {
  margin: 1.25rem 0;
  font-family: var(--f-script); font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.2;
  color: var(--pink-ink);
}

.pills { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.pills li {
  padding: .45rem 1rem;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--white);
  font-size: .95rem; font-weight: 700;
}
.pills li:nth-child(3n+1) { background: var(--pink); }
.pills li:nth-child(3n) { background: var(--butter); }

/* ---------- Opiniones ---------- */

.reviews { background: var(--pink); }

.stars { display: flex; justify-content: center; gap: .4rem; margin-bottom: 1.25rem; }
.stars svg { width: 38px; height: 38px; color: var(--butter); stroke: var(--ink); stroke-width: 1.3; }

.reviews__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.75rem;
  margin: 0; padding: 0; list-style: none;
}

.review {
  display: flex; flex-direction: column; gap: 1.25rem;
  padding: 1.75rem;
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--cream);
  box-shadow: 6px 6px 0 var(--ink);
}
.review:nth-child(1) { rotate: -1.2deg; }
.review:nth-child(2) { rotate: 1deg; }
.review:nth-child(3) { rotate: -.5deg; }

.review__quote { flex: 1; margin: 0; }
.review__quote p { margin: 0; font-size: 1.3rem; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.review__quote p::before {
  content: "“"; display: block; height: 2.2rem;
  font-size: 4.5rem; font-weight: 800; line-height: 1;
  color: var(--pink-strong);
}

.review__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem;
  margin: 0; padding-top: 1rem;
  border-top: 2px dashed rgba(36, 19, 38, .2);
  font-size: .95rem;
}
.review__stars { display: inline-flex; gap: 2px; }
.review__stars svg { width: 16px; height: 16px; color: var(--butter); stroke: var(--ink); stroke-width: 1.5; }
.review__name { font-weight: 800; }
.review__meta a { margin-left: auto; font-size: .875rem; font-weight: 700; color: var(--pink-ink); }

.reviews__more { display: flex; justify-content: center; margin-top: 2.75rem; }

/* ---------- Contacto ---------- */

.contact__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 2rem; align-items: stretch;
}

.contact__card {
  display: flex; flex-direction: column; gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
}

.contact__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem;
  margin: 0; padding: 0; list-style: none;
}
.contact__list li { display: flex; align-items: flex-start; gap: .85rem; line-height: 1.45; }
.contact__list .icon {
  width: 42px; height: 42px; padding: 9px;
  border: 2px solid var(--ink); border-radius: 50%;
  background: var(--butter);
}
.contact__list a { color: var(--pink-ink); font-weight: 700; }

.hours h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: .85rem; font-size: 1.5rem; }
.hours__status {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 .85rem; padding: .3rem .85rem;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--cream);
  font-size: .9rem; font-weight: 700;
}
.hours__status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9a8f99; }
.hours__status.is-open::before { background: #24a865; box-shadow: 0 0 0 3px rgba(36, 168, 101, .25); }

.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .55rem .75rem; border-bottom: 1px dashed rgba(36, 19, 38, .25); }
.hours th { font-weight: 600; text-align: left; white-space: nowrap; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours td span { white-space: nowrap; }
.hours td span + span::before { content: "· "; }
.hours tr.is-today { background: var(--butter); }
.hours tr.is-today th::after {
  content: "Hoy";
  margin-left: .5rem; padding: .1rem .5rem;
  border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-size: .75rem; font-weight: 700; vertical-align: 1px;
}

.map {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--pink);
  background-color: var(--lilac);
  background-image:
    linear-gradient(118deg, transparent 44%, var(--white) 44%, var(--white) 49%, transparent 49%),
    linear-gradient(22deg, transparent 62%, var(--white) 62%, var(--white) 65.5%, transparent 65.5%),
    linear-gradient(rgba(36, 19, 38, .07) 2px, transparent 2px),
    linear-gradient(90deg, rgba(36, 19, 38, .07) 2px, transparent 2px);
  background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px;
}
.map__placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  padding: 2rem; text-align: center;
}
.map__pin {
  width: 66px; height: 66px; padding: 14px;
  border: 2px solid var(--ink); border-radius: 50%;
  background: var(--pink); color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  animation: bob 2.4s ease-in-out infinite;
}
.map__address {
  margin: 0; padding: .5rem 1rem;
  border: 2px solid var(--ink); border-radius: 14px;
  background: var(--cream);
  font-size: 1.5rem; font-weight: 800; line-height: 1.15;
}
.map__note {
  max-width: 32ch; margin: 0; padding: .25rem .6rem;
  border-radius: 8px;
  background: rgba(255, 246, 238, .9);
  font-size: .8125rem;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Pie ---------- */

.footer { overflow: hidden; padding-top: 4rem; background: var(--ink); color: var(--cream); }
.footer :focus-visible { outline-color: var(--pink); }

.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 2.5rem; align-items: start; }
.footer__brand p { margin: 1rem 0 0; font-size: .95rem; color: #dccbd8; }

.footer__nav { display: grid; gap: .5rem; }
.footer__nav a { font-weight: 600; text-decoration: none; }
.footer__nav a:hover { color: var(--pink); }

.footer__social { display: flex; gap: .75rem; }
.footer__social a {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 2px solid var(--cream); border-radius: 50%;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.footer__social a:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.footer__social svg { width: 22px; height: 22px; }

.footer__giant {
  margin: 3.5rem 0 0;
  font-weight: 800; font-size: clamp(2rem, 11.5vw, 11rem);
  line-height: .9; letter-spacing: -.05em; text-align: center; white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px var(--pink);
}

.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 246, 238, .15);
  font-size: .875rem; color: #cdbcc9;
}
.footer__legal p { margin: 0; }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer__legal a { text-underline-offset: 3px; }
.footer__legal a:hover { color: var(--pink); }

.footer__legal--float { padding-bottom: 6rem; } /* hueco para el botón flotante de WhatsApp */

.footer--compact { padding-top: 0; }
.footer--compact .footer__legal { border-top: 0; }

/* ---------- Páginas legales ---------- */

.legal { padding-block: clamp(3rem, 8vw, 5rem) clamp(4rem, 9vw, 6rem); }
.legal__inner { max-width: 780px; }
.legal h1 { margin-bottom: .75rem; font-size: clamp(2.6rem, 7vw, 4rem); }
.legal__updated { margin: 0 0 2.5rem; font-size: .9rem; color: #6b5a68; }
.legal__intro { font-size: 1.15rem; }
.legal h2 { margin: 2.75rem 0 .85rem; font-size: 1.6rem; line-height: 1.15; }
.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: .4rem; }
.legal a { color: var(--pink-ink); font-weight: 700; }

.legal__data {
  display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.5rem;
  margin: 1.25rem 0 0; padding: 1.5rem 1.75rem;
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}
.legal__data dt { font-weight: 700; }
.legal__data dd { margin: 0; overflow-wrap: anywhere; }

.header__back { padding: .65rem 1.1rem; box-shadow: 3px 3px 0 var(--ink); }

/* ---------- Botón flotante de WhatsApp ---------- */

.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  display: grid; place-items: center;
  width: 62px; height: 62px;
  border: 2px solid var(--ink); border-radius: 50%;
  background: var(--pink); color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: scale(0);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float.is-visible, html:not(.js) .wa-float { transform: scale(1); }
.wa-float.is-visible:hover { transform: scale(1.08) rotate(-6deg); }

/* ---------- Visor de fotos ---------- */

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0; background: transparent;
  overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(36, 19, 38, .92); }

.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin: 0; max-width: 92vw; }
.lightbox__figure img { width: auto; max-height: 80dvh; border: 2px solid var(--cream); border-radius: 16px; }
.lightbox__figure figcaption { font-family: var(--f-script); font-size: 1.8rem; color: var(--cream); }

.lightbox__btn {
  position: fixed;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border: 2px solid var(--ink); border-radius: 50%;
  background: var(--pink); color: var(--ink);
  box-shadow: 3px 3px 0 var(--cream);
  font-size: 1.5rem; font-weight: 800; line-height: 1;
  cursor: pointer;
}
.lightbox__btn:focus-visible { outline-color: var(--cream); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev, .lightbox__next { top: 50%; translate: 0 -50%; font-size: 2rem; }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }

/* ---------- Aparición al hacer scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1);
}
.js [data-reveal].is-in { opacity: 1; translate: none; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .burger {
    position: relative; z-index: 60;
    display: inline-grid; place-content: center; gap: 6px;
    width: 48px; height: 48px;
    border: 2px solid var(--ink); border-radius: 50%;
    background: var(--pink);
    cursor: pointer;
  }
  .burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .25s ease; }
  .nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 2.5rem;
    background: var(--ink); color: var(--cream);
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav :focus-visible { outline-color: var(--pink); }
  .nav__list { flex-direction: column; align-items: center; gap: 1rem; }
  .nav__list a { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; }
  .nav .btn { border-color: var(--cream); box-shadow: 4px 4px 0 var(--cream); }
  body.nav-open { overflow: hidden; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 400px; margin-top: 1rem; }
  .hero__at { top: auto; bottom: -6rem; right: -20vw; transform: none; font-size: 30rem; }

  .novelty__inner, .salon__inner, .contact__grid { grid-template-columns: 1fr; }
  .novelty__media { max-width: 560px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .salon__photo { max-width: 400px; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .brand__wand { width: 38px; height: 38px; }
  .brand__name { font-size: 1.05rem; }
  .brand__by { font-size: .7rem; }

  .hero__actions .btn { width: 100%; }
  .hero__media { padding-left: 1.5rem; }
  .badge { width: 104px; height: 104px; right: -.5rem; }
  .badge__wand { width: 42px; height: 42px; }

  .contact__list { grid-template-columns: 1fr; }
  .header__back-extra { display: none; }
  .legal__data { grid-template-columns: 1fr; gap: .15rem; padding: 1.25rem; }
  .legal__data dd + dt { margin-top: .6rem; }
  .hours th, .hours td { padding-inline: .5rem; }
  .hours td span { display: block; }
  .hours td span + span::before { content: none; }
  .map { min-height: 340px; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__giant { -webkit-text-stroke-width: 1.5px; }

  .lightbox__prev, .lightbox__next { top: auto; bottom: 1.25rem; translate: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; translate: none; }
}
