/* =============================================================
   KRISTINA · Balayage Color Institute — v2
   1. Tokens
   ============================================================= */
:root {
  --bg:        #EFE8DA;   /* crema papel */
  --bg-2:      #E5DCC7;   /* arena */
  --khaki:     #A99B7C;   /* topo/oliva de marca */
  --taupe-d:   #8F8264;   /* topo profundo */
  --choco:     #2E2218;   /* chocolate oscuro */
  --choco-2:   #251B12;
  --card-dark: #3A2C1E;
  --ink:       #2B2118;
  --ink-soft:  #4A3E30;
  --ink-mute:  #8A7C64;
  --caramel:   #C6913E;   /* caramelo/ocre de marca */
  --caramel-2: #D8A75C;
  --cream:     #F0E8D8;   /* texto sobre oscuro */
  --line:      rgba(43, 33, 24, 0.16);
  --line-dark: rgba(240, 232, 216, 0.14);

  --serif:   "Italiana", Georgia, serif;
  --italic:  "Cormorant Garamond", Georgia, serif;
  --sans:    "Jost", "Segoe UI", sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-quart: cubic-bezier(0.7, 0, 0.3, 1);

  --gutter: clamp(1.25rem, 5vw, 6rem);
  --nav-h: 78px;
  --rotator-ms: 6000ms;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; font-weight: 400; }
::selection { background: var(--caramel); color: var(--cream); }
:focus-visible {
  outline: 2px solid var(--caramel);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: 0.6rem 1rem; background: var(--choco); color: var(--cream);
  z-index: 9999; border-radius: 8px; font-weight: 400;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Capas globales: progreso, grano, cursor
   ============================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 1900;
  background: linear-gradient(90deg, var(--caramel), var(--caramel-2));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.grain {
  position: fixed; inset: -50%;
  z-index: 1800;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  background-size: 300px 300px;
}

.cursor {
  position: fixed; top: 0; left: 0;
  z-index: 2200;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  display: none;
}
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: fixed; top: -3px; left: -3px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--caramel);
}
.cursor-ring {
  position: fixed; top: -19px; left: -19px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(43, 33, 24, 0.35);
  transition: border-color 0.3s, background-color 0.3s;
}
.cursor.is-hover .cursor-ring {
  border-color: var(--caramel);
  background: rgba(198, 145, 62, 0.08);
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
}

/* =============================================================
   4. Utilidades
   ============================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--caramel);
}
.section-head { padding: 0 var(--gutter); max-width: 1280px; margin: 0 auto; }
.section-sub {
  max-width: 46ch;
  color: var(--ink-soft);
  margin-top: 1.2rem;
}
em {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 500;
  color: var(--caramel);
  letter-spacing: 0.01em;
}

/* Reveals (IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Máscaras de línea (títulos que emergen) */
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line-inner {
  display: block;
  transform: none;
  transition: transform 1.1s var(--ease-out);
}
html.is-ready [data-mask]:not(.is-inview) .line-inner { transform: translateY(118%); }
[data-mask] .line:nth-child(2) .line-inner { transition-delay: 0.12s; }
[data-mask] .line:nth-child(3) .line-inner { transition-delay: 0.24s; }

