/* Joyería Eliseo's · "Taller de noche" · sistema: escaparate en arco + filete de latón + etiqueta de joyería + lupa */
/* Crítica: un solo momento (la calle, el escaparate, la lupa); todo lo demás repite esos tres objetos y calla. */

:root {
  --night: #0B1630;
  --night-2: #12224a;
  --brand: #0C4DA2;
  --indigo: #3A5A9A;
  --cyan: #00A0D0;
  --ivory: #F4F1EA;
  --ivory-2: #EAE5D8;
  --champ: #C8B38A;
  --champ-soft: rgba(200, 179, 138, .4);
  --ink: #161A28;
  --ink-soft: #4B5063;
  --ivory-soft: #C9CAD3;
  --line-dark: rgba(200, 179, 138, .32);
  --line-light: rgba(22, 26, 40, .15);

  --display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --sec-pad: clamp(104px, 13vw, 190px);
  --sill: clamp(40px, 7vh, 72px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--indigo) var(--night); }
body {
  margin: 0; background: var(--night); color: var(--ivory);
  font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
  caret-color: var(--brand);
}
::selection { background: var(--champ); color: var(--night); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3, p, ol, dl, dd, figure, blockquote { margin: 0; }
ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sec { position: relative; padding-block: var(--sec-pad); }
.sec--ivory { background: var(--ivory); color: var(--ink); }
.sec--night { background: var(--night); color: var(--ivory); }

.h2 {
  font-family: var(--display); font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(2.3rem, 5vw, 4.9rem); line-height: 1.02; letter-spacing: -.025em;
  max-width: 15ch; text-wrap: balance; overflow-wrap: break-word; min-width: 0;
}
.h2--light { color: var(--ivory); }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.18rem); color: var(--ink-soft); max-width: 36ch; }
.sec--night .lead { color: var(--ivory-soft); }
.lead--narrow { max-width: 28ch; }

/* ---------- el arco del escaparate, con su filete interior de latón ---------- */
.arch { position: relative; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--night-2); isolation: isolate; }
.arch > img { width: 100%; height: 100%; object-fit: cover; }
.arch::after {
  content: ""; position: absolute; inset: 10px; z-index: 5; pointer-events: none;
  border: 1px solid var(--champ-soft); border-bottom: 0; border-radius: 999px 999px 0 0;
}

/* ---------- etiqueta de joyería (con su agujero) ---------- */
.tag {
  position: relative; display: inline-block; padding: .42em 1em .42em 1.75em;
  font-family: var(--sans); font-size: .82rem; font-weight: 500; line-height: 1.3;
  background: var(--night); color: var(--ivory);
  clip-path: polygon(13px 0, 100% 0, 100% 100%, 13px 100%, 0 50%);
}
.tag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--ivory); }
.tag--light { background: var(--champ); color: var(--night); }
.tag--light::before { background: var(--night); }

/* ---------- botón WhatsApp: píldora oscura ---------- */
.btn-wa {
  position: relative; display: inline-flex; align-items: center; gap: .75em;
  padding: 1.05em 1.7em; min-height: 48px; border-radius: 999px;
  background: var(--ivory); color: var(--night); border: 1px solid var(--ivory);
  font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  transition: transform .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn-wa:hover { background: var(--champ); border-color: var(--champ); transform: translateY(-2px); }
.btn-wa:active { transform: translateY(0) scale(.98); }
.btn-wa .wa-ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.4; }
.btn-wa .wa-ico path:last-child { fill: currentColor; stroke: none; }
.btn-wa--sm { padding: .78em 1.25em; min-height: 42px; font-size: .68rem; background: var(--night); color: var(--ivory); border-color: var(--line-dark); }
.btn-wa--sm:hover { background: var(--brand); border-color: var(--brand); color: var(--ivory); }
.btn-wa--line { background: transparent; color: var(--ivory); border-color: var(--champ); }
.btn-wa--line:hover { background: var(--champ); color: var(--night); }
.btn-wa--dock { display: none; }

.link-line {
  position: relative; display: inline-block; padding-block: .35em;
  font-family: var(--display); font-style: italic; font-size: 1.15rem; text-decoration: none; color: var(--ivory);
}
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1em; height: 1px; background: var(--champ); transform-origin: right; transition: transform .6s var(--ease); }
.link-line:hover::after { transform: scaleX(0); }
.link-line--ink { color: var(--ink); }
.link-line--ink::after { background: var(--indigo); }

