/* ══════════════════════════════════════════
   J&J · Carpintería y Tapicería
   Estilos — mobile first · BEM-ish
   ══════════════════════════════════════════ */

/* ---------- Tokens ---------- */
:root {
  /* Colors — black + warm gold palette */
  --c-ink:        #0A0A0A;
  --c-ink-2:      #141414;
  --c-ink-3:      #1F1F1F;
  --c-line:       #E7E3DB;
  --c-line-2:     #2A2A2A;
  --c-paper:      #FAF8F4;
  --c-paper-2:    #F2EEE5;
  --c-muted:      #6B6B6B;
  --c-muted-2:    #A0998B;
  --c-gold:       #EDB558;
  --c-gold-2:     #E8DBA0;
  --c-gold-3:     #B8852E;
  --g-gold:       linear-gradient(135deg, #EDB558 0%, #E8DBA0 100%);
  --g-gold-soft:  linear-gradient(135deg, rgba(237,181,88,.18) 0%, rgba(232,219,160,.18) 100%);
  --c-green-wa:   #25D366;

  /* Type */
  --f-display: 'Oswald', 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-accent:  'Cormorant Garamond', Georgia, serif;
  --f-sans:    'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Geometry */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 28px;

  /* Motion — curated easing curves */
  --ease:     cubic-bezier(.22,.61,.36,1);
  --ease-2:   cubic-bezier(.77,0,.175,1);
  --ease-out: cubic-bezier(.16,1,.3,1);     /* expo.out — elegant reveals */
  --ease-in-out: cubic-bezier(.65,0,.35,1); /* smooth both ways */
  --ease-soft: cubic-bezier(.4,0,.2,1);     /* material-like */
  --ease-spring: cubic-bezier(.34,1.3,.64,1);
  --t:      .4s var(--ease);
  --t-fast: .22s var(--ease);
  --t-slow: .8s var(--ease-out);

  /* Shadows */
  --shadow-soft: 0 20px 50px -25px rgba(10,10,10,.18);
  --shadow-gold: 0 20px 60px -30px rgba(237,181,88,.55);
  --shadow-lift: 0 30px 70px -25px rgba(10,10,10,.28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-sans);
  font-weight: 400;
  background: var(--c-paper);
  color: var(--c-ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }

::selection { background: var(--c-gold); color: var(--c-ink); }

/* ---------- Layout container ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Typography scale ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 14px;
}

/* Oswald proportions — slightly looser tracking for professional legibility */
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: .005em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.35rem);
  line-height: 1.08;
  font-weight: 500;
}
h2 {
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  line-height: 1.14;
  font-weight: 500;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: .01em;
}

p  { color: var(--c-muted); line-height: 1.7; font-size: .95rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 14px;
  --btn-pad-x: 28px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--f-sans);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .03em;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .45s var(--ease-out), background .45s var(--ease-out), color .45s var(--ease-out), box-shadow .45s var(--ease-out), letter-spacing .45s var(--ease-out);
  will-change: transform;
  
}
.btn:hover  { letter-spacing: .05em; }
.btn:active { transform: translateY(1px) scale(.99); transition-duration: .12s; }

/* Subtle sheen that slides across the button on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.18) 50%, transparent 100%);
  transform: skewX(-18deg);
  transition: left .9s var(--ease-out);
  pointer-events: none;
  z-index: 1;
}
.btn:hover::before { left: 130%; }

.btn > * { position: relative; z-index: 2; }
.btn svg { transition: transform .45s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--c-ink);
  color: var(--c-paper);
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--g-gold);
  transform: translateX(-101%);
  transition: transform .6s var(--ease-out);
  z-index: -1;
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary:hover       { color: var(--c-ink); box-shadow: 0 18px 40px -18px rgba(237,181,88,.55); }

.btn-outline {
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
}
.btn-outline:hover {
  background: var(--g-gold);
  border-color: var(--c-gold);
  color: var(--c-ink);
  box-shadow: 0 14px 30px -14px rgba(237,181,88,.55);
}

.btn-gold {
  background: var(--g-gold);
  color: var(--c-ink);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: var(--g-gold);
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -22px rgba(237,181,88,.7);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-ink);
  transition: gap .4s var(--ease-out), color .3s var(--ease-out);
}
.link-arrow svg { transition: transform .4s var(--ease-out); }
.link-arrow:hover { gap: 14px; color: var(--c-gold); }
.link-arrow:hover svg { transform: translateX(2px); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: background .45s var(--ease-soft), backdrop-filter .45s var(--ease-soft), padding .45s var(--ease-soft), box-shadow .45s var(--ease-soft);
}
.navbar.scrolled {
  background: rgba(250, 248, 244, .82);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  padding: 12px 0;
  box-shadow: inset 0 -1px 0 rgba(10,10,10,.06), 0 12px 30px -22px rgba(10,10,10,.18);
  
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: var(--f-display);
  color: var(--c-ink);
  transition: opacity .3s var(--ease-out), transform .5s var(--ease-spring);
  display: inline-block;
}
.nav-logo:hover { transform: translateY(-1px); }
.nav-logo-mark     {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.nav-logo .amp     {
  font-family: var(--f-accent);
  color: var(--c-gold);
  font-style: italic;
  font-weight: 600;
  margin-inline: 2px;
  display: inline-block;
  transition: transform .55s var(--ease-spring), color .3s var(--ease-out);
}
.nav-logo:hover .amp { transform: rotate(-6deg) scale(1.08); color: var(--c-gold-2); }

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-links a {
  position: relative;
  
  font-weight: 400;
  letter-spacing: .02em;
  color: white;
  padding: 4px 0;
  transition: color .35s var(--ease-out);
 
}

.scrolled .nav-links a{
  color: black !important;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -2px;
  width: 0; height: 1px;
  background: var(--c-gold);
  transition: width .45s var(--ease-out), left .45s var(--ease-out);

}
.nav-links a:hover        { color: var(--c-gold-3); }
.nav-links a:hover::after { width: 100%; left: 0; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-hamburger span {
  background: white;
  width: 24px;
  height: 1.5px;
  //background: var(--c-ink);
  transition: transform .45s var(--ease-spring), opacity .25s var(--ease-out), width .35s var(--ease-out);
  transform-origin: center;
}

/* cuando haces scroll */
.scrolled .nav-hamburger span {
  background: black;
}
.nav-hamburger:hover span:nth-child(2) { width: 18px; }
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg)  translate(5px, 4px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-4px); }

.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--c-paper);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.nav-mobile.active { opacity: 1; pointer-events: all; }

.nav-mobile a {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: .015em;
  color: var(--c-ink);
  transform: translateY(14px);
  opacity: 0;
  transition: color .3s var(--ease-out), transform .6s var(--ease-out), opacity .6s var(--ease-out);
}
.nav-mobile.active a { opacity: 1; transform: translateY(0); }
.nav-mobile.active a:nth-child(1) { transition-delay: .08s; }
.nav-mobile.active a:nth-child(2) { transition-delay: .14s; }
.nav-mobile.active a:nth-child(3) { transition-delay: .20s; }
.nav-mobile.active a:nth-child(4) { transition-delay: .26s; }
.nav-mobile.active a:nth-child(5) { transition-delay: .32s; }
.nav-mobile a:hover { color: var(--c-gold); }

