/* =============================================================
   ALRISHA SALÓN — styles.css
   1. Tokens · 2. Reset · 3. Utilidades · 4. Tipografía
   5. Componentes · 6. Secciones · 7. Efectos · 8. Responsive
   9. Movimiento reducido
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Crema / blanco roto */
  --cream:      #FBF8F4;
  --cream-2:    #F4EEE5;
  --cream-3:    #EBE2D5;
  /* Madera clara */
  --wood-1:     #E6D3B8;
  --wood-2:     #D2B48E;
  --wood-3:     #BE9A72;
  /* Dorado mate */
  --gold:       #B08D57;
  --gold-soft:  #CDB284;
  --gold-ink:   #8A6A3A;   /* dorado legible para texto pequeño sobre crema */
  /* Carbón */
  --ink:        #1E1A18;
  --ink-2:      #2B2522;
  --ink-mute:   #6A605A;
  --line:       rgba(30, 26, 24, .12);
  --line-light: rgba(251, 248, 244, .14);

  --serif:  "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --caps:   "Cinzel", "Cormorant Garamond", serif;
  --sans:   "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max:    1440px;
  --section: clamp(5.5rem, 12vw, 11rem);

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);

  --wood-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.005 0.16' numOctaves='3' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.28 0 0 0 0 0.16 0 0 0 0.32 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
html.is-locked { overflow: hidden; }