/* =============================================================
   5. Botones
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), background 0.45s var(--ease-out),
              color 0.45s var(--ease-out), border-color 0.45s var(--ease-out),
              box-shadow 0.45s var(--ease-out);
  will-change: transform;
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.22) 50%, transparent 60%);
  transform: translateX(-110%);
  transition: transform 0.7s var(--ease-soft);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(110%); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--choco);
  color: var(--cream);
  box-shadow: 0 10px 30px rgba(46, 34, 24, 0.22);
}
.btn-primary:hover {
  background: var(--caramel);
  box-shadow: 0 16px 38px rgba(198, 145, 62, 0.4);
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--caramel); color: var(--caramel); }
.btn-outline-light {
  border: 1px solid rgba(240, 232, 216, 0.35);
  color: var(--cream);
  padding: 0.8rem 1.7rem;
}
.btn-outline-light:hover {
  background: var(--caramel);
  border-color: var(--caramel);
  color: var(--choco);
}
/* CTA del nav — pieza de joyería de la marca */
.btn-nav {
  position: relative;
  isolation: isolate;
  gap: 0.6rem;
  padding: 0.7rem 1.3rem 0.7rem 1.15rem;
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  color: var(--cream);
  background: linear-gradient(148deg, #3E2F20 0%, var(--choco) 52%, #201709 100%);
  box-shadow:
    0 10px 24px -12px rgba(46, 34, 24, 0.6),
    inset 0 1px 0 rgba(240, 232, 216, 0.1);
}
/* anillo dorado de 1px */
.btn-nav::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg,
    rgba(216, 167, 92, 0.85) 0%,
    rgba(216, 167, 92, 0.12) 45%,
    rgba(216, 167, 92, 0.7) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out);
}
.btn-nav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--caramel-2);
  flex-shrink: 0;
  animation: navDotPulse 3s var(--ease-soft) infinite;
  transition: background 0.45s var(--ease-out);
}
@keyframes navDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 167, 92, 0.5); }
  55%      { box-shadow: 0 0 0 6px rgba(216, 167, 92, 0); }
}
.btn-nav-text { position: relative; }
.btn-nav-arrow {
  width: 15px; height: 15px;
  flex-shrink: 0;
  opacity: 0;
  margin-left: -19px;
  transform: translateX(-4px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out),
              margin-left 0.45s var(--ease-out);
}
.btn-nav:hover {
  color: var(--choco);
  background: linear-gradient(148deg, var(--caramel-2) 0%, var(--caramel) 58%, #AD7A2C 100%);
  box-shadow:
    0 16px 32px -12px rgba(198, 145, 62, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-nav:hover::before { opacity: 0; }
.btn-nav:hover .btn-nav-dot { background: var(--choco); animation: none; }
.btn-nav:hover .btn-nav-arrow { opacity: 1; margin-left: 0; transform: none; }

/* =============================================================
   6. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center;
  background: var(--choco);
  transition: transform 1s var(--ease-quart), visibility 1s;
  animation: splashSafety 0.01s 4.5s forwards;
}
.splash::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -10px;
  height: 10px;
  background: var(--caramel);
}
.splash.is-out { transform: translateY(-104%); visibility: hidden; pointer-events: none; }
@keyframes splashSafety {
  to { transform: translateY(-104%); visibility: hidden; pointer-events: none; }
}
.splash-stamp {
  position: absolute;
  width: clamp(240px, 40vw, 420px);
  opacity: 0.16;
  animation: spin 50s linear infinite, splashFade 1.6s var(--ease-out) both;
}
.splash-stamp .stamp-k { fill: var(--caramel); font-size: 64px; font-family: var(--serif); }
.stamp-text-dark { fill: rgba(240, 232, 216, 0.75); }
.splash-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  text-align: center;
}
.splash-word {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.4rem);
  color: var(--cream);
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  animation: splashSpread 1.5s 0.1s var(--ease-out) both;
}
.splash-sub {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--caramel-2);
  animation: splashFade 1.3s 0.5s var(--ease-out) both;
}
@keyframes splashFade { from { opacity: 0; } }
@keyframes splashSpread {
  from { opacity: 0; letter-spacing: 0.22em; text-indent: 0.22em; }
  to   { opacity: 1; letter-spacing: 0.55em; text-indent: 0.55em; }
}

/* =============================================================
   7. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft),
              border-color 0.5s var(--ease-soft), transform 0.5s var(--ease-soft);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(239, 232, 218, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  height: var(--nav-h);
  padding: 0 var(--gutter);
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--ink);
  transition: color 0.3s;
}
.nav-logo:hover { color: var(--caramel); }
.nav-links { display: none; gap: 2.2rem; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--caramel);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-active { color: var(--ink); }
.nav .btn-nav { display: none; }

.nav-burger {
  display: flex; flex-direction: column; gap: 6px;
  padding: 0.6rem 0.2rem;
}
.nav-burger span {
  display: block; width: 26px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.45s var(--ease-out), opacity 0.3s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 850;
  background: var(--bg);
  display: grid; place-items: center;
  overflow: clip;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease-soft), visibility 0.5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu-botanical {
  position: absolute;
  width: clamp(220px, 55vw, 380px);
  aspect-ratio: 300 / 520;
  right: -18%; bottom: -8%;
  color: var(--choco);
  opacity: 0.1;
  filter: blur(8px);
  transform: rotate(-30deg);
}
.mobile-menu nav {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  text-align: center;
}
.mobile-menu nav > a:not(.btn) {
  display: flex; align-items: baseline; gap: 0.8rem;
  font-family: var(--serif);
  font-size: 2.1rem;
  letter-spacing: 0.1em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
.mobile-menu nav > a:not(.btn) i {
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--caramel);
}
.mobile-menu nav > a:not(.btn):hover { color: var(--caramel); }
.mobile-menu .btn {
  margin-top: 1.2rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
              background 0.45s, box-shadow 0.45s;
}
.mobile-menu.is-open nav > * { opacity: 1; transform: none; }
.mobile-menu.is-open nav > *:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.is-open nav > *:nth-child(2) { transition-delay: 0.16s; }
.mobile-menu.is-open nav > *:nth-child(3) { transition-delay: 0.22s; }
.mobile-menu.is-open nav > *:nth-child(4) { transition-delay: 0.28s; }
.mobile-menu.is-open nav > *:nth-child(5) { transition-delay: 0.34s; }
.mobile-menu.is-open nav > *:nth-child(6) { transition-delay: 0.42s; }

/* =============================================================
   8. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 5rem;
  overflow: clip;
}
.hero-glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(45% 38% at 30% 28%, rgba(198, 145, 62, 0.12), transparent 70%),
    radial-gradient(50% 42% at 74% 70%, rgba(169, 155, 124, 0.16), transparent 72%);
  filter: blur(40px);
  animation: glowDrift 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glowDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.06); }
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 900px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
}
.hero-kicker .kicker-line {
  display: inline-block;
  width: 44px; height: 1px;
  background: var(--caramel);
  transform: scaleX(1);
  transform-origin: center;
  transition: transform 1s 0.5s var(--ease-out);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 8.5vw, 6.8rem);
  line-height: 1.04;
  letter-spacing: 0.02em;
  max-width: 16ch;
  color: var(--ink);
}
.hero-title em { font-size: 1.04em; }
.hero-title .line-inner { transition-duration: 1.25s; }
.hero-title .line:nth-child(2) .line-inner { transition-delay: 0.14s; }

/* Trazo de pincel bajo "color" */
.swash-wrap { position: relative; white-space: nowrap; }
.swash {
  position: absolute;
  left: -3%; bottom: -0.22em;
  width: 106%;
  color: var(--caramel);
  opacity: 0.55;
  pointer-events: none;
}
.swash path {
  stroke-dasharray: 210;
  stroke-dashoffset: 210;
  transition: stroke-dashoffset 1.1s 1s var(--ease-soft);
}
.hero.is-in .swash path { stroke-dashoffset: 0; }

.hero-sub {
  max-width: 52ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 0.4rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 1.2rem;
}
.hero-meta-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--caramel);
}

/* Redes sociales */
.social {
  display: flex; gap: 0.9rem; justify-content: center;
  margin-top: 0.4rem;
}
.social-link {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out),
              background 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover {
  color: var(--cream);
  background: var(--caramel);
  border-color: var(--caramel);
  transform: translateY(-3px);
}

/* Coreografía de entrada del hero (tras el splash) */
html.is-ready .hero:not(.is-in) .hero-kicker,
html.is-ready .hero:not(.is-in) .hero-sub,
html.is-ready .hero:not(.is-in) .hero-actions,
html.is-ready .hero:not(.is-in) .hero-meta,
html.is-ready .hero:not(.is-in) .hero-stamp,
html.is-ready .hero:not(.is-in) .hero-scroll {
  opacity: 0;
  transform: translateY(22px);
}
html.is-ready .hero:not(.is-in) .hero-title .line-inner { transform: translateY(118%); }
html.is-ready .hero:not(.is-in) .hero-kicker .kicker-line { transform: scaleX(0); }
.hero-kicker, .hero-sub, .hero-actions, .hero-meta, .hero-stamp, .hero-scroll {
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.hero.is-in .hero-kicker  { transition-delay: 0.05s; }
.hero.is-in .hero-sub     { transition-delay: 0.5s; }
.hero.is-in .hero-actions { transition-delay: 0.65s; }
.hero.is-in .hero-meta    { transition-delay: 0.8s; }
.hero.is-in .hero-stamp   { transition-delay: 0.95s; }
.hero.is-in .hero-scroll  { transition-delay: 1.1s; }

/* Sombras botánicas */
.hero-botanical {
  position: absolute; z-index: 1;
  color: var(--choco);
  opacity: 0.13;
  filter: blur(9px);
  pointer-events: none;
  will-change: transform;
}
.hero-botanical svg { width: 100%; height: 100%; }
.hero-botanical-left {
  width: clamp(180px, 26vw, 360px);
  aspect-ratio: 300 / 520;
  left: max(-60px, -6vw); top: 8%;
}
.hero-botanical-left svg {
  transform: rotate(24deg);
  animation: sway 14s ease-in-out infinite alternate;
  transform-origin: bottom center;
}
.hero-botanical-right {
  width: clamp(200px, 30vw, 420px);
  aspect-ratio: 300 / 520;
  right: max(-70px, -7vw); bottom: -4%;
}
.hero-botanical-right svg {
  transform: rotate(-152deg);
  animation: sway2 17s ease-in-out infinite alternate;
  transform-origin: top center;
}
@keyframes sway  { from { transform: rotate(22deg); }   to { transform: rotate(27deg); } }
@keyframes sway2 { from { transform: rotate(-154deg); } to { transform: rotate(-149deg); } }

/* Sello circular giratorio (solo pantallas amplias) */
.hero-stamp {
  display: none;
  position: absolute; z-index: 2;
  right: clamp(1rem, 6vw, 6rem); bottom: clamp(4.5rem, 9vh, 7rem);
  width: clamp(110px, 13vw, 160px);
  aspect-ratio: 1;
  pointer-events: none;
}
.hero-stamp svg {
  animation: spin 42s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.stamp-text {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  fill: var(--ink-mute);
}
.stamp-text-gold { fill: rgba(216, 167, 92, 0.8); }
.stamp-k {
  font-family: var(--serif);
  font-size: 64px;
  fill: var(--caramel);
}

.hero-scroll {
  position: absolute; z-index: 2;
  left: 50%; bottom: 2rem;
  margin-left: -0.5px;
  width: 1px; height: 56px;
  background: var(--line);
  overflow: hidden;
}
.hero-scroll span {
  position: absolute; top: -40%; left: 0;
  width: 100%; height: 40%;
  background: var(--caramel);
  animation: scrollHint 2.2s var(--ease-soft) infinite;
}
@keyframes scrollHint { to { top: 110%; } }

/* =============================================================
   9. Animación base de cintas (galería y logos)
   ============================================================= */
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   10. Estudio + Proceso
   ============================================================= */
.estudio { padding: clamp(5rem, 11vh, 9rem) 0 clamp(4rem, 8vh, 7rem); }
.estudio-grid {
  padding: 0 var(--gutter);
  max-width: 1280px; margin: 2.4rem auto 0;
  display: grid; gap: 3rem;
}
.estudio-statement h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  margin-bottom: 1.6rem;
}
.estudio-statement p {
  max-width: 56ch;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.estudio-statement strong {
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid rgba(198, 145, 62, 0.45);
}
.estudio-panel {
  position: relative;
  min-height: 340px;
  aspect-ratio: 4 / 5;
  max-height: 600px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--khaki), var(--taupe-d) 90%);
  overflow: clip;
  box-shadow: 0 30px 60px -30px rgba(46, 34, 24, 0.4);
}
@keyframes sway3 { from { transform: rotate(-40deg); } to { transform: rotate(-35deg); } }
.panel-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 1.2s var(--ease-out);
}
.estudio-panel:hover .panel-photo { transform: scale(1.04); }
.panel-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(37, 27, 18, 0.72) 100%);
}
.panel-word {
  position: absolute;
  left: 1.8rem; bottom: 2.8rem;
  font-family: var(--italic);
  font-style: italic;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: var(--cream);
  letter-spacing: 0.04em;
  line-height: 1.05;
}
.panel-est {
  position: absolute;
  left: 1.9rem; bottom: 1.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--caramel-2);
}

