/* ============================================================
   NARÉ — Clínica de Belleza · hoja de estilos
   Paleta oficial: #C4AFAB · #C5BBAF · #6E675D · #F7E9E5 · #2F2604
   Tipografías: Cormorant Garamond (display) · Lato (texto)
   ============================================================ */

/* ---------- Fuentes locales ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --ivory: #FAF6F1;
  --porcelain: #F7E9E5;
  --cream: #F1EAE0;
  --sand: #C5BBAF;
  --blush: #C4AFAB;
  --olive: #6E675D;
  --ink: #3A3427;
  --ink-soft: #6E675D;
  --hairline: rgba(58, 52, 39, 0.16);
  --wa: #128C50;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
[hidden] { display: none !important; }

/* grano cinematográfico sutil */
body::after {
  content: '';
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* ---------- Utilidades ---------- */
.section { padding: clamp(5rem, 11vw, 9.5rem) 0; }
.section-inner {
  width: min(1200px, calc(100% - clamp(2.5rem, 8vw, 8rem)));
  margin-inline: auto;
}
.overline {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1.4rem;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: 0.01em;
}
.section-title em { font-style: italic; color: var(--olive); }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 3000;
  background: var(--ink); color: var(--ivory);
  padding: 0.6rem 1.2rem; font-size: 0.8rem; letter-spacing: 0.08em;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  padding: 1.05rem 2.2rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
  cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--ivory); }
.btn-solid { background: var(--ink); color: var(--ivory); }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--olive); border-color: var(--olive); color: var(--ivory); }
.btn-ghost { border-color: var(--hairline); }
.btn-whatsapp { border-color: var(--wa); color: var(--wa); }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Pantalla de carga ---------- */
.loader {
  position: fixed; inset: 0; z-index: 4000;
  background: var(--porcelain);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-brand {
  display: block;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 4rem);
  letter-spacing: 0.42em; text-indent: 0.42em;
  color: var(--ink);
}
.loader-sub {
  display: block;
  font-size: 0.625rem; font-weight: 700;
  letter-spacing: 0.5em; text-indent: 0.5em; text-transform: uppercase;
  color: var(--olive);
  margin-top: 0.6rem;
}
.loader-track {
  width: min(220px, 50vw); height: 1px;
  background: var(--hairline);
  margin: 2.2rem auto 0;
  overflow: hidden;
}
.loader-bar {
  width: 0%; height: 100%;
  background: var(--olive);
  transition: width 0.35s ease-out;
}

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), backdrop-filter 0.5s;
}
.nav.is-scrolled {
  background: rgba(250, 246, 241, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav-inner {
  width: min(1320px, calc(100% - clamp(2rem, 6vw, 6rem)));
  margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-brand {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.55rem; letter-spacing: 0.3em; text-indent: 0.3em;
}
.nav-links { display: flex; gap: 2.6rem; }
.nav-links a {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  position: relative; padding: 0.4rem 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 0.7rem 1.6rem; }
.nav-toggle { display: none; }

/* menú móvil */
.mobile-menu {
  position: fixed; inset: 0; z-index: 950;
  background: var(--porcelain);
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu-links { display: flex; flex-direction: column; align-items: center; gap: 2.2rem; }
.mobile-menu-links a:not(.btn) {
  font-family: var(--serif); font-size: 2rem; letter-spacing: 0.06em;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-video, .hero-fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 32% center;
}
.hero-fallback { opacity: 0; transition: opacity 0.5s; }
.hero.video-failed .hero-fallback,
.hero.reduced-motion .hero-fallback { opacity: 1; }
.hero.video-failed .hero-video,
.hero.reduced-motion .hero-video { display: none; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(250,246,241,0) 42%, rgba(250,246,241,0.34) 72%, rgba(250,246,241,0.6) 100%),
    linear-gradient(180deg, rgba(250,246,241,0.22) 0%, rgba(250,246,241,0) 26%, rgba(250,246,241,0) 70%, rgba(250,246,241,0.4) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: min(1200px, calc(100% - clamp(2.5rem, 8vw, 8rem)));
  margin-inline: auto;
  display: flex; flex-direction: column; align-items: flex-end;
  text-align: right;
  padding-top: var(--nav-h);
}
/* Logotipo oficial de NARÉ sobre el vídeo (variante oscura: el velo
   aclara este lado del hero para garantizar el contraste). */
.hero-logo {
  margin: 0;
  line-height: 0;
}
.hero-logo img {
  width: clamp(15rem, 34vw, 27rem);
  height: auto;
  /* halo marfil muy suave: separa el logotipo del vídeo sin apagar la imagen */
  filter: drop-shadow(0 0 22px rgba(250, 246, 241, 0.9))
          drop-shadow(0 1px 4px rgba(250, 246, 241, 0.7));
}
.hero-tagline {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 1.8rem 0 0;
  text-shadow: 0 1px 16px rgba(250, 246, 241, 0.85);
}
.hero-scroll {
  position: absolute; bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 64px;
  overflow: hidden; z-index: 2;
}
.hero-scroll span {
  position: absolute; left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--ink);
  animation: scrollHint 2.4s var(--ease) infinite;
}
@keyframes scrollHint { 0% { top: -100%; } 55% { top: 0; } 100% { top: 100%; } }

/* ---------- ESENCIA ---------- */
.esencia { background: var(--ivory); }
.esencia-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.esencia-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.esencia-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 12% center;
  transform: scale(1.06);
}
.esencia-claims { margin-top: 2.8rem; display: grid; gap: 1.7rem; }
.claim {
  border-top: 1px solid var(--hairline);
  padding-top: 1.15rem;
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
}
.claim dt {
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--olive);
  padding-top: 0.2rem;
}
.claim dd { font-size: 1rem; color: var(--ink); }

/* ---------- ASESORÍA ---------- */
.asesoria {
  background: var(--porcelain);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  text-align: center;
}
.asesoria-inner { display: flex; flex-direction: column; align-items: center; }
.asesoria-sub {
  max-width: 34rem;
  margin: 1.2rem 0 2.4rem;
  color: var(--ink-soft);
}

/* ---------- CATÁLOGO ---------- */
.catalogo { background: var(--ivory); }
.catalogo-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.catalogo-meta {
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--olive);
  text-align: right; line-height: 2;
  white-space: nowrap;
}