/* =============================================================
   3. Utilidades
   ============================================================= */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 10000;
  padding: .7rem 1.1rem; background: var(--ink); color: var(--cream); border-radius: 999px;
}
.skip-link:focus { top: 1rem; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.wood {
  background-color: var(--wood-2);
  background-image:
    var(--wood-grain),
    linear-gradient(100deg, rgba(255,255,255,.18), transparent 40%, rgba(255,255,255,.08) 70%, transparent),
    linear-gradient(160deg, var(--wood-1), var(--wood-2) 55%, var(--wood-3));
  background-size: 640px 640px, 100% 100%, 100% 100%;
  background-blend-mode: multiply, soft-light, normal;
}

/* =============================================================
   4. Tipografía
   ============================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--caps); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow-star { width: .8rem; height: .8rem; fill: var(--gold); flex: none; }

.section-tag {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--caps); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-mute);
}
.section-tag::before { content: ""; width: 2.5rem; height: 1px; background: var(--gold); order: 1; }
.section-num { color: var(--gold-ink); order: 0; }
.section-name { order: 2; }
.section-tag--light { color: rgba(251,248,244,.6); }
.section-tag--light .section-num { color: var(--gold-soft); }

.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.9rem, 7.4vw, 6.6rem);
  line-height: .95; letter-spacing: -.02em;
  margin-top: 1.4rem;
}
.section-title em, .hero-title em { color: var(--gold); font-weight: 300; }
.section-lead { max-width: 30rem; margin-top: 1.6rem; color: var(--ink-mute); font-size: 1.05rem; }

/* Líneas con máscara (el texto está en el HTML; el JS solo anima) */
[data-lines] .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
[data-lines] .line > span { display: inline-block; will-change: transform; }

/* =============================================================
   5. Componentes
   ============================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  padding: 1.05rem 1.9rem; border-radius: 999px;
  font-family: var(--sans); font-weight: 400; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-out), background-color .5s var(--ease-out), transform .5s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .ico { transition: transform .5s var(--ease-out); }
.btn:hover .ico { transform: translateX(4px); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink::before { background: var(--gold); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold::before { background: var(--cream); }
.btn--sm { padding: .75rem 1.3rem; font-size: .74rem; }
.btn--block { width: 100%; }

.link-line {
  position: relative; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; padding-block: .3rem;
}
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .6s var(--ease-out);
}
.link-line:hover::after { transform: scaleX(0); }

/* Placeholders de imagen — se sustituyen por <img src="assets/img/*.webp"> */
.ph {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background:
    radial-gradient(120% 80% at 30% 15%, rgba(255,255,255,.75), transparent 55%),
    linear-gradient(165deg, var(--cream-2), var(--cream-3) 50%, var(--wood-1));
}
.ph::before { /* textura */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: var(--wood-grain); background-size: 640px; mix-blend-mode: multiply;
}
.ph::after { /* barrido de luz */
  content: ""; position: absolute; inset: -20% -60%;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.55) 50%, transparent 58%);
  animation: ph-sheen 7s var(--ease-soft) infinite;
}
.ph--warm { background: radial-gradient(110% 80% at 70% 20%, rgba(255,255,255,.55), transparent 55%), linear-gradient(160deg, var(--wood-1), var(--wood-2) 60%, var(--wood-3)); }
.ph--light { background: radial-gradient(120% 90% at 50% 0%, #fff, transparent 60%), linear-gradient(180deg, var(--cream), var(--cream-3)); }
.ph.has-img::before, .ph.has-img::after { display: none; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.ph--arch { border-radius: 1000px 1000px 0 0; }
.ph--arch-soft { border-radius: 1000px 1000px 0 0; }
.ph--round { border-radius: 50%; }

/* =============================================================
   6. Secciones
   ============================================================= */

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center;
  background: var(--cream);
  animation: splash-out .9s var(--ease-in) 2.6s forwards; /* red de seguridad sin JS */
}
.splash-inner { display: grid; justify-items: center; gap: .9rem; }
.splash-star { width: 2.4rem; height: 2.4rem; fill: var(--gold); animation: splash-star 1.6s var(--ease-out) both; }
.splash-word {
  font-family: var(--caps); font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: .6em; padding-left: .6em;
  color: var(--ink); animation: splash-word 1.6s var(--ease-out) .2s both;
}
.splash-sub { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold-ink); animation: splash-fade 1.2s var(--ease-out) .6s both; }
.is-loaded .splash { animation: none; transform: translateY(-100%); transition: transform 1.1s cubic-bezier(.76,0,.24,1); }
.is-loaded .splash-inner { opacity: 0; transition: opacity .4s; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 800;
  transition: transform .6s var(--ease-out), background-color .5s, box-shadow .5s;
}
.nav-inner {
  max-width: var(--max); margin-inline: auto; padding: 1.1rem var(--gutter);
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo img { height: 44px; width: auto; }
.logo-on-dark { display: none; }
.nav-links { display: none; gap: 2.2rem; margin-left: auto; }
.nav-links a { position: relative; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; padding-block: .3rem; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-cta { display: none; }
.nav-toggle { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; border-radius: 50%; border: 1px solid var(--line); }
.nav-toggle-bar { display: block; width: 18px; height: 1px; background: var(--ink); transition: transform .5s var(--ease-out); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }
.nav.is-scrolled { background: rgba(251,248,244,.82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }

.menu {
  position: fixed; inset: 0; z-index: 790; padding: 7rem var(--gutter) 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--cream);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s cubic-bezier(.76,0,.24,1);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open[hidden], .menu.is-open { visibility: visible; }
.menu-links { display: grid; gap: .4rem; }
.menu-links a { display: flex; align-items: baseline; gap: 1rem; font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.1; border-bottom: 1px solid var(--line); padding-block: .5rem; }
.menu-links span { font-family: var(--caps); font-size: .7rem; letter-spacing: .2em; color: var(--gold-ink); }
.menu-cta { align-self: flex-start; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding-top: 7.5rem; padding-bottom: 4rem; overflow: hidden; }
.hero-glow {
  position: absolute; width: 70vmax; height: 70vmax; right: -20vmax; top: -25vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(240,224,196,.55) 35%, transparent 68%);
  filter: blur(10px); pointer-events: none;
  animation: glow-breathe 9s ease-in-out infinite alternate;
}
.hero-grid { position: relative; display: grid; gap: 3.5rem; }
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.9rem, 16vw, 9.4rem); line-height: .9; letter-spacing: -.035em;
  margin-top: 1.6rem;
}
.hero-title .line:nth-child(2) { padding-left: .55em; }
.hero-sub { max-width: 26rem; margin-top: 2rem; font-size: 1.08rem; color: var(--ink-mute); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem 2rem; margin-top: 2.4rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 3.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .82rem; letter-spacing: .08em; color: var(--ink-mute); }
.hero-meta span { font-family: var(--caps); font-size: .65rem; color: var(--gold-ink); margin-right: .5rem; letter-spacing: .2em; }

.hero-art { position: relative; width: 100%; max-width: 640px; margin-inline: auto; aspect-ratio: 5 / 6; }
.art-ring { position: absolute; inset: 6% -4% auto auto; width: 86%; aspect-ratio: 1; border: 1px solid rgba(176,141,87,.45); border-radius: 50%; }
.art-wood { position: absolute; right: 0; top: 14%; width: 58%; height: 76%; border-radius: 4px; box-shadow: 0 40px 80px -40px rgba(90,62,34,.45); }
.art-wood-caption {
  position: absolute; right: 1rem; bottom: 1rem; writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--caps); font-size: .6rem; letter-spacing: .32em; text-transform: uppercase; color: rgba(30,26,24,.62);
}
.art-arch { position: absolute; left: 8%; top: 0; width: 60%; height: 90%; }
.art-arch .depth, .art-detail .depth { width: 100%; height: 100%; }
.art-arch .ph { box-shadow: 0 50px 90px -50px rgba(60,40,22,.5); }
.art-detail { position: absolute; left: 0; bottom: 2%; width: 36%; aspect-ratio: 1; }
.art-detail .ph { border: 8px solid var(--cream); box-shadow: 0 30px 60px -30px rgba(60,40,22,.45); }
.art-badge { position: absolute; right: 6%; top: 2%; width: 26%; aspect-ratio: 1; display: grid; place-items: center; }
.badge-text { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge-text text { font-family: var(--caps); font-size: 13.4px; letter-spacing: 3.2px; fill: var(--ink); }
.badge-star { position: relative; z-index: 1; width: 26%; height: 26%; fill: var(--gold); }
.art-badge::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(251,248,244,.9); backdrop-filter: blur(4px); box-shadow: 0 20px 40px -20px rgba(60,40,22,.4); }


/* ---------- Marquesina ---------- */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; padding-block: 1.6rem; position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; }
.marquee span { font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 300; white-space: nowrap; line-height: 1; }
.marquee em { color: var(--gold-soft); }
.marquee svg { width: 1rem; height: 1rem; fill: var(--gold); flex: none; }

