/* =========================================================
   ESTÉTICA MIA — Peluquería & Estética
   styles.css
   Paleta cálida (espresso / crema / terracota),
   tipografía geométrica + serif de acento.
   ========================================================= */

/* ----------  Variables  ---------- */
:root {
  --bg: #ffffff;
  --cream: #f4f4f4;        /* gris muy claro, secciones */
  --cream-2: #e8e8e8;
  --ink: #141414;          /* casi negro, texto principal */
  --ink-soft: #6e6e6e;     /* gris secundario */
  --clay: #9a9a9a;         /* gris medio / acento (numerales) */
  --clay-deep: #111111;    /* negro para hovers */
  --blush: #d6d6d6;        /* gris claro (acento sobre fondo oscuro) */
  --line: rgba(20, 20, 20, 0.14);
  --line-soft: rgba(20, 20, 20, 0.07);

  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  --maxw: 1340px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(52px, 7vw, 96px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --radius: 3px;
}

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

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--ink); color: #fff; }

h1, h2, h3, h4 { font-weight: 400; line-height: 1.1; }

/* ----------  Accesibilidad  ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 300;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 0 0 var(--radius) 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; }

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

/* ----------  Utilidades  ---------- */
.eyebrow {
  display: inline-block;
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  --bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease),
    border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--full { width: 100%; }

.btn--solid {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn--solid:hover { background: var(--clay-deep); border-color: var(--clay-deep); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============================================================
   INTRO / LOADER
   ============================================================ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  perspective: 900px;
  animation: introOut 0.9s var(--ease) 1.5s forwards;
}
.intro__mark { text-align: center; line-height: 1; }
.intro__over {
  display: block;
  font-size: clamp(13px, 1.6vw, 16px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0;
  animation: introIn 0.8s var(--ease) 0.15s forwards;
}
.intro__name {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(3.4rem, 12vw, 7rem);
  color: var(--ink);
  margin-top: 0.1em;
  opacity: 0;
  transform: translateY(14px);
  animation: introIn 0.9s var(--ease) 0.3s forwards;
}
@keyframes introIn {
  to { opacity: 1; transform: none; }
}
@keyframes introOut {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  color: var(--cream);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease),
    border-color 0.5s var(--ease), box-shadow 0.5s var(--ease),
    transform 0.55s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled {
  background: rgba(252, 250, 248, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  border-bottom-color: var(--line-soft);
}

.nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 76px;
  padding: 0 var(--gutter);
  max-width: 1600px;
  margin: 0 auto;
}
.nav__group { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.nav__group--left { justify-self: start; }
.nav__group--right { justify-self: end; }
.nav__group a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
}
.nav__group a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__group a:hover::after { transform: scaleX(1); }
/* Horarios junto al ícono de Instagram */
.nav__hours {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  white-space: nowrap;
}

/* Ícono de Instagram: hereda el color del texto del header */
.nav__icon {
  display: flex;
  align-items: center;
  padding-bottom: 0;
}
.nav__icon::after { display: none; }
.nav__icon svg {
  width: 24px;
  height: 24px;
  display: block;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.nav__icon:hover svg { transform: scale(1.12); }

/* Logotipo */
.brand {
  justify-self: center;
  text-align: center;
  line-height: 0.92;
  display: block;
}
.brand__over {
  display: block;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.85;
}
.brand__name {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  margin-top: 1px;
}

/* Botón hamburguesa */
.burger {
  display: none;
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 18px;
  flex-direction: column;
  justify-content: space-between;
}
.burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

/* ============================================================
   MENÚ MÓVIL
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--cream);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__close {
  position: absolute;
  top: 28px;
  right: var(--gutter);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.mobile-menu__nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu__nav a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 9vw, 3.2rem);
  line-height: 1.18;
  width: max-content;
}
.mobile-menu__nav a:hover { color: var(--clay-deep); font-style: italic; }
.mobile-menu__foot {
  margin-top: clamp(36px, 8vw, 64px);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mobile-menu__foot span { color: var(--ink-soft); }
.mobile-menu__foot a { text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 120px var(--gutter) 90px;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img,
.hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(125% 95% at 50% 44%, rgba(10, 10, 10, 0.03) 0%, rgba(10, 10, 10, 0.32) 84%),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.20) 0%, rgba(10, 10, 10, 0.05) 42%, rgba(10, 10, 10, 0.40) 100%);
}
.hero__eyebrow {
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: clamp(18px, 3vw, 30px);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6.6vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 16ch;
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--blush); }
.hero__title--brand {
  font-weight: 400;
  font-size: clamp(3.2rem, 12vw, 8.5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: none;
  text-shadow: 0 6px 34px rgba(0, 0, 0, 0.5);
}
.hero__title--brand em { color: #fff; }
.hero__actions {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.9;
}
.hero__scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  animation: scrollPulse 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(18px); opacity: 0; }
}

/* WhatsApp abajo a la derecha del hero, en el mismo blanco que el resto */
.hero__whatsapp {
  position: absolute;
  right: var(--gutter);
  bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
  opacity: 0.9;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.hero__whatsapp svg {
  display: block;
  width: 54px;
  height: 54px;
}
.hero__whatsapp:hover { opacity: 1; transform: translateY(-2px); }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter) clamp(36px, 5vw, 64px);
}
.section-head { margin-bottom: clamp(30px, 4vw, 52px); }

/* línea que se dibuja al entrar en cada sección */
[data-reveal-line]::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--line);
  margin-bottom: clamp(20px, 3vw, 34px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.3s var(--ease);
}
[data-reveal-line].is-revealed::before { transform: scaleX(1); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px) clamp(18px, 2vw, 34px);
}
.card { display: flex; flex-direction: column; }
.card__media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--radius);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* revelado uniforme tipo película: desaturado, apenas cálido */
  filter: saturate(0.72) sepia(0.08) contrast(1.05) brightness(0.99);
  transition: transform 0.9s var(--ease);
}
/* velo cálido parejo sobre todas las fotos de servicio */
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(32, 25, 18, 0.1);
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* grano fotográfico fino: rompe la lisura artificial de las fotos generadas */
.card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  mix-blend-mode: soft-light;
  opacity: 0.35;
  pointer-events: none;
}
.card:hover .card__media img { transform: scale(1.045); }
/* la foto de corte tiene las tijeras en el tercio inferior */
.services__grid .card:first-child .card__media img { object-position: center 72%; }
.card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.card__title {
  font-size: clamp(13.5px, 1.4vw, 15px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.4s var(--ease);
}
.card:hover .card__title { color: var(--clay-deep); }
.card__desc {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34ch;
}

/* ============================================================
   EL SALÓN (galería)
   ============================================================ */
.salon {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 44px) var(--gutter) 0;
}
.salon__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(18px, 2vw, 34px);
}
.salon__item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
}
/* las laterales fijan la altura de cada fila; la principal se estira a las dos.
   El img de la principal va absoluto para que su alto natural no infle las filas. */
