/* =========================================================
   Lucas Joyeros — Sistema visual
   ---------------------------------------------------------
   Display: Cormorant Garamond (editorial, serif elegante)
   Texto:   Manrope (sans-serif moderna, neutra)
   Mono:    JetBrains Mono (microcopy y números)
   ========================================================= */

:root {
  /* Tipografía */
  --font-display: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Paleta neutra premium */
  --ink:        #0b0b0c;   /* negro profundo */
  --ink-soft:   #1a1a1c;
  --graphite:   #1d2128;   /* hombre */
  --night:      #0f1620;   /* azul noche */
  --paper:      #f6f2ec;   /* blanco cálido */
  --bone:       #ece6dc;   /* marfil */
  --pearl:      #d9d3c8;   /* gris perla */
  --line:       #c9c2b6;   /* hairline beige */

  /* Acentos */
  --champagne:  #b89968;   /* dorado suave */
  --champagne-2:#a5854f;
  --rose:       #d9c5bd;   /* rosa empolvado (mujer) */
  --rose-soft:  #ece0d9;

  --text:       #0b0b0c;
  --text-soft:  #4a4742;
  --text-muted: #807a72;

  /* Sistema de espaciado */
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(80px, 11vw, 160px);
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

button {
  font-family: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

/* =========================================================
   Tipos de texto reutilizables
   ========================================================= */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.eyebrow .dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--champagne);
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 10px 3px 0;
}

.display-xl {
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.display-lg {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.015em;
}

.display-md {
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.display-sm {
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15;
}

.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
  color: var(--text-soft);
  max-width: 60ch;
}

.body-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 56ch;
}

.italic { font-style: italic; }

/* =========================================================
   Layout helpers
   ========================================================= */
.shell {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding-block: var(--section);
}

.section--tight { padding-block: clamp(56px, 7vw, 100px); }

.rule {
  height: 1px;
  background: var(--line);
  width: 100%;
}

.rule--dark { background: rgba(255,255,255,0.12); }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--paper);
  transition: background .3s ease, color .3s ease, border .3s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(246, 242, 236, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 11, 12, 0.06);
  padding-block: 14px;
  color: var(--ink);
}

.nav__cta:hover { background: currentColor; }
.nav__cta:hover span { color: var(--ink); }
.nav.is-scrolled .nav__cta:hover span { color: var(--paper); }

.nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Logo PNG has a black background — screen blend makes black transparent on dark hero.
   On the scrolled (light) nav we invert to get dark-on-light and switch to multiply
   so the white bg blends into the ivory nav. */
.nav__logo {
  height: 30px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  transition: filter .3s ease;
}

.nav.is-scrolled .nav__logo {
  mix-blend-mode: multiply;
  filter: invert(1);
}