/* Proceso — 3 pasos con línea conectora */
.proceso {
  max-width: 1280px;
  margin: clamp(3.5rem, 8vh, 6rem) auto 0;
  padding: 0 var(--gutter);
  display: grid;
  gap: 2.5rem;
  counter-reset: paso;
}
.proceso li {
  position: relative;
  text-align: center;
  padding: 0 1rem;
}
.proceso-num {
  display: inline-grid; place-items: center;
  width: 58px; height: 58px;
  border: 1px solid var(--caramel);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--caramel);
  margin-bottom: 1.1rem;
  position: relative;
  background: var(--bg);
  transition: background 0.5s var(--ease-out), color 0.5s var(--ease-out),
              transform 0.5s var(--ease-out);
}
.proceso li:hover .proceso-num {
  background: var(--caramel);
  color: var(--cream);
  transform: scale(1.08);
}
.proceso h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}
.proceso p {
  max-width: 34ch;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--ink-mute);
}
/* conector (solo en fila) */
.proceso li::after {
  content: "";
  position: absolute;
  top: 29px;
  left: calc(50% + 46px);
  width: calc(100% - 92px);
  height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out);
  display: none;
}
.proceso.is-inview li:not(:last-child)::after { transform: scaleX(1); }
.proceso.is-inview li:nth-child(1)::after { transition-delay: 0.3s; }
.proceso.is-inview li:nth-child(2)::after { transition-delay: 0.7s; }

