/* =========================================================================
   GRUPO MYSTIKA — Haute Floristry
   Paleta "Deluxe Événementiel" · Cormorant Garamond / Cinzel / Manrope
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ivoire: #F7F3EA;
  --porcelaine: #EDE5D8;
  --onyx: #111010;
  --gold: #C0A062;
  --gold-pale: #D8C49A;
  --gold-ink: #85692F;      /* dorado oscurecido para texto chico sobre claro (AA) */
  --jardin: #1A1816;
  --rose: #B8A99A; /* taupe */
  --bordeaux: #111010;
  --muted: #5E574D;         /* texto secundario sobre claro */
  --muted-light: #CFC6B8;   /* texto secundario sobre oscuro */

  --f-display: "Jost", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --f-cere: "Jost", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --f-ui: "Jost", "Century Gothic", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(1.25rem, 5vw, 5rem);
  --section: clamp(6rem, 14vw, 12rem);
  --line: 1px solid rgba(184, 154, 94, .55);

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 80px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivoire); color: var(--onyx);
  font-family: var(--f-ui); font-weight: 300; font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Grano de papel sutil */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9000; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--gold-pale); color: var(--onyx); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 10001; background: var(--onyx); color: var(--ivoire); padding: .6rem 1rem; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 1rem); }