.rail-wrap { position: relative; }
.cat-rail {
  display: flex;
  gap: clamp(1.1rem, 2vw, 1.8rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem calc((100vw - min(1200px, 100vw - clamp(2.5rem, 8vw, 8rem))) / 2) 1.6rem;
  scrollbar-width: none;
}
.cat-rail::-webkit-scrollbar { display: none; }
.cat-card {
  flex: 0 0 clamp(240px, 24vw, 310px);
  scroll-snap-align: start;
  text-align: left;
  cursor: pointer;
  transition: opacity 0.4s var(--ease);
}
.cat-card-media {
  display: block;              /* imprescindible: el overlay se posiciona contra este recuadro */
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}
.cat-card-media picture {
  display: block;
  width: 100%; height: 100%;
}
.cat-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.cat-card:hover .cat-card-media img { transform: scale(1.05); }
.cat-card-media::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
  pointer-events: none;
}
.cat-card.is-active .cat-card-media::after { border-color: var(--olive); }

/* Nombre de la categoría sobre la imagen, para que el usuario
   sepa qué está eligiendo mientras recorre el carrusel. */
.cat-card-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 1.2rem;
  /* velo que garantiza legibilidad sobre cualquier imagen */
  background: linear-gradient(180deg,
    rgba(47, 38, 4, 0.34) 0%,
    rgba(47, 38, 4, 0.64) 48%,
    rgba(47, 38, 4, 0.40) 100%);
  transition: background 0.5s var(--ease);
  pointer-events: none;
}
.cat-card:hover .cat-card-overlay {
  background: linear-gradient(180deg,
    rgba(47, 38, 4, 0.42) 0%,
    rgba(47, 38, 4, 0.72) 48%,
    rgba(47, 38, 4, 0.48) 100%);
}
.cat-card-name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1.16;
  color: var(--ivory);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 20px rgba(47, 38, 4, 0.65);
  max-width: 11em;
}

.rail-arrow {
  position: absolute; top: 33%;
  z-index: 5;
  width: 52px; height: 52px;
  border: 1px solid var(--hairline);
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(6px);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.35s, color 0.35s, opacity 0.3s;
}
.rail-arrow:hover { background: var(--ink); color: var(--ivory); }
.rail-arrow[disabled] { opacity: 0.25; pointer-events: none; }
.rail-prev { left: clamp(0.6rem, 2vw, 2rem); }
.rail-next { right: clamp(0.6rem, 2vw, 2rem); }