.nav__links {
  display: flex;
  gap: 36px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.nav__links a {
  position: relative;
  padding: 6px 0;
  color: inherit;
  transition: opacity .2s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.nav__links a:hover { opacity: 0.7; }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .25s ease, color .25s ease;
}

.nav__menu-btn {
  display: none;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid currentColor;
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu-btn { display: inline-flex; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  min-height: 100vh;
  position: relative;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  isolation: isolate;
}

/* Etheral Shadow — hero animated background
   numOctaves: 2→1 (≈50% cheaper), scale: 100→80, animation throttled to 30 fps in JS,
   paused via IntersectionObserver when hero is off-screen.                              */
.hero__etheral-svg {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  overflow: visible;
}

.hero__etheral {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__etheral-inner {
  position: absolute;
  inset: -80px;
  filter: url(#etheral-filter) blur(4px);
  transform: translateZ(0); /* promote to GPU compositing layer */
  will-change: transform;
}

.hero__etheral-color {
  width: 100%;
  height: 100%;
  background-color: rgba(184, 153, 104, 0.88);
  -webkit-mask-image: url('https://framerusercontent.com/images/ceBGguIpUU8luwByxuQz79t7To.png');
  mask-image: url('https://framerusercontent.com/images/ceBGguIpUU8luwByxuQz79t7To.png');
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.hero__etheral-noise {
  position: absolute;
  inset: 0;
  background-image: url("https://framerusercontent.com/images/g0QcWrxr87K0ufOxIUFBakwYA8.png");
  background-size: 240px;
  background-repeat: repeat;
  opacity: 0.5;
  pointer-events: none;
}

/* Static grain — rendered once, zero animation cost */
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.30;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.9 0 0 0 0 0.8 0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero__content {
  align-self: center;
  text-align: center;
  padding: 120px var(--gutter) 40px;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.55);
  margin-bottom: 36px;
}

.hero__eyebrow .sep {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin: 0 16px 4px;
  opacity: 0.5;
}

.hero__title {
  font-family: "Bebas Neue", var(--font-display);
  font-weight: 400;
  font-size: clamp(72px, 13vw, 210px);
  line-height: 0.88;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
}

.hero__title .amp {
  color: var(--champagne);
}

.hero__title .joyeros {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 0.44em;
  letter-spacing: 0.18em;
  color: rgba(246, 242, 236, 0.85);
}

.hero__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.45);
  margin-top: 48px;
}

.hero__placeholder-note {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(184, 153, 104, 0.6);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: end;
  padding: 28px var(--gutter) 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.55);
}

.hero__foot > :nth-child(2) { text-align: center; }
.hero__foot > :nth-child(3) { text-align: right; }

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__scroll-line {
  display: inline-block;
  width: 60px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

@media (max-width: 700px) {
  .hero__foot {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__foot > :nth-child(2),
  .hero__foot > :nth-child(3) { text-align: center; }
}

/* =========================================================
   Sección de introducción
   ========================================================= */
.intro {
  background: var(--paper);
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

.intro__head {
  position: sticky;
  top: 100px;
}

.intro__title {
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 18px;
}

.intro__title em {
  font-style: italic;
  color: var(--champagne-2);
}

.intro__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 12px;
}

.intro__lede {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  text-wrap: pretty;
}

.intro__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  margin-top: 12px;
}

.intro__stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.intro__stat-num sup {
  font-family: var(--font-mono);
  font-size: 0.28em;
  font-weight: 500;
  vertical-align: top;
  letter-spacing: 0.15em;
  color: var(--champagne-2);
  margin-left: 4px;
}

.intro__stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 10px;
}

@media (max-width: 800px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__head { position: static; }
  .intro__stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

/* =========================================================
   Editorial image break
   ========================================================= */
.editorial-break {
  padding-block: 0;
}

.editorial-break__media {
  position: relative;
  aspect-ratio: 21 / 9;
  width: 100%;
  background: var(--bone);
  overflow: hidden;
}

.editorial-break__caption {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  padding: 22px var(--gutter) 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.editorial-break__caption > :nth-child(2) { text-align: center; }
.editorial-break__caption > :nth-child(3) { text-align: right; }

/* =========================================================
   Placeholder de imagen elegante (rayas diagonales muy sutiles)
   ========================================================= */
.img-slot {
  position: relative;
  overflow: hidden;
  background-color: var(--bone);
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0 11px,
      rgba(11,11,12,0.045) 11px 12px
    );
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-slot--dark {
  background-color: #14171c;
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0 11px,
      rgba(255,255,255,0.04) 11px 12px
    );
  color: rgba(255,255,255,0.55);
}

.img-slot--rose {
  background-color: var(--rose-soft);
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0 11px,
      rgba(155,90,80,0.06) 11px 12px
    );
}

.img-slot__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  padding: 12px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(246, 242, 236, 0.45);
  opacity: 0.85;
}

.img-slot--dark .img-slot__label {
  background: rgba(20, 23, 28, 0.4);
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.25);
}

.img-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-slot:has(img) {
  background-image: none;
}
.img-slot:has(img) .img-slot__label { display: none; }

/* =========================================================
   Sección Mujer / Hombre — layout editorial común
   ========================================================= */