/* ---------- 2. Tipografía ---------- */
.cinzel { font-family: var(--f-cere); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; }
.eyebrow {
  font-family: var(--f-cere); font-size: .7rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-ink); margin: 0 0 2rem; display: flex; align-items: center; gap: 1rem;
}
.eyebrow::after { content: ""; width: 3.5rem; height: 1px; background: var(--gold); }
.eyebrow--light { color: var(--gold-pale); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { content: ""; width: 3.5rem; height: 1px; background: var(--gold); }
.roman { font-family: var(--f-cere); }
.h2 {
  font-family: var(--f-display); font-weight: 300; font-size: clamp(2rem, 1.2rem + 3.2vw, 4.2rem); letter-spacing: -.01em;
  line-height: 1.02; letter-spacing: -.02em; margin: 0 0 2rem; text-wrap: balance;
}
.h2 em, .hero__title em { font-style: italic; font-weight: 300; color: inherit; }
.h2--light { color: var(--ivoire); }
.section { padding: var(--section) var(--pad); position: relative; }
.section--light { background: var(--ivoire); }
.section--porcelain { background: var(--porcelaine); }
.section-head { max-width: 62rem; margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { content: ""; width: 3.5rem; height: 1px; background: var(--gold); }
.section-head__lead { max-width: 34rem; color: var(--muted); }

/* ---------- 3. Botones / links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .8rem; padding: 1.05rem 2.2rem;
  font-family: var(--f-cere); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--ivoire); position: relative; overflow: hidden; isolation: isolate;
  transition: color .6s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: var(--onyx); }
.link-line {
  font-family: var(--f-cere); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  position: relative; padding-bottom: .4rem; display: inline-block;
}
.link-line::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform-origin: left; transition: transform .7s var(--ease); }
.link-line:hover::after { transform: scaleX(.35); }
.link-line--light { color: var(--ivoire); }

/* ---------- 4. Preloader (doble red de seguridad: CSS 4.5s + JS) ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000; background: var(--ivoire); display: grid; place-items: center;
  animation: preloaderOut .8s var(--ease) 4.5s forwards;
}
.preloader.is-done { opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
@keyframes preloaderOut { to { opacity: 0; visibility: hidden; } }
.preloader__mark { width: clamp(110px, 18vw, 160px); }
.preloader__mark .draw { fill: none; stroke: var(--gold); stroke-width: .8; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.4s var(--ease) forwards; }
.preloader__mark .draw--late { stroke-width: .5; animation-delay: .2s; }
.preloader__mark .draw--text { font-family: var(--f-cere); font-size: 46px; letter-spacing: 4px; stroke-width: .7; fill: transparent; animation: draw 1.4s var(--ease) .25s forwards, fillIn .6s ease 1.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillIn { to { fill: var(--gold); } }

/* ---------- 5. Cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 1px solid var(--gold);
  border-radius: 50%; pointer-events: none; z-index: 9500; display: grid; place-items: center;
  opacity: 0; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background-color .5s, opacity .3s;
}
.cursor.is-ready { opacity: 1; }
.cursor__label { font-family: var(--f-cere); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--onyx); opacity: 0; transition: opacity .3s; }
.cursor.is-hover { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: rgba(246, 241, 233, .82); backdrop-filter: blur(4px); }
.cursor.is-hover .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- 6. Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: calc(env(safe-area-inset-top, 0px) + 1.4rem) var(--pad) 1.4rem; color: var(--ivoire);
  transition: background-color .6s var(--ease), color .6s var(--ease), padding .6s var(--ease), border-color .6s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(246, 241, 233, .94); color: var(--onyx); padding-block: calc(env(safe-area-inset-top, 0px) + .85rem) .85rem; border-bottom: 1px solid rgba(184, 154, 94, .3); }
@supports (backdrop-filter: blur(1px)) { .nav.is-scrolled { background: rgba(246, 241, 233, .8); backdrop-filter: blur(14px); } }
.nav.is-hidden { transform: translateY(-110%); }
.nav { transition: transform .6s var(--ease), background-color .6s var(--ease), color .6s, padding .6s var(--ease); }
.nav__brand { display: flex; align-items: center; gap: .9rem; }
.nav__mono { width: 2.9rem; height: 2.9rem; display: grid; place-items: center; color: var(--gold-pale); }
.nav__mono svg, .footer__mono svg { width: 100%; height: 100%; display: block; }
.nav.is-scrolled .nav__mono { color: var(--gold-ink); }
.nav__name { font-family: var(--f-cere); font-size: 1.05rem; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; }
.nav__links { display: flex; gap: clamp(1rem, 2.4vw, 2.6rem); }
.nav__links a { font-family: var(--f-cere); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; position: relative; padding: .4rem 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 1.6rem; }
.nav__cta { font-family: var(--f-cere); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; border: 1px solid var(--gold); padding: .75rem 1.3rem; transition: background-color .5s, color .5s; }
.nav__cta:hover { background: var(--gold); color: var(--onyx); }
.lang { display: flex; align-items: center; gap: .45rem; font-family: var(--f-cere); font-size: .62rem; letter-spacing: .2em; }
.lang__btn { opacity: .55; transition: opacity .3s; padding: .3rem 0; }
.lang__btn.is-active { opacity: 1; border-bottom: 1px solid var(--gold); }
.burger { display: none; width: 2.6rem; height: 2.6rem; position: relative; }
.burger span { position: absolute; left: .45rem; right: .45rem; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 1rem; } .burger span:last-child { top: 1.55rem; }
.burger[aria-expanded="true"] span:first-child { top: 1.28rem; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 1.28rem; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 790; background: var(--onyx); color: var(--ivoire);
  display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--pad) calc(env(safe-area-inset-bottom, 0px) + 2rem);
  opacity: 0; transition: opacity .6s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu nav { display: flex; flex-direction: column; gap: .4rem; }
.menu a { font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 300; line-height: 1.15; display: flex; align-items: baseline; gap: 1.2rem; }
.menu a small { font-family: var(--f-cere); font-size: .7rem; color: var(--gold); letter-spacing: .2em; width: 1.8rem; }
.menu__foot { margin-top: 3rem; font-family: var(--f-cere); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-pale); }

/* ---------- 7. Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--ivoire); overflow: hidden; background: var(--onyx); }
.hero__media { position: absolute; inset: -8% 0; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,26,23,.55) 0%, rgba(28,26,23,.1) 35%, rgba(28,26,23,.25) 60%, rgba(28,26,23,.88) 100%); }
.hero__petals { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero__content { position: relative; z-index: 2; padding: 0 var(--pad) clamp(6rem, 13vh, 9rem); max-width: 80rem; }
.hero__title {
  font-family: var(--f-display); font-weight: 300; font-size: clamp(2.3rem, 1rem + 5vw, 5.8rem); letter-spacing: -.015em;
  line-height: .98; letter-spacing: -.025em; margin: 0 0 2rem; overflow-wrap: break-word;
}
.hero__sub { font-family: var(--f-cere); font-size: clamp(.62rem, .55rem + .25vw, .78rem); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-pale); margin: 0 0 2.6rem; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 2.6rem; }
.scroll-cue { position: absolute; z-index: 2; right: var(--pad); bottom: 2.6rem; display: flex; flex-direction: column; align-items: center; gap: .8rem; color: var(--gold-pale); }
.scroll-cue span { width: 1px; height: 70px; background: rgba(216,196,154,.3); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold-pale); animation: cue 2.4s var(--ease) infinite; }
.scroll-cue em { font-style: normal; font-family: var(--f-cere); font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; }
@keyframes cue { to { top: 110%; } }

/* ---------- 8. Reveal (defensivo) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* Gotcha A.4.5: los titulares con data-split nunca quedan invisibles por CSS */
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .18em; margin: 0 -.04em -.18em; }
.w > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.is-split-in .w > span { transform: none; }
.reveal-img .parallax-frame { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease); }
.reveal-img.is-in .parallax-frame { clip-path: inset(0 0 0 0); }