.salon__item:not(.salon__item--main) { aspect-ratio: 5 / 4; }
.salon__item--main {
  grid-row: span 2;
  position: relative;
  min-height: 0;
}
.salon__item--main img {
  position: absolute;
  inset: 0;
}
.salon__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* recortes: la recepción muestra el mostrador, la de estantes su mitad baja */
.salon__item:nth-child(2) img { object-position: center 68%; }
.salon__item:nth-child(3) img { object-position: center 78%; }
.salon__note {
  margin-top: clamp(16px, 2vw, 26px);
  font-size: 14px;
  color: var(--ink-soft);
}
.salon__note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ============================================================
   MARCAS / PRODUCTOS
   ============================================================ */
.brands {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter);
}
.brands__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px) clamp(18px, 2vw, 34px);
}
.brand-card { display: flex; flex-direction: column; }
.brand-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--radius);
}
.brand-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.6s var(--ease);
}
/* en gris para mantener el sitio monocromo; el color aparece al pasar el mouse */
.brand-card:hover .brand-card__media img { filter: grayscale(0); }
.brand-card__name {
  margin-top: 18px;
  font-size: clamp(13.5px, 1.4vw, 15px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand-card__desc {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34ch;
}

/* ============================================================
   RESERVA / CONTACTO
   ============================================================ */
.reserve {
  background: var(--cream);
  padding: var(--section-pad) var(--gutter);
}
.reserve {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.reserve > * { max-width: 620px; }
.reserve__intro { justify-self: end; width: 100%; }
.reserve__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  margin: 18px 0 14px;
}
.reserve__text {
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: 26px;
}
.reserve__info {
  margin-top: clamp(30px, 4vw, 46px);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.reserve__info li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.reserve__info span {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Formulario */
.reserve__form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-self: start;
  width: 100%;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder,
.field textarea::placeholder { color: #b0b0b0; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(20, 20, 20, 0.16);
}
.reserve__form .btn { margin-top: 6px; }

.form-note {
  font-size: 14px;
  color: var(--clay-deep);
  font-weight: 600;
  margin-top: 4px;
}
.form-note.is-error { color: #111111; font-weight: 700; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg); }
.footer__bar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

/* ============================================================
   ANIMACIONES DE SCROLL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* relleno tipográfico del eyebrow */
[data-reveal-fill] {
  background: linear-gradient(90deg, var(--ink) 0 50%, rgba(46, 28, 18, 0.16) 50% 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-position 1.15s var(--ease);
}
[data-reveal-fill].is-revealed { background-position: 0 0; }

/* stagger en grillas (por fila de 3) */
.services__grid .card:nth-child(3n + 2),
.brands__grid .brand-card:nth-child(2) { transition-delay: 0.08s; }
.services__grid .card:nth-child(3n + 3),
.brands__grid .brand-card:nth-child(3) { transition-delay: 0.16s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 4vw, 36px) clamp(18px, 3vw, 30px); }
}

@media (max-width: 900px) {
  .nav__group { display: none; }
  .burger { display: flex; }
  .nav { grid-template-columns: 1fr; justify-items: center; }

  .reserve { grid-template-columns: 1fr; }
  .reserve__intro { justify-self: stretch; }
  .reserve > * { max-width: 100%; }
}

@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .card__media { aspect-ratio: 3 / 2; }
  .brands__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .brand-card__media { aspect-ratio: 3 / 2; }
  .salon__grid { grid-template-columns: 1fr; }
  .salon__item--main { grid-row: auto; aspect-ratio: 3 / 4; }
  .salon__item:not(.salon__item--main) { aspect-ratio: 4 / 3; }

  .hero { padding-top: 110px; }
  .hero__actions { width: 100%; flex-direction: column; align-items: stretch; max-width: 320px; }
  .hero__actions .btn { width: 100%; }

  .reserve__intro .btn { width: 100%; }
}

@media (max-width: 380px) {
  :root { --gutter: 18px; }
  .brand__name { font-size: 23px; }
}

/* ============================================================
   EFECTO BURBUJA (iridiscente)
   ============================================================ */
.soap {
  position: relative;
  border-radius: 50%;
  isolation: isolate;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,0.95), rgba(255,255,255,0) 16%),
    radial-gradient(circle at 68% 74%, rgba(255,255,255,0.40), rgba(255,255,255,0) 26%),
    radial-gradient(circle at 50% 90%, rgba(255,255,255,0.35), rgba(255,255,255,0) 22%),
    radial-gradient(circle at 70% 30%, rgba(20,20,20,0.02), rgba(20,20,20,0.05) 60%, rgba(20,20,20,0) 75%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02) 58%, rgba(255,255,255,0.14) 82%, rgba(255,255,255,0.30) 100%);
  box-shadow:
    inset 0 0 24px rgba(255,255,255,0.5),
    inset 9px -11px 34px rgba(20,20,20,0.05),
    inset -11px 9px 34px rgba(255,255,255,0.45),
    inset 0 -18px 30px rgba(20,20,20,0.04),
    0 30px 70px -32px rgba(0,0,0,0.5);
}
.soap::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(255,255,255,0.55), rgba(255,255,255,0.06), rgba(255,255,255,0.38),
    rgba(255,255,255,0.04), rgba(255,255,255,0.45), rgba(255,255,255,0.55));
  mix-blend-mode: screen;
  opacity: 0.5;
  animation: soapSpin 16s linear infinite;
}
.soap::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}
@keyframes soapSpin { to { transform: rotate(360deg); } }