/* ---------- 01 Manifiesto ---------- */
.manifesto { padding-block: var(--section); position: relative; }
.manifesto-grid { display: grid; gap: 3rem; }
.manifesto-text {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 4.4vw, 3.7rem); line-height: 1.14; letter-spacing: -.01em;
}
.manifesto-text em { color: var(--gold); }
.manifesto-text .w { transition: opacity .3s linear; }
.manifesto-art { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.2rem; align-items: end; }
.manifesto-ph--a { aspect-ratio: 3 / 4; }
.manifesto-ph--b { aspect-ratio: 4 / 5; margin-bottom: 18%; }
.manifesto-ph .ph { height: 100%; }
.manifesto-ph:hover .ph > img { transform: scale(1.05); }
.manifesto-note { grid-column: 1 / -1; display: flex; gap: .8rem; align-items: flex-start; max-width: 24rem; color: var(--ink-mute); font-size: .95rem; }
.manifesto-note .eyebrow-star { margin-top: .45rem; }

/* ---------- 02 Servicios ---------- */
.services { padding-block: var(--section); background: var(--cream-2); position: relative; }
.section-head { display: grid; gap: 0; margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.svc-list { border-top: 1px solid var(--line); }
.svc {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: .5rem 1.2rem; align-items: start;
  padding: 2rem 0; border-bottom: 1px solid var(--line); cursor: default;
}
.svc::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: 0;
  background: var(--cream); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-out);
}
.svc > * { position: relative; z-index: 1; }
.svc:hover::before { transform: scaleY(1); }
.svc-thumb {
  grid-column: 3; grid-row: 1 / span 2; width: 76px; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 1000px 1000px 4px 4px; box-shadow: 0 16px 30px -18px rgba(60,40,22,.55);
}
.svc-num { font-family: var(--caps); font-size: .7rem; letter-spacing: .2em; color: var(--gold-ink); padding-top: .9rem; }
.svc-name { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; transition: transform .6s var(--ease-out); }
.svc-name em { color: var(--gold); }
.svc:hover .svc-name { transform: translateX(.6rem); }
.svc-desc { margin-top: .7rem; max-width: 30rem; color: var(--ink-mute); font-size: .95rem; }
.svc-tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .6rem; }
.svc-tags li { padding: .32rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .74rem; letter-spacing: .04em; color: var(--ink-2); background: rgba(251,248,244,.5); transition: border-color .4s, background-color .4s; }
.svc:hover .svc-tags li { border-color: rgba(176,141,87,.5); }
.svc-arrow { display: none; grid-column: 3; grid-row: 1; width: 1.8rem; height: 1.8rem; color: var(--ink); margin-top: .6rem; transition: transform .6s var(--ease-out), color .4s; }
.svc:hover .svc-arrow { transform: rotate(45deg); color: var(--gold); }
.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 50; width: 260px; height: auto; aspect-ratio: 4 / 5; pointer-events: none;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.85); transition: opacity .4s var(--ease-out);
  border-radius: 1000px 1000px 6px 6px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(60,40,22,.5);
  display: none;
}
.svc-preview.is-visible { opacity: 1; }
.svc-preview > img { opacity: 0; transform: scale(1.12); transition: opacity .5s var(--ease-out), transform 1s var(--ease-out); }
.svc-preview > img.is-current { opacity: 1; transform: none; }

/* ---------- Fundadoras ---------- */
.founders { display: grid; gap: 3rem; margin-top: var(--section); align-items: center; }
.founders-art { position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; justify-self: center; }
.founders-wood { position: absolute; left: 0; top: 12%; width: 72%; height: 88%; border-radius: 4px; box-shadow: 0 40px 80px -45px rgba(90,62,34,.5); }
.founders-frame { position: absolute; right: 0; top: 0; width: 86%; height: 94%; box-shadow: 0 50px 90px -50px rgba(60,40,22,.55); }
.founders-badge {
  position: absolute; left: 4%; bottom: 0; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); box-shadow: 0 0 0 6px var(--cream), 0 20px 40px -18px rgba(30,26,24,.6);
}
.founders-badge svg { width: 26px; height: 26px; fill: var(--gold-soft); }
@media (max-width: 539px) { .founders-badge { width: 64px; height: 64px; } .founders-badge svg { width: 20px; height: 20px; } }
.founders-copy .section-title { margin-top: 1.2rem; }
.founders-names { margin-top: 2.4rem; border-top: 1px solid var(--line); }
.founders-names li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.founders-names span { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 400; line-height: 1.1; }
.founders-names em { font-style: normal; font-family: var(--caps); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); }

/* ---------- 03 Galería ---------- */
.gallery { padding-block: var(--section); background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.gallery .section-title em { color: var(--gold-soft); }
.gallery .section-lead { color: rgba(251,248,244,.66); }
.gal-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; gap: .7rem; }
.gal-item { min-height: 0; }
.gal-item:nth-child(1) { grid-column: 1; grid-row: 1; }
.gal-item:nth-child(2) { grid-column: 1; grid-row: 2 / span 2; }
.gal-item:nth-child(3) { grid-column: 2; grid-row: 1; }
.gal-item:nth-child(4) { grid-column: 2; grid-row: 2; }
.gal-item:nth-child(5) { grid-column: 2; grid-row: 3; }
.gal-btn { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 6px; cursor: zoom-in; isolation: isolate; }
.gal-item:first-child .gal-btn { border-radius: 1000px 1000px 6px 6px / 260px 260px 6px 6px; }
.gal-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter .8s; }
.gal-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(30,26,24,.75)); opacity: 0; transition: opacity .6s var(--ease-out); }
.gal-cap {
  position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 1;
  font-family: var(--caps); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cream);
  opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.gal-btn:hover img, .gal-btn:focus-visible img { transform: scale(1.05); }