/* ---------- cabecera ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--ivory); transition: transform .7s var(--ease), background-color .5s var(--ease); }
.site-header.is-solid { background: var(--night); box-shadow: 0 1px 0 var(--line-dark); }
.site-header.is-hidden { transform: translateY(-105%); }
.header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1.5rem; height: 76px; padding-inline: var(--gutter); }
.brand { font-family: var(--display); font-weight: 500; font-size: 1.3rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; line-height: 1; padding-left: .16em; }
.main-nav { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.main-nav a, .main-nav-link { position: relative; font-size: .9rem; text-decoration: none; color: var(--ivory); opacity: .82; padding-block: .5rem; transition: opacity .4s var(--ease); }
.main-nav a::after, .main-nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 1px; background: var(--champ); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.main-nav a:hover, .main-nav-link:hover { opacity: 1; }
.main-nav a:hover::after, .main-nav-link:hover::after { transform: scaleX(1); }
.header-end { justify-self: end; display: flex; align-items: center; gap: 1.6rem; }

/* ---------- sello 1983 ---------- */
.seal { display: block; width: 100%; height: auto; overflow: visible; }
.seal-ring { fill: none; stroke: var(--champ); stroke-width: 1.2; }
.seal-ring--in { stroke-width: .6; opacity: .6; }
.seal-glint { fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: .07 .93; opacity: 0; }
.seal-year { font-family: var(--display); font-weight: 400; font-size: 52px; letter-spacing: -.01em; fill: var(--champ); stroke: var(--champ); stroke-width: .5; }
.seal-name { font-family: var(--display); font-style: italic; font-size: 17px; fill: var(--ivory-soft); }
.seal--fly { display: none; }
.preloader { display: none; }
.motion .preloader { display: block; position: fixed; inset: 0; z-index: 100; background: var(--night); }
.motion .seal--fly { display: block; position: fixed; left: 50%; top: 50%; z-index: 101; width: 240px; margin: -120px 0 0 -120px; pointer-events: none; }
.motion .seal--fly .seal-ring { stroke-dasharray: 1; }
.motion .seal--fly .seal-year { fill-opacity: 0; stroke-dasharray: 260; }

.curtain { position: fixed; inset: 0; z-index: 95; background: var(--night); transform: scaleY(0); pointer-events: none; }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .motion .cursor { display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 96; pointer-events: none; width: 64px; height: 64px; margin: -32px 0 0 -32px; transition: opacity .3s var(--ease); }
  .motion .cursor::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--champ); transform: scale(.16); transition: transform .5s var(--ease), background-color .4s var(--ease); }
  .motion .cursor span { position: relative; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); opacity: 0; transition: opacity .3s var(--ease); }
  .motion .cursor.is-label::before { transform: scale(1); background: var(--night); }
  .motion .cursor.is-label span { opacity: 1; }
  .motion .cursor.is-hidden { opacity: 0; }
}

/* ---------- HERO: campaña a pantalla completa ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: var(--night); color: var(--ivory); isolation: isolate; }
.hero-media { position: absolute; inset: -3%; z-index: 0; will-change: transform; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 38%; }
.hero-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 22, 48, .55) 0%, transparent 18%),
    linear-gradient(0deg, rgba(11, 22, 48, .9) 0%, rgba(11, 22, 48, .2) 42%, transparent 60%),
    linear-gradient(90deg, rgba(11, 22, 48, .55) 0%, transparent 55%);
}
.hero-text { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(40px, 8vh, 84px); max-width: min(64vw, 980px); }
.hero-title {
  font-family: var(--display); font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(2.5rem, 6.4vw, 7rem); line-height: .94; letter-spacing: -.025em; color: var(--ivory);
  overflow-wrap: break-word; min-width: 0;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: block; }
.hero-title .line:first-child { text-transform: uppercase; letter-spacing: -.01em; }
.hero-title .line--it { font-style: italic; padding-left: .55em; }
.hero-sub { margin-top: 1.4rem; font-size: clamp(.98rem, 1.15vw, 1.08rem); color: var(--ivory-soft); max-width: 40ch; }

.hero-card {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(40px, 8vh, 84px); width: clamp(170px, 14vw, 220px);
  padding: 10px 10px 14px; border-radius: 6px; background: rgba(18, 34, 74, .86); color: var(--ivory); text-decoration: none;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  transition: transform .6s var(--ease), background-color .4s var(--ease);
}
.hero-card:hover { background: rgba(18, 34, 74, .96); }
.hero-card-img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 3px; background: var(--night); }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform 1.1s var(--ease); }
.hero-card:hover .hero-card-img img { transform: scale(1.07); }
.hero-card-name { display: block; margin-top: .8rem; font-size: .88rem; }
.hero-card-cta { display: inline-block; margin-top: .55rem; font-family: var(--display); font-style: italic; font-size: 1rem; border-bottom: 1px solid var(--champ); padding-bottom: .1rem; }

.hero-cue { position: absolute; z-index: 2; left: 50%; bottom: 22px; width: 1px; height: 46px; background: rgba(244, 241, 234, .2); overflow: hidden; }
.hero-cue i { position: absolute; inset: 0; background: var(--champ); transform: scaleY(0); transform-origin: top; }
.motion .hero-cue i { animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- la joyera ---------- */
.joyera-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(48px, 8vw, 140px); align-items: end; }
.joyera-quote p { font-family: var(--display); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; letter-spacing: -.01em; color: var(--indigo); max-width: 24ch; margin-bottom: 3.5rem; }
.joyera-text .lead { margin-top: 2rem; }
.years { display: flex; align-items: center; gap: 1.2rem; margin-top: 3.2rem; font-family: var(--display); font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.years-rule { width: clamp(56px, 8vw, 110px); height: 10px; fill: none; stroke: var(--champ); stroke-width: 1; }
.years-to { color: var(--brand); }
.joyera-photo { position: relative; justify-self: end; width: min(100%, 440px); }
.joyera-photo .arch { aspect-ratio: 4 / 5.3; }
.joyera-photo .arch > img { height: 114%; }
.joyera-photo .tag { margin-top: 1.1rem; }

/* ---------- generaciones ---------- */
.gen .h2 { margin-bottom: clamp(64px, 9vw, 120px); }
.gen-line { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); padding-top: 44px; }
.gen-track { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dark); }
.gen-fill { position: absolute; inset: 0; background: var(--champ); transform-origin: left; }
.gen-stop { position: relative; }
.gen-stop::before { content: ""; position: absolute; top: -49px; left: 0; width: 9px; height: 9px; border: 1px solid var(--champ); border-radius: 50%; background: var(--night); }
.gen-year { display: block; font-family: var(--display); font-style: italic; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1; color: var(--champ); margin-bottom: 1rem; }
.gen-stop p { color: var(--ivory-soft); max-width: 24ch; }