/* Intro: burbuja con el logotipo */
.intro__bubble {
  width: min(64vw, 340px);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  animation: bubbleFloat3d 6.5s ease-in-out infinite;
}
.intro__bubble .intro__mark { position: relative; z-index: 1; }
.intro__bubble .intro__name { font-size: clamp(2.6rem, 9vw, 4.4rem); }
.intro.is-done .intro__bubble { animation: bubblePop 0.8s var(--ease) forwards; }
/* deriva hacia varios lados, se ladea en perspectiva y se deforma apenas */
@keyframes bubbleFloat3d {
  0%, 100% { transform: translate(0, 0) rotateX(0deg) rotateY(0deg) scale(1, 1); }
  20%      { transform: translate(-20px, -12px) rotateX(4deg) rotateY(-7deg) scale(1.015, 0.985); }
  40%      { transform: translate(14px, -22px) rotateX(-3deg) rotateY(6deg) scale(0.985, 1.015); }
  60%      { transform: translate(24px, -4px) rotateX(3deg) rotateY(8deg) scale(1.01, 0.99); }
  80%      { transform: translate(-12px, 10px) rotateX(-4deg) rotateY(-5deg) scale(0.992, 1.008); }
}
@keyframes bubblePop { to { transform: scale(1.2); opacity: 0; filter: blur(2px); } }