.stats {
  padding: 0 var(--gutter);
  max-width: 1280px;
  margin: clamp(3rem, 7vh, 5rem) auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.stat {
  padding: 2rem 1rem 0;
  display: flex; flex-direction: column; gap: 0.3rem;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--ink);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* =============================================================
   11. Servicios
   ============================================================= */
.servicios { padding: clamp(4rem, 9vh, 8rem) 0; }
.servicios .section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  margin-top: 1rem;
}
.service-list {
  max-width: 1280px;
  margin: 3rem auto 0;
  padding: 0 var(--gutter);
}
.service { border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service a {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  grid-template-areas: "swatch num name arrow" "swatch num desc arrow";
  column-gap: 1.4rem;
  row-gap: 0.2rem;
  align-items: center;
  padding: 1.6rem 0.8rem;
  position: relative;
  transition: padding 0.5s var(--ease-out), background 0.5s var(--ease-out);
}
.service a:hover { background: var(--bg-2); padding-left: 1.6rem; }
.service-swatch {
  grid-area: swatch;
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: clip;
  box-shadow: inset 0 0 0 1px rgba(43, 33, 24, 0.1), 0 6px 16px -6px rgba(46, 34, 24, 0.35);
  transform: scale(0.85);
  transition: transform 0.5s var(--ease-out);
}
.service a:hover .service-swatch { transform: scale(1.22); }
/* la foto del resultado aparece dentro del círculo, discreta */
.service-swatch img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0;
  transform: scale(1.25);
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}
.service a:hover .service-swatch img { opacity: 1; transform: scale(1); }
.sw-balayage     { background: linear-gradient(140deg, #6B4A2C 0%, #A97C4C 45%, #E4C089 100%); }
.sw-tinte        { background: linear-gradient(140deg, #2E2218, #5C4126 70%, #7A5A33); }
.sw-correccion   { background: conic-gradient(from 200deg, #2E2218, #A97C4C, #E4C089, #C6913E, #2E2218); }
.sw-shine        { background: linear-gradient(120deg, #D8B98C 0%, #F4E9CE 45%, #E9D4A6 55%, #C7A268 100%); }
.sw-bano         { background: linear-gradient(140deg, #C6913E, #D8A75C 60%, #EFDDB6); }
.sw-tape         { background: repeating-linear-gradient(115deg, #7A5A33 0 6px, #A97C4C 6px 12px, #D9B380 12px 18px); }
.sw-restauracion { background: linear-gradient(140deg, #3A2C1E, #6B4A2C 60%, #C6913E); }
.sw-hidratacion  { background: linear-gradient(140deg, #EFE0C4, #D8C49A 70%, #C0A876); }
.sw-frizz        { background: linear-gradient(140deg, #A99B7C, #8F8264 60%, #6F654C); }
.sw-volumen      { background: radial-gradient(circle at 35% 35%, #EFE0C4 0%, #A99B7C 70%, #8F8264 100%); }

/* Etiquetas de grupo dentro de la lista */
.service-group-label {
  padding: 2.6rem 0.8rem 0.9rem;
}
.service-group-label:first-child { padding-top: 0.5rem; }
.service-group-label span {
  font-family: var(--italic);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--caramel);
  letter-spacing: 0.04em;
}
.service-num {
  grid-area: num;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--caramel);
  align-self: start;
  padding-top: 0.5rem;
}
.service-name {
  grid-area: name;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--ink);
  line-height: 1.1;
  transition: transform 0.5s var(--ease-out);
}
.service a:hover .service-name { transform: translateX(4px); }
.service-desc {
  grid-area: desc;
  max-width: 56ch;
  color: var(--ink-mute);
  font-size: 0.95rem;
}
.service-arrow {
  grid-area: arrow;
  font-size: 1.4rem;
  color: var(--caramel);
  transition: transform 0.5s var(--ease-out);
}
.service a:hover .service-arrow { transform: translateX(8px); }
/* Aviso destacado: política de citas */
.aviso {
  max-width: calc(1280px - 2 * var(--gutter));
  margin: 3rem auto 0;
  padding: 2rem clamp(1.4rem, 3vw, 2.6rem);
  background: var(--choco);
  color: var(--cream);
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  box-shadow: 0 30px 60px -30px rgba(46, 34, 24, 0.5);
  position: relative;
  overflow: clip;
}
.aviso::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 90% 50%, rgba(198, 145, 62, 0.16), transparent 70%);
  pointer-events: none;
}
.aviso-text { flex: 1 1 300px; }
.aviso-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}
.aviso-text p:not(.aviso-title) {
  color: rgba(240, 232, 216, 0.7);
  font-size: 0.96rem;
}
.aviso-text strong {
  color: var(--caramel-2);
  font-weight: 400;
  white-space: nowrap;
}
.btn-caramel {
  background: var(--caramel);
  color: var(--choco);
  box-shadow: 0 12px 30px rgba(198, 145, 62, 0.35);
}
.btn-caramel:hover {
  background: var(--caramel-2);
  box-shadow: 0 16px 38px rgba(216, 167, 92, 0.45);
}

/* =============================================================
   12. Cursos (sección oscura)
   ============================================================= */
.cursos {
  position: relative;
  background: linear-gradient(180deg, var(--choco) 0%, var(--choco-2) 100%);
  color: var(--cream);
  padding: clamp(5rem, 11vh, 9rem) 0;
  overflow: clip;
}
.cursos .kicker { color: var(--caramel-2); }
.cursos .kicker-s { color: var(--caramel-2); }
.cursos .section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--cream);
  margin-top: 1rem;
}
.cursos .section-sub { color: rgba(240, 232, 216, 0.65); }
.cursos-head {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.cursos-photo {
  margin: 0;
  border-radius: 14px;
  overflow: clip;
  border: 1px solid rgba(240, 232, 216, 0.16);
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.6);
  transform: rotate(1.6deg);
  max-width: 420px;
  justify-self: center;
}
.cursos-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.cursos-photo:hover img { transform: scale(1.04); }
@media (min-width: 960px) {
  .cursos-head { grid-template-columns: 1.15fr 0.85fr; }
  .cursos-photo { justify-self: end; }
}
.cursos-botanical {
  position: absolute;
  width: clamp(220px, 30vw, 420px);
  aspect-ratio: 300 / 520;
  right: -6%; top: -4%;
  color: #000;
  opacity: 0.3;
  filter: blur(10px);
  pointer-events: none;
  will-change: transform;
}
.cursos-botanical svg { transform: rotate(-148deg); }
.cursos-bg-k {
  position: absolute;
  font-family: var(--serif);
  font-size: clamp(24rem, 46vw, 44rem);
  line-height: 1;
  right: -4%; bottom: -18%;
  color: var(--cream);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}
.curso-grid {
  position: relative; z-index: 2;
  max-width: 1280px;
  margin: 3.4rem auto 0;
  padding: 0 var(--gutter);
  display: grid; gap: 1.4rem;
}
.curso-card {
  position: relative;
  background: rgba(58, 44, 30, 0.55);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 2.2rem 1.9rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  overflow: clip;
  transition: transform 0.55s var(--ease-out), border-color 0.55s var(--ease-out),
              background 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}
.curso-card:hover {
  border-color: rgba(198, 145, 62, 0.5);
  background: rgba(58, 44, 30, 0.85);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.45);
}
/* halo que sigue al cursor (variables desde JS) */
.curso-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(240px circle at var(--hx, 50%) var(--hy, 50%),
              rgba(216, 167, 92, 0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.curso-card:hover::before { opacity: 1; }
.curso-roman {
  position: absolute;
  top: 1.2rem; right: 1.6rem;
  font-family: var(--serif);
  font-size: 2.4rem;
  color: rgba(216, 167, 92, 0.22);
  line-height: 1;
  transition: color 0.5s;
}
.curso-card:hover .curso-roman { color: rgba(216, 167, 92, 0.5); }
.curso-shadow {
  position: absolute;
  width: 120%;
  aspect-ratio: 300 / 520;
  right: -45%; bottom: -55%;
  color: #000;
  opacity: 0;
  filter: blur(9px);
  transform: rotate(-140deg) translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  pointer-events: none;
}
.curso-card:hover .curso-shadow { opacity: 0.28; transform: rotate(-140deg) translateY(0); }
.curso-level {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--caramel-2);
}
.curso-card h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  letter-spacing: 0.02em;
}
.curso-desc { color: rgba(240, 232, 216, 0.72); font-size: 0.96rem; flex-grow: 1; position: relative; z-index: 1; }
.curso-meta {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 232, 216, 0.45);
}
.curso-card .btn { align-self: flex-start; margin-top: 0.4rem; position: relative; z-index: 1; }

/* Master class con fecha */
.masterclass {
  position: relative; z-index: 2;
  max-width: 1280px;
  margin: clamp(3.5rem, 8vh, 5.5rem) auto 0;
  padding: 0 var(--gutter);
}
.mc-head { text-align: center; margin-bottom: 2.6rem; }
.mc-head h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--cream);
  margin-top: 0.9rem;
}
.mc-intro {
  max-width: 46ch;
  margin: 1rem auto 0;
  color: rgba(240, 232, 216, 0.6);
  font-size: 0.98rem;
}
.mc-grid {
  display: grid;
  gap: 1.4rem;
}
.mc-card {
  position: relative;
  display: flex; flex-direction: column;
  background: rgba(58, 44, 30, 0.5);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 2.2rem 1.7rem 1.8rem;
  overflow: clip;
  transition: border-color 0.55s var(--ease-out), background 0.55s var(--ease-out),
              transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}
.mc-card:hover {
  border-color: rgba(198, 145, 62, 0.5);
  background: rgba(58, 44, 30, 0.78);
  transform: translateY(-5px);
  box-shadow: 0 34px 60px -26px rgba(0, 0, 0, 0.55);
}
.mc-ribbon {
  position: absolute;
  top: 1.3rem; right: 1.3rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--choco);
  background: var(--caramel-2);
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.mc-origen {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--caramel-2);
  margin-bottom: 0.7rem;
  max-width: calc(100% - 5.5rem);
}
.mc-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--cream);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.mc-tecnicas {
  margin-top: 0.4rem;
  font-family: var(--italic);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--caramel-2);
}
.mc-pitch {
  margin-top: 0.9rem;
  color: rgba(240, 232, 216, 0.7);
  font-size: 0.95rem;
}

/* Datos rápidos */
.mc-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
  margin: 1.6rem 0;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.mc-meta dt {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(240, 232, 216, 0.4);
  margin-bottom: 0.25rem;
}
.mc-meta dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.mc-meta dd small {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel-2);
  margin-top: 0.15rem;
}
/* Programa por días */
.mc-program {
  display: grid;
  gap: 1.3rem;
  margin-bottom: 1.5rem;
}
.mc-day-num {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--choco);
  background: rgba(216, 167, 92, 0.85);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}
.mc-day-name {
  display: block;
  margin: 0.6rem 0 0.5rem;
  font-family: var(--italic);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream);
}
.mc-day ul { display: flex; flex-direction: column; gap: 0.3rem; }
.mc-day li, .mc-incluye li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 0.9rem;
  color: rgba(240, 232, 216, 0.66);
}
.mc-day li::before, .mc-incluye li::before {
  content: "";
  position: absolute; left: 0; top: 0.6em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--caramel);
}
.mc-sub {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(240, 232, 216, 0.4);
  margin-bottom: 0.6rem;
}
.mc-incluye { margin-bottom: 1.4rem; }
.mc-incluye ul { display: flex; flex-direction: column; gap: 0.3rem; }

