/* ============================================================
   Opus Monroy — Sitio web · Hoja de estilos
   ============================================================ */

:root {
  --carrara: #FAF8F4;
  --nero: #1A1A1A;
  --brass: #B8945F;
  --stone: #3D3530;
  --ash: #7A7067;
  --cream-deep: #F2EDE3;
  --vein: #E8E4DC;

  --bg: var(--carrara);
  --ink: var(--nero);
  --ink-2: var(--stone);
  --ink-3: var(--ash);
  --rule: var(--vein);
  --soft: var(--cream-deep);
  --accent: var(--brass);
  --accent-strength: 1;

  --f-display: "Cormorant Garamond", "Playfair Display", "Bodoni Moda", Georgia, serif;
  --f-body: "Jost", "Manrope", system-ui, sans-serif;

  --section-y: clamp(80px, 9vw, 128px);
  --gutter: clamp(24px, 5vw, 64px);
  --container: 1280px;
  --reading: 720px;
}

[data-density="compact"] {
  --section-y: clamp(56px, 6vw, 96px);
  --gutter: clamp(20px, 3.5vw, 48px);
}

[data-tone="nero"] {
  --bg: var(--nero);
  --ink: var(--carrara);
  --ink-2: #c9c2b8;
  --ink-3: #8a8378;
  --rule: #2a2622;
  --soft: #211e1b;
}

/* Reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "kern";
  transition: background 0.5s ease, color 0.5s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }

::selection { background: var(--accent); color: var(--carrara); }

/* Lenis */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Typography ---------------------------------------------- */
.display, h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(64px, 8vw, 128px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h3 {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h4 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

/* Italic + gold accent — the editorial "hook" word in every headline */
.amp, h1 .amp, h2 .amp, h3 .amp, h4 .amp {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  opacity: calc(0.95 * var(--accent-strength));
  display: inline-block;
}

/* Word-split spans (GSAP entry) */
.word {
  display: inline-block;
  will-change: transform, opacity;
}

.eyebrow {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: calc(0.75 * var(--accent-strength));
}
.eyebrow.center::before { display: none; }

p { margin: 0 0 1em; max-width: 60ch; text-wrap: pretty; color: #5a5550; font-weight: 400; font-family: var(--f-body); }
[data-tone="nero"] p { color: #c9c2b8; }
.lede {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 30ch;
}
em, .italic { font-style: italic; }

/* Buttons & links ---------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 0;
  overflow: hidden;
  transition: color 0.5s cubic-bezier(.7,.2,.2,1);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: translateX(-101%);
  transition: transform 0.55s cubic-bezier(.7,.2,.2,1);
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: translateX(0); }
.btn .arrow { width: 14px; height: 1px; background: currentColor; position: relative; transition: width 0.3s ease; }
.btn .arrow::after {
  content: "";
  position: absolute;
  right: -1px; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 22px; }

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

.link {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  transition: background-size 0.55s cubic-bezier(.7,.2,.2,1), color 0.3s;
}
.link:hover { background-size: 100% 1px; }
.link::after { display: none; }
.link .chev { font-family: var(--f-display); font-style: italic; transition: transform 0.3s; }
.link:hover .chev { transform: translateX(4px); }

/* Layout primitives -------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }

/* Compensación del header fijo al anclar desde nav — fallback para URL directa */
main#top,
section[id] { scroll-margin-top: 96px; }

@media (max-width: 768px) {
  main#top,
  section[id] { scroll-margin-top: 80px; }
}
.section--soft { background: var(--soft); }
.section--nero {
  background: var(--nero);
  color: #c9c2b8;
}
.section--nero h1, .section--nero h2, .section--nero h3 { color: var(--carrara); }
.section--nero .eyebrow { color: #8a8378; }
.section--nero .btn { background: var(--carrara); color: var(--nero); border-color: var(--carrara); }
.section--nero .btn:hover { background: transparent; color: var(--carrara); }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* Header -------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(250, 248, 244, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  color: #1a1a1a;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}
[data-tone="nero"] .site-header {
  background: rgba(26, 26, 26, 0.65);
  color: var(--carrara);
}
.site-header.is-solid {
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(184, 148, 95, 0.15);
  padding-block: 12px;
}
[data-tone="nero"] .site-header.is-solid {
  background: rgba(26, 26, 26, 0.95);
  border-bottom-color: rgba(212, 168, 87, 0.15);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 14px;
}
/* MEDALLION — reduced to secondary signature (60 % of original 68 px) */
.brand-mark {
  width: 54px; height: 54px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: width 0.3s cubic-bezier(.7,.2,.2,1), height 0.3s cubic-bezier(.7,.2,.2,1);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(26,26,26,0.22));
}
[data-tone="nero"] .brand-mark img {
  content: url("assets/medallon-blanco.png");
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.55));
}
.brand:hover .brand-mark { /* rotate on hover — via transform on inner img to keep width transition pristine */ }
.brand:hover .brand-mark img { transform: rotate(6deg); transition: transform 0.8s cubic-bezier(.7,.2,.2,1); }
.brand-word {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: 23px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  line-height: 1;
  color: #1a1a1a;
  transition: font-size 0.3s cubic-bezier(.7,.2,.2,1), letter-spacing 0.3s cubic-bezier(.7,.2,.2,1);
}
[data-tone="nero"] .brand-word { color: var(--carrara); }

.site-header.is-solid .brand-mark { width: 38px; height: 38px; }
.site-header.is-solid .brand-word { font-size: 18px; letter-spacing: 0.22em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s cubic-bezier(.7,.2,.2,1);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 24px;
  background: #B8945F;
  color: #FAF8F4 !important;
  border-radius: 100px;
  transition: background 0.3s ease, opacity 0.3s ease;
  white-space: nowrap;
}
.header-cta:hover { background: #a07d4a; }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}
.menu-toggle span:nth-child(2) { width: 14px; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); width: 22px; }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); width: 22px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  color: var(--ink);
  z-index: 40;
  padding: 110px var(--gutter) 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(.7,.2,.2,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu .nav-vert { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu .nav-vert a {
  font-family: var(--f-display);
  font-size: 44px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--ink);
  text-transform: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.mobile-menu .nav-vert a span {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
}
.mobile-menu .mm-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Hero ---------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 104px max(var(--gutter), 8vw) 88px;
  background: var(--bg);
  overflow: hidden;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__veil .marble {
  position: absolute;
  inset: -10%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(26,26,26,0.72) 0%,
    rgba(26,26,26,0.58) 28%,
    rgba(26,26,26,0.14) 48%,
    rgba(26,26,26,0.03) 63%,
    transparent 78%);
  pointer-events: none;
}
[data-tone="nero"] .hero::before {
  background: linear-gradient(95deg,
    rgba(10,8,6,0.82) 0%,
    rgba(10,8,6,0.62) 38%,
    rgba(10,8,6,0.28) 65%,
    rgba(10,8,6,0.08) 85%,
    transparent 100%);
}
.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 720px;
}
.hero__eyebrow { margin-bottom: 4px; }
/* Hero on dark overlay — text in crema */
.hero--dark .hero__eyebrow { color: #B8945F; }
.hero--dark h1 { color: #FAF8F4; font-style: normal; }
.hero--dark h1 .amp,
.hero--dark h1 em.amp {
  font-style: italic;
  color: #D4A857;
  opacity: calc(0.95 * var(--accent-strength));
}
.hero h1 {
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.015em;
}
.hero h1 .amp, .hero h1 em.amp {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--accent);
  opacity: calc(0.9 * var(--accent-strength));
}
.hero__sub {
  max-width: 34ch;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.45;
  color: var(--ink-2);
}
.hero--dark .hero__sub { color: rgba(250,248,244,0.82); }
.hero__sub em { color: var(--accent); font-style: italic; }
.hero__ctas { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

/* Btn dorado para el hero oscuro */
.btn--brass {
  background: #B8945F;
  color: #FAF8F4;
  border-color: #B8945F;
}
.btn--brass::before { background: #FAF8F4; }
.btn--brass:hover { color: #1a1a1a; }

/* Link sobre fondo oscuro */
.link--light { color: rgba(250,248,244,0.88); }
.link--light:hover { color: #FAF8F4; }
.hero__meta {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  display: flex;
  align-items: flex-start;
  gap: 48px;
  font-size: 11px;
  color: rgba(250,248,244,0.85);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.hero__meta > div { max-width: 140px; }
.hero__meta strong {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 48px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #FAF8F4;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  margin-bottom: 4px;
  line-height: 1;
}

/* Hero dust canvas — removed in v3 */

/* MARBLE — hero photo real ----------------------------- */
.marble {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
}
.marble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

/* Declaracion section grid */
.declaracion-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.declaracion-line {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.25;
  color: var(--ink);
  max-width: 22ch;
  text-wrap: balance;
}
@media (max-width: 860px) {
  .declaracion-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Photo placeholder ------------------------------------- */
.placeholder {
  position: relative;
  background: var(--vein);
  overflow: hidden;
  isolation: isolate;
}
.placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 40%, rgba(0,0,0,0.05) 100%),
    var(--vein);
}
.placeholder__caption {
  position: absolute;
  left: 24px; bottom: 20px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-3);
  z-index: 2;
  max-width: calc(100% - 48px);
  border-left: 1px solid var(--accent);
  padding-left: 12px;
}
.placeholder__caption em {
  display: block;
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-2);
  margin-top: 4px;
  font-style: italic;
}
.placeholder__corner {
  position: absolute;
  right: 18px; top: 18px;
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--ink-3);
}

/* Services section --------------------------------------- */
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 40px;
}
.services-head h2 { max-width: 14ch; }
.services-head .lede { justify-self: end; }

/* Servicios — alternating image + text rows */
.services-rows {
  margin-top: clamp(56px, 7vw, 96px);
}
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  align-items: stretch;
}
.svc-row + .svc-row {
  margin-top: clamp(96px, 12vw, 160px);
}
/* Alt: image right, text left */
.svc-row--alt > .svc-row__copy  { order: 1; }
.svc-row--alt > .svc-row__media { order: 2; }

.svc-row__media {
  position: relative;
  overflow: hidden;
}
.svc-row__media picture { display: block; width: 100%; height: 100%; }
.svc-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(.4,.2,.2,1);
}
.svc-row:hover .svc-row__media img { transform: scale(1.03); }

.svc-row__copy {
  padding: clamp(56px, 8vw, 120px) clamp(40px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  background: var(--bg);
}

.svc-row__lede {
  font-size: clamp(18px, 1.5vw, 22px);
  max-width: 28ch;
}

.svc-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-3);
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}
.svc-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.svc-list li::before {
  content: "—";
  color: var(--accent);
  opacity: calc(0.9 * var(--accent-strength));
  flex: 0 0 auto;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 14px;
  line-height: 1;
}