/* Película iridiscente interior: gira en sentido contrario al ::before,
   desenfocada para que los colores se mezclen como jabón */
.soap__film {
  position: absolute;
  inset: 2.5%;
  border-radius: 50%;
  background: conic-gradient(from 140deg,
    rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.5));
  mix-blend-mode: screen;
  opacity: 0.4;
  filter: blur(10px);
  animation: soapSpinBack 11s linear infinite;
}
@keyframes soapSpinBack { to { transform: rotate(-360deg); } }

/* Brillo especular que recorre el borde superior */
.soap__glint {
  position: absolute;
  top: 12%;
  left: 16%;
  width: 26%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%);
  filter: blur(3px);
  transform: rotate(-24deg);
  animation: glintDrift 6.5s ease-in-out infinite;
}
@keyframes glintDrift {
  0%, 100% { transform: translate(0, 0) rotate(-24deg) scale(1); opacity: 0.95; }
  30%      { transform: translate(26%, 10%) rotate(-14deg) scale(1.15); opacity: 0.75; }
  55%      { transform: translate(48%, 4%) rotate(-6deg) scale(0.9); opacity: 0.9; }
  80%      { transform: translate(18%, -4%) rotate(-20deg) scale(1.05); opacity: 0.8; }
}

/* ============================================================
   EFECTOS V2
   ============================================================ */

/* --- Entrada del hero (coreografiada tras el intro) --- */
.js .hero__media {
  transform: scale(1.07);
  transition: transform 2s var(--ease);
}
body.is-loaded .hero__media { transform: none; }

.hero__title-mask { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title-line { display: block; }
.js .hero__title-line {
  transform: translateY(112%);
  transition: transform 1.15s var(--ease);
}
body.is-loaded .hero__title-line { transform: none; }

.js .hero__actions {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease) 0.45s, transform 0.9s var(--ease) 0.45s;
}
body.is-loaded .hero__actions { opacity: 1; transform: none; }

.js .hero__scroll { opacity: 0; transition: opacity 0.9s var(--ease) 0.9s; }
body.is-loaded .hero__scroll { opacity: 0.9; }

/* --- Revelado tipo cortina en imágenes ---
   El clip va en el img (no en el contenedor observado): si el elemento
   observado queda 100% recortado, WebKit nunca lo reporta visible. */
.js [data-reveal-media] img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.14);
  transition: clip-path 1.05s var(--ease), transform 1.4s var(--ease);
}
[data-reveal-media].is-revealed img { clip-path: inset(0 0 0 0); transform: none; }
/* devolver el timing corto al zoom de hover una vez revelada */
.card [data-reveal-media].is-revealed img { transition: transform 0.9s var(--ease), clip-path 1.05s var(--ease); }
.card:hover [data-reveal-media].is-revealed img { transform: scale(1.045); }

/* marcas: el filtro tiene que viajar junto con el revelado */
.js .brand-card [data-reveal-media] img {
  transition: clip-path 1.05s var(--ease), transform 1.4s var(--ease), filter 0.6s var(--ease);
}
.brand-card [data-reveal-media].is-revealed img {
  transition: transform 0.9s var(--ease), clip-path 1.05s var(--ease), filter 0.6s var(--ease);
}
.brand-card:hover [data-reveal-media].is-revealed img { transform: scale(1.045); }

/* --- Botones: el texto se desliza al pasar el mouse --- */
.btn .btn__txt {
  position: relative;
  display: block;
  overflow: hidden;
}
.btn .btn__txt > span {
  display: block;
  transition: transform 0.5s var(--ease);
}
.btn .btn__txt > span:last-child {
  position: absolute;
  inset: 0;
  transform: translateY(115%);
}
.btn:hover .btn__txt > span:first-child { transform: translateY(-115%); }
.btn:hover .btn__txt > span:last-child { transform: translateY(0); }

/* ============================================================
   MOVIMIENTO REDUCIDO
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  [data-reveal-fill] { background-position: 0 0; }
  .intro { display: none; }
  .hero__scroll-line { display: none; }

  .js .hero__media,
  .js .hero__title-line,
  .js .hero__actions,
  .js [data-reveal-media] img { transform: none; opacity: 1; }
  .js .hero__actions, .js .hero__scroll { opacity: 1; }
  .js [data-reveal-media] img { clip-path: none; }
  .site-header.is-hidden { transform: none; }
  [data-reveal-line]::before { transform: none; }
}