.collection {
  position: relative;
  overflow: hidden;
}

.collection--mujer {
  background: linear-gradient(180deg, var(--paper) 0%, #f1ebe2 100%);
  color: var(--ink);
}

.collection--hombre {
  background: var(--graphite);
  color: var(--paper);
}

.collection__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.collection__title {
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.025em;
}

.collection__title em {
  font-style: italic;
  font-weight: 400;
}

.collection--mujer .collection__title em { color: var(--champagne-2); }
.collection--hombre .collection__title em { color: var(--champagne); }

.collection__intro p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  font-style: italic;
  color: var(--text-soft);
  max-width: 46ch;
}

.collection--hombre .collection__intro p { color: rgba(246, 242, 236, 0.78); }

.collection__intro .eyebrow { color: var(--text-muted); }
.collection--hombre .collection__intro .eyebrow { color: rgba(246, 242, 236, 0.45); }

@media (max-width: 800px) {
  .collection__head { grid-template-columns: 1fr; gap: 24px; }
}

/* Mosaico editorial para colección */
.collection__mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(80px, auto);
  gap: 18px;
}

.tile {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.tile__media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
}

.tile__caption {
  position: absolute;
  inset: auto 18px 18px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  z-index: 2;
}

.tile__name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--paper);
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}

.tile__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(0,0,0,0.35);
  padding: 7px 11px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Variantes de tile para mujer */
.collection--mujer .tile-a { grid-column: span 7; grid-row: span 3; }
.collection--mujer .tile-b { grid-column: span 5; grid-row: span 2; }
.collection--mujer .tile-c { grid-column: span 5; grid-row: span 2; }
.collection--mujer .tile-d { grid-column: span 4; grid-row: span 2; }
.collection--mujer .tile-e { grid-column: span 8; grid-row: span 2; }

.collection--mujer .tile-a .tile__media { min-height: 540px; }
.collection--mujer .tile-b .tile__media,
.collection--mujer .tile-c .tile__media { min-height: 260px; }
.collection--mujer .tile-d .tile__media,
.collection--mujer .tile-e .tile__media { min-height: 280px; }

/* Variantes de tile para hombre (espejo) */
.collection--hombre .tile-a { grid-column: span 5; grid-row: span 2; }
.collection--hombre .tile-b { grid-column: span 7; grid-row: span 3; }
.collection--hombre .tile-c { grid-column: span 5; grid-row: span 2; }
.collection--hombre .tile-d { grid-column: span 8; grid-row: span 2; }
.collection--hombre .tile-e { grid-column: span 4; grid-row: span 2; }

.collection--hombre .tile-b .tile__media { min-height: 540px; }
.collection--hombre .tile-a .tile__media,
.collection--hombre .tile-c .tile__media { min-height: 260px; }
.collection--hombre .tile-d .tile__media,
.collection--hombre .tile-e .tile__media { min-height: 280px; }

@media (max-width: 900px) {
  .collection__mosaic { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .collection--mujer .tile-a,
  .collection--mujer .tile-b,
  .collection--mujer .tile-c,
  .collection--mujer .tile-d,
  .collection--mujer .tile-e,
  .collection--hombre .tile-a,
  .collection--hombre .tile-b,
  .collection--hombre .tile-c,
  .collection--hombre .tile-d,
  .collection--hombre .tile-e { grid-column: span 6; grid-row: auto; }
  .tile__media { min-height: 280px !important; }
}

/* Listado de categorías al final de cada colección */
.collection__cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 72px);
}

.collection--hombre .collection__cats {
  border-top-color: rgba(255,255,255,0.12);
}

.cat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px 26px 0;
  border-right: 1px solid var(--line);
  position: relative;
  transition: padding .25s ease;
  cursor: pointer;
}

.cat-item:last-child { border-right: none; }
.collection--hombre .cat-item { border-right-color: rgba(255,255,255,0.12); }

.cat-item__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.collection--hombre .cat-item__num { color: rgba(246, 242, 236, 0.45); }