/* ---------- el oficio ---------- */
.oficio { padding-bottom: 0; }
.oficio-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 80px); }
.oficio-viewport { overflow: hidden; padding-bottom: var(--sec-pad); }
.oficio-track { display: flex; align-items: flex-start; gap: clamp(24px, 3vw, 48px); padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); width: max-content; }
.paso { width: clamp(260px, 25vw, 360px); flex: none; }
.paso:nth-child(even) { margin-top: clamp(40px, 6vw, 90px); }
.paso-media { aspect-ratio: 4 / 5.2; margin-bottom: 1.4rem; }
.paso-media--slot { display: flex; align-items: flex-end; justify-content: center; padding-bottom: 2rem; background: var(--night); background-image: radial-gradient(60% 45% at 50% 35%, rgba(12, 77, 162, .5), transparent 75%); }
.paso-media--light, .pieza-img--light { background: var(--ivory-2); }
.paso-media--light > img, .pieza-img--light > img { mix-blend-mode: multiply; }
.paso h3 { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; letter-spacing: -.02em; margin-bottom: .6rem; }
.paso p { color: var(--ink-soft); max-width: 30ch; }

/* ---------- aprende ---------- */
.aprende-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.aprende-quote p { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.25; color: var(--champ); }
.aprende-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.aprende-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
.aprende-tabs button {
  position: relative; display: flex; align-items: center; gap: 1.1rem; text-align: left; padding: 1.15rem 0; min-height: 48px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--display); font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.05; letter-spacing: -.02em; color: var(--ivory-soft);
  transition: color .4s var(--ease);
}
/* la lupa marca la pestaña activa */
.aprende-tabs button::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line-dark); transition: border-color .4s var(--ease), transform .5s var(--ease); }
.aprende-tabs button:hover { color: var(--ivory); }
.aprende-tabs button[aria-selected="true"] { color: var(--ivory); font-style: italic; }
.aprende-tabs button[aria-selected="true"]::before { border-color: var(--champ); transform: scale(1.5); }
.aprende-panel { padding: clamp(28px, 4vw, 52px); border-radius: 16px; background: var(--ivory); color: var(--ink); }
.aprende-panel p { color: var(--ink-soft); max-width: 40ch; font-size: 1.08rem; }
.aprende-panel .panel-q { margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--line-light); color: var(--ink); font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; letter-spacing: -.01em; }
.punzon { display: flex; align-items: center; gap: 1.6rem; margin-top: 2.2rem; }
.punzon-mark { width: 112px; flex: none; }
.punzon-mark rect { fill: none; stroke: var(--champ); stroke-width: 1.2; stroke-dasharray: 1; }
.punzon-mark text { font-family: var(--display); font-size: 42px; fill: var(--champ); }
.punzon p { font-size: .95rem; color: var(--ivory-soft); max-width: 34ch; }

/* ---------- vitrina / colecciones ---------- */
.col-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(56px, 7vw, 96px); }
.col-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 32px); }
.pieza { display: block; text-decoration: none; color: var(--ink); }
.pieza p { margin-top: .5rem; color: var(--ink-soft); font-size: .95rem; }
.pieza .tag { margin-top: 1.1rem; }
.pieza-img { aspect-ratio: 4 / 5.2; }
.pieza-img > img { transition: transform 1.2s var(--ease); }
.pieza:hover .pieza-img > img { transform: scale(1.05); }
/* un solo reflejo de luz al pasar */
.pieza-img::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(115deg, transparent 40%, rgba(244, 241, 234, .16) 50%, transparent 60%); transform: translateX(-120%); transition: transform 1.3s var(--ease); }
.pieza:hover .pieza-img::before { transform: translateX(120%); }
.pieza--a { grid-column: 1 / span 4; }
.pieza--b { grid-column: 5 / span 4; margin-top: clamp(60px, 9vw, 140px); }
.pieza--c { grid-column: 9 / span 4; margin-top: clamp(20px, 3vw, 40px); }
.pieza--d { grid-column: 2 / span 5; }
.pieza--d .pieza-img { aspect-ratio: 5 / 4.4; }
.pieza--e { grid-column: 8 / span 4; margin-top: clamp(40px, 6vw, 90px); }
.pieza:focus-visible { outline-offset: 10px; }