.mc-requisito {
  font-size: 0.88rem;
  color: rgba(240, 232, 216, 0.6);
  background: rgba(46, 34, 24, 0.5);
  border-left: 2px solid var(--caramel);
  border-radius: 0 8px 8px 0;
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
}
.mc-requisito span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--caramel-2);
  margin-bottom: 0.25rem;
}
.mc-quote {
  font-family: var(--italic);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.45;
  color: rgba(240, 232, 216, 0.8);
  margin-bottom: 1.4rem;
}

/* Precio + CTA */
.mc-foot {
  margin-top: auto;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.mc-price { display: flex; flex-direction: column; }
.mc-amount {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  color: var(--cream);
  line-height: 1;
}
.mc-reserva {
  margin-top: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--caramel-2);
}

@media (min-width: 720px) {
  .mc-program { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .mc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mc-card { padding: 2.4rem 2rem 2rem; }
}

/* Trayectoria & especialización */
.trayectoria {
  position: relative; z-index: 2;
  max-width: 1280px;
  margin: clamp(3.5rem, 8vh, 5.5rem) auto 0;
  padding: 0 var(--gutter);
}
.tray-head { text-align: center; margin-bottom: 2.6rem; }
.tray-head h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--cream);
  margin-top: 0.9rem;
}
.tray-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.tray-grid li {
  background: rgba(58, 44, 30, 0.42);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 1.6rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.3rem;
  transition: border-color 0.5s var(--ease-out), background 0.5s var(--ease-out),
              transform 0.5s var(--ease-out);
}
.tray-grid li:hover {
  border-color: rgba(198, 145, 62, 0.45);
  background: rgba(58, 44, 30, 0.7);
  transform: translateY(-4px);
}
.tray-dato {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1;
  color: var(--caramel-2);
}
.tray-label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  margin-top: 0.35rem;
}
.tray-grid p {
  font-size: 0.9rem;
  color: rgba(240, 232, 216, 0.6);
  margin-top: 0.35rem;
}

/* Diplomas — espacio reservado para los certificados */
.diplomas { margin-top: clamp(2.6rem, 6vh, 4rem); }
.diplomas-title {
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--caramel-2);
  margin-bottom: 1.4rem;
}
.diplomas-strip {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}
.diploma-slot {
  margin: 0;
  border: 1px solid rgba(240, 232, 216, 0.16);
  border-radius: 10px;
  overflow: clip;
  background: rgba(46, 34, 24, 0.55);
  transition: border-color 0.5s var(--ease-out), transform 0.5s var(--ease-out),
              box-shadow 0.5s var(--ease-out);
}
.diploma-slot:hover {
  border-color: rgba(198, 145, 62, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 24px 45px -22px rgba(0, 0, 0, 0.6);
}
.diploma-slot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.diploma-slot:hover img { transform: scale(1.04); }
.diploma-slot figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  border-top: 1px solid var(--line-dark);
}
.diploma-slot figcaption span {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--caramel-2);
}
.diplomas-note {
  margin-top: 1.1rem;
  text-align: center;
  font-family: var(--italic);
  font-style: italic;
  font-size: 0.98rem;
  color: rgba(240, 232, 216, 0.45);
}