/* ══════════════════════════════════════════
   HERO — dark image background + gold badge
   ══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-image {
  background:
    linear-gradient(160deg, #1a1612 0%, #0a0806 55%, #12100c 100%),
    radial-gradient(ellipse at 30% 40%, rgba(237,181,88,.22), transparent 60%);

background-image:
  linear-gradient(rgba(10,8,6,.28), rgba(10,8,6,.48)),
  url("../IMG/menu.png");

background-size: cover;
background-position: center;
background-repeat: no-repeat;
image-rendering: auto;
  filter: saturate(.9);
  transform: scale(1.02);
  animation: heroZoom 18s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-overlay {
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(10,8,6,.35) 60%, rgba(10,8,6,.85) 100%);
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  padding: 110px 24px 120px;
}

.hero-badge {
  width: 128px;
  height: 128px;
  margin: 0 auto 28px;
  opacity: 0;
  animation: fadeUp 1s .15s var(--ease-out) forwards, badgeSpin 60s linear infinite .15s;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.4));
}
@keyframes badgeSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hero-badge svg { display: block; }

.furniture-hero-heading {
 
  font-size: clamp(1.7rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  width: 100%;
  display: inline;
}

.furniture-highlight-text {
  color: #d4b06a;
  display: inline;
}

.furniture-hero-description {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  max-width: 650px;
  margin: 0 auto;
  margin-top: 10px;
}

/* Mobile */
@media (max-width: 768px) {
  .furniture-hero-heading {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .furniture-hero-description {
    font-size: 0.95rem;
    line-height: 1.4;
  }
}

.hero-title {
  margin: 0 auto 18px;
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: .01em;
  opacity: 0;
  animation: fadeUp 1s .35s var(--ease-out) forwards;
  max-width: 18ch;
}
.hero-title .accent {
  display: inline;
  font-family: var(--f-accent);
  background: var(--g-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-sub {
  max-width: 52ch;
  margin: 0 auto 36px;
  color: rgba(255,255,255,.82);
  font-size: 1.02rem;
  opacity: 0;
  animation: fadeUp 1s .55s var(--ease-out) forwards;
}

.hero-actions {
  margin-top: 30px;
  opacity: 0;
  animation: fadeUp 1s .75s var(--ease-out) forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s 1s var(--ease-out) forwards;
}
.hero-scroll span {
  font-size: .65rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.scroll-line {
  width: 1px;
  height: 42px;
  background: rgba(255,255,255,.2);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: -60%;
  height: 60%;
  background: var(--c-gold-2);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { top: -60%; }
  100% { top: 100%; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ══════════════════════════════════════════
   ABOUT — dark section with gold quote card
   ══════════════════════════════════════════ */
.about {
  background: var(--c-ink);
  color: #fff;
  padding: clamp(64px, 10vw, 10px) 0;
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: -10%; right: -15%;
  width: 65vw; height: 65vw;
  background: radial-gradient(circle, rgba(237,181,88,.08), transparent 60%);
  pointer-events: none;
  animation: auraDrift 22s ease-in-out infinite alternate;
}
@keyframes auraDrift {
  from { transform: translate(0, 0); opacity: .9; }
  to   { transform: translate(-4%, 3%); opacity: 1; }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

/* Left visual */
.about-visual {
  position: relative;
}
.about-image {
  width: 100%;
  aspect-ratio: 4/5;
  background:
    linear-gradient(180deg, rgba(10,8,6,.08), rgba(10,8,6,.38)),
    url("../IMG/Cocina.png") center/cover no-repeat,
    linear-gradient(135deg, #2a241b, #0f0d09);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
  transition: transform 1.2s var(--ease-out), box-shadow 1.2s var(--ease-out);
}
.about-visual:hover .about-image {
  transform: translateY(-4px);
  box-shadow: 0 50px 90px -35px rgba(0,0,0,.7);
}

/* Quote / WhatsApp card overlay */
.quote-card {
  position: relative;
  margin: -80px 12px 0;
  padding: 28px 24px 26px;
  background: linear-gradient(180deg, #0d0b08, #0a0806);
  border: 1px solid rgba(237,181,88,.55);
  border-radius: var(--r-lg);
  box-shadow:
    0 30px 70px -30px rgba(0,0,0,.7),
    inset 0 1px 0 rgba(237,181,88,.2);
  text-align: center;
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out), border-color .7s var(--ease-out);
}
.quote-card:hover {
  transform: translateY(-3px);
  border-color: rgba(237,181,88,.8);
  box-shadow:
    0 40px 80px -25px rgba(0,0,0,.8),
    inset 0 1px 0 rgba(237,181,88,.3),
    0 0 0 1px rgba(237,181,88,.1);
}
.quote-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(237,181,88,.25);
  border-radius: calc(var(--r-lg) - 6px);
  pointer-events: none;
  transition: border-color .6s var(--ease-out);
}
.quote-card:hover::before { border-color: rgba(237,181,88,.4); }

.quote-card h3 {
  font-family: var(--f-accent);
  font-style: italic;
  font-weight: 500;
  font-size: 1.65rem;
  letter-spacing: 0;
  color: var(--c-gold-2);
  margin-bottom: 8px;
}

.quote-kicker {
  font-family: var(--f-sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .32em;
  color: rgba(255,255,255,.55);
  margin-bottom: 18px;
}

.quote-cta-row {
  display: none; /* deprecated — replaced by .whatsapp-cta + .qr-panel */
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  background: rgba(10,8,6,.4);
  border: 1px solid rgba(237,181,88,.4);
  border-radius: 999px;
  padding: 8px 10px 8px 14px;
  transition: border-color .45s var(--ease-out), box-shadow .45s var(--ease-out), background .45s var(--ease-out);
}
.quote-cta-row:hover {
  border-color: var(--c-gold-2);
  background: rgba(10,8,6,.55);
  box-shadow: 0 0 0 4px rgba(237,181,88,.1), 0 10px 28px -14px rgba(237,181,88,.35);
}

.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 18px 12px 14px;
  background: rgba(10,8,6,.55);
  border: 1px solid rgba(237,181,88,.4);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: border-color .35s var(--ease-out), background .35s var(--ease-out), box-shadow .4s var(--ease-out);
}
.whatsapp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(237,181,88,.12) 40%, transparent 80%);
  transform: translateX(-100%);
  transition: transform .8s var(--ease-out);
  pointer-events: none;
}
.whatsapp-cta:hover {
  border-color: var(--c-gold-2);
  background: rgba(10,8,6,.7);
  box-shadow: 0 0 0 4px rgba(237,181,88,.1), 0 14px 32px -16px rgba(237,181,88,.45);
}
.whatsapp-cta:hover::before { transform: translateX(100%); }

.wa-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid; place-items: center;
  transition: transform .5s var(--ease-spring);
}
.whatsapp-cta:hover .wa-icon { transform: scale(1.08) rotate(-4deg); }
.wa-icon svg { width: 100%; height: 100%; }

.wa-text   { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; min-width: 0; flex: 1; }
.wa-label  { font-family: var(--f-sans); font-size: .64rem; letter-spacing: .22em; color: rgba(255,255,255,.6); }
.wa-number {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--c-gold-2);
  letter-spacing: .02em;
}
.wa-arrow {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--c-gold-2);
  transition: transform .4s var(--ease-out);
}
.whatsapp-cta:hover .wa-arrow { transform: translateX(4px); }

/* ---------- Divider "o escanea el código" ---------- */
.quote-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
  color: rgba(255,255,255,.5);
  font-family: var(--f-sans);
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.quote-divider::before,
.quote-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(237,181,88,.3), transparent);
}

