/* ══════════════════════════════════════════════
   AURUM — Joyería · Modo Claro
   styles/main.css
══════════════════════════════════════════════ */

:root {
    --gold:          #A8782A;
    --gold-light:    #C9A84C;
    --gold-dim:      #7A5820;
    --gold-bg:       #F9F4EA;
  
    --bg:            #FAFAF8;
    --bg-alt:        #F3EFE6;
    --bg-card:       #FFFFFF;
    --border:        rgba(168,120,42,0.16);
    --border-strong: rgba(168,120,42,0.32);
  
    --ink:           #1A1610;
    --ink-mid:       #4A3F2F;
    --ink-muted:     #8A7A65;
  
    --font-serif:    'Cormorant Garamond', Georgia, serif;
    --font-sans:     'Jost', sans-serif;
  
    --nav-h:         80px;
    --ease:          0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-expo:     cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm:     0 2px 12px rgba(100,70,20,0.07);
    --shadow-md:     0 8px 32px rgba(100,70,20,0.12);
    --shadow-lg:     0 20px 60px rgba(100,70,20,0.16);
  }
  
  /* ── Reset ─────────────────────────────────── */
  *,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-weight: 500 !important;
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
  }
  img    { display: block; max-width: 100%; }
  a      { color: inherit; text-decoration: none; }
  ul     { list-style: none; }
  button { cursor: none; font-family: inherit; }
  
  ::-webkit-scrollbar       { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg-alt); }
  ::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 2px; }
  
  /* ══════════════════════════════════════════════
     CURSOR
  ══════════════════════════════════════════════ */
  .cursor {
    position: fixed;
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%,-50%);
    transition: width .3s, height .3s;
  }
  .cursor-follower {
    position: fixed;
    width: 34px; height: 34px;
    border: 1.5px solid rgba(168,120,42,0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%,-50%);
    transition: width .4s var(--ease-expo), height .4s var(--ease-expo), border-color .3s;
  }
  .cursor.active           { width: 14px; height: 14px; }
  .cursor-follower.active  { width: 56px; height: 56px; border-color: var(--gold); }
  
  /* ══════════════════════════════════════════════
     UTILIDADES
  ══════════════════════════════════════════════ */
  .label {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: .7rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .section-title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2.2rem,4.5vw,3.8rem);
    line-height: 1.1;
    color: var(--ink);
  }
  .italic { font-style: italic; }
  
  /* ══════════════════════════════════════════════
     BOTONES
  ══════════════════════════════════════════════ */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 2rem;
    font-family: var(--font-sans);
    font-size: .75rem;
    font-weight: 300;
    letter-spacing: .18em;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    transition: var(--ease);
    position: relative;
    overflow: hidden;
  }
  .btn::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,.06);
    transform: translateX(-101%);
    transition: transform .35s var(--ease-expo);
  }
  .btn:hover::after   { transform: translateX(0); }
  .btn--primary       { background: var(--gold); color: #fff; }
  .btn--primary:hover { background: var(--gold-dim); }
  .btn--ghost         { background: transparent; color: var(--ink-mid); border: 1px solid rgba(26,22,16,.22); }
  .btn--ghost:hover   { border-color: var(--ink); color: var(--ink); }
  .btn--outline       { background: transparent; color: var(--gold); border: 1px solid var(--border-strong); }
  .btn--outline:hover { background: var(--gold-bg); border-color: var(--gold); }
  .btn--sm   { padding: .55rem 1.1rem; font-size: .68rem; }
  .btn--lg   { padding: 1rem 2.8rem; font-size: .8rem; }
  .btn--full { width: 100%; justify-content: center; }
  .btn-icon {
    background: none; border: none;
    color: var(--ink-mid);
    display: flex; align-items: center; justify-content: center;
    padding: .4rem; position: relative;
    transition: color var(--ease);
  }
  .btn-icon:hover { color: var(--gold); }
  
  /* ══════════════════════════════════════════════
     NAV
  ══════════════════════════════════════════════ */
  .nav {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-h);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 clamp(1.5rem,5vw,4rem);
    z-index: 100;
    background: rgba(250,250,248,.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: background var(--ease), box-shadow var(--ease), border-color var(--ease);
  }
  .nav.scrolled {
    background: rgba(250,250,248,.98);
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--border);
  }
  .nav__logo {
    font-family: var(--font-serif);
    font-size: 1.55rem; font-weight: 600;
    letter-spacing: .3em; color: var(--gold);
  }
  .nav__links { display: flex; gap: 2.5rem; }
  .nav__links a {
    font-size: .72rem; font-weight: 300;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--ink-mid);
    transition: color var(--ease); position: relative;
  }
  .nav__links a::after {
    content: ''; position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width var(--ease);
  }
  .nav__links a:hover        { color: var(--gold); }
  .nav__links a:hover::after { width: 100%; }
  .nav__actions { display: flex; align-items: center; gap: .5rem; }
  .cart-count {
    position: absolute; top: -4px; right: -4px;
    background: var(--gold); color: #fff;
    font-size: .58rem; width: 16px; height: 16px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity var(--ease);
  }
  .cart-count.visible { opacity: 1; }
  
  /* ══════════════════════════════════════════════
     HERO — split layout: texto izquierda / 3D derecha
  ══════════════════════════════════════════════ */
  .hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: block; /* block para que el viewer sea absolute sin restricciones */
    overflow: hidden;
    background: var(--bg);
  }
  /* El contenido de texto se posiciona a la izquierda */
  .hero__content {
    position: relative; z-index: 3;
    display: flex; flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 52%;
    padding: var(--nav-h) 2rem 4rem clamp(1.5rem,6vw,7rem);
  }

  .hero__canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
  }
  .particles-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 1; pointer-events: none;
  }

  /* ── Animaciones de entrada del hero ── */
  .hero-anim {
    transition: opacity 0.85s var(--ease-expo), transform 0.85s var(--ease-expo);
  }
  .hero-anim.hero-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  /* hero__content definido arriba con el .hero */

  .hero__eyebrow {
    font-size: .7rem; letter-spacing: .28em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 1.4rem;
  }
  .hero__title {
    font-family: var(--font-serif);
    font-size: clamp(3rem,5.5vw,5.5rem);
    font-weight: 300; line-height: 1.02;
    margin-bottom: 1.4rem; color: var(--ink);
    display: flex; flex-direction: column; gap: .03em;
  }
  .hero__title .italic {
    color: var(--gold); font-style: italic; padding-left: 1rem;
  }
  .hero__sub {
    color: var(--ink-mid);
    max-width: 380px; margin-bottom: 2rem;
    font-size: .9rem; line-height: 1.85;
  }
  .hero__cta { display: flex; gap: .85rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

  /* Specs del anillo presentado */
  .hero__specs {
    display: flex; align-items: center; gap: 0;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    max-width: 440px;
  }
  .hero__spec {
    flex: 1; padding-right: 1.2rem;
  }
  .hero__spec strong {
    display: block;
    font-family: var(--font-serif); font-size: 1rem;
    font-weight: 400; color: var(--ink);
    line-height: 1.2; margin-bottom: .2rem;
  }
  .hero__spec span {
    font-size: .65rem; letter-spacing: .12em;
    text-transform: uppercase; color: var(--ink-muted);
  }
  .hero__spec-divider {
    width: 1px; height: 36px; flex-shrink: 0;
    background: var(--border-strong);
    margin: 0 1.2rem 0 0;
  }

  /* ── Viewer 3D: desbordado, sin contenedor rígido ── */
  .hero__viewer {
    position: absolute;
    top: 0; right: 0;
    width: 58%;
    height: 100%;
    z-index: 2;
    pointer-events: none;   /* contenedor transparente a eventos */
    opacity: 0;
    transform: translateX(60px) scale(0.97);
    transition: opacity 1.1s cubic-bezier(0.16,1,0.3,1) 0.3s,
                transform 1.1s cubic-bezier(0.16,1,0.3,1) 0.3s;
  }
  .hero__viewer.viewer-entered {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  #ringCanvas {
    position: absolute; inset: 0;
    width: 100% !important; height: 100% !important;
    display: block;
    pointer-events: auto;   /* solo el canvas recibe drag */
  }
  /* Gradiente solo en el borde izquierdo para fundir con el texto */
  .hero__viewer::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to right, var(--bg) 0%, transparent 18%);
    z-index: 2; pointer-events: none;
  }

  .viewer-hint {
    position: absolute; bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex; align-items: center; gap: .45rem;
    font-size: .65rem; letter-spacing: .12em;
    color: var(--ink-muted);
    background: rgba(250,250,248,.8);
    padding: .4rem 1rem;
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    white-space: nowrap;
    transition: opacity .4s;
  }
  .hero__viewer:hover .viewer-hint { opacity: 0; }

  .viewer-badge {
    position: absolute; top: 1.5rem; right: 1.5rem;
    z-index: 3;
    background: var(--gold); color: #fff;
    font-size: .6rem; letter-spacing: .12em;
    padding: .3rem .7rem;
    font-family: var(--font-sans);
  }

  .hero__scroll-hint {
    position: absolute; bottom: 2rem; left: 25%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center;
    gap: .6rem; z-index: 4;
    font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--ink-muted);
  }
  .hero__scroll-line {
    width: 1px; height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
  }
  @keyframes scrollPulse {
    0%,100% { opacity: .35; }
    50%      { opacity: 1; }
  }
  
  /* ══════════════════════════════════════════════
     MARQUEE
  ══════════════════════════════════════════════ */
  .marquee-wrap {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
    padding: .9rem 0;
  }
  .marquee {
    display: flex;
    width: max-content;
    animation: marquee 22s linear infinite;
    font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--gold-dim);
  }
  .marquee span { white-space: nowrap; }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  
  /* ══════════════════════════════════════════════
     TRUST BAR
  ══════════════════════════════════════════════ */
  .trust-bar {
    display: flex; justify-content: center; flex-wrap: wrap;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
  }
  .trust-item {
    display: flex; align-items: center; gap: .6rem;
    padding: 1rem 2rem;
    font-size: .73rem; font-weight: 300; letter-spacing: .07em;
    color: var(--ink-mid);
    border-right: 1px solid var(--border);
  }
  .trust-item:last-child { border-right: none; }
  .trust-item svg { color: var(--gold); flex-shrink: 0; }
  
  /* ══════════════════════════════════════════════
     FEATURED PRODUCT
  ══════════════════════════════════════════════ */
  .featured {
    padding: clamp(5rem,10vw,10rem) clamp(1.5rem,5vw,4rem);
    background: var(--bg);
  }
  .featured__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
    max-width: 1280px; margin: 0 auto;
  }
  .featured__title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem,4.5vw,4.5rem);
    font-weight: 300; line-height: 1.02;
    margin: .8rem 0 1.4rem; color: var(--ink);
  }
  .featured__title em { color: var(--gold); font-style: italic; }
  .featured__desc      { color: var(--ink-muted); margin-bottom: 1.8rem; max-width: 420px; }
  .featured__specs     { border-top: 1px solid var(--border); margin-bottom: 1.8rem; }
  .featured__specs li  {
    display: flex; justify-content: space-between;
    padding: .75rem 0; border-bottom: 1px solid var(--border);
    font-size: .83rem;
  }
  .featured__specs li span   { color: var(--ink-muted); }
  .featured__specs li strong { color: var(--ink); font-weight: 400; }
  .featured__price    { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.4rem; }
  .price-label        { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-muted); }
  .price-value        { font-family: var(--font-serif); font-size: 2rem; color: var(--gold); font-weight: 300; }
  .featured__actions  { display: flex; gap: .85rem; flex-wrap: wrap; }
  .featured__note     { margin-top: 1rem; font-size: .72rem; color: var(--ink-muted); letter-spacing: .04em; }
  
  /* Viewer en la sección featured (pequeño, con borde elegante) */
  .featured__viewer   { display: flex; flex-direction: column; align-items: center; gap: .85rem; }
  .viewer-container {
    position: relative;
    width: 100%; aspect-ratio: 1; max-width: 500px;
    background: linear-gradient(145deg, var(--bg-alt) 0%, var(--gold-bg) 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }
  .viewer-container canvas  { width: 100% !important; height: 100% !important; }
  .viewer-container .viewer-hint {
    position: absolute; bottom: 1.1rem; left: 50%;
    transform: translateX(-50%);
  }
  .viewer-container:hover .viewer-hint { opacity: 0; }
  .viewer-container .viewer-badge { top: 1rem; right: 1rem; }
  .viewer-actions {
    display: flex; gap: .75rem;
    justify-content: center; margin-top: .5rem;
  }
  
  /* ══════════════════════════════════════════════
     COLECCIÓN
  ══════════════════════════════════════════════ */
  .coleccion {
    padding: clamp(4rem,8vw,8rem) clamp(1.5rem,5vw,4rem);
    background: var(--bg-alt);
  }
  .coleccion__header { text-align: center; margin-bottom: 2.5rem; }
  .coleccion__header .section-title { margin-top: .6rem; }
  .coleccion__sub {
    color: var(--ink-muted); max-width: 460px;
    margin: .6rem auto 0; font-size: .88rem;
  }
  .category-tabs {
    display: flex; justify-content: center; gap: .5rem;
    flex-wrap: wrap; margin: 2rem 0 2.5rem;
  }
  .tab {
    background: none; border: 1px solid var(--border);
    color: var(--ink-muted);
    font-family: var(--font-sans); font-size: .7rem;
    font-weight: 300; letter-spacing: .15em; text-transform: uppercase;
    padding: .45rem 1.2rem; transition: var(--ease);
  }
  .tab:hover  { border-color: var(--gold); color: var(--gold); }
  .tab.active { background: var(--gold); border-color: var(--gold); color: #fff; }
  
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
    gap: 1.5rem; max-width: 1280px; margin: 0 auto 3rem;
  }
  .product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease), box-shadow var(--ease);
  }
  .product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
  .product-card__img-wrap         { position: relative; aspect-ratio: 1; overflow: hidden; }
  .product-card__img-wrap.featured-card { aspect-ratio: 4/5; }
  .product-card__placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: .75rem;
    background: linear-gradient(145deg, var(--bg-alt) 0%, var(--gold-bg) 100%);
  }
  .product-card__placeholder span  { font-size: 3rem; color: rgba(168,120,42,.28); line-height: 1; }
  .product-card__placeholder p     { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-muted); }
  .product-card__placeholder small { font-size: .6rem; color: var(--border-strong); }
  .product-card__overlay {
    position: absolute; inset: 0;
    background: rgba(249,244,234,.9);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: .75rem;
    opacity: 0; transition: opacity var(--ease);
    backdrop-filter: blur(4px);
  }
  .product-card:hover .product-card__overlay { opacity: 1; }
  .badge {
    position: absolute; top: 1rem; left: 1rem;
    background: var(--gold); color: #fff;
    font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
    padding: .28rem .65rem; font-family: var(--font-sans); z-index: 2;
  }
  .badge--new  { background: #2d7a4f; }
  .badge--sale { background: #c04a3a; }
  .product-card__info { padding: 1.1rem 1.3rem; }
  .product-card__info h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 400; margin-bottom: .25rem; color: var(--ink); }
  .product-card__info p  { font-size: .72rem; color: var(--ink-muted); margin-bottom: .65rem; }
  .product-price  { font-family: var(--font-serif); font-size: 1.05rem; color: var(--gold); }
  .card-footer    { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
  .card-stars     { font-size: .7rem; color: var(--gold); }
  .card-stars em  { font-style: normal; color: var(--ink-muted); }
  .coleccion__cta { text-align: center; }
  
  /* ══════════════════════════════════════════════
     PARALLAX BANNER (materiales) — fondo oscuro intencional
  ══════════════════════════════════════════════ */
  .parallax-banner {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: stretch;   /* las dos columnas estiran hasta la misma altura */
    background: #1A1610;
  }
  .parallax-banner__bg {
    position: absolute; inset: -20%;
    background:
      radial-gradient(ellipse at 30% 50%, rgba(201,168,76,.18) 0%, transparent 60%),
      radial-gradient(ellipse at 70% 50%, rgba(139,90,43,.12) 0%, transparent 50%);
    will-change: transform;
  }
  .parallax-banner__content {
    position: relative; z-index: 2;
    padding: clamp(4rem,8vw,8rem) clamp(1.5rem,5vw,5rem);
    /* Se queda en la columna izquierda */
  }
  .materials-grid { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
  .material-item  { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
  .material-icon {
    width: 68px; height: 68px;
    border: 1px solid rgba(201,168,76,.35); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif); font-size: 1.1rem; color: #E8C97A;
    background: rgba(201,168,76,.06);
    transition: var(--ease);
  }
  .material-item:hover .material-icon { border-color: #E8C97A; background: rgba(201,168,76,.12); transform: scale(1.06); }
  .material-item span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(250,250,248,.65); }
  
  /* ══════════════════════════════════════════════
     PROCESO
  ══════════════════════════════════════════════ */
  .proceso {
    padding: clamp(3rem,10vw,3rem) clamp(1.5rem,5vw,4rem);
    background: var(--bg-card);
  }
  .proceso__header { text-align: center; margin-bottom: 3.5rem; }
  .proceso__header .section-title { margin-top: .6rem; }
  .proceso__steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
    gap: 2rem; max-width: 1100px; margin: 0 auto;
  }
  .paso {
    padding: 2rem 1.5rem; border: 1px solid var(--border);
    transition: var(--ease);
  }
  .paso:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-4px); }
  .paso__num {
    font-family: var(--font-serif); font-size: 3rem; font-weight: 300;
    color: rgba(168, 120, 42, 0.925); line-height: 1; margin-bottom: .75rem;
  }
  .paso h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 400; margin-bottom: .6rem; color: var(--ink); }
  .paso p  { font-size: .83rem; color: var(--ink-muted); line-height: 1.7; }
  
  /* ══════════════════════════════════════════════
     ABOUT
  ══════════════════════════════════════════════ */
  .about {
    padding: clamp(3rem,10vw,8rem) clamp(1.5rem,5vw,4rem);
    background: var(--bg);
  }
  .about__layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
    max-width: 1200px; margin: 0 auto;
  }
  .about__visual { position: relative; }
  .about__img-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(160deg, var(--bg-alt) 0%, var(--gold-bg) 60%, var(--bg-alt) 100%);
    border: 1px dashed var(--border-strong);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: .75rem;
    color: var(--ink-muted); font-size: .72rem;
    letter-spacing: .15em; text-transform: uppercase;
  }
  .about__stat-card {
    position: absolute; bottom: -1.5rem; right: -1.5rem;
    background: var(--gold); color: #fff;
    padding: 1.4rem 1.8rem; text-align: center;
    box-shadow: var(--shadow-md);
  }
  .about__stat-card strong {
    display: block; font-family: var(--font-serif);
    font-size: 2.4rem; font-weight: 400; line-height: 1;
  }
  .about__stat-card span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
  .about__text { display: flex; flex-direction: column; gap: .9rem; }
  .about__text p { color: var(--ink-muted); }
  .about__text .section-title { margin-top: .4rem; margin-bottom: .9rem; }
  .about__stats {
    display: flex; gap: 2rem; flex-wrap: wrap;
    margin-top: 1.5rem; padding-top: 1.5rem;
    border-top: 1px solid var(--border);
  }
  .about__stat strong {
    display: block; font-family: var(--font-serif);
    font-size: 2rem; font-weight: 300; color: var(--gold); line-height: 1;
  }
  .about__stat span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
  
  /* ══════════════════════════════════════════════
     TESTIMONIOS
  ══════════════════════════════════════════════ */
  .testimonials {
    padding: clamp(5rem,10vw,8rem) clamp(1.5rem,5vw,4rem);
    background: var(--bg-alt); text-align: center;
  }
  .testimonials__header { margin-bottom: 3rem; }
  .testimonials__header .section-title { margin-top: .6rem; }
  .testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px,1fr));
    gap: 1.4rem; max-width: 1500px; margin: 0 auto;
    justify-content: center;
  }
  .testimonial-card {
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 1.8rem; text-align: left;
    box-shadow: var(--shadow-sm); transition: var(--ease);
  }
  .testimonial-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
  .stars { color: var(--gold); font-size: .82rem; margin-bottom: 1rem; letter-spacing: .15em; }
  .testimonial-card p {
    color: var(--ink-mid); font-style: italic;
    font-family: var(--font-serif); font-size: 1.05rem;
    margin-bottom: 1.4rem; line-height: 1.6;
  }
  .testimonial-author { display: flex; align-items: center; gap: .85rem; }
  .author-avatar {
    width: 42px; height: 42px;
    background: var(--gold-bg); border: 1.5px solid var(--border-strong);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .72rem; color: var(--gold); flex-shrink: 0;
  }
  .testimonial-author strong { display: block; font-weight: 400; font-size: .88rem; color: var(--ink); }
  .testimonial-author span   { font-size: .7rem; color: var(--ink-muted); }
  
  /* ══════════════════════════════════════════════
     NEWSLETTER
  ══════════════════════════════════════════════ */
  .newsletter {
    padding: clamp(5rem,10vw,8rem) clamp(1.5rem,5vw,4rem);
    background: var(--bg); text-align: center; position: relative; overflow: hidden;
  }
  .newsletter::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(168,120,42,.05) 0%, transparent 70%);
    pointer-events: none;
  }
  .newsletter__content { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; }
  .newsletter__content h2 {
    font-family: var(--font-serif); font-size: clamp(1.9rem,3.5vw,3rem);
    font-weight: 300; margin: .9rem 0; line-height: 1.15; color: var(--ink);
  }
  .newsletter__content > p { color: var(--ink-muted); margin-bottom: 1.8rem; }
  .newsletter__form {
    display: flex; gap: 0;
    border: 1px solid var(--border-strong); box-shadow: var(--shadow-sm);
  }
  .newsletter__form input {
    flex: 1; background: var(--bg-card); border: none; outline: none;
    padding: .9rem 1.4rem; color: var(--ink);
    font-family: var(--font-sans); font-size: .83rem; font-weight: 300;
  }
  .newsletter__form input::placeholder { color: var(--ink-muted); }
  .newsletter__form .btn--primary { border-radius: 0; flex-shrink: 0; }
  .newsletter__legal { font-size: .7rem; color: var(--ink-muted); margin-top: .9rem; }
  
  /* ══════════════════════════════════════════════
     FOOTER
  ══════════════════════════════════════════════ */
  .footer {
    border-top: 1px solid var(--border);
    background: var(--ink); color: rgba(250,250,248,.65);
    padding: clamp(3rem,6vw,5rem) clamp(1.5rem,5vw,4rem) 2rem;
  }
  .footer__top   { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 3rem; }
  .footer__logo  { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .3em; color: var(--gold-light); margin-bottom: .9rem; }
  .footer__brand p { font-size: .83rem; margin-bottom: 1.4rem; }
  .footer__social { display: flex; gap: 1rem; }
  .footer__social a { font-size: .68rem; letter-spacing: .1em; color: rgba(250,250,248,.4); transition: color var(--ease); }
  .footer__social a:hover { color: var(--gold-light); }
  .footer__links { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
  .footer__col h4 { font-size: .7rem; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.1rem; }
  .footer__col ul li { margin-bottom: .55rem; }
  .footer__col a { font-size: .8rem; color: rgba(250,250,248,.4); transition: color var(--ease); }
  .footer__col a:hover { color: rgba(250,250,248,.9); }
  .footer__bottom {
    border-top: 1px solid rgba(250,250,248,.08); padding-top: 1.4rem;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem; font-size: .7rem; color: rgba(250,250,248,.3);
  }
  .footer__legal { display: flex; gap: 1.4rem; }
  .footer__legal a { color: rgba(250,250,248,.3); transition: color var(--ease); }
  .footer__legal a:hover { color: var(--gold-light); }
  
  /* ══════════════════════════════════════════════
     CART SIDEBAR
  ══════════════════════════════════════════════ */
  .cart-overlay {
    position: fixed; inset: 0;
    background: rgba(26,22,16,.45); z-index: 200;
    opacity: 0; pointer-events: none;
    transition: opacity var(--ease); backdrop-filter: blur(4px);
  }
  .cart-overlay.active { opacity: 1; pointer-events: all; }
  .cart-sidebar {
    position: fixed; top: 0; right: 0;
    width: min(400px,100vw); height: 100%;
    background: var(--bg-card); border-left: 1px solid var(--border);
    box-shadow: -8px 0 40px rgba(100,70,20,.12);
    z-index: 201; transform: translateX(100%);
    transition: transform .5s var(--ease-expo);
    display: flex; flex-direction: column;
  }
  .cart-sidebar.open { transform: translateX(0); }
  .cart-sidebar__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--border);
  }
  .cart-sidebar__header h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 300; color: var(--ink); }
  .cart-close { background: none; border: none; color: var(--ink-muted); font-size: .9rem; transition: color var(--ease); }
  .cart-close:hover { color: var(--gold); }
  .cart-sidebar__items { flex: 1; overflow-y: auto; padding: 1.4rem 1.6rem; }
  .cart-empty { text-align: center; color: var(--ink-muted); margin-top: 3rem; font-style: italic; font-family: var(--font-serif); font-size: 1.05rem; }
  .cart-item { display: flex; justify-content: space-between; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--border); gap: .9rem; }
  .cart-item__name   { font-size: .83rem; color: var(--ink); }
  .cart-item__price  { color: var(--gold); font-family: var(--font-serif); font-size: .95rem; flex-shrink: 0; }
  .cart-item__remove { background: none; border: none; color: var(--ink-muted); font-size: .85rem; flex-shrink: 0; transition: color var(--ease); }
  .cart-item__remove:hover { color: #c44; }
  .cart-sidebar__footer { padding: 1.4rem 1.6rem; border-top: 1px solid var(--border); }
  .cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.1rem; font-size: .83rem; color: var(--ink-mid); }
  .cart-total strong { font-family: var(--font-serif); font-size: 1.4rem; color: var(--gold); font-weight: 300; }
  
  /* ══════════════════════════════════════════════
     SCROLL REVEAL
  ══════════════════════════════════════════════ */
  .reveal-up,.reveal-fade {
    opacity: 0;
    transition: opacity .8s var(--ease-expo), transform .8s var(--ease-expo);
  }
  .reveal-up   { transform: translateY(32px); }
  .reveal-fade { transform: translateY(10px); }
  .reveal-up.is-visible,.reveal-fade.is-visible { opacity: 1 !important; transform: translateY(0) !important; }
  /* Fallback: si no hay JS o el observer falla, mostrar todo */
  @media (prefers-reduced-motion: reduce) {
    .reveal-up, .reveal-fade, .hero-anim { opacity: 1 !important; transform: none !important; }
  }
  
  /* Hero: animaciones manejadas por JS .hero-anim/.hero-visible */
  .hero__eyebrow,.hero__title,.hero__title span,.hero__sub,.hero__cta,
  .hero__specs, .hero-anim {
    /* No forzar opacity aquí — JS maneja las animaciones de entrada */
  }
  
  /* ══════════════════════════════════════════════
     RESPONSIVE
  ══════════════════════════════════════════════ */
  @media (max-width: 1024px) {
    /* Parallax: apilado */
    .parallax-banner {
      grid-template-columns: 1fr;
    }
    .img-box {
      width: 85%;
      max-width: 480px;
      aspect-ratio: 16/9;
      margin: 0 auto clamp(2rem,5vw,4rem);
    }
  }

  @media (max-width: 900px) {
    /* Hero */
    .hero { height: auto; min-height: 100svh; }
    .hero__content {
      width: 100%; height: auto;
      padding: calc(var(--nav-h) + 2.5rem) 1.5rem 2rem;
    }
    .hero__viewer {
      width: 100%; height: 55vw; min-height: 300px;
      top: auto; bottom: 0;
      transform: none !important; opacity: 1 !important;
    }
    .hero__scroll-hint { left: 50%; }
    .hero__specs { flex-wrap: wrap; max-width: 100%; }
    .hero__spec-divider { display: none; }
    .hero__spec { flex: 0 0 auto; padding-right: 1rem; padding-bottom: .5rem; }

    /* Layout */
    .about__layout { grid-template-columns: 1fr; }
    .about__stat-card { right: 0; }
    .footer__top   { grid-template-columns: 1fr; }
    .footer__links { grid-template-columns: repeat(2,1fr); }

    /* Productos: 2 columnas */
    .products-grid { grid-template-columns: repeat(2, 1fr); }

    /* Proceso: 2 columnas */
    .proceso__steps { grid-template-columns: repeat(2, 1fr); }

    /* Trust bar */
    .trust-bar { flex-wrap: wrap; }
    .trust-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid var(--border); }
  }

  @media (max-width: 680px) {
    .nav__links { display: none; }
    .hero__cta  { flex-direction: column; align-items: flex-start; }
    .hero__title { font-size: clamp(2.4rem, 9vw, 3.5rem); }
    .hero__sub { font-size: .85rem; max-width: 100%; }
    .hero__specs { display: none; }

    .newsletter__form { flex-direction: column; }
    .newsletter__form input, .newsletter__form .btn { width: 100%; }

    .footer__links { grid-template-columns: 1fr; }
    .materials-grid { gap: 1rem; flex-wrap: wrap; }

    /* Trust bar: 1 columna */
    .trust-item { flex: 0 0 100%; }

    /* Productos: 1 columna */
    .products-grid { grid-template-columns: 1fr; }

    /* Proceso: 1 columna */
    .proceso__steps { grid-template-columns: 1fr; }

    /* About stat card */
    .about__stat-card { position: static; margin-top: 1rem; }

    /* img-box mobile */
    .img-box { width: 92%; aspect-ratio: 4/3; margin: 0 auto 1.5rem; }

    /* Mina border */
    .mina { border-radius: 0; border: none; box-shadow: none; }
    .img-box img { border-radius: 0; }
  }

  @media (max-width: 420px) {
    .hero__viewer { height: 72vw; }
    .nav__logo { font-size: 1.2rem; }
    .btn { padding: .75rem 1.4rem; font-size: .7rem; }
    .section-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  }
  /* Hero animaciones — visibility manejada solo por JS, no CSS */
  
  /* ══════════════════════════════════════════════
     PRENSA
  ══════════════════════════════════════════════ */
  .prensa {
    padding: 3rem clamp(1.5rem,5vw,4rem);
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
  }
  .prensa__label { margin-bottom: 1.6rem; }
  .prensa__logos {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 2rem clamp(1.8rem,4vw,3.5rem);
  }
  .prensa__logo {
    font-family: var(--font-serif);
    font-size: clamp(.85rem,1.5vw,1.05rem);
    font-weight: 300; letter-spacing: .08em;
    color: var(--ink-muted); opacity: 0.5;
    transition: opacity var(--ease), color var(--ease);
    white-space: nowrap; cursor: default;
  }
  .prensa__logo:hover { opacity: 1; color: var(--gold); }

  .mina { border-radius: 0; border: none; box-shadow: none; }

  /* ── img-box: ocupa TODO el lado derecho del parallax, sin bordes ── */
  .img-box {
    position: relative;
    overflow: hidden;          /* necesario para el zoom del hover */
    /* Sin border-radius — bordes del section */
    border-radius: 0;
    /* Llenar toda la celda del grid de arriba a abajo */
    align-self: stretch;
    min-height: 100%;
  }

  .img-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .img-box:hover img {
    transform: scale(1.08);
  }

  /* Gradiente sutil en el borde izquierdo de la imagen
     para fundir con el contenido de texto */
  .img-box::before {
    content: '';
    position: absolute;
    inset: 0;
    left: 0;
    width: 80px;
    background: linear-gradient(to right, #1A1610 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
  }

  /* Responsive: en móvil la imagen va debajo del texto */
  @media (max-width: 768px) {
    .parallax-banner {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
    }
    .img-box {
      min-height: 260px;
      height: 55vw;
      align-self: auto;
    }
    .img-box::before {
      width: 0; /* sin gradiente lateral en móvil */
      background: linear-gradient(to bottom, #1A1610 0%, transparent 30%);
      width: 100%;
      height: 60px;
      left: 0; top: 0; bottom: auto;
    }
  }