.gal-btn:hover::after, .gal-btn:focus-visible::after, .gal-btn:hover .gal-cap, .gal-btn:focus-visible .gal-cap { opacity: 1; transform: none; }
@media (hover: none) { .gal-btn::after, .gal-cap { opacity: 1; transform: none; } }

.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--cream); }
.lightbox::backdrop { background: rgba(20,17,16,.94); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; animation: lb-in .5s var(--ease-out); }
.lb-figure { display: grid; justify-items: center; gap: 1rem; padding: 4.5rem 1rem 2rem; }
.lb-figure img { max-width: min(92vw, 900px); max-height: 78svh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); }
.lb-figure figcaption { font-family: var(--caps); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); text-align: center; }
.lb-btn { position: fixed; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(251,248,244,.25); color: var(--cream); background: rgba(30,26,24,.5); transition: background-color .4s, color .4s; }
.lb-btn:hover { background: var(--gold); color: var(--ink); }
.lb-btn svg { width: 1.2rem; height: 1.2rem; }
.lb-close { top: 1rem; right: 1rem; }
.lb-close span { position: absolute; width: 18px; height: 1px; background: currentColor; transform: rotate(45deg); }
.lb-close span + span { transform: rotate(-45deg); }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

/* Antes y después */
.ba-head { margin-top: clamp(4.5rem, 10vw, 8rem); margin-bottom: 2.6rem; display: grid; gap: .2rem; }
.ba-eyebrow { color: var(--gold-soft); }
.ba-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6vw, 5rem); line-height: .95; letter-spacing: -.02em; margin-top: 1rem; }
.ba-title em { color: var(--gold-soft); }
.ba-grid { display: grid; gap: 1.2rem; }
.ba { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 6px; user-select: none; -webkit-user-select: none; isolation: isolate; background: var(--ink-2); }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 1; pointer-events: none; }
.ba-handle i { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--cream); box-shadow: 0 0 18px rgba(0,0,0,.35); }
.ba-handle b {
  position: absolute; top: 50%; left: 0; translate: -50% -50%; width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; gap: 2px;
  background: var(--cream); color: var(--ink); box-shadow: 0 0 0 1px var(--gold), 0 14px 30px -10px rgba(0,0,0,.55);
  transition: transform .4s var(--ease-out), background-color .4s;
}
.ba-handle b svg { width: .85rem; height: .85rem; }
.ba:hover .ba-handle b, .ba.is-dragging .ba-handle b { transform: scale(1.08); background: var(--gold-soft); }
.ba:focus-within .ba-handle b { outline: 2px solid var(--gold); outline-offset: 4px; }
.ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-tag {
  position: absolute; top: 1rem; z-index: 2; padding: .45rem .85rem; border-radius: 999px; pointer-events: none;
  font-family: var(--caps); font-size: .6rem; letter-spacing: .24em; text-transform: uppercase;
  background: rgba(30,26,24,.62); color: var(--cream); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ba-tag--before { left: 1rem; }
.ba-tag--after { right: 1rem; background: rgba(205,178,132,.9); color: var(--ink); }
.ba figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 3rem 1.2rem 1.1rem; pointer-events: none;
  font-family: var(--caps); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream);
  background: linear-gradient(180deg, transparent, rgba(30,26,24,.7));
}
@media (min-width: 720px) { .ba-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; } .ba { aspect-ratio: 4 / 5; } }

/* ---------- 04 Productos ---------- */
.products { padding-block: var(--section); position: relative; }
.products-grid { display: grid; gap: 3.5rem; }
.products-frame { margin-top: 2.6rem; padding: 14px; border-radius: 1000px 1000px 8px 8px; aspect-ratio: 4 / 5; max-width: 420px; }
.products-frame .ph { border-radius: 1000px 1000px 4px 4px; }
.products-progress { display: none; }
.adv-list { border-top: 1px solid var(--line); }
.adv {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.4rem;
  padding: 2.6rem 0; border-bottom: 1px solid var(--line);
  transition: opacity .6s var(--ease-out);
}
.adv-num { font-variant-numeric: lining-nums; grid-row: span 3; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 6vw, 4.6rem); line-height: .85; color: var(--cream-3); -webkit-text-stroke: 1px var(--gold); transition: color .6s var(--ease-out); }
.adv-ico { width: 2.4rem; height: 2.4rem; color: var(--gold); }
.adv-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.05; margin-top: .6rem; }
.adv-title em { color: var(--gold); font-weight: 300; }
.adv-text { max-width: 30rem; color: var(--ink-mute); margin-top: .4rem; }
.adv.is-active .adv-num { color: var(--gold); }

