/* EVERNACH — sistema visual
   Tomado de evernach.com: negro profundo, blanco hueso, oro champaña en líneas y detalles,
   Bebas Neue para la marca, Cormorant en itálica para la voz y DM Sans ligera para el texto. */

@font-face { font-family: "Bebas Neue"; src: url("fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --noche: #080808;                       /* fondo */
  --panel: #0f0f0f;                       /* superficies */
  --tinta: #ede9e3;                       /* texto principal, blanco hueso */
  --humo: #999999;                        /* texto secundario */
  --gris: #666666;                        /* texto terciario */
  --oro: #b8a47a;                         /* acento */
  --oro-tenue: rgba(184, 164, 122, 0.12);
  --linea: rgba(184, 164, 122, 0.13);     /* divisiones doradas */
  --linea-suave: rgba(237, 233, 227, 0.07);

  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noche);
  color: var(--tinta);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Grano sutil, como en el sitio actual */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.5;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--oro); }
:focus-visible { outline: 1px solid var(--oro); outline-offset: 3px; }
::selection { background: var(--oro); color: var(--noche); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 64px);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--oro); color: var(--noche); padding: 8px 12px; z-index: 1000; }

/* Etiqueta pequeña dorada: el gesto tipográfico del sitio actual */
.label {
  margin: 0 0 20px;
  font-family: var(--sans); font-weight: 400;
  font-size: 11px; line-height: 1.4;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--oro);
}

/* ---------- Cabecera ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 8, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--linea);
  padding-top: env(safe-area-inset-top, 0px);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--tinta); }
.brand:hover { color: var(--tinta); }
.brand-mark { width: 40px; height: auto; flex: none; }
.brand-word { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: 0.3em; line-height: 1; padding-top: 2px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  text-decoration: none; color: var(--humo);
  font-size: 11px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase;
  padding-block: 12px;
  transition: color .3s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--oro); }
.nav .nav-keep { color: var(--tinta); }
.nav .nav-wa { color: var(--oro); }
@media (max-width: 900px) { .nav { gap: 22px; } .nav a:not(.nav-keep) { display: none; } }
@media (max-width: 420px) {
  .brand { gap: 10px; }
  .brand-mark { width: 34px; }
  .brand-word { font-size: 19px; letter-spacing: 0.22em; }
  .nav { gap: 16px; }
  .nav a { letter-spacing: 0.14em; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 32px;
  background: var(--oro); color: var(--noche);
  font-family: var(--sans); font-weight: 400; font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid var(--oro); border-radius: 0;
  text-decoration: none; cursor: pointer;
  transition: opacity .3s ease, background .3s ease, color .3s ease;
}
.btn:hover { color: var(--noche); opacity: 0.85; }
.btn-ghost { background: transparent; color: var(--oro); }
.btn-ghost:hover { background: var(--oro); color: var(--noche); opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - 73px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-block: 48px 64px;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 75% 35%, rgba(184, 164, 122, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 35% 40% at 15% 75%, rgba(184, 164, 122, 0.04) 0%, transparent 60%);
}
.hero .wrap { position: relative; }
.hero-emblem {
  position: absolute; pointer-events: none;
  right: max(4vw, 32px); top: 50%; transform: translateY(-50%);
  width: min(38vw, 560px); height: auto; opacity: 0.1;
}
.hero-line { width: 1px; height: 72px; background: linear-gradient(to bottom, transparent, var(--oro)); margin-bottom: 32px; }
.hero-mark {
  margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(96px, min(16vw, 22svh), 220px);
  line-height: 0.85; letter-spacing: 0.05em;
  color: var(--tinta);
}
.hero-mark span { display: block; }
.tagline {
  margin: 36px 0 0;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: 0.04em;
  color: var(--oro);
}
.hero-copy { margin: 16px 0 0; color: var(--humo); max-width: 40ch; font-size: 15px; line-height: 1.9; }
.hero-cta { margin-top: 44px; }
@media (max-width: 760px) {
  .hero { padding-block: 40px 56px; }
  .hero-mark { font-size: clamp(96px, 30vw, 160px); }
  .hero-emblem { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; animation: up 1s ease forwards; }
  .rise-1 { animation-delay: .2s; } .rise-2 { animation-delay: .4s; } .rise-3 { animation-delay: .6s; }
  .rise-4 { animation-delay: .8s; } .rise-5 { animation-delay: 1s; } .rise-6 { animation-delay: 1.1s; }
  @keyframes up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}

/* ---------- Secciones ---------- */
.section { padding-block: 112px; border-top: 1px solid var(--linea); }
.section-panel { background: var(--panel); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 80px; align-items: end; margin-bottom: 64px; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 7.5vw, 104px); line-height: 0.92; margin: 0; letter-spacing: 0.05em; text-wrap: balance; }
.lede { margin: 0; color: var(--humo); max-width: 50ch; font-size: 15px; line-height: 2; }
@media (max-width: 760px) {
  .section { padding-block: 72px; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 44px; }
}