.cat-item__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.005em;
}

.cat-item__arrow {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s, transform .3s;
}

.collection--hombre .cat-item__arrow { color: rgba(246, 242, 236, 0.7); }

.cat-item:hover .cat-item__arrow { opacity: 1; transform: translateX(0); }
.cat-item:hover { padding-left: 8px; }

@media (max-width: 800px) {
  .collection__cats { grid-template-columns: repeat(2, 1fr); }
  .cat-item:nth-child(2n) { border-right: none; }
  .cat-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .collection--hombre .cat-item:nth-child(n+3) { border-top-color: rgba(255,255,255,0.12); }
}

/* =========================================================
   Sección Relojería — formato editorial fila
   ========================================================= */
.watches {
  background: var(--paper);
  color: var(--ink);
}

.watches__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.watches__head h2 {
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.watches__head em {
  font-style: italic;
  color: var(--champagne-2);
}

.watches__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.watch-card {
  position: relative;
}

.watch-card__media {
  aspect-ratio: 4 / 5;
  margin-bottom: 22px;
}

.watch-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.watch-card__name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
}

.watch-card__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.watch-card__brands {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

@media (max-width: 800px) {
  .watches__row { grid-template-columns: 1fr; gap: 36px; }
  .watch-card__media { aspect-ratio: 4 / 4; }
}

/* =========================================================
   Sección Joyería y regalos
   ========================================================= */
.gifts {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.gifts__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 80% 30%, rgba(184,153,104,0.08), transparent 65%),
    radial-gradient(40% 60% at 10% 90%, rgba(217,197,189,0.05), transparent 60%);
  pointer-events: none;
}

.gifts__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
  position: relative;
}

.gifts__title {
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 22px 0 28px;
}

.gifts__title em {
  font-style: italic;
  color: var(--champagne);
}

.gifts__text {
  color: rgba(246, 242, 236, 0.7);
  font-size: 16px;
  line-height: 1.65;
  max-width: 48ch;
}

.gifts__chips {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 14px;
  border: 1px solid rgba(246, 242, 236, 0.25);
  border-radius: 999px;
  color: rgba(246, 242, 236, 0.82);
  transition: background .25s, color .25s, border-color .25s;
}

.chip:hover {
  background: var(--champagne);
  color: var(--ink);
  border-color: var(--champagne);
}

.gifts__images {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 100px;
  gap: 14px;
}

.gifts__images .g1 { grid-column: span 4; grid-row: span 3; }
.gifts__images .g2 { grid-column: span 2; grid-row: span 2; }
.gifts__images .g3 { grid-column: span 2; grid-row: span 2; }
.gifts__images .g4 { grid-column: span 4; grid-row: span 2; }

@media (max-width: 800px) {
  .gifts__grid { grid-template-columns: 1fr; }
  .gifts__images { grid-auto-rows: 80px; }
}

/* =========================================================
   Galería editorial
   ========================================================= */
.gallery {
  background: var(--paper);
}

.gallery__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
}

.gallery__head h2 {
  font-size: clamp(40px, 5vw, 76px);
  letter-spacing: -0.015em;
  line-height: 1;
}

.gallery__head em { font-style: italic; color: var(--champagne-2); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 120px;
  gap: 16px;
}

.gallery__grid > div { position: relative; }

.gallery__grid .a { grid-column: span 3; grid-row: span 4; }
.gallery__grid .b { grid-column: span 3; grid-row: span 2; }
.gallery__grid .c { grid-column: span 2; grid-row: span 2; }
.gallery__grid .d { grid-column: span 1; grid-row: span 2; }
.gallery__grid .e { grid-column: span 2; grid-row: span 3; }
.gallery__grid .f { grid-column: span 4; grid-row: span 3; }

@media (max-width: 800px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery__grid > div { grid-column: span 1 !important; grid-row: span 2 !important; }
  .gallery__grid .a { grid-column: span 2 !important; grid-row: span 3 !important; }
}