/* ---------- a medida ---------- */
.medida-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.medida-photo { aspect-ratio: 4 / 5.2; }
.medida-photo > img { height: 114%; object-position: 50% 60%; }
.pasos-encargo { counter-reset: paso; margin: 3rem 0; border-top: 1px solid var(--line-dark); }
.pasos-encargo li { counter-increment: paso; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); }
.pasos-encargo li::before { content: counter(paso, upper-roman); font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--champ); }
.pasos-encargo p { color: var(--ivory-soft); }

/* ---------- instagram ---------- */
.insta { padding-bottom: clamp(96px, 12vw, 160px); }
.insta-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 80px); }
.insta-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.insta-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.insta-strip img:nth-child(even) { margin-top: clamp(30px, 5vw, 70px); }

/* ---------- visítanos ---------- */
.visita-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: end; }
.visita-photo .arch { aspect-ratio: 4 / 4.6; }
.visita-photo .arch > img { height: 114%; filter: brightness(.85) saturate(1.08); }
address { font-style: normal; margin: 2.2rem 0 2rem; font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.25; letter-spacing: -.01em; }
.horario { border-top: 1px solid var(--line-dark); }
.horario div { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line-dark); flex-wrap: wrap; }
.horario dd { color: var(--ivory-soft); font-variant-numeric: tabular-nums; }
.nota { margin-top: 1.4rem; }
.nota a { color: var(--champ); font-family: var(--display); font-style: italic; font-size: 1.1rem; }
.visita-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: 2.4rem; }

/* ---------- pie: su lema y la marca a lo ancho ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--night); color: var(--ivory-soft); padding: clamp(96px, 12vw, 160px) 0 36px; }
.footer-top { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.footer-motto { font-family: var(--display); font-style: italic; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.02em; color: var(--champ); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; font-size: .92rem; }
.footer-label { color: var(--ivory); margin-bottom: .5rem; }
.footer-cols a { color: var(--ivory-soft); }
.footer-cols a:hover { color: var(--champ); }
.footer-mark { position: relative; z-index: 1; margin: clamp(56px, 8vw, 110px) 0 clamp(20px, 3vw, 36px); font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; line-height: .8; font-size: clamp(3.6rem, 16.5vw, 15.5rem); color: var(--night-2); white-space: nowrap; text-align: center; overflow: hidden; padding-top: .06em; }
.footer-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); }
.footer-demo { color: var(--champ); }

/* ---------- materiales de marca: terciopelo de estuche y guilloché de certificado ---------- */
.sec--velvet { background: var(--night) url("../img2/terciopelo.webp") center / cover no-repeat; }
.sec--velvet::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 22, 48, .55), rgba(11, 22, 48, .78)); }
.sec--velvet > .wrap { position: relative; z-index: 1; }
.rosette { position: absolute; z-index: 0; pointer-events: none; width: min(78vw, 860px); height: auto; opacity: .38; }
.sec > .wrap, .sec > .oficio-viewport, .sec > .insta-strip { position: relative; z-index: 1; }
.rosette--joyera { right: -10%; top: 50%; margin-top: calc(min(78vw, 860px) / -2); opacity: .6; }
.rosette--aprende { left: -22%; bottom: -30%; opacity: .1; }
.rosette--footer { right: -18%; top: -24%; opacity: .08; }