/* ---------- Productos ---------- */
.products { display: grid; gap: 1px; background: var(--linea); border: 1px solid var(--linea); }
.product {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px 56px; align-items: start;
  background: var(--panel); padding: 40px;
}
.product:nth-child(even) .gallery { order: 2; }
.gallery { min-width: 0; }
.frame { position: relative; background: #111111; aspect-ratio: 4 / 3; overflow: hidden; }
.frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; filter: grayscale(20%);
  transition: opacity .35s ease, filter .6s ease, transform .6s ease;
}
.frame img.is-on { opacity: 1; }
.frame:hover img { filter: grayscale(0%); transform: scale(1.02); }
.views { display: flex; margin-top: 12px; border: 1px solid var(--linea); width: max-content; max-width: 100%; }
.views button {
  appearance: none; background: transparent; color: var(--humo);
  border: 0; border-right: 1px solid var(--linea);
  font: 400 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  padding: 12px 20px; cursor: pointer; min-height: 44px;
  transition: color .3s ease, background .3s ease;
}
.views button:last-child { border-right: 0; }
.views button:hover { color: var(--tinta); }
.views button[aria-selected="true"] { background: var(--oro-tenue); color: var(--oro); }

.info { min-width: 0; display: grid; gap: 22px; }
.p-name { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 6vw, 84px); line-height: 0.9; margin: 0; letter-spacing: 0.12em; }
.p-desc { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 24px; line-height: 1.3; max-width: 30ch; color: var(--tinta); }
.p-price {
  margin: 0; padding-top: 20px; border-top: 1px solid var(--linea-suave);
  font-family: var(--serif); font-weight: 300; font-size: 28px; letter-spacing: 0.04em; color: var(--oro);
  font-variant-numeric: lining-nums tabular-nums;
}
.p-price { line-height: 1.3; }
.p-price small { display: inline-block; font-family: var(--sans); color: var(--gris); font-size: 11px; line-height: 1.4; letter-spacing: 0.2em; text-transform: uppercase; margin-left: 12px; vertical-align: 0.3em; }
@media (max-width: 520px) { .p-price small { display: block; margin: 6px 0 0; vertical-align: baseline; } }

.sizes { border: 0; margin: 0; padding: 0; min-width: 0; }
.sizes legend { padding: 0; margin-bottom: 12px; font-size: 11px; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; color: var(--oro); }
.size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.size-row label { position: relative; }
.size-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size-row span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 56px; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--linea); color: var(--tinta);
  font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: 0.08em; line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.size-row span:hover { border-color: var(--oro); }
.size-row input:checked + span { background: var(--oro); color: var(--noche); border-color: var(--oro); }
.size-row input:focus-visible + span { outline: 1px solid var(--oro); outline-offset: 3px; }

.order { display: grid; gap: 12px; }
.order .btn { width: 100%; }
.err { margin: 0; font-size: 14px; color: var(--tinta); border-left: 1px solid var(--oro); padding-left: 12px; }
.fine { margin: 0; font-size: 13px; color: var(--humo); line-height: 1.7; }
.fine a { color: var(--tinta); }
.fine a:hover { color: var(--oro); }