.svc-cta {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  transition: gap 0.3s ease, opacity 0.3s ease;
  opacity: calc(0.9 * var(--accent-strength));
}
.svc-cta:hover { gap: 20px; opacity: 1; }

/* Mobile services */
@media (max-width: 860px) {
  .svc-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .svc-row--alt > .svc-row__copy  { order: 2; }
  .svc-row--alt > .svc-row__media { order: 1; }
  .svc-row__media { aspect-ratio: 4 / 3; }
  .svc-row__copy { padding: 48px var(--gutter); }
  .svc-row + .svc-row { margin-top: 64px; }
}

/* Keep old .service__list for any remnants */
.service__list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
}
.service__list li { display: flex; align-items: baseline; gap: 12px; }
.service__list li::before {
  content: "";
  width: 6px; height: 1px;
  background: var(--accent);
  flex: 0 0 auto;
  transform: translateY(-4px);
}

/* History split ------------------------------------------ */
.history {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.history__media { aspect-ratio: 4 / 5; position: relative; }
.history__copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-right: max(0px, calc(var(--gutter) * 0.5));
}
.history__copy h2 { max-width: 11ch; }
.history__copy p { font-size: 17px; line-height: 1.7; font-family: var(--f-display); font-style: italic; color: var(--ink); max-width: 28ch; }
.history__copy p:nth-of-type(2) { font-size: 24px; color: var(--ink); }
.history__lineage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.history__lineage > div { display: flex; flex-direction: column; gap: 4px; }
.history__lineage span {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.history__lineage strong {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
}

/* Oficio carousel ---------------------------------------- */
.oficio-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.oficio-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}
.oficio-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.45, 0, 0.55, 1);
}
.oficio-carousel__slide.is-active { opacity: 1; }
.oficio-carousel__slide picture { display: block; width: 100%; height: 100%; }
.oficio-carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.oficio-carousel__num {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.65);
  z-index: 2;
  pointer-events: none;
  font-family: var(--f-body);
}
.oficio-carousel__caption {
  position: absolute;
  left: 24px;
  bottom: 50px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.65);
  z-index: 2;
  max-width: calc(100% - 48px);
  border-left: 1px solid rgba(184, 148, 95, 0.55);
  padding-left: 12px;
  pointer-events: none;
  font-family: var(--f-body);
}
.oficio-carousel__caption em {
  display: block;
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(250, 248, 244, 0.82);
  margin-top: 4px;
  font-style: italic;
}
.oficio-carousel__indicators {
  position: absolute;
  bottom: 20px;
  left: 24px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.oficio-ind {
  width: 24px;
  height: 5px;
  padding: 0;
  background: var(--accent);
  opacity: 0.25;
  cursor: pointer;
  transition: opacity 0.4s ease;
  border-radius: 0;
}
.oficio-ind.is-active { opacity: 1; }
.oficio-ind:hover:not(.is-active) { opacity: 0.55; }

/* Differentiators ---------------------------------------- */
.diff-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
/* Process ----------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  padding-block: 56px 48px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.process__rail {
  position: absolute;
  left: 8.33%; right: 8.33%;
  /* Aligned to the dot row: padding-top (56) + step__num (20px line + 14px gap) + icon (64 + 14 gap) + half dot (5.5)  */
  top: calc(56px + 20px + 14px + 64px + 14px + 5.5px);
  height: 1px;
  background: var(--rule);
  z-index: 0;
  overflow: hidden;
}
.process__rail-fill {
  position: absolute;
  inset: 0 0 0 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  opacity: calc(0.9 * var(--accent-strength));
  transform: scaleX(0);
  transform-origin: left center;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  z-index: 1;
  padding: 0 16px 0 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
}
.step__num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--accent);
  opacity: calc(0.75 * var(--accent-strength));
  transition: transform 0.45s cubic-bezier(.22,1,.36,1), opacity 0.45s, color 0.3s;
  line-height: 1;
}
.step.is-open .step__num,
.step:hover .step__num { opacity: 1; transform: scale(1.15); transform-origin: left center; }