/* camafeos de las generaciones */
.gen-cameo { display: block; width: clamp(76px, 7vw, 104px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 1.4rem; box-shadow: 0 0 0 1px var(--champ), 0 0 0 6px var(--night), 0 0 0 7px var(--line-dark); }
.gen-cameo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- opiniones ---------- */
.opiniones .h2 { margin-bottom: clamp(56px, 7vw, 96px); }
.op-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.op blockquote p { color: var(--ivory); font-size: 1.05rem; line-height: 1.6; max-width: 46ch; }
.op--big blockquote p { font-family: var(--display); font-style: italic; font-size: clamp(2rem, 4.4vw, 4.2rem); line-height: 1.08; letter-spacing: -.02em; max-width: 16ch; }
.op figcaption { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; font-size: .9rem; color: var(--ivory-soft); }
.op figcaption::before { content: ""; width: 28px; height: 1px; background: var(--champ); }
.op-side { display: grid; gap: 2.4rem; padding-top: .6rem; }
.op-side .op + .op { padding-top: 2.4rem; border-top: 1px solid var(--line-dark); }
.op-google { margin-top: clamp(48px, 6vw, 80px); }
.op-google .link-line { color: var(--champ); }

/* ---------- variantes sobre marfil ---------- */
.btn-wa--dark { background: var(--night); color: var(--ivory); border-color: var(--night); }
.btn-wa--dark:hover { background: var(--brand); border-color: var(--brand); color: var(--ivory); }
.sec--ivory .pasos-encargo { border-top-color: var(--line-light); }
.sec--ivory .pasos-encargo li { border-bottom-color: var(--line-light); }
.sec--ivory .pasos-encargo li::before { color: var(--brand); }
.sec--ivory .pasos-encargo p { color: var(--ink-soft); }
.visita address { color: var(--ink); }
.visita .horario, .visita .horario div { border-color: var(--line-light); }
.visita .horario dt { color: var(--ink); }
.visita .horario dd { color: var(--ink-soft); }

/* ---------- modo revisión (?revision) ---------- */
.revision [data-pendiente] { outline: 1px dashed var(--cyan); outline-offset: 6px; }

/* ---------- móvil ---------- */
@media (max-width: 899px) {
  :root { --sill: 104px; }
  .main-nav { display: none; }
  .site-header .btn-wa--sm span { display: none; }
  .site-header .btn-wa--sm { padding: .8em; letter-spacing: 0; }
  .btn-wa--dock {
    display: inline-flex; position: fixed; z-index: 60; left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
    transform: translateX(-50%); border: 0; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6);
    transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .4s var(--ease);
  }
  .btn-wa--dock:hover { transform: translateX(-50%) translateY(-2px); }
  .btn-wa--dock.is-away { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(24px); }

  .header-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .header-row::before { content: ""; width: 42px; }
  .brand { justify-self: center; font-size: 1.1rem; }
  .main-nav-link { display: none; }
  .hero-media img { object-position: 58% 30%; }
  .hero-text { right: var(--gutter); bottom: 196px; max-width: none; }
  .hero-title { font-size: clamp(2rem, 9.6vw, 3.2rem); }
  .hero-sub { margin-top: 1rem; font-size: .95rem; }
  .hero-card { left: var(--gutter); right: auto; bottom: 100px; width: auto; max-width: 280px; display: grid; grid-template-columns: 56px auto; column-gap: .9rem; align-items: center; padding: 8px 16px 8px 8px; }
  .hero-card-img { grid-row: span 2; }
  .hero-card-name { margin-top: 0; }
  .hero-card-cta { margin-top: .1rem; font-size: .95rem; justify-self: start; }
  .hero-cue { display: none; }
  .joyera-grid, .medida-grid, .visita-grid, .aprende-head, .aprende-grid { grid-template-columns: minmax(0, 1fr); }
  .joyera-photo { justify-self: center; width: min(80%, 360px); }
  .gen-line { grid-template-columns: minmax(0, 1fr); gap: 2.6rem; padding-top: 0; padding-left: 36px; }
  .gen-track { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .gen-fill { transform-origin: top; }
  .gen-stop::before { top: .7rem; left: -36px; }
  .oficio-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .oficio-viewport::-webkit-scrollbar { display: none; }
  .paso { width: 72vw; scroll-snap-align: center; }
  .paso:nth-child(even) { margin-top: 0; }
  .col-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 16px; }
  .pieza--a, .pieza--b, .pieza--c, .pieza--e { grid-column: span 1; margin-top: 0; }
  .pieza--b, .pieza--e { margin-top: 56px; }
  .pieza--d { grid-column: 1 / -1; }
  .pieza .tag { font-size: .74rem; }
  .medida-photo { width: min(84%, 380px); justify-self: center; }
  .insta-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .insta-strip::-webkit-scrollbar { display: none; }
  .insta-strip img { width: 62vw; flex: none; scroll-snap-align: center; }
  .insta-strip img:nth-child(even) { margin-top: 0; }
  .site-footer { padding-bottom: 110px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .op-grid { grid-template-columns: minmax(0, 1fr); }
  .rosette--joyera { right: -40%; top: 4%; margin-top: 0; width: 120vw; opacity: .22; }
}

/* ---------- reducir movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- pasada anti-plantilla (criterios unslop-ui) ---------- */
/* el arco solo donde significa algo: el escaparate de la fachada */
.arch { border-radius: 4px; }
.arch::after { display: none; }
.visita-photo .arch { border-radius: 999px 999px 0 0; }
.paso-media--slot { background: var(--night); background-image: none; align-items: flex-end; justify-content: flex-start; padding: 1.2rem; }
.slot-note { font-size: .85rem; color: var(--ivory-soft); }
.pieza-name { margin-top: 1rem; font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: 0; }
.pieza p { margin-top: .2rem; }
.pieza:hover .pieza-img > img { transform: scale(1.03); }
.pieza-img::before { display: none; }
/* serif solo en titulares (y la opinión grande); el resto en sans */
.link-line, .joyera-quote p, .aprende-quote p, .aprende-tabs button, .gen-year, .aprende-panel .panel-q, address, .pasos-encargo li::before, .hero-card-cta, .nota a { font-family: var(--sans); font-style: normal; letter-spacing: 0; }
.link-line { font-size: .98rem; font-weight: 500; }
.joyera-quote p { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--ink); max-width: 40ch; margin-bottom: 2.6rem; padding-left: 1.2rem; border-left: 1px solid var(--champ); }
.aprende-quote p { font-size: 1.05rem; line-height: 1.55; color: var(--ivory-soft); }
.aprende-tabs button { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 500; }
.aprende-tabs button[aria-selected="true"] { font-style: normal; color: var(--champ); }
.aprende-panel .panel-q { font-size: 1.05rem; font-weight: 600; }
.gen-year { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
address { font-size: 1.1rem; line-height: 1.6; }
.pasos-encargo li::before { font-size: .95rem; font-weight: 600; content: counter(paso); }
.hero-card-cta { font-size: .9rem; }
.gen-cameo { box-shadow: 0 0 0 1px var(--champ-soft); }
.h2 { max-width: 18ch; }
.op--big blockquote p { max-width: 18ch; }
.footer-top { padding-bottom: clamp(48px, 6vw, 80px); }
.paso--text { width: clamp(220px, 18vw, 280px); margin-top: 0 !important; padding-top: 1.4rem; border-top: 1px solid var(--champ); align-self: center; }
@media (max-width: 899px) { .paso--text { width: 60vw; align-self: flex-start; } }

/* ---------- la vitrina como lámina de catálogo: piezas sueltas sobre el papel ---------- */
.lamina {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto;
  column-gap: clamp(12px, 2vw, 28px); row-gap: clamp(40px, 6vw, 90px);
  border-top: 1px solid var(--line-light); padding-top: 0; margin-top: clamp(8px, 2vw, 24px);
}
.pz { position: relative; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); }
.pz img {
  display: block; width: 100%; height: auto;
  /* sombra que sigue la silueta de la joya, no un rectángulo */
  filter: drop-shadow(0 22px 18px rgba(22, 26, 40, .16)) drop-shadow(0 4px 4px rgba(22, 26, 40, .12));
  transition: transform .9s var(--ease), filter .9s var(--ease);
}
.pz:hover img { transform: translateY(-8px) rotate(-1.2deg); filter: drop-shadow(0 34px 26px rgba(22, 26, 40, .2)) drop-shadow(0 6px 6px rgba(22, 26, 40, .1)); }
.pz-cap { margin-top: 1.1rem; font-size: .9rem; color: var(--ink-soft); text-align: center; max-width: 22ch; line-height: 1.45; }
.pz-name { color: var(--ink); font-weight: 600; }
.pz:focus-visible { outline-offset: 10px; border-radius: 4px; }
/* el colgante cuelga de la línea superior, como de la barra del expositor */
.pz--colgante { grid-column: 1 / span 3; grid-row: 1 / span 2; align-self: start; margin-top: -1px; }
.pz--colgante img { width: 82%; }
.pz--alianza { grid-column: 4 / span 5; grid-row: 1; align-self: end; padding-top: clamp(40px, 6vw, 90px); }
.pz--alianza img { width: 86%; }
.pz--oro { grid-column: 10 / span 3; grid-row: 1; align-self: start; padding-top: clamp(24px, 3vw, 48px); }
.pz--oro img { width: 78%; }
.pz--pendientes { grid-column: 4 / span 4; grid-row: 2; }
.pz--pendientes img { width: 80%; }
.pz--blanco { grid-column: 9 / span 3; grid-row: 2; margin-top: clamp(-80px, -5vw, -30px); }
.pz--blanco img { width: 80%; }