/* ---------- 04 Testimonios ---------- */
.testimonials { padding-block: var(--section); background: var(--cream-2); position: relative; overflow: hidden; }
.testimonials::before { /* lámina de madera decorativa */
  content: ""; position: absolute; right: 0; top: 0; width: min(38vw, 520px); height: 62%;
  background-color: var(--wood-1); background-image: var(--wood-grain); background-size: 640px; background-blend-mode: multiply;
  opacity: .55; border-bottom-left-radius: 1000px 600px;
}
.t-head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3.5rem; }
.t-note { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.4rem; font-family: var(--caps); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); }
.t-note svg { width: .7rem; height: .7rem; fill: var(--gold); }
.t-controls { display: flex; align-items: center; gap: .8rem; }
.t-count { font-family: var(--caps); font-size: .75rem; letter-spacing: .2em; color: var(--ink-mute); margin-right: .8rem; }
.t-count b { color: var(--ink); font-weight: 400; }
.t-btn { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); transition: background-color .4s, color .4s, border-color .4s; }
.t-btn svg { width: 1.2rem; height: 1.2rem; }
.t-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.t-track {
  position: relative; display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 1.5rem;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: none; cursor: grab;
}
.t-track::-webkit-scrollbar { display: none; }
.t-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.t-track.is-dragging .t-card { pointer-events: none; }
.t-card {
  --t-bg: var(--cream); --t-fg: var(--ink); --t-sub: var(--gold-ink); --t-line: var(--line); --t-frame: rgba(176,141,87,.38);
  flex: 0 0 min(82vw, 430px); scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.2rem;
  padding: clamp(2.2rem, 3.8vw, 3rem); min-height: 420px;
  background: var(--t-bg); color: var(--t-fg); border-radius: 1000px 1000px 6px 6px / 210px 210px 6px 6px;
  position: relative; isolation: isolate; overflow: hidden;
  box-shadow: 0 30px 60px -45px rgba(60,40,22,.45);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.t-card::before { /* comilla gigante */
  content: "\201C"; position: absolute; right: 1.4rem; bottom: -3.2rem; z-index: -1;
  font-family: var(--serif); font-style: italic; font-size: 15rem; line-height: 1; color: var(--gold); opacity: .14;
  transition: transform 1s var(--ease-out);
}
.t-card::after { /* filete dorado interior */
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--t-frame); border-radius: inherit; pointer-events: none;
}
.t-card:hover { transform: translateY(-8px); box-shadow: 0 50px 80px -45px rgba(60,40,22,.55); }
.t-card:hover::before { transform: translateY(-.6rem) rotate(-4deg); }
.t-card--ink { --t-bg: var(--ink); --t-fg: var(--cream); --t-sub: var(--gold-soft); --t-line: var(--line-light); --t-frame: rgba(205,178,132,.4); }
.t-card--wood {
  --t-sub: var(--ink-2); --t-line: rgba(30,26,24,.18); --t-frame: rgba(30,26,24,.22);
  background-color: var(--wood-2);
  background-image: var(--wood-grain), linear-gradient(160deg, var(--wood-1), var(--wood-2) 55%, var(--wood-3));
  background-size: 640px, 100%; background-blend-mode: multiply, normal;
}
.t-card--wood::before { color: var(--cream); opacity: .35; }
.t-mark { display: grid; place-items: center; width: 44px; height: 44px; margin-top: 1.4rem; border-radius: 50%; border: 1px solid var(--t-frame); }
.t-mark svg { width: 14px; height: 14px; fill: var(--gold); }
.t-card--wood .t-mark svg { fill: var(--ink); }
.t-card blockquote { font-family: var(--serif); font-weight: 300; line-height: 1.2; text-wrap: balance; font-size: clamp(1.55rem, 2.4vw, 1.95rem); }
.t-card--mid blockquote { font-size: clamp(1.8rem, 2.8vw, 2.3rem); }
.t-card--short blockquote { font-style: italic; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1.05; }
.t-card figcaption { display: flex; align-items: center; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid var(--t-line); }
.t-card figcaption strong { display: block; font-weight: 400; font-size: .98rem; }
.t-card figcaption em { display: block; font-style: normal; font-family: var(--caps); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--t-sub); margin-top: .15rem; }
.t-avatar {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--t-fg);
  border: 1px solid var(--gold); box-shadow: inset 0 0 0 4px var(--t-bg), inset 0 0 0 5px var(--t-frame);
}
.t-progress { height: 1px; background: var(--line); position: relative; overflow: hidden; }
.t-progress i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(.2); transition: transform .3s var(--ease-out); }

/* ---------- 05 Contacto ---------- */
.contact { position: relative; background: var(--ink); color: var(--cream); padding-block: var(--section); overflow: hidden; }
.contact-glow { position: absolute; width: 60vmax; height: 60vmax; left: -20vmax; bottom: -30vmax; border-radius: 50%; background: radial-gradient(circle, rgba(176,141,87,.28), transparent 65%); pointer-events: none; }
.contact .section-lead { color: rgba(251,248,244,.66); }
.contact .section-title em { color: var(--gold-soft); }
.contact-grid { position: relative; display: grid; gap: 3.5rem; }
.contact-info { display: grid; gap: 1.6rem; margin-top: 2.6rem; }
.contact-info li { display: flex; gap: 1.1rem; align-items: flex-start; }
.contact-info .ico { width: 1.3rem; height: 1.3rem; color: var(--gold-soft); margin-top: .2rem; }
.ci-label { display: block; font-family: var(--caps); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(251,248,244,.5); margin-bottom: .2rem; }
.ci-value { display: block; font-size: 1.02rem; color: var(--cream); }
.ci-value.is-pending { color: rgba(251,248,244,.8); }
a.ci-value:hover { color: var(--gold-soft); }
.ci-link {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: .45rem;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft);
  border-bottom: 1px solid rgba(205,178,132,.4); padding-bottom: .15rem; transition: color .4s, border-color .4s;
}
.ci-link svg { width: .9rem; height: .9rem; }
.ci-link:hover { color: var(--cream); border-color: var(--cream); }