/* ---------- 9. La Maison ---------- */
.maison__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 8vw, 9rem); align-items: center; max-width: 92rem; margin: 0 auto; }
.maison__figure { margin: 0; }
.parallax-frame { overflow: hidden; aspect-ratio: 3 / 4; }
.parallax-frame img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; }
.maison__figure figcaption { margin-top: 1rem; font-family: var(--f-cere); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.maison__body { max-width: 32rem; color: var(--muted); }
.maison__body p:first-child::first-letter { font-family: var(--f-display); font-size: 3.6em; float: left; line-height: .85; margin: .08em .12em 0 0; color: var(--gold-ink); }
.signature { display: flex; align-items: center; gap: 1.6rem; margin-top: 2.8rem; padding-top: 2rem; border-top: var(--line); max-width: 32rem; }
.signature svg { width: 150px; flex: none; }
.sig-path { fill: none; stroke: var(--gold-ink); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 2.6s var(--ease) .4s; }
.signature.is-in .sig-path { stroke-dashoffset: 0; }
.signature p { margin: 0; line-height: 1.5; }
.signature small { color: var(--muted); font-size: .8rem; }

/* ---------- 10. Colecciones ---------- */
.col-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 5rem) clamp(1.25rem, 3vw, 3rem); max-width: 92rem; margin: 0 auto; }
.col-card { grid-column: span 4; }
.col-card:nth-child(1) { grid-column: 1 / span 5; }
.col-card:nth-child(2) { grid-column: 7 / span 4; margin-top: 8rem; }
.col-card:nth-child(3) { grid-column: 2 / span 4; }
.col-card:nth-child(4) { grid-column: 7 / span 5; margin-top: -4rem; }
.col-card:nth-child(5) { grid-column: 1 / span 4; }
.col-card:nth-child(6) { grid-column: 6 / span 5; margin-top: 6rem; }
.col-card__img { overflow: hidden; aspect-ratio: 4 / 5; background: var(--onyx); position: relative; }
.col-card--tall .col-card__img { aspect-ratio: 3 / 4; }
.col-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 2.4s var(--ease), opacity 1s; }
.col-card:hover .col-card__img img { transform: scale(1.07); opacity: .88; }
.col-card__info { padding-top: 1.5rem; display: grid; gap: .4rem; }
.col-card__info .cinzel { color: var(--gold-ink); }
.col-card__info h3 { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem); margin: 0; line-height: 1.1; }
.col-card__info p { margin: .3rem 0 1rem; color: var(--muted); max-width: 26rem; font-size: .93rem; }
.col-card__info .link-line { justify-self: start; }
@media (hover: hover) and (min-width: 900px) {
  .col-card__info p, .col-card__info .link-line { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .col-card:hover .col-card__info p, .col-card:hover .col-card__info .link-line,
  .col-card:focus-within .col-card__info p, .col-card:focus-within .col-card__info .link-line { opacity: 1; transform: none; }
}

/* ---------- 11. Eventos (oscura, horizontal) ---------- */
.section--dark { background: var(--bordeaux); color: var(--ivoire); }
.events { position: relative; overflow: hidden; background: linear-gradient(120deg, #111010 0%, #1E1B18 55%, #2A2520 140%); }
.events__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(5rem, 10vh, 7rem) 0; }
.events__head { padding: 0 var(--pad); max-width: 60rem; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.events__lead { color: var(--muted-light); max-width: 32rem; }
.events__track { display: flex; gap: clamp(1.25rem, 3vw, 3rem); padding: 0 var(--pad); width: max-content; will-change: transform; }
.evt { position: relative; width: clamp(300px, 46vw, 780px); flex: none; margin: 0; }
.evt img { width: 100%; aspect-ratio: 14 / 9; object-fit: cover; }
.evt__cap { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.6rem; align-items: baseline; padding-top: 1.2rem; border-top: var(--line); margin-top: 1.2rem; }
.evt__cap .cinzel { color: var(--gold-pale); grid-row: span 2; }
.evt__cap h3 { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin: 0; line-height: 1.1; }
.evt__cap p { margin: 0; color: var(--muted-light); font-size: .88rem; }
/* Fallback sin GSAP: scroll horizontal nativo */
.events.no-pin .events__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.5rem; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.events.no-pin .evt { scroll-snap-align: start; }

/* ---------- 12. Proceso ---------- */
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 56rem; position: relative; display: grid; gap: clamp(3.5rem, 8vw, 6rem); }
.steps__line { position: absolute; left: 2.4rem; top: 0; height: 100%; width: 10px; margin-left: -5px; overflow: visible; }
.steps__line line { stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1000; stroke-dashoffset: var(--draw, 1000); }
.step { display: grid; grid-template-columns: 4.8rem 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; position: relative; }
.step__num { width: 4.8rem; height: 4.8rem; border-radius: 50%; border: 1px solid var(--gold); background: var(--ivoire); display: grid; place-items: center; font-family: var(--f-cere); font-size: 1rem; color: var(--gold-ink); position: relative; z-index: 1; }
.step h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); margin: .6rem 0 .6rem; line-height: 1.1; }
.step p { margin: 0; color: var(--muted); max-width: 34rem; }