/* la lupa de joyero sobre la pieza */
.lupa { display: none; }
@media (hover: hover) and (pointer: fine) {
  .motion .lupa {
    display: block; position: absolute; left: 0; top: 0; z-index: 5; width: 168px; height: 168px; margin: -84px 0 0 -84px;
    border-radius: 50%; pointer-events: none; opacity: 0;
    background-color: var(--ivory); background-repeat: no-repeat;
    box-shadow: 0 0 0 1px var(--champ), 0 0 0 5px rgba(244, 241, 234, .9), 0 0 0 6px var(--line-light), 0 24px 40px -18px rgba(22, 26, 40, .45);
  }
}

@media (max-width: 899px) {
  .lamina { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; row-gap: 48px; }
  .pz--colgante { grid-column: 1; grid-row: 1 / span 2; }
  .pz--alianza { grid-column: 2; grid-row: 1; padding-top: 32px; }
  .pz--oro { grid-column: 2; grid-row: 2; padding-top: 0; }
  .pz--pendientes { grid-column: 1; grid-row: 3; }
  .pz--blanco { grid-column: 2; grid-row: 3; margin-top: 0; }
  .pz-cap { font-size: .82rem; }
}

/* ---------- catálogo: carrusel de rueda ---------- */
@property --cat-bg { syntax: "<color>"; inherits: true; initial-value: #0B1630; }
@property --cat-tone { syntax: "<color>"; inherits: true; initial-value: #C9A35B; }
.catalogo { position: relative; background: var(--night); color: var(--ivory); }
.cat-stage { position: relative; padding: var(--sec-pad) var(--gutter); }
.cat-title { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3.2rem); letter-spacing: -.02em; margin-bottom: 3rem; }
/* sin JS: rejilla quieta */
.cat-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; align-items: end; }
.cat-item img { width: 100%; height: auto; max-height: 260px; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35)); }
.cat-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; margin-top: 1.5rem; }
.cat-text h3 { font-family: var(--display); font-weight: 400; font-size: 1.4rem; }
.cat-text p { color: var(--ivory-soft); font-size: .92rem; margin: .4rem 0 .6rem; }
.cat-dots, .cat-ring, .cat-arrows { display: none; }