.booking { position: relative; align-self: start; padding: clamp(1.8rem, 4vw, 3rem); border-radius: 6px; background: rgba(251,248,244,.04); border: 1px solid var(--line-light); display: grid; gap: 1.3rem; }
.booking-title { font-family: var(--serif); font-size: 2rem; font-weight: 300; }
.field { display: grid; gap: .45rem; }
.field span { font-family: var(--caps); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(251,248,244,.55); }
.field input, .field select {
  width: 100%; padding: .95rem 0; background: transparent; border: 0; border-bottom: 1px solid rgba(251,248,244,.25);
  color: var(--cream); font-size: 1rem; border-radius: 0; transition: border-color .4s; color-scheme: dark;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-soft) 50%), linear-gradient(135deg, var(--gold-soft) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); background: var(--cream); }
.field input::placeholder { color: rgba(251,248,244,.35); }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--gold); }
.field.is-error input, .field.is-error select { border-bottom-color: #D98C7A; }
.booking .btn { margin-top: .6rem; }
.booking-note { font-size: .8rem; color: rgba(251,248,244,.5); }

.socials { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(4rem, 9vw, 7rem); border-top: 1px solid var(--line-light); }
.social {
  position: relative; display: grid; gap: .3rem; padding: 1.8rem 1rem 1.8rem 0; overflow: hidden; isolation: isolate;
  border-bottom: 1px solid var(--line-light);
}
.social:nth-child(odd) { border-right: 1px solid var(--line-light); }
.social:nth-child(even) { padding-left: 1rem; }
.social:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.social::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: translateY(101%); transition: transform .7s var(--ease-out); }
.social:hover::before { transform: translateY(0); }
.social .ico { width: 1.6rem; height: 1.6rem; color: var(--gold-soft); margin-bottom: .8rem; transition: color .5s; }
.social-name { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 300; line-height: 1; transition: color .5s; }
.social-handle { font-size: .8rem; letter-spacing: .06em; color: rgba(251,248,244,.55); transition: color .5s; }
.social-arrow { position: absolute; right: 1rem; top: 1.6rem; width: 1.4rem; height: 1.4rem; color: rgba(251,248,244,.5); transition: transform .6s var(--ease-out), color .5s; }
.social:hover .ico, .social:hover .social-name, .social:hover .social-handle, .social:hover .social-arrow { color: var(--ink); }
.social:hover .social-arrow { transform: rotate(45deg); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding-top: 4rem; padding-bottom: 2rem; border-top: 1px solid var(--line-light); overflow: hidden; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-logo { width: 110px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: .8rem 2rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(251,248,244,.7); }
.footer-links a:hover { color: var(--gold-soft); }
.footer-top-link { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); transition: background-color .4s, color .4s; }
.footer-top-link svg { width: 1.2rem; height: 1.2rem; transform: rotate(-45deg); }
.footer-top-link:hover { background: var(--gold); color: var(--ink); }
.footer-word {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(5.5rem, 24vw, 23rem); line-height: .8; letter-spacing: -.04em; text-align: center;
  margin-top: 3rem; padding-bottom: .1em;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold) 55%, rgba(176,141,87,.15));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-word .ch { display: inline-block; background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line-light); font-size: .78rem; letter-spacing: .06em; color: rgba(251,248,244,.5); }
.footer-star { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--serif); font-style: italic; font-size: 1rem; }
.footer-star svg { width: .75rem; height: .75rem; fill: var(--gold); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 9500; pointer-events: none; display: none; opacity: 0; transition: opacity .3s; }
.cursor.is-ready { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; will-change: transform; border-radius: 50%; }
.cursor-dot { width: 6px; height: 6px; margin: -3px; background: var(--gold); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px; border: 1px solid rgba(176,141,87,.7);
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .45s, border-color .45s;
}
.cursor-label { font-family: var(--caps); font-size: .55rem; letter-spacing: .2em; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; margin: -32px; background: rgba(176,141,87,.14); }
.cursor.is-label .cursor-ring { width: 84px; height: 84px; margin: -42px; background: var(--cream); border-color: var(--gold); }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-dark .cursor-label { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  .svc-preview { display: block; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 960px) {
  .svc-thumb { display: none; }
  .svc-arrow { display: block; }
}

/* ---------- Grano global ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9400; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =============================================================
   7. Efectos (revelados, keyframes)
   ============================================================= */
/* Revelado genérico — solo si hay JS; red de seguridad .reveal-all */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1.2s var(--ease-out) var(--d, 0s); }
.js [data-reveal].is-in, .reveal-all [data-reveal] { opacity: 1; transform: none; }