/* ---------- QR panel grande ---------- */
.qr-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.qr-frame {
  position: relative;
  width: 200px;
  height: 200px;
  padding: 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow:
    0 18px 48px -22px rgba(0,0,0,.55),
    0 0 0 1px rgba(237,181,88,.25);
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-out);
}
.qr-frame:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 28px 60px -22px rgba(0,0,0,.65),
    0 0 0 1px var(--c-gold-2),
    0 0 0 5px rgba(237,181,88,.18);
}
.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.qr-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--c-gold);
  pointer-events: none;
}
.qr-tl { top: -4px; left: -4px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.qr-tr { top: -4px; right: -4px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.qr-bl { bottom: -4px; left: -4px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.qr-br { bottom: -4px; right: -4px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.qr-hint {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  text-align: center;
  max-width: 28ch;
  line-height: 1.45;
  margin: 0;
}

/* Right text block */
.about-text .eyebrow { color: rgba(255,255,255,.55); }
.about-title {
  color: #fff;
  font-weight: 500;
  margin-bottom: 20px;
}
.about-text p {
  color: rgba(255,255,255,.72);
  margin-bottom: 14px;
  max-width: 54ch;
}
.about-close { color: #fff !important; font-style: italic; margin-top: 4px !important; }

.about-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(237,181,88,.4), transparent);
  margin: 40px 0 28px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.feature-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .5s var(--ease-out);
}
.feature-col:hover { transform: translateY(-3px); }
.feature-col:hover .feature-icon { color: var(--c-gold-2); transform: scale(1.08) rotate(-3deg); }

.feature-icon {
  width: 32px; height: 32px;
  color: var(--c-gold);
  transition: color .4s var(--ease-out), transform .6s var(--ease-spring);
}
.feature-col h4 {
  font-family: var(--f-sans);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
}
.feature-col p {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
  max-width: 22ch;
}

/* ══════════════════════════════════════════
   SECTION HEADER (shared)
   ══════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.section-header h2 { margin-top: 4px; }

/* ══════════════════════════════════════════
   FEATURED
   ══════════════════════════════════════════ */
.featured {
  padding: clamp(72px, 10vw, 110px) 0;
  background: var(--c-paper);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.product-card {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.12);
  will-change: transform;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow .5s var(--ease-out);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.product-card:hover::after { box-shadow: inset 0 0 0 1px rgba(237,181,88,.18); }

.product-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-paper-2);
}
.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .9s var(--ease-out), filter .7s var(--ease-out);
  will-change: transform;
}
.product-card:hover .product-img::after { transform: scale(1.08); filter: brightness(1.04); }

.product-img-1::after {
  background-image:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0) 75%,
      rgba(0,0,0,.06) 100%
    ),
    url("../IMG/Cocina.png");
  background-size: cover;
  background-position: center;
}
.product-img-2::after { background-image: linear-gradient(135deg, #3d342a, #1a1612), url("https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=900&q=80"); background-blend-mode: multiply; }
.product-img-3::after { background-image: linear-gradient(135deg, #2e2a22, #15120e), url("https://images.unsplash.com/photo-1567016432779-094069958ea5?w=900&q=80"); background-blend-mode: multiply; }

.product-info { padding: 24px 22px 26px; }
.product-info h3 { margin-bottom: 4px; transition: color .35s var(--ease-out); }
.product-info p  { font-size: .88rem; margin-bottom: 14px; }
.product-card:hover .product-info h3 { color: var(--c-gold-3); }

/* ══════════════════════════════════════════
   COLLECTION
   ══════════════════════════════════════════ */
.collection { padding: clamp(72px, 10vw, 120px) 0; background: #fff; }

.collection-header {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-tab {
  position: relative;
  padding: 10px 20px;
  font-family: var(--f-sans);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  color: var(--c-muted);
  background: transparent;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.filter-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
  z-index: -1;
  border-radius: inherit;
}
.filter-tab:hover { color: var(--c-ink); border-color: var(--c-ink); transform: translateY(-1px); }
.filter-tab.active {
  color: #fff;
  border-color: var(--c-ink);
}
.filter-tab.active::before { transform: scaleX(1); transform-origin: left; }

.collection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.collection-card {
  position: relative;
  background: var(--c-paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .6s var(--ease-out), transform .6s var(--ease-out);
  will-change: transform;
}
.collection-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.collection-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--c-paper-2) center/cover no-repeat;
  transition: transform 1s var(--ease-out), filter .7s var(--ease-out);
  will-change: transform;
}
.collection-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1s var(--ease-out), filter .7s var(--ease-out);
  will-change: transform;
}
.collection-card:hover .collection-img { transform: scale(1.04); filter: brightness(1.04); }
.collection-card:hover .collection-img::after { transform: scale(1.09); filter: brightness(1.04); }

.collection-img-1::after { background-image: url("../IMG/Paginas%20web%20J&J/closet/25f81da95fed157ef2255a9b8332f96d.jpg"); }
.collection-img-2::after { background-image: url("https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=800&q=80"); }
.collection-img-3::after { background-image: url("https://images.unsplash.com/photo-1567016432779-094069958ea5?w=800&q=80"); }
.collection-img-4::after { background-image: url("https://images.unsplash.com/photo-1615066390971-03e4e1c36ddf?w=800&q=80"); }
.collection-img-5::after { background-image: url("https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?w=800&q=80"); }
.collection-img-6::after { background-image: url("https://images.unsplash.com/photo-1593062096033-9a26b09da705?w=800&q=80"); }
.collection-img-7::after { background-image: url("https://images.unsplash.com/photo-1616627561950-9f746e330187?w=800&q=80"); }
.collection-img-8::after { background-image: url("https://images.unsplash.com/photo-1581539250439-c96689b516dd?w=800&q=80"); }
.collection-img-9::after { background-image: url("https://images.unsplash.com/photo-1493663284031-b7e3aefcae8e?w=800&q=80"); }

.collection-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(10,8,6,.92));
  transform: translateY(100%);
  opacity: .85;
  transition: transform .55s var(--ease-out), opacity .55s var(--ease-out);
  z-index: 2;
}
.collection-card:hover .collection-overlay { transform: translateY(0); opacity: 1; }
.collection-overlay h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 4px;
  transform: translateY(8px);
  transition: transform .6s var(--ease-out) .05s;
}
.collection-overlay p  {
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  transform: translateY(8px);
  transition: transform .6s var(--ease-out) .1s;
}
.collection-card:hover .collection-overlay h3,
.collection-card:hover .collection-overlay p { transform: translateY(0); }

.collection-info { padding: 14px 16px 18px; }
.collection-info h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  transition: color .4s var(--ease-out);
}
.collection-card:hover .collection-info h3 { color: var(--c-gold-3); }
.collection-info p  { font-size: .8rem; }