/* con JS: la rueda */
.catalogo.is-live {
  --step: 20deg; --R: 100vw;
  background: radial-gradient(48% 56% at 50% 46%, color-mix(in srgb, var(--cat-tone) 30%, transparent), transparent 72%), var(--cat-bg);
  transition: --cat-bg .9s cubic-bezier(.65, 0, .35, 1), --cat-tone .9s cubic-bezier(.65, 0, .35, 1);
}
.catalogo.is-live .cat-stage { height: 100vh; height: 100svh; min-height: 640px; padding: 0; overflow: hidden; }
.catalogo.is-live .cat-title { position: absolute; z-index: 4; left: var(--gutter); top: 96px; margin: 0; }
/* rueda de 200vw con el centro muy por debajo; el punto más alto queda a media pantalla */
.cat-wheel { position: absolute; z-index: 2; left: 50%; top: 46%; width: 0; height: 0; transform: translateY(var(--R)) rotate(var(--rot, 0deg)); transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.catalogo.is-live .cat-items { display: block; position: absolute; left: 0; top: 0; }
.catalogo.is-live .cat-item { position: absolute; left: 0; top: 0; transform: rotate(calc(var(--i) * var(--step))) translateY(calc(var(--R) * -1)); }
.catalogo.is-live .cat-item img {
  position: absolute; left: 0; top: 0; translate: -50% -50%;
  width: auto; height: min(46vh, 480px); max-width: min(30vw, 420px); max-height: none; object-fit: contain;
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35));
  transition: opacity .9s cubic-bezier(.65, 0, .35, 1), scale .9s cubic-bezier(.65, 0, .35, 1);
  opacity: .45; scale: .72;
  animation: flota 5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.1s);
}
.catalogo.is-live .cat-item.is-active img { opacity: 1; scale: 1; }
@keyframes flota { from { transform: translateY(-5px) rotate(-1deg); } to { transform: translateY(5px) rotate(1deg); } }
/* texto curvo */
.catalogo.is-live .cat-ring { display: block; position: absolute; z-index: 1; left: 50%; top: 46%; width: min(150vh, 120vw); translate: -50% -50%; rotate: var(--ring, 0deg); transition: rotate .9s cubic-bezier(.65, 0, .35, 1); pointer-events: none; }
.cat-ring text { font-family: var(--display); font-style: italic; font-size: 30px; letter-spacing: .06em; fill: var(--champ); opacity: .22; white-space: pre; }
/* textos y controles */
.catalogo.is-live .cat-info { display: block; position: absolute; z-index: 4; left: var(--gutter); bottom: clamp(48px, 10vh, 110px); width: min(34ch, 30vw); margin: 0; }
.catalogo.is-live .cat-text { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.catalogo.is-live .cat-text.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }
.catalogo.is-live .cat-text h3 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -.02em; }
.catalogo.is-live .cat-text p { font-size: 1rem; margin: 1rem 0 1.2rem; }
.catalogo.is-live .cat-arrows { display: flex; gap: 12px; position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(48px, 10vh, 110px); }
.cat-arrows button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--ivory); display: grid; place-items: center; transition: background-color .4s var(--ease), border-color .4s var(--ease), opacity .4s var(--ease); }
.cat-arrows button:hover { background: var(--champ); border-color: var(--champ); color: var(--night); }
.cat-arrows button:disabled { opacity: .3; pointer-events: none; }
.cat-arrows svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.catalogo.is-live .cat-dots { display: flex; gap: 12px; position: absolute; z-index: 4; left: 50%; bottom: clamp(56px, 11vh, 118px); translate: -50% 0; }
.cat-dots button { position: relative; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--champ); padding: 0; transition: background-color .4s var(--ease), transform .4s var(--ease); }
.cat-dots button::after { content: ""; position: absolute; inset: -12px; }
.cat-dots button[aria-current="true"] { background: var(--champ); transform: scale(1.25); }
.catalogo.is-live .cat-stage { touch-action: pan-y; }
@media (max-width: 899px) {
  .catalogo.is-live { --step: 26deg; }
  .catalogo.is-live .cat-title { top: 88px; }
  .cat-wheel, .catalogo.is-live .cat-ring { top: 40%; }
  .catalogo.is-live .cat-item img { height: 30vh; max-width: 56vw; }
  .catalogo.is-live .cat-info { right: var(--gutter); width: auto; bottom: 170px; }
  .catalogo.is-live .cat-text h3 { font-size: 2rem; }
  .catalogo.is-live .cat-text p { margin: .6rem 0 .8rem; font-size: .95rem; }
  .catalogo.is-live .cat-arrows { bottom: 100px; right: var(--gutter); }
  .cat-arrows button { width: 46px; height: 46px; }
  .catalogo.is-live .cat-dots { left: var(--gutter); translate: none; bottom: 118px; }
}
@media (prefers-reduced-motion: reduce) {
  .catalogo.is-live .cat-item img { animation: none; }
}