/* Clean step icons — cream circle, gold border, gold stroke.
   When open: solid gold fill, cream stroke. */
.step__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--carrara);
  border: 1px solid var(--accent);
  opacity: calc(1 * var(--accent-strength));
  transition: background 0.45s ease, color 0.45s ease, border-color 0.45s ease, transform 0.55s cubic-bezier(.22,1,.36,1), box-shadow 0.55s;
}
.step__icon svg { width: 28px; height: 28px; }
[data-tone="nero"] .step__icon { background: #1f1c19; }
.step:hover .step__icon { transform: translateY(-2px); }
.step.is-open .step__icon {
  background: var(--accent);
  color: var(--carrara);
  border-color: var(--accent);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 32px rgba(184,148,95,0.32);
}
.step__dot {
  width: 11px; height: 11px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
  position: relative;
}
.step__dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: calc(1 * var(--accent-strength));
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(.7,.2,.2,1);
}
.step.is-open .step__dot::after { transform: scale(1); }
.step h4 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}
.step__hint {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.step:hover .step__hint { opacity: 0.85; transform: translateY(0); }
.step.is-open .step__hint { opacity: 0; }

.step__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.55s cubic-bezier(.22,1,.36,1), opacity 0.45s ease 0.05s;
  width: 100%;
}
.step__body > * {
  overflow: hidden;
  min-height: 0;
}
.step__body p {
  font-family: var(--f-body);
  font-size: 13px;
  line-height: 1.7;
  color: #5a5550;
  margin: 0;
  max-width: 22ch;
  padding-top: 4px;
}
[data-tone="nero"] .step__body p { color: #c9c2b8; }
.step.is-open .step__body {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* Final CTA ---------------------------------------------- */
.cta {
  text-align: center;
  display: grid;
  gap: 40px;
  justify-items: center;
}
.cta h2 { max-width: 18ch; font-style: italic; }
.cta p { max-width: 50ch; font-size: 16px; }
.cta__note { font-size: 12px; color: var(--ink-3); letter-spacing: 0.1em; margin-top: 8px; }

/* Footer ------------------------------------------------- */
.footer {
  background: var(--nero);
  color: #8a8378;
  padding: 100px var(--gutter) 40px;
  font-size: 13px;
  line-height: 1.8;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 80px;
  border-bottom: 1px solid #2a2622;
}
.footer h4 {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
  color: #c9c2b8;
  margin: 0 0 24px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: var(--carrara); }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .mark {
  width: 96px; height: 96px;
  padding: 0;
}
.footer-brand .mark img {
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.5));
}
.footer-brand__word {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--carrara);
  line-height: 1;
  margin-top: 4px;
}
.footer-brand .tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--carrara);
  margin: 12px 0 0;
  line-height: 1.2;
}
.footer-brand p { font-size: 13px; color: #8a8378; max-width: 32ch; }
.footer-bottom {
  max-width: var(--container);
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6a635a;
  flex-wrap: wrap;
}
.socials { display: flex; gap: 20px; }
.socials a {
  width: 32px; height: 32px;
  border: 1px solid #2a2622;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
}
.socials a:hover { border-color: var(--accent); color: var(--carrara); }
.socials svg { width: 14px; height: 14px; }

/* WhatsApp float ---------------------------------------- */
.wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--nero);
  color: var(--carrara);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  box-shadow: 0 12px 32px rgba(26,26,26,0.18);
  transition: transform 0.3s ease, background 0.3s;
}
.wa:hover { transform: translateY(-3px); background: var(--accent); }
.wa svg { width: 22px; height: 22px; }