/* ── Pagination ────────────────────────── */
.collection-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}
.pag-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--c-line);
  background: transparent;
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.pag-btn:hover:not(:disabled) {
  border-color: var(--c-ink);
  background: var(--c-paper-2);
}
.pag-btn.active {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
}
.pag-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.pag-ellipsis {
  padding: 0 4px;
  color: var(--c-muted);
  font-size: .9rem;
  user-select: none;
}

/* ══════════════════════════════════════════
   MATERIALS (dark)
   ══════════════════════════════════════════ */
.materials {
  background: var(--c-ink);
  color: #fff;
  padding: clamp(72px, 10vw, 110px) 0;
  overflow: hidden;
}
.materials-header {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.materials-header h2 { color: #fff; }
.materials-header .eyebrow { color: var(--c-gold); }

.materials-subtitle {
  max-width: 58ch;
  margin: 8px auto 24px;
  color: rgba(255,255,255,.62);
}
.materials-header .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

.materials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 24px;
}
.material-col {
  text-align: center;
  transition: transform .45s var(--ease-out);
}
.material-col:hover { transform: translateY(-2px); }
.material-col h3 {
  font-family: var(--f-display);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 14px;
}
.material-col li {
  font-size: .92rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 6px;
  transition: color .35s var(--ease-out), letter-spacing .35s var(--ease-out);
}
.material-col li:hover { color: var(--c-gold-2); letter-spacing: .04em; }

.material-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-top: 40px;
  border-radius: var(--r-md);
  overflow: hidden;
}
.material-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #1a1814;
}
.material-img::after {
  content: '';
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(.35) contrast(1.05) brightness(.9);
  transition: transform 1s var(--ease-out), filter .6s var(--ease-out);
  will-change: transform;
}
.material-img:hover::after {
  transform: scale(1.1);
  filter: grayscale(0) contrast(1.08) brightness(1.06);
}

.material-img-1::after { background-image: url("https://images.unsplash.com/photo-1618220179428-22790b461013?w=800&q=80"); }
.material-img-2::after { background-image: url("https://images.unsplash.com/photo-1615876234886-fd9a39fda97f?w=800&q=80"); }
.material-img-3::after { background-image: url("https://images.unsplash.com/photo-1556228453-efd6c1ff04f6?w=800&q=80"); }
.material-img-4::after { background-image: url("https://images.unsplash.com/photo-1520637836862-4d197d17c55a?w=800&q=80"); }
.material-img-5::after { background-image: url("https://images.unsplash.com/photo-1540574163026-643ea20ade25?w=800&q=80"); }
.material-img-6::after { background-image: url("https://images.unsplash.com/photo-1567016432779-094069958ea5?w=800&q=80"); }

/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */
.contact { padding: clamp(72px, 10vw, 120px) 0; background: var(--c-paper); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

.contact-info h2 { margin-bottom: 18px; }
.contact-info > p { max-width: 52ch; margin-bottom: 36px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  transition: transform .4s var(--ease-out);
}
.contact-detail:hover { transform: translateX(4px); }
.contact-detail-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  transition: border-color .45s var(--ease-out), box-shadow .45s var(--ease-out), transform .45s var(--ease-out);
}
.contact-detail:hover .contact-detail-icon {
  border-color: var(--c-gold);
  box-shadow: 0 10px 24px -14px rgba(237,181,88,.5);
  transform: rotate(-3deg);
}
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail span    { font-family: var(--f-sans); display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 4px; }
.contact-detail p       { color: var(--c-ink); font-size: .95rem; line-height: 1.5; }

.contact-map {
  margin-top: 28px;
  aspect-ratio: 16/9;
  background:
    repeating-linear-gradient(45deg, var(--c-paper-2) 0 12px, var(--c-paper) 12px 24px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  color: var(--c-muted);
  font-size: .82rem;
  transition: border-color .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.contact-map:hover { border-color: var(--c-gold); box-shadow: 0 16px 40px -22px rgba(237,181,88,.35); }

/* Form */
.contact-form {
  background: #fff;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-soft);
}
.contact-form h3 {
  font-size: 1.7rem;
  margin-bottom: 24px;
  letter-spacing: .01em;
}

.form-group { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.form-group label {
  font-family: var(--f-sans);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
  transition: color .35s var(--ease-out);
}
.form-group:focus-within label { color: var(--c-gold-3); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--c-line);
  background: var(--c-paper);
  font-family: var(--f-sans);
  font-size: .92rem;
  color: var(--c-ink);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color .35s var(--ease-out), background .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.form-group input:hover,
.form-group textarea:hover { border-color: var(--c-muted-2); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--c-gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(237,181,88,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  background: var(--c-ink);
  color: #fff;
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  max-width: 30ch;
  margin-top: 14px;
}
.footer-logo {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: #fff;
}
.footer-logo .amp {
  font-family: var(--f-accent);
  font-weight: 600;
  color: var(--c-gold);
  font-style: italic;
  margin-inline: 2px;
}

.footer-col{
  display: flex;
  flex-direction: column;
}

.footer-col h4 {
  font-family: var(--f-sans);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
  position: relative;
  transition: color .35s var(--ease-out), transform .35s var(--ease-out);
}

.footer-col a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--c-gold);
  transform: translateY(-50%);
  transition: width .4s var(--ease-out);
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(10px);
}

.footer-col a:hover::before {
  width: 6px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.footer-bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  margin: 0;
  letter-spacing: .03em;
  line-height: 1.75;
  width: 100%;
}
.footer-credit-link {
  display: block;
  width: 100%;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.footer-credit-link::selection,
.footer-credit-link *::selection {
  background: var(--c-gold);
  color: var(--c-ink);
}
.footer-credit-sep {
  margin: 0 .4em;
  color: rgba(255,255,255,.22);
}
.footer-credit-brand {
  color: var(--c-gold);
  position: relative;
  display: inline-block;
  transition: color .3s var(--ease-out);
}
.footer-credit-brand::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--c-gold);
  transition: width .35s var(--ease-out);
}
.footer-credit-link:hover .footer-credit-brand { color: #fff; }
.footer-credit-link:hover .footer-credit-brand::after { width: 100%; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.55);
  transition: all .45s var(--ease-out);
}
.footer-social a:hover {
  border-color: var(--c-gold);
  background: var(--c-gold);
  color: var(--c-ink);
  transform: translateY(-3px) rotate(-6deg);
  box-shadow: 0 12px 26px -10px rgba(237,181,88,.55);
}
.footer-social a svg { width: 16px; height: 16px; }

/* ---------- Floating WhatsApp ---------- */

.floating-wa:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 22px 40px -10px rgba(37,211,102,.55), 0 0 0 0 rgba(37,211,102,.6);
}
.floating-wa:active { transform: translateY(-1px) scale(1.02); }
.floating-wa svg {
  width: 28px; height: 28px;
  transition: transform .5s var(--ease-spring);
}
.floating-wa:hover svg { transform: rotate(-8deg); }