/* Líneas de titulares */
.js [data-lines] .line > span { transform: translateY(112%); transition: transform 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * .1s + .05s); }
.js [data-lines].is-in .line > span, .reveal-all [data-lines] .line > span { transform: none; }
/* El hero entra con la salida del splash */
.js .hero [data-lines] .line > span { transition-delay: calc(var(--i, 0) * .12s + .35s); }
.js.is-loaded .hero [data-lines] .line > span { transform: none; }
.js .hero-eyebrow, .js .hero-sub, .js .hero-actions, .js .hero-meta { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.js.is-loaded .hero-eyebrow { opacity: 1; transform: none; transition-delay: .25s; }
.js.is-loaded .hero-sub { opacity: 1; transform: none; transition-delay: .75s; }
.js.is-loaded .hero-actions { opacity: 1; transform: none; transition-delay: .9s; }
.js.is-loaded .hero-meta { opacity: 1; transform: none; transition-delay: 1.05s; }
.js .art-arch .ph { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s cubic-bezier(.76,0,.24,1) .3s; }
.js.is-loaded .art-arch .ph { clip-path: inset(0 0 0 0); }
.js .art-arch .ph > img { transform: scale(1.14); transition: transform 2.6s var(--ease-out) .3s; }
.js.is-loaded .art-arch .ph > img { transform: none; }
.js .art-wood { transform-origin: bottom; transform: scaleY(0); transition: transform 1.5s cubic-bezier(.76,0,.24,1) .15s; }
.js.is-loaded .art-wood { transform: none; }
.js .art-detail .ph, .js .art-badge::before { transform: scale(.6); opacity: 0; transition: transform 1.4s var(--ease-out) 1s, opacity 1s var(--ease-out) 1s; }
.js.is-loaded .art-detail .ph, .js.is-loaded .art-badge::before { transform: none; opacity: 1; }
.js .badge-text, .js .badge-star { opacity: 0; transition: opacity 1s var(--ease-out) 1.3s; }
.js.is-loaded .badge-text, .js.is-loaded .badge-star { opacity: 1; }
.js .art-ring { opacity: 0; transform: scale(.9); transition: opacity 1.6s var(--ease-out) .6s, transform 1.8s var(--ease-out) .6s; }
.js.is-loaded .art-ring { opacity: 1; transform: none; }

/* Imágenes con cortina */
.js [data-clip] { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s cubic-bezier(.76,0,.24,1); }
.js [data-clip].is-in, .reveal-all [data-clip] { clip-path: inset(0 0 0 0); }

@keyframes splash-out { to { opacity: 0; visibility: hidden; } }
@keyframes splash-star { from { transform: scale(0) rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes splash-word { from { letter-spacing: 1.1em; opacity: 0; } to { opacity: 1; } }
@keyframes splash-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ph-sheen { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
@keyframes glow-breathe { from { transform: scale(1); opacity: .85; } to { transform: scale(1.12); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  .socials { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .social { padding: 2.2rem 1.4rem; }
  .social:nth-child(odd) { border-right: 0; }
  .social:last-child:nth-child(odd) { grid-column: auto; }
  .social:nth-child(even) { padding-left: 1.4rem; }
  .social:not(:last-child) { border-right: 1px solid var(--line-light); }
  .social:first-child { padding-left: 0; }
}

@media (min-width: 720px) {
  .svc { grid-template-columns: 4rem 1fr auto; padding: 2.4rem 0; }
  .manifesto-art { gap: 2rem; }
  .contact-info { grid-template-columns: 1fr 1fr; }
  .contact-info li:last-child { grid-column: 1 / -1; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .menu { display: none !important; }
  .nav-logo img { height: 52px; }

  .hero { display: flex; align-items: center; padding-top: 8rem; }
  .hero-grid { grid-template-columns: repeat(12, 1fr); align-items: center; gap: 2rem; }
  .hero-copy { grid-column: 1 / span 6; position: relative; z-index: 2; }
  .hero-art { grid-column: 7 / span 6; max-width: none; max-height: 82svh; aspect-ratio: 5 / 6; width: auto; justify-self: end; height: 82svh; }
  .hero-title { font-size: clamp(5rem, 8.6vw, 9.4rem); }

  .manifesto-grid { grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: start; }
  .manifesto-grid > .section-tag { grid-column: 1 / span 3; padding-top: 1.2rem; }
  .manifesto-text { grid-column: 4 / span 9; }
  .manifesto-art { grid-column: 4 / span 9; grid-template-columns: 1fr .8fr 1fr; margin-top: 3rem; }
  .manifesto-ph--a { grid-column: 1; }
  .manifesto-ph--b { grid-column: 3; margin-bottom: 30%; }
  .manifesto-note { grid-column: 2; grid-row: 1; align-self: center; }

  .section-head { grid-template-columns: repeat(12, 1fr); align-items: end; }
  .section-head > .section-tag { grid-column: 1 / -1; }
  .section-head > .section-title { grid-column: 1 / span 7; }
  .section-head > .section-lead { grid-column: 9 / span 4; }
  .svc { grid-template-columns: 5rem 1.1fr 1fr auto; align-items: center; gap: 2rem; }
  .svc-tags { grid-column: 3; margin-top: 0; }
  .svc-thumb { grid-column: 4; grid-row: auto; width: 84px; }
  .svc-arrow { grid-column: 4; grid-row: auto; margin-top: 0; }

  .products-grid { grid-template-columns: repeat(12, 1fr); gap: 2rem; }
  .products-aside { grid-column: 1 / span 5; }
  .products-sticky { position: sticky; top: 7rem; }
  .products-frame { max-width: 400px; }
  .products-progress { display: block; position: absolute; left: calc(100% + 3rem); top: 0; bottom: 0; width: 1px; background: var(--line); }
  .products-progress i { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transform: scaleY(0); }
  .adv-list { grid-column: 7 / span 6; border-top: 0; }
  .adv { min-height: 58vh; align-content: center; padding: 3rem 0; }
  .js .adv { opacity: .38; }
  .js .adv.is-active { opacity: 1; }

  .contact-grid { grid-template-columns: repeat(12, 1fr); gap: 2rem; }
  .contact-copy { grid-column: 1 / span 6; }
  .booking { grid-column: 8 / span 5; margin-top: 3.4rem; }

  .founders { grid-template-columns: repeat(12, 1fr); gap: 2rem; }
  .founders-art { grid-column: 1 / span 5; justify-self: stretch; max-width: none; }
  .founders-copy { grid-column: 7 / span 6; }

  .gal-grid { grid-template-columns: 1fr 1.25fr 1fr; grid-template-rows: repeat(2, 1fr); grid-auto-rows: auto; aspect-ratio: 3.25 / 2.1; gap: 1.2rem; }
  .gal-item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .gal-item:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
  .gal-item:nth-child(3) { grid-column: 3; grid-row: 1; }
  .gal-item:nth-child(4) { grid-column: 3; grid-row: 2; }
  .gal-item:nth-child(5) { grid-column: 1; grid-row: 2; }
}

@media (min-width: 1280px) {
  .hero-title .line:nth-child(2) { padding-left: .9em; }
  .art-wood-caption { right: 1.4rem; bottom: 1.4rem; }
}

/* =============================================================
   9. Movimiento reducido — solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation-duration: 120s; }
  .badge-text { animation: none; }
  .hero-glow { animation: none; }
  .ph::after { animation: none; opacity: 0; }
}

/* =============================================================
   11. Tema negro · dorado · blanco (prueba: activar con ?tema=negro)
   ============================================================= */
[data-theme="negro"] {
  --cream:   #0A0A0A;   /* fondo principal: negro premium */
  --cream-2: #111111;
  --cream-3: #1C1A17;
  --ink:     #FAF8F3;   /* texto: blanco cálido */
  --ink-2:   #E9E5DD;
  --ink-mute:#A9A399;
  --gold:      #C9A55A; /* dorado metálico más luminoso para alto contraste */
  --gold-soft: #E4CA8E;
  --gold-ink:  #D6B46C;
  --line:       rgba(255,255,255,.12);
  --line-light: rgba(255,255,255,.12);
  --wood-1: #E9D196;    /* paneles: oro cepillado */
  --wood-2: #C6A25A;
  --wood-3: #8F6E33;
  --noir:   #040404;
  color-scheme: dark;
}
/* Secciones que ya eran oscuras: conservan su lógica (fondo --ink, texto --cream) en negro más profundo */
[data-theme="negro"] .marquee,
[data-theme="negro"] .gallery,
[data-theme="negro"] .contact,
[data-theme="negro"] .footer {
  --ink: #040404; --ink-2: #151412; --cream: #FAF8F3;
  border-top: 1px solid rgba(201,165,90,.22);
}
[data-theme="negro"] .marquee { border-bottom: 1px solid rgba(201,165,90,.22); }

[data-theme="negro"] .logo-on-light { display: none; }
[data-theme="negro"] .logo-on-dark { display: block; }
[data-theme="negro"] .nav.is-scrolled { background: rgba(10,10,10,.82); box-shadow: 0 1px 0 rgba(201,165,90,.22); }
[data-theme="negro"] .hero-glow { background: radial-gradient(circle, rgba(201,165,90,.26) 0%, rgba(201,165,90,.08) 38%, transparent 68%); }
[data-theme="negro"] .art-ring { border-color: rgba(201,165,90,.6); }
[data-theme="negro"] .art-badge::before { background: rgba(10,10,10,.88); box-shadow: 0 0 0 1px rgba(201,165,90,.55), 0 20px 40px -18px rgba(0,0,0,.8); }
[data-theme="negro"] .art-wood-caption { color: rgba(10,10,10,.7); }
[data-theme="negro"] .svc-tags li { background: rgba(255,255,255,.03); }
[data-theme="negro"] .svc::before { background: #161512; }
[data-theme="negro"] .testimonials::before { opacity: .07; }
[data-theme="negro"] .t-card--ink { --t-sub: #8A6A3A; --t-frame: rgba(138,106,58,.45); --t-line: rgba(10,10,10,.14); }
[data-theme="negro"] .t-card--ink .t-mark svg { fill: #A8823F; }
@media (min-width: 960px) { [data-theme="negro"].js .adv { opacity: .5; } [data-theme="negro"].js .adv.is-active { opacity: 1; } }
[data-theme="negro"] .t-card--wood { --t-fg: #0A0A0A; --t-sub: #2A2418; --t-line: rgba(10,10,10,.2); --t-frame: rgba(10,10,10,.25); }
[data-theme="negro"] .t-card--wood .t-avatar { color: #0A0A0A; }
[data-theme="negro"] .t-card--cream { box-shadow: 0 0 0 1px rgba(201,165,90,.28), 0 30px 60px -45px rgba(0,0,0,.8); }
[data-theme="negro"] .btn--gold { color: #0A0A0A; }
[data-theme="negro"] .btn--ink::before { background: var(--gold); }
[data-theme="negro"] .btn--ink:hover { color: #0A0A0A; }
[data-theme="negro"] .founders-badge { background: #0A0A0A; box-shadow: 0 0 0 1px rgba(201,165,90,.6), 0 0 0 6px #0A0A0A, 0 20px 40px -18px rgba(0,0,0,.8); }
[data-theme="negro"] .adv-num { color: transparent; }
[data-theme="negro"] .adv.is-active .adv-num { color: var(--gold); }
[data-theme="negro"] .grain { mix-blend-mode: screen; opacity: .035; }
[data-theme="negro"] .splash { background: #0A0A0A; }