/* Tweaks panel ------------------------------------------- */
.tweaks {
  position: fixed;
  right: 28px;
  bottom: 100px;
  width: 280px;
  background: var(--bg);
  border: 1px solid var(--rule);
  color: var(--ink);
  z-index: 60;
  padding: 22px;
  display: none;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 24px 60px rgba(26,26,26,0.14);
  font-size: 12px;
}
.tweaks.is-open { display: flex; }
.tweaks h5 {
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
  font-weight: 400;
}
.tweaks-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-display);
  font-size: 18px;
  font-style: italic;
  color: var(--ink);
}
.tweaks-title button { color: var(--ink-3); font-size: 18px; line-height: 1; }
.tweak-row { display: flex; flex-direction: column; gap: 8px; }
.tweak-seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border: 1px solid var(--rule);
}
.tweak-seg button {
  padding: 8px 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-right: 1px solid var(--rule);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.tweak-seg button:last-child { border-right: 0; }
.tweak-seg button.is-on { background: var(--ink); color: var(--bg); }
.tweak-range { width: 100%; accent-color: var(--accent); }
.tweaks-foot { font-size: 10px; color: var(--ink-3); letter-spacing: 0.18em; text-transform: uppercase; }

/* Gallery ----------------------------------------------- */
/* =============================================================
   GALERÍA — CARRUSEL ASIMÉTRICO
   ============================================================= */
#galeria { overflow: clip; }
.gal-shell {
  position: relative;
}
.gal-viewport {
  position: relative;
  overflow: visible;
  perspective: 1400px;
}
.gal-track {
  display: flex;
  gap: 48px;
  will-change: transform;
  cursor: grab;
  transform-style: preserve-3d;
}
.gal-track.is-dragging { cursor: grabbing; }
.gal-slide {
  flex: 0 0 auto;
  position: relative;
  cursor: pointer;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.6s ease,
              box-shadow 0.7s ease;
}
.gal-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  border-radius: 24px;
}
.gal-frame picture { display: block; width: 100%; height: 100%; }
.gal-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.72) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px 24px;
  pointer-events: none;
}
.gal-slide.is-active:hover .gal-overlay { opacity: 1; }
.gal-overlay__label {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.90);
}

/* === 3D Carousel — estados por posición === */
.gal-slide.is-active {
  transform: rotateY(0deg) scale(1) translateZ(0);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.25);
}
.gal-slide.is-active:hover {
  transform: rotateY(0deg) scale(1.02) translateZ(0);
}

.gal-slide.is-left {
  transform: rotateY(15deg) scale(0.82) translateZ(-80px);
  transform-origin: right center;
  opacity: 0.85;
  z-index: 2;
}
.gal-slide.is-left:hover { opacity: 1; }

.gal-slide.is-right {
  transform: rotateY(-15deg) scale(0.82) translateZ(-80px);
  transform-origin: left center;
  opacity: 0.85;
  z-index: 2;
}
.gal-slide.is-right:hover { opacity: 1; }

.gal-slide.is-far-left {
  transform: rotateY(25deg) scale(0.65) translateZ(-160px);
  transform-origin: right center;
  opacity: 0.4;
  z-index: 1;
}
.gal-slide.is-far-left:hover { opacity: 0.65; }

.gal-slide.is-far-right {
  transform: rotateY(-25deg) scale(0.65) translateZ(-160px);
  transform-origin: left center;
  opacity: 0.4;
  z-index: 1;
}
.gal-slide.is-far-right:hover { opacity: 0.65; }

/* Navigation arrows */
.gal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: #D4A857;
  background: rgba(26,26,26,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  border: 1px solid rgba(184,148,95,0.28);
  box-shadow: 0 4px 16px -4px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}