/* Formación internacional de Kristina */
.formacion {
  position: relative; z-index: 2;
  max-width: 1280px;
  margin: clamp(3.5rem, 8vh, 5.5rem) auto 0;
  padding: 0 var(--gutter);
}
.formacion-title {
  font-family: var(--italic);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: rgba(240, 232, 216, 0.75);
  text-align: center;
  max-width: 44ch;
  margin: 0 auto 2.4rem;
}
.formacion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 2rem;
}
.formacion-grid li {
  border-top: 1px solid var(--line-dark);
  padding-top: 0.9rem;
  display: flex; flex-direction: column; gap: 0.15rem;
  transition: border-color 0.5s;
}
.formacion-grid li:hover { border-color: rgba(216, 167, 92, 0.55); }
.formacion-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--cream);
}
.formacion-pais {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--caramel-2);
}
.flag {
  width: 19px; height: 12.5px;
  border-radius: 2.5px;
  box-shadow: 0 0 0 1px rgba(240, 232, 216, 0.22);
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.formacion-grid li:hover .flag { opacity: 1; transform: translateY(-2px); }

/* =============================================================
   13. Opiniones
   ============================================================= */
.opiniones {
  position: relative;
  padding: clamp(5rem, 11vh, 9rem) 0;
  overflow: clip;
}
.opiniones-mark {
  position: absolute;
  top: 0.5rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--italic);
  font-style: italic;
  font-size: clamp(10rem, 22vw, 17rem);
  line-height: 1;
  color: var(--caramel);
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}
.opiniones .section-head { text-align: center; }
.quote-rotator {
  position: relative;
  max-width: 820px;
  margin: 2.5rem auto 0;
  padding: 0 var(--gutter);
  text-align: center;
  min-height: 300px;
}
.quote {
  position: absolute; inset: 0;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: 1.3rem;
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  pointer-events: none;
}
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.quote-stars { color: var(--caramel); font-size: 1.05rem; display: flex; gap: 0.5rem; }
.quote-stars span {
  display: inline-block;
  opacity: 0; transform: scale(0.3);
}
.quote.is-active .quote-stars span { animation: starPop 0.5s var(--ease-out) forwards; }
.quote.is-active .quote-stars span:nth-child(1) { animation-delay: 0.15s; }
.quote.is-active .quote-stars span:nth-child(2) { animation-delay: 0.24s; }
.quote.is-active .quote-stars span:nth-child(3) { animation-delay: 0.33s; }
.quote.is-active .quote-stars span:nth-child(4) { animation-delay: 0.42s; }
.quote.is-active .quote-stars span:nth-child(5) { animation-delay: 0.51s; }
@keyframes starPop { to { opacity: 1; transform: scale(1); } }
.quote blockquote {
  font-family: var(--italic);
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 30ch;
}
.quote figcaption {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
/* Estado "en proceso" de las opiniones */
.opiniones-pending {
  max-width: 560px;
  margin: 2.5rem auto 0;
  padding: clamp(2.4rem, 5vw, 3.2rem) 2rem;
  text-align: center;
  border: 1px dashed rgba(198, 145, 62, 0.5);
  border-radius: 14px;
  background: rgba(229, 220, 199, 0.25);
}
.pending-stars {
  display: flex; gap: 0.6rem; justify-content: center;
  color: var(--caramel);
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}
.pending-stars span { animation: pendingPulse 2.8s ease-in-out infinite; }
.pending-stars span:nth-child(2) { animation-delay: 0.25s; }
.pending-stars span:nth-child(3) { animation-delay: 0.5s; }
.pending-stars span:nth-child(4) { animation-delay: 0.75s; }
.pending-stars span:nth-child(5) { animation-delay: 1s; }
@keyframes pendingPulse {
  0%, 100% { opacity: 0.25; }
  30%      { opacity: 1; }
}
.pending-title {
  font-family: var(--italic);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.pending-text {
  color: var(--ink-mute);
  max-width: 38ch;
  margin: 0 auto;
  font-size: 0.98rem;
}
.pending-invite {
  margin-top: 1.6rem;
  font-family: var(--italic);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
}
.pending-invite a {
  color: var(--caramel);
  border-bottom: 1px solid rgba(198, 145, 62, 0.4);
  transition: color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.pending-invite a:hover { color: var(--ink); border-color: var(--ink); }

.quote-nav { margin-top: 2.2rem; }
.quote-dots {
  display: flex; gap: 0.7rem; justify-content: center;
}
.quote-dots button {
  width: 44px; height: 3px;
  background: var(--line);
  border-radius: 2px;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.quote-dots button i {
  display: block;
  height: 100%;
  background: var(--caramel);
  transform: scaleX(0);
  transform-origin: left;
}
.quote-dots button.is-active i {
  animation: dotFill var(--rotator-ms) linear forwards;
}
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* =============================================================
   14. Banda de marca (los 5 paneles de la identidad)
   ============================================================= */
.marca { overflow: clip; }
.marca-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: clamp(240px, 36vh, 360px);
}
.marca-panel {
  position: relative;
  display: grid; place-items: center;
  padding: 2rem 1.2rem;
  overflow: clip;
  transition: transform 0.6s var(--ease-out);
}
.marca-panel > * { position: relative; z-index: 1; }
.marca-shadow {
  position: absolute; inset: 0; z-index: 0;
  color: var(--choco);
  opacity: 0.18;
  filter: blur(8px);
  pointer-events: none;
}
.marca-shadow svg {
  position: absolute;
  width: 120%;
  left: -30%; top: -20%;
  transform: rotate(32deg);
  animation: sway3 18s ease-in-out infinite alternate;
}
.marca-shadow-soft { opacity: 0.12; }
.marca-shadow-soft svg { left: auto; right: -35%; transform: rotate(-28deg); }

.marca-khaki { background: var(--khaki); }
.marca-wordmark {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.9vw, 1.7rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--cream);
}

.marca-choco { background: var(--choco); }
.marca-stamp { width: clamp(110px, 60%, 150px); }
.marca-stamp svg { animation: spin 46s linear infinite; }

.marca-taupe {
  background: var(--taupe-d);
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.marca-side {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--caramel-2);
}
.marca-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--caramel-2);
  flex-shrink: 0;
}

.marca-caramel {
  background: var(--caramel);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  text-align: center;
}
.marca-mini-top, .marca-mini-bottom {
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(46, 34, 24, 0.75);
}
.marca-mini-name {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  color: var(--choco);
  display: flex; align-items: center; gap: 0.7rem;
}
.marca-mini-name i {
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(46, 34, 24, 0.6);
}

.marca-cream {
  background: var(--bg);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 0.15rem;
  padding-left: clamp(1.6rem, 3vw, 3rem);
}
.marca-lock-1, .marca-lock-2, .marca-lock-3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.25;
}
.marca-lock-1 { color: var(--choco); }
.marca-lock-2 { color: var(--khaki); }
.marca-lock-3 {
  color: transparent;
  -webkit-text-stroke: 1px var(--caramel);
}

/* =============================================================
   15. Visita
   ============================================================= */
.visita {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: clamp(5rem, 11vh, 9rem) 0;
}
.visita-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid; gap: 3rem;
}
.visita-info h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin: 1rem 0 2rem;
}
.visita-data {
  display: grid; gap: 1.6rem;
  margin-bottom: 2.4rem;
}
.visita-data dt {
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 0.35rem;
}
.visita-data dd {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}
.visita-data a { border-bottom: 1px solid var(--line); transition: color 0.3s, border-color 0.3s; }
.visita-data a:hover { color: var(--caramel); border-color: var(--caramel); }
.visita-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.visita-map {
  border-radius: 14px;
  overflow: clip;
  min-height: 380px;
  box-shadow: 0 30px 60px -30px rgba(46, 34, 24, 0.35);
}
.visita-map iframe {
  width: 100%; height: 100%; min-height: 380px;
  border: 0;
  filter: grayscale(0.35) sepia(0.22) saturate(0.9);
  transition: filter 0.6s var(--ease-out);
}
.visita-map:hover iframe { filter: grayscale(0) sepia(0.05) saturate(1); }

/* =============================================================
   16. Footer
   ============================================================= */