/* ---------- secciones claras con vida: ante marfil de expositor + paneles a sangre ---------- */
.sec--ivory { background: var(--ivory) url("../img2/ante.webp") center / cover no-repeat; }
/* la foto ocupa media sección, de borde a borde: nunca un recuadro suelto sobre el fondo */
.split { min-height: min(100svh, 900px); display: flex; align-items: center; }
.split > .wrap { width: 100%; }
.split .joyera-grid, .split .medida-grid { display: block; }
.split .joyera-text, .split .medida-text { max-width: min(560px, 44vw); }
.split--left .medida-text { margin-left: auto; }
.split .joyera-photo, .split .medida-photo {
  position: absolute; top: 0; bottom: 0; width: 46vw; height: auto; margin: 0; aspect-ratio: auto; max-width: none;
  border-radius: 0; overflow: hidden; justify-self: auto;
}
.split--right .joyera-photo { right: 0; }
.split--left .medida-photo { left: 0; }
.split .joyera-photo .arch { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.split .joyera-photo img, .split .medida-photo img { width: 100%; height: 100%; object-fit: cover; }
.split .joyera-photo img { object-position: 50% 45%; }
.split .medida-photo img { object-position: 58% 50%; }
/* oficio: recortes sobre el ante, con su sombra */
.paso-media--cut { background: none; display: flex; align-items: center; justify-content: center; overflow: visible; }
.paso-media--cut img { width: 78%; height: auto; max-height: 100%; object-fit: contain; filter: drop-shadow(0 26px 22px rgba(22, 26, 40, .18)) drop-shadow(0 4px 4px rgba(22, 26, 40, .12)); }
@media (max-width: 899px) {
  .split { display: block; min-height: 0; padding-top: 0; }
  .split .joyera-photo, .split .medida-photo { position: relative; width: 100%; height: 62vh; inset: auto; margin-bottom: 56px; }
  .split .joyera-text, .split .medida-text { max-width: none; margin-left: 0; }
}
.split > .wrap { position: static; }
@media (max-width: 899px) { .split { padding-top: var(--sec-pad); } .split .joyera-photo, .split .medida-photo { margin: 48px 0 0; } }

/* ---------- oficio en horizontal: el scroll vertical desplaza los pasos ---------- */
.oficio-progress { display: none; }
.oficio.is-hz { height: 100vh; height: 100svh; min-height: 620px; padding: 0; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.oficio.is-hz .oficio-head { margin-bottom: clamp(28px, 4vh, 48px); }
.oficio.is-hz .oficio-viewport { overflow: visible; padding-bottom: 0; }
.oficio.is-hz .oficio-track { align-items: center; gap: clamp(32px, 5vw, 96px); padding-right: 30vw; }
.oficio.is-hz .paso { width: clamp(280px, 30vw, 460px); margin-top: 0; }
.oficio.is-hz .paso--text { width: clamp(260px, 24vw, 380px); align-self: center; }
.oficio.is-hz .paso h3 { font-size: clamp(2rem, 3vw, 3rem); }
.oficio.is-hz .paso-media { aspect-ratio: auto; height: 44vh; }
.oficio.is-hz .paso-media img { height: 100%; width: 100%; object-fit: contain; }
.oficio.is-hz .oficio-progress { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 6vh, 56px); height: 1px; background: var(--line-light); }
.oficio-progress i { position: absolute; inset: 0; background: var(--champ); transform: scaleX(0); transform-origin: left; }
@media (max-width: 899px) {
  .oficio.is-hz .oficio-viewport { overflow: visible; scroll-snap-type: none; }
  .oficio.is-hz .paso, .oficio.is-hz .paso--text { width: 76vw; }
  .oficio.is-hz .paso-media { height: 34vh; }
  .oficio.is-hz .paso h3 { font-size: 1.9rem; }
  .oficio.is-hz .oficio-progress { bottom: 96px; }
}

/* titulares con máscara: margen extra para que la cursiva (paréntesis, f, j) no se corte */
.hero-title .line { padding: .08em .22em .14em; margin: -.08em -.22em -.14em; }
.hero-title .line--it { padding-left: calc(.55em + .22em); margin-left: -.22em; }