.gal-arrow--prev { left: 16px; }
.gal-arrow--next { right: 16px; }
.gal-arrow:hover { background: rgba(26,26,26,0.65); transform: translateY(-50%) scale(1.08); color: #B8945F; }
.gal-arrow:disabled { opacity: 0.22; pointer-events: none; }

/* Slide counter */
.gal-count {
  margin-top: 14px;
  text-align: right;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

/* Tablet — 3D conservador */
@media (min-width: 768px) and (max-width: 1024px) {
  .gal-slide.is-left  { transform: rotateY(10deg) scale(0.85) translateZ(-50px); }
  .gal-slide.is-right { transform: rotateY(-10deg) scale(0.85) translateZ(-50px); }
  .gal-slide.is-far-left  { transform: rotateY(18deg) scale(0.68) translateZ(-100px); }
  .gal-slide.is-far-right { transform: rotateY(-18deg) scale(0.68) translateZ(-100px); }
}

/* Mobile — sin 3D, solo foto central */
@media (max-width: 767px) {
  .gal-viewport { perspective: none; }
  .gal-track { transform-style: flat; }
  .gal-slide:not(.is-active) { opacity: 0; pointer-events: none; }
  .gal-slide.is-active {
    transform: none !important;
    box-shadow: none;
  }
  .gal-slide.is-active:hover { transform: none !important; }
  .gal-frame { border-radius: 16px; }
}

@media (max-width: 768px) {
  .gal-arrow { width: 44px; height: 44px; font-size: 20px; }
  .gal-arrow--prev { left: 8px; }
  .gal-arrow--next { right: 8px; }
}

/* Section divider — short gold rule centered between sections */
.divider {
  display: block;
  width: 60px;
  height: 1px;
  margin: 0 auto;
  background: var(--accent);
  opacity: calc(0.7 * var(--accent-strength));
}

/* History paragraphs — calm editorial body */
.history__para {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: #5a5550;
  max-width: 38ch;
  font-style: normal;
}
[data-tone="nero"] .history__para { color: #c9c2b8; }
.history__quote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.4;
  color: var(--ink);
  max-width: 28ch;
}
.history__quote em { color: var(--accent); font-style: italic; }

.history__brand-phrase {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(184,148,95,0.25);
}

/* (Gallery hover styles moved to .gal-overlay / .gal-overlay__label above) */

/* Scroll progress bar (top of viewport) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  z-index: 100;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* Custom cursor (desktop only) */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: normal;
  opacity: 0;
  transform: scale(0.6);
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), opacity 0.25s, background 0.25s, border-color 0.25s;
  display: none;
}
.cursor.is-on { display: block; opacity: 1; transform: scale(1); }
.cursor__dot {
  position: absolute;
  left: 50%; top: 50%;
  width: 3px; height: 3px;
  margin: -1.5px 0 0 -1.5px;
  background: var(--carrara);
  border-radius: 50%;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.cursor.is-hover { transform: scale(4); }
.cursor.is-hover .cursor__dot { opacity: 0; transform: scale(0); }
[data-tone="nero"] .cursor__dot { background: var(--carrara); }
@media (hover: none), (pointer: coarse), (max-width: 1024px) {
  .cursor { display: none !important; }
}

/* Reveal — used as initial state for GSAP & fallback ----- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}
.reveal.is-in,
html.no-gsap .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 1s cubic-bezier(.4,.2,.2,1) var(--reveal-delay, 0ms),
              transform 1s cubic-bezier(.4,.2,.2,1) var(--reveal-delay, 0ms);
}

/* Responsive --------------------------------------------- */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .nav a { font-size: 11px; letter-spacing: 0.16em; }
  .brand-word { font-size: 20px; }
  .brand-mark { width: 48px; height: 48px; }
  .site-header.is-solid .brand-mark { width: 36px; height: 36px; }
  .site-header.is-solid .brand-word { font-size: 17px; }
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .service { padding: 40px 32px; }
  .process {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 70%;
    grid-template-columns: none;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 32px 0 48px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .process::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: center; padding: 0; }
  .process__rail { display: none; }
}
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand-word { font-size: 18px; letter-spacing: 0.20em; }
  .brand-mark { width: 44px; height: 44px; }
  .site-header.is-solid .brand-mark { width: 34px; height: 34px; }
  .site-header.is-solid .brand-word { font-size: 15px; }
  .hero { padding-top: 100px; padding-bottom: 80px; }
  .hero__meta { margin-top: 32px; gap: 32px; flex-wrap: wrap; }
  .services-head, .diff-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 60px; }
  .services-head .lede { justify-self: start; }
  .history { grid-template-columns: 1fr; gap: 48px; }
  .history__lineage { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  /* .pillars/.pillar — código muerto, ver versión antigua al final del archivo */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  h1 { font-size: clamp(48px, 12vw, 84px); }
  h2 { font-size: clamp(36px, 9vw, 56px); }
  .step p { opacity: 1; transform: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .history__lineage { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; }
}

/* =============================================================
   BRAND WATERMARKS  —  static, decorative, never animated
   ============================================================= */
.brand-watermark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  -webkit-user-drag: none;
  max-width: none;        /* override img { max-width: 100% } */
  height: auto;
}
.brand-watermark--oficio {
  width: 520px;
  top: 50%;
  right: -120px;
  transform: translateY(-50%);
  opacity: 0.06;
}
.brand-watermark--contacto {
  width: 640px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
}
/* Sections that host watermarks need positioning + content stacking */
#oficio, #contacto { position: relative; overflow: hidden; }
#oficio .container, #contacto .container { position: relative; z-index: 1; }