/* =========================================================
   Sección Marcas
   ========================================================= */
.brands {
  background: var(--bone);
  position: relative;
}

.brands__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.brands__head h2 {
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.brands__head em {
  font-style: italic;
  color: var(--champagne-2);
}

.brands__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
}

.brands__count strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4vw, 64px);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  background: var(--paper);
}

.brand-cell {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  padding: 24px;
  transition: background .3s ease;
}

.brand-cell:nth-child(5n) { border-right: none; }

.brand-cell__name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-align: center;
  transition: color .3s, transform .3s;
}

.brand-cell__name em {
  font-style: italic;
  color: var(--champagne-2);
}

.brand-cell:hover {
  background: var(--pearl);
}
.brand-cell:hover .brand-cell__name {
  color: var(--ink);
  transform: translateY(-2px);
}

.brand-cell__id {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  opacity: 0.8;
  transition: color .3s, opacity .3s;
}

.brand-cell:hover .brand-cell__id { color: var(--text-soft); opacity: 1; }

.brand-cell img {
  max-width: 70%;
  max-height: 60%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
}

.brand-cell.is-last-row { border-bottom: none; }

@media (max-width: 900px) {
  .brands__grid { grid-template-columns: repeat(3, 1fr); }
  .brand-cell:nth-child(5n) { border-right: 1px solid var(--line); }
  .brand-cell:nth-child(3n) { border-right: none; }
}

@media (max-width: 520px) {
  .brands__grid { grid-template-columns: repeat(2, 1fr); }
  .brand-cell:nth-child(3n) { border-right: 1px solid var(--line); }
  .brand-cell:nth-child(2n) { border-right: none; }
  .brands__head { grid-template-columns: 1fr; }
  .brands__count { text-align: left; }
}

/* =========================================================
   Sección Tiendas
   ========================================================= */
.stores {
  background: var(--night);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.stores__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 70% at 20% 30%, rgba(184,153,104,0.08), transparent 60%),
    radial-gradient(50% 70% at 80% 70%, rgba(217,197,189,0.05), transparent 60%);
  pointer-events: none;
}

.stores__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 84px);
  position: relative;
}

.stores__head h2 {
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.stores__head em { font-style: italic; color: var(--champagne); }

.stores__head p {
  color: rgba(246, 242, 236, 0.7);
  max-width: 44ch;
}

.stores__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3vw, 48px);
  position: relative;
}

.store-card {
  border: 1px solid rgba(246, 242, 236, 0.15);
  background: rgba(246, 242, 236, 0.025);
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  overflow: hidden;
}

.store-card__media {
  aspect-ratio: 16 / 10;
  position: relative;
}

.store-card__head {
  padding: 32px 32px 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
}

.store-card__city-line {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.55);
  margin-bottom: 12px;
}

.store-card__city {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.015em;
  line-height: 1;
}

.store-card__rating {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.store-card__rating-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.4vw, 36px);
  letter-spacing: -0.01em;
  color: var(--champagne);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.store-card__rating-num .star {
  font-size: 0.7em;
  color: var(--champagne);
}

.store-card__rating-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.55);
}

.store-card__body {
  padding: 24px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.store-card__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-card__field-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.45);
}

.store-card__field-value {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(246, 242, 236, 0.92);
}

.store-card__field-value strong {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.store-card__hours {
  padding: 8px 32px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  font-size: 13px;
  color: rgba(246, 242, 236, 0.78);
  border-top: 1px solid rgba(246, 242, 236, 0.1);
  padding-top: 24px;
  margin: 0 32px;
}

.store-card__hours dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.5);
  align-self: center;
}

.store-card__hours dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.store-card__hours dd.closed {
  color: rgba(246, 242, 236, 0.4);
  font-style: italic;
}

.store-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(246, 242, 236, 0.15);
  margin-top: 18px;
}