@keyframes waPulse {
  0%   { box-shadow: 0 16px 32px -8px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 16px 32px -8px rgba(37,211,102,.45), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 16px 32px -8px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ══════════════════════════════════════════
   REVEAL ANIMATIONS — smooth scroll reveals
   ══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  filter: blur(4px);
  transition:
    opacity .9s var(--ease-out),
    transform .9s var(--ease-out),
    filter .9s var(--ease-out);
  will-change: transform, opacity, filter;
}
.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.reveal-left  { transform: translate3d(-40px, 0, 0); }
.reveal-right { transform: translate3d(40px, 0, 0); }
.reveal-scale { transform: scale(.94); }
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible { transform: translate3d(0, 0, 0) scale(1); }

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* Stagger cards inside grids after first visibility */
.featured-grid .product-card.reveal.visible,
.collection-grid .collection-card.reveal.visible { transition-duration: .85s; }

/* ══════════════════════════════════════════
   PREMIUM MOTION LAYER
   Scroll progress · stagger · magnetic · tilt · shine
   ══════════════════════════════════════════ */

/* ---------- Scroll progress bar (inyectada por JS) ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(10,10,10,.06);
  z-index: 1100;
  pointer-events: none;
}
.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-gold-3), var(--c-gold), var(--c-gold-2));
  background-size: 200% 100%;
  box-shadow: 0 0 12px rgba(237,181,88,.55);
  animation: progressShine 4s linear infinite;
  transition: width .12s linear;
}
@keyframes progressShine {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ---------- Stagger automático con --i ---------- */
.stagger-children > .reveal {
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* ---------- Magnetic buttons (vars seteados por JS) ---------- */
.btn-primary,
.btn-gold,
.whatsapp-cta,
.floating-wa {
  transition: transform .35s var(--ease-spring), box-shadow .4s var(--ease-out), background .4s var(--ease-out);
  will-change: transform;
}
.btn-primary:hover,
.btn-gold:hover,
.whatsapp-cta:hover,
.floating-wa:hover {
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) translateY(-3px);
}

/* ---------- Shine sweep en botones primarios ---------- */
.btn-primary,
.btn-gold {
  position: relative;
  overflow: hidden;
}
.btn-primary::after,
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255,255,255,.45) 50%,
    transparent 100%);
  transform: skewX(-22deg);
  transition: left .9s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover::after,
.btn-gold:hover::after { left: 130%; }

/* ---------- Tilt 3D para collection cards ---------- */
.collection-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
  will-change: transform;
}
.collection-card:hover {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.collection-card .collection-img,
.collection-card .collection-info { transform: translateZ(20px); }

/* ---------- Eyebrow shimmer ---------- */
.eyebrow {
  position: relative;
  background: linear-gradient(90deg,
    var(--c-gold) 0%, var(--c-gold-2) 50%, var(--c-gold) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: eyebrowShine 6s ease-in-out infinite;
}
@keyframes eyebrowShine {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ---------- Hero accent text shine ---------- */
.hero-title .accent {
  background: linear-gradient(90deg,
    var(--c-gold-3) 0%, var(--c-gold-2) 35%, #fff 50%, var(--c-gold-2) 65%, var(--c-gold-3) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: accentShine 7s ease-in-out infinite;
}
@keyframes accentShine {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ---------- H2 underline gold draw on reveal ---------- */
h2.reveal {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
h2.reveal::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-2));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s .25s var(--ease-out);
}
h2.reveal.visible::after { transform: scaleX(1); }

/* ---------- Featured product cards: image kenburns + lift ---------- */
.product-card .product-img {
  overflow: hidden;
  transition: transform .7s var(--ease-out);
}
.product-card:hover { transform: translateY(-6px); }
.product-card:hover .product-info h3 {
  transform: translateX(2px);
  transition: transform .4s var(--ease-spring), color .4s var(--ease-out);
}

/* ---------- Material columns: float on hover ---------- */
.material-col {
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-out);
}
.material-col:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.material-col li {
  position: relative;
  transition: color .35s var(--ease-out), transform .35s var(--ease-spring), letter-spacing .35s var(--ease-out);
}
.material-col li::before {
  content: '';
  position: absolute;
  left: -14px; top: 50%;
  width: 0; height: 1px;
  background: var(--c-gold);
  transform: translateY(-50%);
  transition: width .35s var(--ease-out);
}
.material-col li:hover { transform: translateX(8px); }
.material-col li:hover::before { width: 10px; }

/* ---------- Material images zoom + saturate ---------- */
.material-img {
  overflow: hidden;
  position: relative;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), filter .55s var(--ease-out);
  filter: saturate(.92);
}
.material-img:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: var(--shadow-lift);
  filter: saturate(1.08);
}
.material-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,.35));
  opacity: 0;
  transition: opacity .5s var(--ease-out);
  pointer-events: none;
}
.material-img:hover::after { opacity: 1; }

/* ---------- Filter tabs: glow when active ---------- */
.filter-tab {
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out), transform .4s var(--ease-spring), box-shadow .4s var(--ease-out);
}
.filter-tab.active {
  box-shadow: 0 8px 22px -10px rgba(237,181,88,.55);
}
.filter-tab:not(.active):hover { transform: translateY(-2px); }

/* ---------- Pagination buttons ---------- */
.pag-btn {
  transition: transform .35s var(--ease-spring), background .3s var(--ease-out), color .3s var(--ease-out), box-shadow .35s var(--ease-out);
}
.pag-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -10px rgba(10,10,10,.35);
}
.pag-btn.active {
  box-shadow: 0 10px 24px -12px rgba(237,181,88,.6);
}

/* ---------- Nav links: animated underline ---------- */
.nav-links a {
  position: relative;
  padding-bottom: 4px;
  transition: color .35s var(--ease-out);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-2));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ---------- Floating WA: idle pulse + bounce ---------- */
.floating-wa {
  animation: waPulse 2.6s ease-in-out infinite, waFloat 4s ease-in-out infinite;
}
@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ---------- Contact form fields: focus glow ---------- */
.form-group input,
.form-group textarea {
  transition: border-color .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out), transform .25s var(--ease-out);
}
.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(237,181,88,.18), 0 8px 22px -14px rgba(237,181,88,.55);
  transform: translateY(-1px);
}