@media (max-width: 1024px) {
  .brand-watermark--oficio { width: 380px; right: -100px; opacity: 0.05; }
  .brand-watermark--contacto { width: 480px; opacity: 0.07; }
}
@media (max-width: 720px) {
  .brand-watermark--oficio { width: 300px; right: -80px; opacity: 0.04; }
  .brand-watermark--contacto { width: 360px; opacity: 0.06; }
  .hero__meta { flex-direction: column; gap: 24px; }
  .hero__meta > div { max-width: none; }
}

/* =============================================================
   prefers-reduced-motion  —  global motion kill-switch
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .step-panel { opacity: 1 !important; transform: none !important; position: relative !important; inset: auto !important; }
  .process-content { min-height: 0 !important; }
  .process-stage { grid-template-columns: 60px 1fr; align-items: stretch; }
}

/* =============================================================
   MARBLE COLUMNS — capitel jónico etéreo + fuste de dos líneas + basa
   ============================================================= */
.pillars-section { overflow: hidden; padding-block: 140px 160px; }
.pillars-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 96px;
}
.pillars-head .lede { justify-self: end; max-width: 26ch; }

.pillars-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 200px));
  justify-content: center;
  align-items: flex-end;
  gap: clamp(32px, 5vw, 88px);
  padding-top: 40px;
  padding-bottom: 64px;
}

/* Cada columna: capital → shaft (dos líneas) → base → body */
.column {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  isolation: isolate;
}

/* Capitel y basa SVG — sobresalen del fuste */
.column__capital,
.column__base {
  position: relative;
  width: 110%;
  margin-left: -5%;
  flex: 0 0 auto;
  z-index: 2;
  line-height: 0;
}
.column__capital { height: 40px; }
.column__base    { height: 28px; }
.column__capital svg,
.column__base svg { display: block; width: 100%; height: 100%; }

/* Fuste etéreo — sin fondo sólido, solo las dos líneas paralelas */
.column__shaft {
  position: relative;
  height: 360px;
  flex: 0 0 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* SVG fuste — reemplaza los divs anteriores; GSAP anima stroke-dashoffset */
.column__fuste {
  position: absolute;
  top: 0;
  height: 100%;
  width: 3px;
  overflow: visible;
}
.column__fuste--l { left: calc(50% - 70px); }
.column__fuste--r { right: calc(50% - 70px); }

/* Ícono centrado entre las líneas */
.column__icon {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #B8945F;
  opacity: calc(0.9 * var(--accent-strength));
}
.column__icon i { font-size: 56px; line-height: 1; }

/* Cuerpo de texto — debajo de la basa */
.column__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 8px 0;
}
.column__roman {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #B8945F;
  opacity: calc(0.85 * var(--accent-strength));
}
.column h3 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 1.8vw, 28px);
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: #1a1a1a;
  margin: 4px 0 6px;
}
.column p {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.5;
  color: #5a5550;
  margin: 0;
  max-width: 18ch;
}

/* Hover manejado íntegramente por GSAP (rotación ícono + brillo líneas + stroke capital/basa) */
.column { cursor: default; }