.specs { border-top: 1px solid var(--linea-suave); }
.specs summary {
  cursor: pointer; list-style: none; padding: 16px 0;
  font-size: 11px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--humo);
  display: flex; justify-content: space-between;
}
.specs summary:hover { color: var(--tinta); }
.specs summary::-webkit-details-marker { display: none; }
.specs summary::after { content: "+"; color: var(--oro); font-size: 15px; letter-spacing: 0; }
.specs[open] summary::after { content: "–"; }
.specs dl { margin: 0 0 8px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; font-size: 14px; }
.specs dt { color: var(--gris); }
.specs dd { margin: 0; color: var(--tinta); }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; padding: 20px 16px 28px; }
  .product:nth-child(even) .gallery { order: 0; }
}
@media (max-width: 760px) {
  .products { margin-inline: calc(var(--gutter) * -1) calc(var(--gutter-r) * -1); border-inline: 0; }
}

/* ---------- Lookbook ---------- */
.lookbook { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px 12px; align-items: start; }
.lookbook figure { margin: 0; position: relative; min-width: 0; overflow: hidden; }
.lookbook img {
  width: 100%; height: auto; object-fit: cover; aspect-ratio: 3 / 4; background: var(--panel);
  filter: grayscale(30%) brightness(.9);
  transition: filter .5s ease;
}
.lookbook figure:hover img { filter: grayscale(0%) brightness(1); }
.lookbook figcaption { margin-top: 12px; font-size: 11px; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; }
.lookbook figcaption a { color: var(--oro); text-decoration: none; }
.lookbook figcaption a:hover { color: var(--tinta); }
.lb-a { grid-column: 1 / span 5; }
.lb-b { grid-column: 6 / span 4; margin-top: 120px !important; }
.lb-c { grid-column: 10 / span 3; margin-top: 40px !important; }
.lb-d { grid-column: 2 / span 3; margin-top: 0 !important; }
.lb-e { grid-column: 5 / span 4; margin-top: 96px !important; }
.lb-f { grid-column: 9 / span 4; margin-top: 32px !important; }
@media (max-width: 760px) {
  .lookbook { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
  .lookbook figure { grid-column: auto !important; margin-top: 0 !important; }
  .lb-a, .lb-e { grid-column: 1 / -1 !important; }
}

/* ---------- Manifiesto ---------- */
.manifesto { position: relative; overflow: hidden; padding-block: 128px; border-top: 1px solid var(--linea); }
.manifesto .hero-glow { opacity: .8; }
.manifesto .wrap { position: relative; }
.manifesto blockquote { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(52px, 7vw, 96px); line-height: 0.95; letter-spacing: 0.05em; max-width: 14ch; text-wrap: balance; }
.manifesto blockquote em { display: block; margin-top: 12px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 0.6em; line-height: 1.1; letter-spacing: 0.04em; color: var(--oro); }
.manifesto p:not(.label) { margin: 36px 0 0; color: var(--humo); max-width: 46ch; font-size: 15px; line-height: 2; }
@media (max-width: 760px) { .manifesto { padding-block: 88px; } }

/* ---------- Cómo comprar ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px;
  background: var(--linea); border: 1px solid var(--linea);
  counter-reset: paso;
}
.steps li { counter-increment: paso; background: var(--noche); padding: 28px 24px 32px; min-width: 0; }
.steps li::before { content: counter(paso, decimal-leading-zero); display: block; font-family: var(--display); font-size: 44px; line-height: 1; letter-spacing: 0.04em; color: var(--oro); margin-bottom: 20px; }
.steps h3 { margin: 0 0 8px; font-size: 11px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tinta); }
.steps p { margin: 0; color: var(--humo); font-size: 14px; line-height: 1.8; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; padding: 24px 20px; }
  .steps li::before { font-size: 34px; margin: 0; grid-row: span 2; }
}

/* ---------- Drop 02 ---------- */
.next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.next .h2 { color: transparent; -webkit-text-stroke: 1px var(--oro); }
.next p:not(.label) { margin: 16px 0 0; color: var(--humo); max-width: 44ch; font-size: 15px; }
@media (max-width: 760px) { .next { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.foot { border-top: 1px solid var(--linea); padding-block: 72px 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 40px 48px; }
.foot h2 { margin: 0 0 16px; font-size: 11px; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; color: var(--oro); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--humo); text-decoration: none; transition: color .3s ease; }
.foot a:hover { color: var(--oro); }
.foot address { font-style: normal; color: var(--humo); line-height: 1.8; }
.foot .foot-word { font-family: var(--display); font-size: 40px; letter-spacing: 0.22em; line-height: 1; color: var(--tinta); text-decoration: none; }
.foot .foot-word:hover { color: var(--tinta); }
.foot .tag { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 22px; margin: 12px 0 0; color: var(--oro); letter-spacing: 0.04em; }
.seller { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 24px; align-items: start; padding-left: 28px; border-left: 1px solid var(--linea); }
.seller-mark { width: 84px; height: auto; opacity: 0.85; margin-top: 4px; }
.sic { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--linea); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; color: var(--gris); font-size: 12px; letter-spacing: 0.06em; }
.sic a { color: var(--humo); text-decoration: underline; }
.sic a:hover { color: var(--oro); }
@media (max-width: 960px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand, .seller { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .seller { grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding-left: 0; border-left: 0; padding-top: 32px; border-top: 1px solid var(--linea); }
  .seller-mark { width: 64px; }
}

/* ---------- Páginas legales ---------- */
.legal { padding-block: 72px 112px; }
.legal-head { margin-bottom: 56px; max-width: 820px; }
.legal-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(52px, 8vw, 104px); line-height: 0.92; letter-spacing: 0.04em; margin: 0 0 20px; text-wrap: balance; }
.legal-head p:not(.label) { margin: 0; color: var(--humo); }
.legal-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 104px; font-size: 13px; }
.toc ol { margin: 0; padding: 0 0 0 1.4em; display: grid; gap: 10px; color: var(--gris); }
.toc a { color: var(--humo); text-decoration: none; }
.toc a:hover { color: var(--oro); }
.doc { max-width: 68ch; min-width: 0; }
.doc h2 { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: 0.06em; margin: 64px 0 18px; scroll-margin-top: 104px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 11px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--oro); margin: 32px 0 10px; }
.doc p, .doc li { color: #d6d2cb; }
.doc p { margin: 0 0 16px; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 1.2em; display: grid; gap: 8px; }
.doc li::marker { color: var(--oro); }
.doc strong { color: var(--tinta); font-weight: 400; }
.doc a { color: var(--tinta); }
.doc a:hover { color: var(--oro); }
.doc .box { background: var(--panel); border: 1px solid var(--linea); padding: 22px 24px; margin: 0 0 22px; }
.doc .box p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .legal-body { grid-template-columns: 1fr; gap: 40px; } .toc { position: static; } }

/* ---------- Formulario PQR ---------- */
.form { display: grid; gap: 22px; max-width: 640px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 11px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--oro); }
.field .hint { font-size: 13px; color: var(--humo); margin: 0; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--panel); color: var(--tinta);
  border: 1px solid var(--linea); border-radius: 0;
  font: 300 16px/1.5 var(--sans); padding: 12px 14px; min-height: 48px;
  transition: border-color .2s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--oro); outline: none; }
.field [aria-invalid="true"] { border-color: var(--oro); border-left-width: 3px; }
.radicado { background: var(--panel); border: 1px solid var(--linea); padding: 28px; display: grid; gap: 16px; max-width: 640px; scroll-margin-top: 104px; }
.radicado .num { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 8vw, 60px); line-height: 1; letter-spacing: 0.06em; margin: 0; white-space: nowrap; color: var(--oro); font-variant-numeric: tabular-nums; }
.radicado .actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