/* ---------- 13. Portfolio + lightbox ---------- */
.masonry { columns: 3 280px; column-gap: clamp(1rem, 2vw, 1.6rem); max-width: 92rem; margin: 0 auto; }
.masonry__item { display: block; width: 100%; margin: 0 0 clamp(1rem, 2vw, 1.6rem); break-inside: avoid; overflow: hidden; background: var(--onyx); }
.masonry__item img { width: 100%; transition: transform 2s var(--ease), opacity .8s; }
.masonry__item:hover img { transform: scale(1.05); opacity: .9; }
.lightbox { position: fixed; inset: 0; z-index: 9800; background: rgba(28, 26, 23, .97); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: calc(env(safe-area-inset-top, 0px) + 4rem) var(--pad) calc(env(safe-area-inset-bottom, 0px) + 3rem); opacity: 0; transition: opacity .6s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 1rem; min-height: 0; height: 100%; align-content: center; }
.lightbox img { max-height: 78vh; width: auto; object-fit: contain; transition: opacity .5s; }
.lightbox figcaption { color: var(--muted-light); font-family: var(--f-display); font-style: italic; font-size: 1.15rem; text-align: center; }
.lightbox__close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 1.4rem); right: var(--pad); color: var(--gold-pale); font-family: var(--f-cere); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; }
.lightbox__nav { color: var(--gold-pale); font-size: 1.6rem; width: 3.2rem; height: 3.2rem; border: 1px solid rgba(184,154,94,.5); border-radius: 50%; transition: background-color .4s, color .4s; }
.lightbox__nav:hover { background: var(--gold); color: var(--onyx); }

/* ---------- 14. Testimonios ---------- */
.section--jardin { background: var(--jardin); color: var(--ivoire); }
.testimonials { padding: var(--section) var(--pad); text-align: center; }
.testimonials .eyebrow { justify-content: center; }
.testimonials .eyebrow::before { content: ""; width: 3.5rem; height: 1px; background: var(--gold); }
.quotes { display: grid; max-width: 64rem; margin: 0 auto; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease), visibility 0s 1.4s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .3s, .3s, 0s; }
.quote blockquote { margin: 0 0 2rem; font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 1rem + 2.2vw, 2.8rem); line-height: 1.18; letter-spacing: -.01em; }
.quote figcaption { color: var(--muted-light); font-size: .85rem; }
.quote figcaption .cinzel { color: var(--gold-pale); }
.quotes__controls { display: flex; justify-content: center; align-items: center; gap: 2rem; margin-top: 3rem; }
.quotes__btn { font-family: var(--f-cere); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-pale); border-bottom: 1px solid var(--gold); padding-bottom: .3rem; }
.quotes__dots { display: flex; gap: .8rem; }
.quotes__dots button { width: 2.2rem; height: 1rem; position: relative; }
.quotes__dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(216,196,154,.35); transition: background-color .4s; }
.quotes__dots button[aria-current="true"]::after { background: var(--gold-pale); }