@media (max-width: 1024px) {
  .pillars-columns { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .pillars-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .pillars-head .lede { justify-self: start; }
  .column__shaft { height: 300px; flex: 0 0 300px; }
  .column__capital { height: 34px; }
  .column__base    { height: 24px; }
  .column__icon i  { font-size: 48px; }
}
@media (max-width: 720px) {
  .pillars-columns {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 8px var(--gutter) 32px;
    width: auto;
  }
  .pillars-columns::-webkit-scrollbar { display: none; }
  .column {
    flex: 0 0 82vw;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .column__shaft { height: 280px; flex: 0 0 280px; }
}

/* =============================================================
   PROCESS — Carrusel controlado por usuario
   ============================================================= */
.process-horiz {
  padding-block: var(--section-y) 0;
}
.proceso-head {
  padding-bottom: clamp(40px, 5vw, 72px);
}

/* Carrusel: recorta el track, posiciona las flechas */
.proceso-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #1a1a1a;
}

/* Track: 6 paneles en fila (ancho = 6 × ancho del carousel) */
.proceso-track {
  display: flex;
  flex-direction: row;
  width: calc(6 * 100%);
  will-change: transform;
}

/* Cada panel = 1/6 del track = 100% del carrusel */
.proceso-panel {
  flex: 0 0 calc(100% / 6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 100px clamp(80px, 10%, 200px);
  background: #1a1a1a;
  min-height: 70vh;
}

/* Eyebrow con línea decorativa */
.proceso-eyebrow {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #D4A857;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.proceso-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

/* Ícono grande */
.proceso-panel__icon {
  font-size: clamp(64px, 6vw, 88px) !important;
  color: #D4A857;
  line-height: 1;
}

/* Heading del panel */
.proceso-panel h3 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #FAF8F4;
  margin: 0;
  max-width: 14ch;
}
.proceso-panel h3 .amp {
  font-style: italic;
  color: #D4A857;
}

/* Descripción */
.proceso-panel p {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: rgba(250, 248, 244, 0.85);
  max-width: 36ch;
  margin: 0;
}

/* Modalidades de asesoría (Paso II) */
.step-modal {
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212, 168, 87, 0.65);
  margin-top: -4px;
  display: block;
}

/* Flechas de navegación — siempre visibles */
.proceso-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: transparent;
  border: none;
  color: #D4A857;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.proceso-arrow i { font-size: 36px !important; line-height: 1; }
.proceso-arrow--prev { left: 24px; }
.proceso-arrow--next { right: 24px; }
.proceso-arrow:hover:not([disabled]) {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}
.proceso-arrow[disabled] {
  opacity: 0.2;
  pointer-events: none;
}

/* Segmentos interactivos (fuera del carousel, abajo) */
.proceso-segs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 28px 0 var(--section-y);
  background: #1a1a1a;
}
.proceso-seg {
  width: 40px;
  height: 2px;
  background: rgba(212, 168, 87, 0.25);
  border: none;
  padding: 8px 0;
  cursor: pointer;
  transition: background 0.3s ease;
  background-clip: content-box;
}
.proceso-seg:hover { background: rgba(212, 168, 87, 0.5); background-clip: content-box; }
.proceso-seg.is-active { background: #D4A857; background-clip: content-box; }

/* Mobile — carrusel funciona igual, flechas más pequeñas */
@media (max-width: 768px) {
  .process-horiz { padding-block: var(--section-y) 0; }
  .proceso-panel {
    padding: 72px 28px 72px 64px;
    min-height: 55vh;
  }
  .proceso-arrow i { font-size: 24px !important; }
  .proceso-arrow--prev { left: 8px; }
  .proceso-arrow--next { right: 8px; }
  .proceso-seg { width: 28px; }
  .proceso-segs { gap: 6px; }
}

/* =============================================================
   GALLERY TABS
   ============================================================= */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.gallery-tab {
  position: relative;
  padding: 14px 22px 18px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.4s ease;
}
.gallery-tab::after {
  content: "";
  position: absolute;
  left: 22px; right: 22px;
  bottom: -1px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
}
.gallery-tab:hover { color: var(--accent); }
.gallery-tab.is-on { color: var(--accent); }
.gallery-tab.is-on::after { transform: scaleX(1); }

@media (max-width: 600px) {
  .gallery-tabs { flex-wrap: wrap; gap: 4px; }
  .gallery-tab { padding: 12px 14px 16px; font-size: 11px; letter-spacing: 0.18em; }
}

/* =============================================================
   LIGHTBOX
   ============================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.92);
  cursor: pointer;
}
.lightbox__stage {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 1100px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox__close {
  position: absolute;
  top: -52px;
  right: 0;
  color: var(--carrara);
  font-size: 20px;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  transition: opacity 0.25s;
  border: 1px solid rgba(250,248,244,0.25);
  border-radius: 50%;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  transform: scale(0.97);
  transition: transform 0.55s cubic-bezier(.22,1,.36,1);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__caption {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.65);
  text-align: center;
}
.lightbox__prev,
.lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 201;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  color: rgba(250,248,244,0.70);
  border: 1px solid rgba(250,248,244,0.18);
  border-radius: 50%;
  background: rgba(26,26,26,0.30);
  backdrop-filter: blur(6px);
  transition: color 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}
.lightbox__prev { left: 28px; }
.lightbox__next { right: 28px; }
.lightbox__prev:hover,
.lightbox__next:hover { color: var(--carrara); background: rgba(184,148,95,0.20); }
.lightbox__prev:disabled,
.lightbox__next:disabled { opacity: 0.18; pointer-events: none; }
@media (max-width: 768px) {
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
}