/* panel de servicios */
.cat-panel { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.panel-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1.1rem;
  margin-bottom: 0.4rem;
}
.panel-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}
.panel-count {
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--olive); white-space: nowrap;
}
.svc {
  border-bottom: 1px solid var(--hairline);
}
.svc-row {
  width: 100%;
  display: flex; align-items: baseline; gap: 1.2rem;
  padding: 1.15rem 0.2rem;
  text-align: left;
  transition: color 0.3s;
}
.svc-row:hover .svc-name { color: var(--olive); }
.svc-name {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.12rem;
  flex: 1;
  transition: color 0.3s;
}
.svc-price {
  font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.svc-chevron {
  width: 10px; height: 10px;
  border-right: 1px solid var(--olive);
  border-bottom: 1px solid var(--olive);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.4s var(--ease);
  flex: none;
}
.svc.is-open .svc-chevron { transform: rotate(225deg) translateY(-2px); }
.svc-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease);
}
.svc-detail-inner {
  padding: 0.3rem 0.2rem 1.6rem;
  max-width: 62rem;
}
.svc-detail p {
  font-size: 0.92rem; line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.svc-add {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--olive);
  color: var(--olive);
  transition: background 0.35s, color 0.35s;
}
.svc-add:hover, .svc-add:focus-visible { background: var(--olive); color: var(--ivory); }
.svc-add.is-added { background: var(--olive); color: var(--ivory); pointer-events: none; }

/* ---------- PREGUNTAS FRECUENTES ---------- */
.faqs { background: var(--porcelain); }
.faqs-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.faqs-head { position: sticky; top: calc(var(--nav-h) + 2rem); }
.faqs-sub {
  margin-top: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 24rem;
}
.faqs-cta { margin-top: 2rem; }

.faq-list { display: block; }
.faq { border-top: 1px solid var(--hairline); }
.faq:last-child { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  text-align: left;
  padding: 1.35rem 0.2rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.3s;
}
.faq-q:hover { color: var(--olive); }
.faq.is-open .faq-q { color: var(--olive); }
/* icono + / − dibujado con dos trazos */
.faq-icon {
  position: relative;
  flex: none;
  width: 12px; height: 12px;
  margin-top: 0.3rem;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--olive);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.faq-icon::after  { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.faq.is-open .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease);
}
.faq-a-inner { padding: 0 0.2rem 1.5rem; max-width: 44rem; }
.faq-a-inner p {
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ---------- CONTACTO ---------- */
.contacto { background: var(--cream); }
.contacto-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.contacto-list { margin-top: 2.4rem; display: grid; gap: 1.6rem; }
.contacto-list li {
  border-top: 1px solid var(--hairline);
  padding-top: 1.05rem;
  display: grid; gap: 0.2rem;
}
.contacto-label {
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--olive);
}
.contacto-list a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sand); }
.contacto-list a:hover { color: var(--olive); }
.contacto-map {
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.contacto-map iframe { width: 100%; height: 100%; border: 0; filter: sepia(0.22) saturate(0.82); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: var(--porcelain);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(247, 233, 229, 0.16);
}
.footer-logo-img {
  display: block;
  width: clamp(11rem, 20vw, 14rem);
  height: auto;
}
.footer-nav, .footer-legal { display: grid; gap: 0.9rem; align-content: start; }
.footer-nav a, .footer-legal a {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--porcelain);
  opacity: 0.75;
  transition: opacity 0.3s;
}
.footer-nav a:hover, .footer-legal a:hover { opacity: 1; }
/* Datos sanitarios obligatorios: discretos pero legibles */
.footer-sanitario {
  padding-top: 2rem;
  display: grid;
  gap: 0.9rem;
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(247, 233, 229, 0.62);
}
.footer-sanitario-title {
  font-size: 0.625rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--sand);
}
.footer-avisos {
  display: flex; flex-wrap: wrap; gap: 0.4rem 3rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(247, 233, 229, 0.1);
}
.footer-avisos dt {
  font-size: 0.625rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sand);
}
.footer-avisos dd { letter-spacing: 0.04em; }

.footer-base {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 1.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(247, 233, 229, 0.1);
  font-size: 0.75rem;
  color: rgba(247, 233, 229, 0.55);
}