.footer {
  position: relative;
  background: var(--choco-2);
  color: var(--cream);
  padding: clamp(4rem, 8vh, 6rem) 0 0;
  overflow: clip;
}
.footer-botanical {
  position: absolute;
  width: clamp(200px, 26vw, 340px);
  aspect-ratio: 300 / 520;
  left: -6%; bottom: -20%;
  color: #000;
  opacity: 0.35;
  filter: blur(10px);
  transform: rotate(160deg);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter) 3.4rem;
  display: grid; gap: 3rem;
}
.footer-logo {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  letter-spacing: 0.4em;
}
.footer-lockup {
  display: flex; flex-direction: column;
  margin-top: 0.9rem;
  gap: 0.1rem;
}
.footer-lockup span {
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  line-height: 1.6;
}
.fl-1 { color: rgba(240, 232, 216, 0.75); }
.fl-2 { color: var(--khaki); }
.fl-3 {
  color: transparent;
  -webkit-text-stroke: 0.6px var(--caramel-2);
}
.footer-cols {
  display: grid; gap: 2rem;
}
.footer-cols h4 {
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--caramel-2);
  margin-bottom: 0.7rem;
}
.footer-cols p {
  color: rgba(240, 232, 216, 0.68);
  font-size: 0.94rem;
  line-height: 1.8;
}
.footer-cols a { border-bottom: 1px solid var(--line-dark); transition: color 0.3s, border-color 0.3s; }
.footer-cols a:hover { color: var(--caramel-2); border-color: var(--caramel-2); }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1rem; }
.footer-social a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark);
  border-bottom-color: var(--line-dark);
  border-radius: 50%;
  color: rgba(240, 232, 216, 0.68);
  transition: color 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
              background 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.footer-social a:hover {
  color: var(--choco);
  background: var(--caramel-2);
  border-color: var(--caramel-2);
  transform: translateY(-3px);
}
.footer-social svg { width: 15px; height: 15px; }
.footer-base {
  position: relative;
  border-top: 1px solid var(--line-dark);
  padding: 1.4rem var(--gutter);
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(240, 232, 216, 0.42);
}
.footer-palette { display: flex; gap: 0.45rem; }
.footer-palette i {
  width: 13px; height: 13px;
  border-radius: 3px;
  border: 1px solid rgba(240, 232, 216, 0.18);
  transition: transform 0.4s var(--ease-out);
}
.footer-palette i:hover { transform: translateY(-3px); }

/* =============================================================
   17. WhatsApp flotante
   ============================================================= */
.wa-float {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 1700;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--choco);
  color: var(--cream);
  box-shadow: 0 14px 34px rgba(37, 27, 18, 0.4);
  opacity: 0; visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
              visibility 0.5s, background 0.4s;
}
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { background: var(--caramel); }
.wa-float svg { width: 26px; height: 26px; }
.wa-tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  background: var(--cream);
  color: var(--choco);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(37, 27, 18, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.wa-float.show-tip .wa-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* =============================================================
   18. Tilt (JS define --rx / --ry)
   ============================================================= */
[data-tilt] { transform-style: preserve-3d; }
[data-tilt].is-tilting {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
  transition: transform 0.12s var(--ease-soft);
}

/* =============================================================
   19. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .curso-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .estudio-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .proceso { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .proceso li::after { display: block; }
  .visita-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .visita-data { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav .btn-nav { display: inline-flex; }
  .nav-burger { display: none; }
  .formacion-grid { grid-template-columns: repeat(3, 1fr); }
  .tray-grid { grid-template-columns: repeat(4, 1fr); }
  .diplomas-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stamp { display: block; }
}
@media (min-width: 1280px) {
  .curso-grid { grid-template-columns: repeat(4, 1fr); }
  .formacion-grid { grid-template-columns: repeat(6, 1fr); }
}
/* ---- Móvil / tablet: nada de deslizar a mano, todo en mosaico ---- */
@media (max-width: 959px) {
  .marca-band {
    display: grid;
    /* minmax(0,…) impide que el texto ensanche la columna y corte la banda */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }
  .marca-panel {
    min-height: clamp(150px, 27vw, 210px);
    padding: 1.4rem 1rem;
  }
  .marca-cream {
    grid-column: span 2;
    align-items: center;
    padding: 1.6rem 1rem;
  }
  .marca-taupe { flex-direction: column; gap: 0.6rem; }
  .marca-wordmark { font-size: 1rem; letter-spacing: 0.3em; text-indent: 0.3em; }
  .marca-mini-name { font-size: 1rem; letter-spacing: 0.18em; text-indent: 0.18em; }
  .marca-lock-1, .marca-lock-2, .marca-lock-3 { font-size: 1.15rem; letter-spacing: 0.18em; }
  .marca-stamp { width: min(120px, 60%); }
}

/* ---- Teléfono: evitar cualquier corte lateral ---- */
@media (max-width: 539px) {
  /* Estadísticas: en fila se cortaban. Ahora una por renglón. */
  .stats { grid-template-columns: 1fr; }
  .stat {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.9rem;
    text-align: left;
    padding: 1.15rem 0.2rem;
  }
  .stat + .stat { border-top: 1px solid var(--line); }
  .stat-num { font-size: 2.1rem; }
  .stat-label { font-size: 0.7rem; letter-spacing: 0.16em; text-align: right; }

  /* Trayectoria: una tarjeta por renglón */
  .tray-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .tray-grid li { padding: 1.3rem 1.2rem; }
  .tray-label { letter-spacing: 0.16em; }

  /* Botones a lo ancho: más cómodos de tocar */
  .aviso .btn, .envivo-cta .btn { width: 100%; }
  .hero-actions .btn, .visita-actions .btn { flex: 1 1 100%; }

  /* Diplomas y formación, algo más compactos */
  .diplomas-strip { gap: 0.8rem; }
  .formacion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1rem; }

  /* Servicios: los nombres largos se salían de la fila */
  .service a {
    column-gap: 0.8rem;
    padding: 1.35rem 0.2rem;
  }
  .service a:hover { padding-left: 0.2rem; }
  .service-swatch { width: 36px; height: 36px; }
  .service-num { font-size: 0.7rem; letter-spacing: 0.12em; padding-top: 0.35rem; }
  .service-name { font-size: 1.15rem; }
  .service-desc { font-size: 0.88rem; }
  .service-arrow { font-size: 1.15rem; }
}

/* Pantallas muy angostas (≤ 360px) */
@media (max-width: 360px) {
  .marca-wordmark { font-size: 0.9rem; letter-spacing: 0.24em; text-indent: 0.24em; }
  .marca-mini-name { font-size: 0.92rem; letter-spacing: 0.14em; text-indent: 0.14em; }
  .marca-lock-1, .marca-lock-2, .marca-lock-3 { font-size: 1rem; letter-spacing: 0.14em; }
  .marca-side { font-size: 0.66rem; letter-spacing: 0.22em; }
  .service-num { display: none; }
  .service a {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "swatch name arrow" "swatch desc arrow";
  }
}