/* ---------- Footer social icons rotate + lift ---------- */
.footer-social a {
  transition: transform .5s var(--ease-spring), color .35s var(--ease-out), background .35s var(--ease-out);
}
.footer-social a:hover { transform: translateY(-4px) rotate(-8deg) scale(1.1); }

/* ---------- Section gentle entrance: subtle blur lift on entire blocks ---------- */
section { transition: filter .8s var(--ease-out); }

/* ---------- Hero badge subtle bob ---------- */
.hero-badge img {
  animation: heroBadgeBob 6s ease-in-out infinite;
}
@keyframes heroBadgeBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ---------- About image kenburns ---------- */
.about-image {
  overflow: hidden;
  transition: transform 1.4s var(--ease-out);
}
.about-image:hover { transform: scale(1.03); }

/* ---------- Quote card lift on hover ---------- */
.quote-card {
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-out);
}
.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

/* ---------- Feature cols stagger float ---------- */
.feature-col {
  transition: transform .5s var(--ease-spring);
}
.feature-col:hover {
  transform: translateY(-6px);
}
.feature-col:hover .feature-icon {
  transform: rotate(-6deg) scale(1.08);
  color: var(--c-gold-2);
}
.feature-icon {
  transition: transform .55s var(--ease-spring), color .35s var(--ease-out);
}

/* ---------- Link arrow: arrow slide ---------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .35s var(--ease-out), color .35s var(--ease-out);
}
.link-arrow svg {
  transition: transform .45s var(--ease-spring);
}
.link-arrow:hover { gap: 14px; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Reveal blur-zoom variant ---------- */
.reveal-zoom { transform: scale(1.06) translate3d(0, 24px, 0); }
.reveal-zoom.visible { transform: scale(1) translate3d(0, 0, 0); }

/* ══════════════════════════════════════════
   SCROLL-DRIVEN MOTION
   Parallax · word reveal · section progress · scroll direction
   ══════════════════════════════════════════ */

/* ---------- Parallax genérico (vars setea JS) ---------- */
[data-parallax] {
  will-change: transform;
  transform: translate3d(0, var(--parallaxY, 0), 0);
  transition: transform .08s linear;
}

/* ---------- Word reveal (split de títulos) ---------- */
.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 18px, 0) rotate(2deg);
  filter: blur(6px);
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out),
    filter .7s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 60ms);
  will-change: transform, opacity, filter;
}
.words-visible .word-reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0);
  filter: blur(0);
}

/* ---------- Navbar shrink al pasar el hero ---------- */
html[data-past-hero="1"] .navbar {
  padding: 8px 0;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  box-shadow: 0 14px 30px -22px rgba(10,10,10,.25);
}

/* ---------- Hero zoom-out + fade al hacer scroll ---------- */
.hero {
  --secProgress: 0;
}
.hero .hero-image {
  transform:
    translate3d(0, calc(var(--secProgress, 0) * 40px), 0)
    scale(calc(1 + var(--secProgress, 0) * 0.06));
  filter: brightness(calc(1 - var(--secProgress, 0) * 0.25));
  transition: transform .12s linear, filter .25s linear;
}
.hero .hero-content {
  opacity: calc(1 - var(--secProgress, 0) * 1.4);
  transform: translate3d(0, calc(var(--secProgress, 0) * -30px), 0);
  transition: opacity .15s linear, transform .15s linear;
}

/* ---------- Section dorado progreso (líneas decorativas según scroll) ---------- */
.about::before,
.featured::before,
.collection::before,
.materials::before,
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: calc(var(--secProgress, 0) * 100%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  opacity: .35;
  pointer-events: none;
  z-index: 5;
  transition: width .15s linear;
}
.about, .featured, .collection, .materials, .contact { position: relative; }

/* ---------- Scroll direction: efecto sutil al subir ---------- */
html[data-scroll-dir="up"] .reveal.visible {
  /* mantiene el estado, pero suaviza al regresar */
  transition-duration: 1.1s;
}