/* ---------- CESTA ---------- */
.cart-fab {
  position: fixed; right: clamp(1.2rem, 3vw, 2.2rem); bottom: clamp(1.2rem, 3vw, 2.2rem);
  z-index: 980;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--ink); color: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(58, 52, 39, 0.28);
  transition: transform 0.35s var(--ease), background 0.35s;
}
.cart-fab:hover { background: var(--olive); transform: translateY(-3px); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 22px; height: 22px;
  border-radius: 11px;
  background: var(--blush); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
}
.drawer-veil {
  position: fixed; inset: 0; z-index: 990;
  background: rgba(58, 52, 39, 0.34);
  backdrop-filter: blur(3px);
  opacity: 0; transition: opacity 0.4s;
}
.drawer-veil.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 995;
  width: min(430px, 100%);
  background: var(--ivory);
  box-shadow: -18px 0 50px rgba(58, 52, 39, 0.18);
  transform: translateX(102%);
  transition: transform 0.55s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 1.8rem 1.2rem;
  border-bottom: 1px solid var(--hairline);
}
.drawer-head h3 {
  font-family: var(--serif); font-weight: 400; font-size: 1.7rem;
}
.drawer-close { font-size: 1.9rem; line-height: 1; padding: 0.2rem 0.5rem; color: var(--olive); }
.drawer-body { padding: 1.4rem 1.8rem 2rem; overflow-y: auto; flex: 1; }
.drawer-list { display: grid; gap: 0.9rem; }
.drawer-list li {
  display: flex; align-items: baseline; gap: 0.9rem;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0.9rem;
}
.drawer-item-name { flex: 1; font-family: var(--serif); font-size: 1.02rem; font-weight: 500; }
.drawer-item-price { font-size: 0.78rem; color: var(--ink-soft); white-space: nowrap; }
.drawer-item-remove { color: var(--blush); font-size: 1.2rem; line-height: 1; padding: 0 0.3rem; }
.drawer-item-remove:hover { color: var(--olive); }
.drawer-empty { color: var(--ink-soft); font-size: 0.9rem; padding: 0.8rem 0 0.4rem; }
.drawer-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 1.2rem;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.drawer-total strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.drawer-form { margin-top: 1.8rem; display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--olive);
}
.field input,
.field select {
  font: inherit; font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--hairline);
  padding: 0.55rem 0.1rem;
  border-radius: 0;
  transition: border-color 0.3s;
  width: 100%;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field input:focus,
.field select:focus { outline: none; border-bottom-color: var(--olive); }
.field input.is-invalid,
.field select.is-invalid { border-bottom-color: #B4552E; }
.field-error { font-size: 0.72rem; color: #B4552E; }
.drawer-hint { font-size: 0.74rem; color: var(--olive); letter-spacing: 0.02em; margin-top: -0.2rem; }
.drawer-note { font-size: 0.72rem; color: var(--ink-soft); line-height: 1.7; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: clamp(1.4rem, 4vw, 2.6rem);
  transform: translate(-50%, 20px);
  z-index: 1500;
  background: var(--ink); color: var(--ivory);
  font-size: 0.8rem; letter-spacing: 0.06em;
  padding: 0.85rem 1.6rem;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s var(--ease);
  pointer-events: none;
  max-width: min(90vw, 420px);
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.noscript-note {
  padding: 1.2rem; text-align: center; background: var(--porcelain);
  font-size: 0.9rem;
}
.noscript-note a { text-decoration: underline; }

/* ---------- Animaciones de revelado (estado inicial lo pone JS) ---------- */
.reveal-img { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .esencia-grid { grid-template-columns: 1fr; }
  .esencia-media { max-width: 480px; }
  .contacto-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .faqs-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .faqs-head { position: static; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 7px;
    padding: 0.6rem 0.2rem;
  }
  .nav-toggle span {
    width: 26px; height: 1.5px;
    background: var(--ink);
    transition: transform 0.35s var(--ease);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  .hero-content { align-items: center; text-align: center; }
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(250,246,241,0.32) 0%, rgba(250,246,241,0.12) 35%, rgba(250,246,241,0.28) 75%, rgba(250,246,241,0.62) 100%);
  }
  .hero-video, .hero-fallback { object-position: 30% center; }
  .catalogo-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .catalogo-meta { text-align: left; }
  .rail-arrow { display: none; }
  .cat-card { flex-basis: min(74vw, 300px); }
  .claim { grid-template-columns: 1fr; gap: 0.3rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 0.4rem; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-scroll { display: none; }
  body::after { display: none; }
}