.store-card__action {
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  border-right: 1px solid rgba(246, 242, 236, 0.15);
  color: var(--paper);
  transition: background .2s, color .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.store-card__action:last-child { border-right: none; }
.store-card__action:hover { background: var(--champagne); color: var(--ink); }

.store-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

@media (max-width: 900px) {
  .stores__head { grid-template-columns: 1fr; }
  .stores__grid { grid-template-columns: 1fr; }
  .store-card__body { grid-template-columns: 1fr; }
}

/* "Mapa" placeholder dentro de store-card */
.store-card__media .map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(184,153,104,0.06), rgba(184,153,104,0.06)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 40px),
    #161b22;
}

.store-card__media .map-pin {
  position: absolute;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--champagne);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 0 0 6px rgba(184,153,104,0.18), 0 12px 30px rgba(0,0,0,0.4);
}
.store-card__media .map-pin::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--ink);
  z-index: -1;
}

.store-card__media .map-roads {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(20deg, transparent 48%, rgba(184,153,104,0.18) 48% 49.5%, transparent 49.5%),
    linear-gradient(80deg, transparent 62%, rgba(255,255,255,0.06) 62% 63%, transparent 63%),
    linear-gradient(-60deg, transparent 30%, rgba(255,255,255,0.05) 30% 30.6%, transparent 30.6%);
}

.store-card__media .map-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.55);
  padding: 7px 10px;
  background: rgba(15, 22, 32, 0.7);
  border: 1px solid rgba(246, 242, 236, 0.15);
  border-radius: 4px;
}

/* =========================================================
   Confianza / pilares
   ========================================================= */
.trust {
  background: var(--paper);
  color: var(--ink);
}

.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust__pillar {
  padding: 56px 32px 56px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust__pillar:last-child { border-right: none; }

.trust__pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--champagne-2);
}

.trust__pillar-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.005em;
}

.trust__pillar-text {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
  margin-top: 4px;
}

@media (max-width: 800px) {
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .trust__pillar { padding: 32px 22px 32px 0; }
  .trust__pillar:nth-child(2n) { border-right: none; }
  .trust__pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* =========================================================
   CTA final
   ========================================================= */
.cta-final {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(184,153,104,0.10), transparent 70%);
  pointer-events: none;
}

.cta-final__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cta-final h2 {
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

.cta-final h2 em { font-style: italic; color: var(--champagne); }

.cta-final p {
  color: rgba(246, 242, 236, 0.72);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  max-width: 50ch;
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 26px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background .25s, color .25s, transform .25s;
}

.btn--primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn--primary:hover { background: var(--champagne); border-color: var(--champagne); color: var(--ink); }

.btn--ghost { color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }

.btn__arrow {
  display: inline-flex;
  width: 16px; height: 16px;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--ink-soft);
  color: rgba(246, 242, 236, 0.7);
  padding: 80px var(--gutter) 36px;
  font-size: 14px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
  margin-bottom: 56px;
  max-width: 1480px;
  margin-inline: auto;
}

.footer__brand-name {
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 30px;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.footer__brand-line {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.4);
  margin-bottom: 24px;
}

.footer__heading {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.45);
  margin-bottom: 18px;
}

.footer__store address {
  font-style: normal;
  line-height: 1.6;
}

.footer__store-name {
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 20px;
  margin-bottom: 6px;
}

.footer__store-phone {
  display: inline-block;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.footer__brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(246, 242, 236, 0.55);
}

.footer__brand-list span::after {
  content: "·";
  margin-left: 14px;
  color: rgba(246, 242, 236, 0.25);
}
.footer__brand-list span:last-child::after { content: ""; margin: 0; }

.footer__legal {
  border-top: 1px solid rgba(246, 242, 236, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.4);
  max-width: 1480px;
  margin-inline: auto;
}

.footer__legal-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__legal-links a:hover { color: var(--paper); }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 500px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Animaciones de aparición (sutiles)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.16,.84,.44,1), transform 1s cubic-bezier(.16,.84,.44,1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }

@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.8; }
}

.pulse { animation: pulse 3s ease-in-out infinite; }