/* =============================================================
   13.5 Galería (doble cinta de fotos + video)
   ============================================================= */
.galeria {
  padding: clamp(5rem, 11vh, 9rem) 0 clamp(4rem, 9vh, 7rem);
  overflow: clip;
}
.galeria-head { text-align: center; }
.galeria-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  margin-top: 1rem;
}
.galeria-sub {
  max-width: 46ch;
  margin: 1rem auto 0;
  color: var(--ink-mute);
}
.film {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.film-row {
  overflow: clip;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.film-track {
  display: flex; gap: 1.1rem;
  width: max-content;
  padding: 0.4rem 0;
}
.film-track-a { animation: marquee 70s linear infinite reverse; }
.film-track-b { animation: marquee 84s linear infinite; }
.film-row:hover .film-track { animation-play-state: paused; }
.film-item {
  height: clamp(230px, 34vh, 330px);
  border-radius: 12px;
  overflow: clip;
  flex-shrink: 0;
  box-shadow: 0 18px 40px -22px rgba(46, 34, 24, 0.45);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.film-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 55px -22px rgba(46, 34, 24, 0.55);
}
.film-item img, .film-item video {
  height: 100%; width: auto;
  object-fit: cover;
  display: block;
}
/* Sección "En vivo" — reel vertical del estudio */
.envivo {
  padding: clamp(4rem, 9vh, 7rem) 0;
  overflow: clip;
}
.envivo-grid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 3rem;
  align-items: center;
}
.envivo-frame {
  margin: 0;
  justify-self: center;
  width: min(300px, 78vw);
}
.envivo-frame video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 34px 70px -28px rgba(46, 34, 24, 0.55);
  outline: 1px solid rgba(198, 145, 62, 0.4);
  outline-offset: 7px;
}
.envivo-frame figcaption {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.envivo-text { text-align: center; }
.envivo-text h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin: 1rem 0 1.4rem;
}
.envivo-text > p:not(.kicker) {
  max-width: 44ch;
  margin: 0 auto;
  color: var(--ink-soft);
}
.envivo-cta { margin-top: 2rem; }
@media (min-width: 960px) {
  .envivo-grid { grid-template-columns: 0.85fr 1.15fr; }
  .envivo-frame { justify-self: end; }
  .envivo-text { text-align: left; }
  .envivo-text > p:not(.kicker) { margin: 0; }
}
.galeria-cta {
  margin-top: clamp(2.2rem, 5vh, 3.4rem);
  text-align: center;
  font-family: var(--italic);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-soft);
}
.galeria-cta a {
  color: var(--caramel);
  border-bottom: 1px solid rgba(198, 145, 62, 0.4);
  transition: border-color 0.3s, color 0.3s;
  white-space: nowrap;
}
.galeria-cta a:hover { color: var(--ink); border-color: var(--ink); }

/* =============================================================
   14.5 Marcas aliadas (logos en marquee inverso)
   ============================================================= */
.aliadas {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: clamp(4rem, 8vh, 6.5rem) 0 clamp(4.5rem, 9vh, 7rem);
  overflow: clip;
}
.aliadas-head { text-align: center; }
.aliadas-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-top: 1rem;
}
.aliadas-sub {
  max-width: 46ch;
  margin: 1rem auto 0;
  color: var(--ink-mute);
  font-size: 0.98rem;
}
.logos-marquee {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  overflow: clip;
  /* desvanecido en los bordes */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos-track {
  display: flex;
  align-items: center;
  gap: clamp(3.5rem, 7vw, 6.5rem);
  width: max-content;
  padding: 0.8rem 0;
  animation: marquee 44s linear infinite reverse;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }

.logo-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  color: var(--ink);
  opacity: 0.52;
  filter: saturate(0);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
              filter 0.5s var(--ease-out);
  cursor: default;
}
.logo-item:hover {
  opacity: 1;
  filter: saturate(1);
  transform: translateY(-4px);
}

/* Schwarzkopf — silueta arriba del nombre (como el logo real) */
.lg-schwarzkopf { flex-direction: column; gap: 0.35rem; }
.lg-head { width: 26px; height: 34px; }
.lg-schwarzkopf-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

/* Authentic Beauty Concept — bloque condensado */
.lg-abc {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.lg-abc span {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.02;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Mucota — círculo con m + serif espaciada */
.lg-mucota { flex-direction: column; gap: 0.45rem; }
.lg-mucota-mark {
  width: 40px; height: 40px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: grid; place-items: center;
}
.lg-mucota-mark i {
  font-family: var(--italic);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1;
  transform: translateY(-1px);
}
.lg-mucota-text {
  font-family: Georgia, serif;
  font-size: 0.82rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
}

/* Tokio Inkarami — serif fina espaciada */
.lg-tokio { flex-direction: column; gap: 0.15rem; }
.lg-tokio-1 {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  line-height: 1;
}
.lg-tokio-2 {
  font-family: var(--serif);
  font-size: 0.86rem;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
}

/* Alfaparf Milano */
.lg-alfaparf { flex-direction: column; gap: 0.1rem; }
.lg-alfaparf-1 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  line-height: 1;
}
.lg-alfaparf-2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
}

/* Moroccanoil — M grande + palabra encima */
.lg-mor {
  position: relative;
  justify-content: center;
  min-width: 150px;
}
.lg-mor-m {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 3.6rem;
  line-height: 1;
  transition: color 0.5s;
}
.lg-mor-text {
  position: absolute;
  left: 50%; top: 58%;
  transform: translate(-50%, -50%);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  white-space: nowrap;
  transition: color 0.5s;
}
.lg-mor:hover .lg-mor-m { color: #E0862D; }
.lg-mor:hover .lg-mor-text { color: #2E5F7A; }

/* Wella — ondas arriba del texto (como el logo real) */
.lg-wella { flex-direction: column; gap: 0.3rem; }
.lg-wella-mark { width: 40px; height: 27px; transition: color 0.5s; }
.lg-wella-txt { display: flex; flex-direction: column; line-height: 1.05; align-items: center; }
.lg-wella-txt b {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
}
.lg-wella-txt small {
  font-family: var(--sans);
  font-size: 0.56rem;
  letter-spacing: 0.28em;
}
.lg-wella:hover { color: #A61E38; }

@media (max-width: 719px) {
  .logos-track { gap: 2.6rem; }
  .lg-schwarzkopf-text { font-size: 1.2rem; }
  .lg-tokio-1 { font-size: 1.3rem; }
  .lg-mor-m { font-size: 3rem; }
}

/* =============================================================
   20. Reduced motion (solo lo intrusivo)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  /* Solo se desactiva lo verdaderamente intrusivo (bucles rápidos).
     Windows trae "reducir movimiento" activado de fábrica en muchos equipos:
     si aquí apagáramos las micro-interacciones, la web se vería muerta. */
  .hero-scroll span { animation: none; }
}