/* ---------- Floating WA aparece tras pasar el hero ---------- */
.floating-wa {
  opacity: 0;
  transform: translateY(20px) scale(.85);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-spring);
  pointer-events: none;
}
html[data-past-hero="1"] .floating-wa {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ---------- Collection card image kenburns continuo en viewport ---------- */
.collection-card.reveal.visible .collection-img {
  animation: cardKenburns 14s ease-in-out infinite alternate;
}
@keyframes cardKenburns {
  0%   { background-size: 105%; background-position: 50% 50%; }
  100% { background-size: 115%; background-position: 52% 48%; }
}

/* ---------- Reveal: variante up-scale para imgs ---------- */
.material-img.reveal {
  transform: translate3d(0, 40px, 0) scale(.94);
}
.material-img.reveal.visible {
  transform: translate3d(0, 0, 0) scale(1);
}

/* ---------- Reveal: about-text párrafos con desplazamiento extra ---------- */
.about-text > p.reveal {
  transition-duration: 1.1s;
}

/* ---------- Reveal: footer columnas con cascada ---------- */
.footer-grid.stagger-children > .reveal {
  transition-delay: calc(var(--i, 0) * 110ms);
}

/* ---------- Hero badge: fade al hacer scroll ---------- */
.hero-badge {
  opacity: calc(1 - var(--secProgress, 0) * 1.6) !important;
}

/* ---------- Tabs: indicar progreso de sección colección con shimmer ---------- */
.collection .filter-tab.active::before {
  background: linear-gradient(90deg,
    var(--c-gold-3) 0%, var(--c-gold-2) 50%, var(--c-gold-3) 100%);
  background-size: 200% 100%;
  animation: tabShine 3s ease-in-out infinite;
}
@keyframes tabShine {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .hero-image { animation: none; }
  .floating-wa { animation: none; opacity: 1; transform: none; pointer-events: auto; }
  .word-reveal { opacity: 1; transform: none; filter: none; }
  [data-parallax] { transform: none; }
  .hero .hero-image, .hero .hero-content, .hero-badge { transform: none !important; opacity: 1 !important; filter: none !important; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — mobile first ascending
   ══════════════════════════════════════════ */

/* ≥ 640px — phablet */
@media (min-width: 640px) {
  .materials-grid { grid-template-columns: repeat(3, 1fr); }
  .material-images { grid-template-columns: repeat(3, 1fr); }
  .form-row        { grid-template-columns: 1fr 1fr; }
}

/* ≥ 768px — tablet */
@media (min-width: 768px) {
  .container        { padding-inline: 32px; }
  .hero-content     { padding: 130px 24px 140px; }
  .hero-badge       { width: 140px; height: 140px; }

  .featured-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 22px;
  }
  .product-card.large  { grid-row: span 2; }
  .product-card.large .product-img { aspect-ratio: 3/4; height: auto; }

  .collection-grid  { grid-template-columns: repeat(2, 1fr); }

  .about-features   { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  .footer-grid      { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-bottom    { flex-direction: row; text-align: left; }
}

/* ≥ 960px — small laptop: navbar full + about becomes 2 col */
@media (min-width: 960px) {
  .nav-links        { display: flex; }
  .nav-hamburger    { display: none; }

  .about-grid {
    grid-template-columns: minmax(300px, 44%) 1fr;
    gap: 72px;
  }

  .contact-grid     { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ≥ 1180px — desktop */
@media (min-width: 1180px) {
  .collection-grid  { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .about-grid       { gap: 96px; }
}

/* ≥ 960px — fuerza 3 columnas en escritorio */
@media (min-width: 960px) {
  .collection-grid  { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* < 960px — mobile nav toggle on */
@media (max-width: 959.9px) {
  .nav-links        { display: none; }
  .nav-hamburger    { display: flex; }
}



.floating-wa{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
  z-index: 999;
}

.floating-wa i{
  font-size: 2.5rem;
  line-height: 1;
  color: #fff;
}

/* ══════════════════════════════════════════
   ABOUT — responsive móvil refinado
   Cards (about-image y quote-card) al 100% del ancho
   respetando el padding lateral del container
   ══════════════════════════════════════════ */
@media (max-width: 959.9px) {
  .about-grid       { gap: 36px; }
  .about-visual     { width: 100%; }
  .about-image      { width: 100%; aspect-ratio: 4/5; }

  .quote-card {
    width: 100%;
    margin: -64px 0 0;
    padding: 26px 22px 24px;
  }

  .quote-cta-row {
    gap: 12px;
    padding: 8px 10px 8px 12px;
  }

  .about-features { grid-template-columns: 1fr; gap: 22px; }
}

/* ≤ 768px — collapse a 1 col, cards full-width sin márgenes laterales */
@media (max-width: 767.9px) {
  .about-grid       { gap: 28px; }
  .about-image      { aspect-ratio: 4/5; border-radius: var(--r-md); }

  .quote-card {
    margin: -48px 0 0;
    padding: 22px 18px 20px;
    border-radius: var(--r-md);
  }
  .quote-card h3      { font-size: 1.25rem; }
  .quote-kicker       { font-size: .62rem; letter-spacing: .26em; margin-bottom: 14px; }

  .whatsapp-cta       { gap: 12px; padding: 11px 14px 11px 12px; }
  .wa-icon            { width: 38px; height: 38px; }
  .wa-label           { font-size: .58rem; letter-spacing: .22em; }
  .wa-number          { font-size: 1rem; }
  .wa-arrow           { width: 16px; height: 16px; }

  .quote-divider      { margin: 18px 0 14px; font-size: .62rem; letter-spacing: .24em; }
  .qr-frame           { width: 180px; height: 180px; padding: 12px; }
  .qr-hint            { font-size: .74rem; }

  .about-text p       { font-size: .9rem; max-width: 100%; }
  .about-divider {
    margin: 28px auto 22px;
    width: 60%;
    background: linear-gradient(90deg, transparent, rgba(237,181,88,.45), transparent);
  }
  .feature-col h4     { font-size: .88rem; }
  .feature-col p      { font-size: .82rem; max-width: 100%; }

  /* ── Centrar todo el contenido del about en móvil ── */
  .about-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about-text .eyebrow,
  .about-title,
  .about-text p,
  .about-close { margin-left: auto; margin-right: auto; }

  .about-features { justify-items: center; }
  .feature-col {
    align-items: center;
    text-align: center;
  }
  .feature-col h4,
  .feature-col p { margin-left: auto; margin-right: auto; }

  .wa-text       { align-items: center; text-align: center; }
}

/* ══════════════════════════════════════════
   COLLECTION — filtros refinados móvil/tablet
   ══════════════════════════════════════════ */

/* ≤ 959px — tablet: scroll horizontal con snap */
@media (max-width: 959.9px) {
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    gap: 10px;
    padding: 6px 4px 12px;
    margin-inline: -20px;
    padding-inline: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
            -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  }
  .filter-tabs::-webkit-scrollbar { display: none; }

  .filter-tab {
    flex-shrink: 0;
    scroll-snap-align: center;
    padding: 10px 18px;
    font-size: .76rem;
    letter-spacing: .06em;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--c-line);
    transition:
      background .35s var(--ease-out),
      color .35s var(--ease-out),
      border-color .35s var(--ease-out),
      transform .35s var(--ease-spring),
      box-shadow .35s var(--ease-out);
  }
  .filter-tab.active {
    background: var(--c-ink);
    color: #fff;
    border-color: var(--c-ink);
    box-shadow: 0 8px 22px -10px rgba(10,10,10,.45);
  }
}

/* ≤ 767px — móvil: filtros más compactos y elegantes */
@media (max-width: 767.9px) {
  .collection { padding: clamp(56px, 12vw, 88px) 0; }

  .collection-header { margin-bottom: 22px; }

  .filter-tabs {
    gap: 8px;
    margin-bottom: 26px;
    margin-inline: -16px;
    padding-inline: 16px;
  }
  .filter-tab {
    padding: 9px 16px;
    font-size: .72rem;
    letter-spacing: .05em;
  }

  .collection-grid { gap: 16px; }

  .collection-pagination {
    gap: 6px;
    margin-top: 28px;
  }
}

/* ≤ 480px — mobile pequeño: ajuste fino */
@media (max-width: 479.9px) {
  .filter-tabs {
    margin-bottom: 22px;
    gap: 6px;
  }
  .filter-tab {
    padding: 8px 14px;
    font-size: .7rem;
  }
}

/* ══════════════════════════════════════════
   MATERIALS — accordion responsive (móvil/tablet)
   ══════════════════════════════════════════ */
@media (max-width: 959.9px) {
  .materials { padding: clamp(56px, 10vw, 88px) 0; }

  .materials-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 28px;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .material-col {
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: background .45s var(--ease-out);
  }
  .material-col:hover { transform: none; }
  .material-col[data-open="true"] { background: rgba(237,181,88,.04); }

  .material-col h3 {
    position: relative;
    margin: 0;
    padding: 18px 44px 18px 4px;
    font-size: .82rem;
    letter-spacing: .26em;
    cursor: pointer;
    user-select: none;
    transition: color .35s var(--ease-out), padding .35s var(--ease-out);
  }
  .material-col h3:hover { color: var(--c-gold-2); }

  /* Chevron animado */
  .material-col h3::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 1.5px solid var(--c-gold);
    border-bottom: 1.5px solid var(--c-gold);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .45s var(--ease-spring), border-color .35s var(--ease-out);
  }
  .material-col[data-open="true"] h3::after {
    transform: translateY(-30%) rotate(-135deg);
    border-color: var(--c-gold-2);
  }

  /* Lista colapsada por defecto */
  .material-col ul {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 4px;
    transition:
      max-height .55s var(--ease-out),
      opacity .35s var(--ease-out),
      padding .35s var(--ease-out),
      margin .35s var(--ease-out);
  }
  .material-col[data-open="true"] ul {
    max-height: 320px;
    opacity: 1;
    padding: 4px 4px 18px;
  }

  .material-col li {
    padding: 8px 0;
    margin: 0;
    font-size: .92rem;
    border-bottom: 1px dashed rgba(255,255,255,.06);
    color: rgba(255,255,255,.78);
    transform: translateX(-8px);
    opacity: 0;
    transition:
      color .3s var(--ease-out),
      transform .45s var(--ease-out),
      opacity .35s var(--ease-out),
      letter-spacing .3s var(--ease-out);
  }
  .material-col li:last-child { border-bottom: none; }
  .material-col[data-open="true"] li {
    transform: translateX(0);
    opacity: 1;
  }
  .material-col[data-open="true"] li:nth-child(1) { transition-delay: .08s; }
  .material-col[data-open="true"] li:nth-child(2) { transition-delay: .14s; }
  .material-col[data-open="true"] li:nth-child(3) { transition-delay: .20s; }
  .material-col[data-open="true"] li:nth-child(4) { transition-delay: .26s; }

  /* Material images: scroll horizontal con snap (ahorra altura) */
  .material-images {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    margin-top: 32px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -20px;
    padding: 6px 20px 14px;
    border-radius: 0;
    mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
            -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  }
  .material-images::-webkit-scrollbar { display: none; }
  .material-images .material-img {
    flex: 0 0 70%;
    aspect-ratio: 4/5;
    border-radius: var(--r-md);
    scroll-snap-align: center;
    overflow: hidden;
  }
}

/* ≤ 767px — móvil: header centrado y márgenes optimizados */
@media (max-width: 767.9px) {
  .materials-header h2 { margin-bottom: 12px; }
  .materials-subtitle  { font-size: .9rem; max-width: 38ch; margin-inline: auto; }

  .material-col h3   { padding: 16px 40px 16px 2px; font-size: .78rem; letter-spacing: .24em; }
  .material-col li   { font-size: .88rem; padding: 7px 0; }

  .material-images { margin-inline: -16px; padding: 6px 16px 12px; }
  .material-images .material-img { flex-basis: 78%; }
}


/* ≤ 480px — pulido extremo: cards al máximo aprovechamiento del ancho */
@media (max-width: 479.9px) {
  .about-grid       { gap: 24px; }
  .about-image      { aspect-ratio: 1/1; }

  .quote-card {
    margin: -40px 0 0;
    padding: 20px 16px 18px;
  }
  .quote-card h3      { font-size: 1.12rem; }
  .quote-kicker       { font-size: .58rem; }

  .whatsapp-cta       { gap: 10px; padding: 10px 12px 10px 10px; }
  .wa-icon            { width: 34px; height: 34px; }
  .wa-label           { font-size: .54rem; }
  .wa-number          { font-size: .94rem; }
  .wa-arrow           { width: 14px; height: 14px; }

  .qr-frame           { width: 168px; height: 168px; padding: 11px; }
  .qr-hint            { font-size: .72rem; }
}

/* ══════════════════════════════════════════
   FOOTER — rediseño móvil/tablet refinado
   ══════════════════════════════════════════ */
@media (max-width: 959.9px) {
  .footer {
    padding: 56px 0 24px;
    position: relative;
    overflow: hidden;
  }
  /* Glow dorado sutil en el footer */
  .footer::before {
    content: '';
    position: absolute;
    inset: -1px 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(237,181,88,.55), transparent);
  }
  .footer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 320px;
    background: radial-gradient(ellipse at center, rgba(237,181,88,.08) 0%, transparent 60%);
    pointer-events: none;
  }
  .footer .container { position: relative; z-index: 1; }

  /* Brand centrado, full-width */
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 4px;
  }
  .footer-brand .flex { justify-content: center; display: flex; }
  .footer-brand img {
    width: 64px !important;
    margin: 0 auto;
    transition: transform .6s var(--ease-spring);
  }
  .footer-brand img:hover { transform: scale(1.06) rotate(-3deg); }
  .footer-brand p {
    margin: 16px auto 0;
    max-width: 38ch;
    font-size: .86rem;
    line-height: 1.65;
    color: rgba(255,255,255,.55);
  }

  /* Grid 2 columnas con cards mini */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 32px;
  }

  .footer-col {
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    padding: 18px 16px 16px;
    position: relative;
    transition:
      background .4s var(--ease-out),
      border-color .4s var(--ease-out),
      transform .4s var(--ease-spring);
  }
  .footer-col::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(237,181,88,.4), transparent 50%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s var(--ease-out);
    pointer-events: none;
  }
  .footer-col:hover {
    background: rgba(237,181,88,.04);
    border-color: rgba(237,181,88,.18);
    transform: translateY(-2px);
  }
  .footer-col:hover::before { opacity: 1; }

  .footer-col h4 {
    font-size: .66rem;
    letter-spacing: .24em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(237,181,88,.18);
    color: var(--c-gold-2);
  }
  .footer-col a {
    font-size: .82rem;
    margin-bottom: 7px;
    padding: 4px 0;
    color: rgba(255,255,255,.7);
    transition: color .3s var(--ease-out), transform .35s var(--ease-out), letter-spacing .35s var(--ease-out);
  }
  .footer-col a::before { display: none; }
  .footer-col a:hover {
    transform: translateX(4px);
    color: var(--c-gold-2);
    letter-spacing: .02em;
  }

  /* Bottom: stack centrado con social grande */
  .footer-bottom {
    flex-direction: column-reverse;
    gap: 20px;
    padding-top: 24px;
    text-align: center;
  }
  .footer-bottom p {
    font-size: .72rem;
    line-height: 1.6;
    max-width: 32ch;
    margin: 0 auto;
    color: rgba(255,255,255,.4);
  }

  .footer-social {
    gap: 14px;
    justify-content: center;
  }
  .footer-social a {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(237,181,88,.25);
    background: rgba(255,255,255,.02);
    color: rgba(255,255,255,.7);
    transition:
      transform .45s var(--ease-spring),
      border-color .35s var(--ease-out),
      background .35s var(--ease-out),
      color .35s var(--ease-out),
      box-shadow .45s var(--ease-out);
  }
  .footer-social a svg { width: 18px; height: 18px; }
  .footer-social a:active { transform: scale(.92); }
}

/* ≤ 480px — mobile pequeño: grid de 2 col más compacto */
@media (max-width: 479.9px) {
  .footer { padding: 44px 0 22px; }

  .footer-brand img { width: 56px !important; }
  .footer-brand p   { font-size: .82rem; max-width: 32ch; }

  .footer-grid { gap: 10px; margin-bottom: 26px; }

  .footer-col      { padding: 16px 13px 13px; border-radius: 12px; }
  .footer-col h4   { font-size: .62rem; margin-bottom: 10px; padding-bottom: 7px; }
  .footer-col a    { font-size: .78rem; margin-bottom: 6px; }

  .footer-social a { width: 40px; height: 40px; }
  .footer-social a svg { width: 16px; height: 16px; }

  .footer-bottom p { font-size: .68rem; }
}