/* ---------- 15. Prensa ---------- */
.press { padding-block: clamp(4.5rem, 9vw, 7rem); text-align: center; border-bottom: var(--line); }
.press__row { list-style: none; padding: 0; margin: 2rem auto 0; max-width: 80rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem clamp(2rem, 5vw, 4.5rem); }
.press__row li { font-family: var(--f-cere); font-size: clamp(.85rem, .7rem + .5vw, 1.15rem); letter-spacing: .28em; color: var(--onyx); opacity: .62; transition: opacity .4s, color .4s; }
.press__row li.it { font-family: var(--f-display); font-style: italic; letter-spacing: .02em; font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); }
.press__row li:hover { opacity: 1; color: var(--gold-ink); }
.press__note { margin: 2.2rem 0 0; font-size: .75rem; color: var(--muted); }

/* ---------- 16. Atelier + mapa ---------- */
.atelier__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; max-width: 92rem; margin: 0 auto; }
.atelier__text > p { color: var(--muted); max-width: 32rem; }
.atelier__data { margin: 2.6rem 0 0; display: grid; gap: 1.4rem; }
.atelier__data div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding-top: 1.2rem; border-top: var(--line); }
.atelier__data dt { color: var(--gold-ink); padding-top: .2rem; }
.atelier__data dd { margin: 0; }
.atelier__data a { border-bottom: 1px solid rgba(184,154,94,.45); }
.map { margin: 0; }
.map svg { width: 100%; height: auto; display: block; }
.map__bg { fill: var(--onyx); }
.map__streets path { stroke: rgba(216,196,154,.16); stroke-width: 1; fill: none; }
.map__avenue { stroke: var(--gold); stroke-width: 1.4; fill: none; opacity: .75; }
.map__avenue--thin { stroke-width: 1; opacity: .55; }
.map__park { fill: rgba(26,24,22,.9); stroke: rgba(216,196,154,.25); }
.map__label { fill: rgba(216,196,154,.6); font-family: var(--f-cere); font-size: 9px; letter-spacing: 2.5px; }
.map__label--sm { font-size: 7px; }
.map__title { fill: var(--gold-pale); font-family: var(--f-cere); font-size: 11px; letter-spacing: 6px; }
.map__dot { fill: var(--ivoire); stroke: var(--gold); }
.map__mono { fill: var(--onyx); font-family: var(--f-cere); font-size: 10px; letter-spacing: 1px; }
.map__pulse { fill: none; stroke: var(--gold); stroke-width: 1; transform-origin: center; transform-box: fill-box; animation: pulse 3s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.map figcaption { margin-top: 1.2rem; }

/* ---------- 17. Contacto ---------- */
.section--bordeaux { background: var(--bordeaux); color: var(--ivoire); }
.contact { padding: var(--section) var(--pad); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 8rem); max-width: 92rem; margin: 0 auto; }
.contact__intro p:not(.eyebrow) { color: var(--muted-light); max-width: 26rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 2.3rem 2rem; align-content: start; }
.field { position: relative; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(216,196,154,.45); color: var(--ivoire);
  font: inherit; font-size: 1rem; padding: 1.15rem 0 .55rem; border-radius: 0; appearance: none; -webkit-appearance: none; transition: border-color .4s;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field select { cursor: pointer; }
.field--select::after { content: ""; position: absolute; right: .2rem; bottom: 1.05rem; width: 7px; height: 7px; border-right: 1px solid var(--gold-pale); border-bottom: 1px solid var(--gold-pale); transform: rotate(45deg); pointer-events: none; }
.field select option { color: var(--onyx); background: var(--ivoire); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-pale); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; }
.field label { position: absolute; left: 0; top: 1.1rem; color: var(--muted-light); pointer-events: none; transform-origin: left top; transition: transform .45s var(--ease), color .45s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select.has-value + label, .field label.is-fixed {
  transform: translateY(-1.25rem) scale(.72); color: var(--gold-pale); letter-spacing: .06em;
}
.field input[type="date"] { color-scheme: dark; min-height: 3.05rem; }
.field.is-invalid input, .field.is-invalid select { border-bottom-color: var(--rose); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: .5rem; }
.btn--light { color: var(--ivoire); }
.form__status { margin: 0; color: var(--gold-pale); font-size: .9rem; }

/* ---------- 18. Footer ---------- */
.footer { background: var(--onyx); color: var(--ivoire); padding: clamp(4rem, 8vw, 7rem) var(--pad) calc(env(safe-area-inset-bottom, 0px) + 2rem); }
.footer__top { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 3rem; max-width: 92rem; margin: 0 auto; padding-bottom: 4rem; border-bottom: 1px solid rgba(184,154,94,.25); }
.footer__mono { width: 5rem; height: 5rem; display: grid; place-items: center; color: var(--gold-pale); }
.footer__name { font-family: var(--f-cere); font-size: 1.3rem; margin: 1.2rem 0 .4rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; }
.footer__tag { margin: 0; font-family: var(--f-cere); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-light); }
.newsletter .cinzel { color: var(--gold-pale); margin: 0 0 .6rem; }
.newsletter__p { color: var(--muted-light); margin: 0 0 1.4rem; font-family: var(--f-display); font-style: italic; font-size: 1.25rem; }
.newsletter__row { display: flex; border-bottom: 1px solid rgba(216,196,154,.45); }
.newsletter__row input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ivoire); font: inherit; padding: .8rem 0; }
.newsletter__row input:focus { outline: none; }
.newsletter__row button { font-family: var(--f-cere); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-pale); padding-left: 1rem; }
.newsletter__status { min-height: 1.4em; margin: .8rem 0 0; font-size: .85rem; color: var(--gold-pale); }
.footer__links { display: flex; flex-direction: column; align-items: flex-end; gap: .9rem; }
.footer__links a { font-family: var(--f-cere); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-light); transition: color .3s; }
.footer__links a:hover { color: var(--gold-pale); }
.footer__bottom { max-width: 92rem; margin: 0 auto; padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .8rem; color: var(--muted-light); }
.footer__bottom p { margin: 0; }

