/* Quilate — joyería de autor: marfil, tinta cálida, oro y esmeralda; Cormorant Garamond + Manrope. */
:root {
  --bg: #f6f1ea; --paper: #fbf8f3; --ink: #16130f; --muted: #6f665b; --line: rgba(22,19,15,.12);
  --accent: #a8813a; --gold: #a8813a; --gold-l: #c9a24f; --emerald: #1f4a3d; --sand: #ebe2d4;
  --display: "Cormorant Garamond", "Didot", serif; --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1); --gut: clamp(18px, 4vw, 64px);
}
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 400; }
::selection { background: var(--gold); color: #fff; }
.wrap { width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--gut); }
em { font-style: italic; color: var(--gold); font-family: var(--display); }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.h2 { font: 400 clamp(40px, 5.2vw, 78px)/1.02 var(--display); letter-spacing: -.01em; }
.lead { font-size: clamp(16px, 1.25vw, 18px); color: var(--muted); font-weight: 300; max-width: 48ch; margin-top: 20px; line-height: 1.7; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 28px; border-radius: 2px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1; transition: background .4s var(--ease), color .4s, border-color .4s; white-space: nowrap; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--emerald); }
.btn-line { border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }

/* Anuncio + nav */
.ann { padding: 10px var(--gut); background: var(--emerald); color: #e8e0cf; text-align: center; font-size: 12.5px; letter-spacing: .06em; }
.ann a { text-decoration: underline; text-underline-offset: 3px; }
.nav { position: sticky; top: 0; z-index: 100; background: var(--bg); transition: box-shadow .4s, background .4s; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); background: rgba(246,241,234,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 82px; width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 500 30px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.logo svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linejoin: round; }
.menu { display: none; gap: 26px; margin-left: auto; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.menu a { position: relative; padding: 6px 0; }
.menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .4s var(--ease); }
.menu a:hover::after { right: 0; }
.nav-cta { display: none; padding: 13px 20px; }
.burger { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; }
.burger span { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.menu-open .menu { display: flex; flex-direction: column; position: fixed; inset: 120px 0 0 0; background: var(--bg); padding: 40px var(--gut); gap: 14px; font: 400 42px/1.2 var(--display); text-transform: none; letter-spacing: 0; }

/* Hero */
.hero { padding: clamp(28px, 5vw, 70px) 0 clamp(70px, 9vw, 130px); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-title { font: 400 clamp(62px, 8.6vw, 140px)/.92 var(--display); letter-spacing: -.02em; }
.hero-title em { display: block; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { display: flex; gap: clamp(20px, 4vw, 48px); margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-facts b { display: block; font: 400 40px/1 var(--display); color: var(--gold); }
.hero-facts span { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.hero-img { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 240px 240px 4px 4px; background: var(--sand); }
.hero-img > img { width: 100%; height: 100%; object-fit: cover; }
.loupe-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; background: rgba(22,19,15,.62); color: #f6f1ea; font-size: 12px; letter-spacing: .04em; backdrop-filter: blur(6px); white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.loupe-hint svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
[data-loupe].is-zooming .loupe-hint { opacity: 0; }

/* Lupa */
[data-loupe] { position: relative; cursor: zoom-in; }
.loupe { position: absolute; z-index: 3; width: 190px; height: 190px; margin: -95px 0 0 -95px; border-radius: 50%; pointer-events: none; background-repeat: no-repeat; box-shadow: 0 0 0 1px rgba(255,255,255,.7), 0 0 0 6px rgba(201,162,79,.55), 0 24px 50px -10px rgba(0,0,0,.5); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease); }
[data-loupe].is-zooming .loupe { opacity: 1; transform: scale(1); }
.it-img .loupe { width: 140px; height: 140px; margin: -70px 0 0 -70px; }

/* Colección */
.shop { padding: clamp(70px, 9vw, 120px) 0; background: var(--paper); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { padding: 10px 18px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; transition: background .3s, color .3s, border-color .3s; }
.tab.is-on, .tab:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(18px, 2vw, 28px); }
.it-img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.it-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.it:hover .it-img > img { transform: scale(1.04); }
.it-tag { position: absolute; top: 12px; left: 12px; padding: 6px 10px; background: var(--paper); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; z-index: 2; }
.it-b { padding: 16px 2px 6px; }
.it-m { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.it h3 { font: 500 26px/1.15 var(--display); margin: 4px 0 10px; }
.it-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.it-f b { font-weight: 600; font-size: 15px; }
.add { padding: 9px 14px; border: 1px solid var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: background .3s, color .3s; }
.add:hover { background: var(--ink); color: var(--paper); }

/* Configurador */
.cfg { padding: clamp(80px, 10vw, 140px) 0; background: var(--ink); color: #efe8dc; }
.cfg .h2 em, .cfg em { color: var(--gold-l); }
.cfg .eyebrow { color: var(--gold-l); }
.cfg-grid { display: grid; gap: 50px; align-items: start; }
.ring { width: min(100%, 420px); margin: 30px auto 0; aspect-ratio: 1; display: grid; place-items: center; background: radial-gradient(closest-side, rgba(201,162,79,.16), transparent 75%); }
.ring svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.ring [data-band], .ring [data-setting] { transition: opacity .5s var(--ease); }
.ring-engr { font: italic 500 22px var(--display); fill: rgba(239,232,220,.8); letter-spacing: .06em; }
.ring-engr-out { text-align: center; color: rgba(239,232,220,.65); font-size: 14px; }
.ring-engr-out i { font-family: var(--display); font-size: 20px; color: var(--gold-l); }
.cfg-form { display: grid; gap: 22px; }
.cfg-form fieldset { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-form legend { width: 100%; margin-bottom: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-l); }
.cfg-form label { position: relative; }
.cfg-form label > input[type=radio] { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cfg-form label > span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid rgba(239,232,220,.22); font-size: 14px; transition: border-color .3s, background .3s, color .3s; }
.cfg-form input:checked + span { border-color: var(--gold-l); background: rgba(201,162,79,.14); color: #fff; }
.cfg-form input:focus-visible + span { outline: 2px solid var(--gold-l); outline-offset: 2px; }
.sw i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
[data-stones].is-off { opacity: .35; pointer-events: none; }
.row2 { display: grid !important; grid-template-columns: 1fr; gap: 12px !important; }
.fld { display: grid; gap: 8px; font-size: 13px; color: rgba(239,232,220,.75); }
.fld select, .fld input { padding: 13px 14px; background: transparent; border: 1px solid rgba(239,232,220,.22); color: #fff; border-radius: 0; }
.fld select option { color: var(--ink); }
.cfg-sum { margin-top: 8px; padding: 26px; background: rgba(255,255,255,.04); border: 1px solid rgba(239,232,220,.14); display: grid; gap: 12px; }
.cfg-sum ul { display: grid; gap: 6px; font-size: 14px; color: rgba(239,232,220,.8); }
.cfg-sum li { display: flex; justify-content: space-between; gap: 12px; }
.cfg-tot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid rgba(239,232,220,.14); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.cfg-tot b { font: 500 40px/1 var(--display); letter-spacing: 0; color: var(--gold-l); }
.cfg-quota { font-size: 13px; color: rgba(239,232,220,.65); text-align: right; }
.cfg .btn-ink { background: var(--gold-l); color: var(--ink); }
.cfg .btn-ink:hover { background: #fff; }
.cfg-n { font-size: 12px; color: rgba(239,232,220,.5); }

/* Talla */
.size { padding: clamp(80px, 10vw, 130px) 0; }
.size-grid { display: grid; gap: 44px; align-items: center; }
.steps { counter-reset: s; display: grid; gap: 14px; margin-top: 28px; max-width: 46ch; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 10px; color: var(--muted); }
.steps li::before { content: counter(s, decimal-leading-zero); font: italic 500 22px/1.2 var(--display); color: var(--gold); }
.size-box { padding: clamp(24px, 3vw, 40px); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 20px; }
.size-mode { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.size-mode button { padding: 12px; font-size: 13px; }
.size-mode button[aria-checked=true] { background: var(--ink); color: var(--paper); }
.size-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.size-in input { width: 120px; padding: 12px; border: 1px solid var(--line); background: #fff; font-size: 18px; text-align: right; }
.size-box input[type=range] { width: 100%; accent-color: var(--gold); }
.size-out { text-align: center; padding: 18px 0 6px; border-top: 1px solid var(--line); }
.size-out p { font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.size-out b { display: block; font: 500 clamp(80px, 10vw, 120px)/1 var(--display); color: var(--gold); }
.size-out small { color: var(--muted); }

/* Taller */
.taller { padding: clamp(80px, 10vw, 140px) 0; background: var(--sand); }
.taller-grid { display: grid; gap: 34px; }
.taller-grid figure { overflow: hidden; }
.taller-grid img { width: 100%; height: 100%; object-fit: cover; }
.t1 { aspect-ratio: 4/5; }
.t2 { aspect-ratio: 3/2; }
.process { display: grid; gap: 4px; margin-top: 30px; }
.process li { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.process b { font: italic 500 26px/1 var(--display); color: var(--gold); }
.process h3 { font: 500 24px/1.2 var(--display); }
.process p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.repair { margin-top: 26px; padding: 22px; background: var(--paper); display: grid; gap: 14px; justify-items: start; }

/* Novios */
.novios { padding: clamp(80px, 10vw, 140px) 0; }
.novios-grid { display: grid; gap: 44px; align-items: center; }
.novios figure { aspect-ratio: 4/5; overflow: hidden; }
.novios figure img { width: 100%; height: 100%; object-fit: cover; }
.acc { margin: 28px 0; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; padding: 18px 0; font: 500 22px/1.25 var(--display); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-family: var(--sans); font-weight: 300; color: var(--gold); transition: transform .3s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc p { padding: 0 0 18px; color: var(--muted); max-width: 56ch; }

/* Visita */
.visit { padding: clamp(80px, 10vw, 130px) 0; background: var(--paper); }
.visit-grid { display: grid; gap: 44px; align-items: center; }
.visit figure { aspect-ratio: 4/5; overflow: hidden; }
.visit figure img { width: 100%; height: 100%; object-fit: cover; }
.bt { margin: 26px 0; display: grid; gap: 6px; color: var(--muted); }
.bt-open { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.bt-open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b9584a; }
.bt-open.is-open::before { background: #2f9e6a; box-shadow: 0 0 0 4px rgba(47,158,106,.18); }
.visit-f { display: grid; gap: 10px; max-width: 460px; }
.visit-f input, .visit-f select { padding: 14px 16px; border: 1px solid var(--line); background: #fff; }
.form-ok { color: var(--emerald); font-weight: 600; }

/* Pie */
.foot { background: var(--ink); color: #cfc6b7; }
.foot-in { display: grid; gap: 14px; padding-block: 56px; }
.foot .logo { color: #f6f1ea; }
.foot a[data-wa] { text-decoration: underline; }
.foot-legal { font-size: 12.5px; opacity: .7; }

@media (min-width: 760px) {
  .row2 { grid-template-columns: 140px 1fr; }
  .size-grid, .novios-grid, .visit-grid { grid-template-columns: 1fr 1fr; }
  .taller-grid { grid-template-columns: 1fr 1fr; }
  .t2 { grid-column: 1 / -1; aspect-ratio: 21/8; }
}
@media (min-width: 1040px) {
  .menu { display: flex; }
  .nav-cta { display: inline-flex; }
  .burger { display: none; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 70px; }
  .cfg-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .cfg-stage { position: sticky; top: 110px; }
  .taller-grid { grid-template-columns: .9fr 1.1fr; align-items: start; gap: 60px; }
  .t1 { grid-row: 1 / span 2; aspect-ratio: auto; height: 100%; min-height: 600px; }
  .t2 { grid-column: 2; aspect-ratio: 16/9; }
}

/* Ajustes celular */
.size-box, .size-box > * { min-width: 0; }
.size-mode button { min-width: 0; }
@media (max-width: 599px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .it h3 { font-size: 20px; }
  .it-m { font-size: 11px; }
  .it-f { flex-wrap: wrap; }
  .it-f b { font-size: 14px; }
  .add { padding: 8px 10px; font-size: 10px; }
  .it-tag { font-size: 9px; padding: 5px 7px; top: 8px; left: 8px; }
  .size-in input { width: 96px; }
  .hero-cta .btn { flex: 1 1 100%; }
}