/* ---------- 19. WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: calc(var(--pad) * .6); bottom: calc(env(safe-area-inset-bottom, 0px) + 1.6rem); z-index: 780;
  width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 1px solid var(--gold); background: rgba(28, 26, 23, .82);
  display: grid; place-items: center; transition: background-color .5s, transform .5s var(--ease); opacity: 0; transform: translateY(12px);
}
.wa-float.is-visible { opacity: 1; transform: none; }
.wa-float svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: var(--gold-pale); stroke-width: 1.1; stroke-linejoin: round; }
.wa-float:hover { background: var(--gold); }
.wa-float:hover svg { stroke: var(--onyx); }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__cta { display: none; }
}
@media (max-width: 900px) {
  .maison__grid, .atelier__grid, .contact__grid { grid-template-columns: 1fr; }
  .maison__figure { max-width: 30rem; }
  .col-grid { grid-template-columns: 1fr 1fr; }
  .col-card, .col-card:nth-child(n) { grid-column: span 1; margin-top: 0; }
  .col-card:nth-child(even) { margin-top: 4rem; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__links { align-items: flex-start; }
  /* Eventos: stack vertical en mobile */
  .events__pin { min-height: 0; }
  .events__track, .events.no-pin .events__track { flex-direction: column; width: auto; overflow: visible; gap: 3.5rem; transform: none !important; }
  .evt { width: 100%; }
}
@media (max-width: 600px) {
  .nav .lang { display: none; }
  .nav__name { font-size: 1.15rem; }
  .col-grid { grid-template-columns: 1fr; }
  .col-card:nth-child(even) { margin-top: 0; }
  .col-card:nth-child(odd) .col-card__img { margin-right: 12%; }
  .col-card:nth-child(even) .col-card__img { margin-left: 12%; }
  .step { grid-template-columns: 3.4rem 1fr; }
  .step__num { width: 3.4rem; height: 3.4rem; font-size: .85rem; }
  .steps__line { left: 1.7rem; }
  .form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .scroll-cue { display: none; }
  .atelier__data div { grid-template-columns: 1fr; gap: .3rem; }
  .lightbox { grid-template-columns: 1fr; }
  .eyebrow::after { display: none; }
  .evt__cap { grid-template-columns: 1fr; }
  .evt__cap .cinzel { grid-row: auto; }
  .footer { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 6rem); }
  .lightbox__nav { position: absolute; bottom: calc(env(safe-area-inset-bottom, 0px) + 1.2rem); }
  .lightbox__nav--prev { left: var(--pad); } .lightbox__nav--next { right: var(--pad); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 21. Movimiento reducido: solo efectos intrusivos ----------
   (Las micro-interacciones se mantienen: Windows trae esta opción activa por defecto.) */
@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none; }
  .hero__petals { display: none; }
  .scroll-cue span::after, .map__pulse { animation: none; }
}

/* ---------- Emblema de marca (reemplaza el mapa) ---------- */
.emblem { margin: 0; text-align: center; }
.emblem img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.emblem figcaption { margin-top: 1.2rem; }
