/* PLANZ Rental Props — Design System v1 */

/* ── Variables ──────────────────────────────── */
:root {
  --rosa:        #D98F99;
  --rosa-suave:  #E2A7AF;
  --rosa-acento: #C97885;
  --marfil:      #F8F3EF;
  --marfil-deep: #EDE5DC;
  --sage:        #B7C3BA;
  --sage-deep:   #97A79C;
  --texto:       #2B2626;
  --vino:        #8F5A66;
  --oscuro:      #1A1615;
  --oscuro-warm: #221819;

  --ff-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;

  --sv: clamp(64px, 9vw, 120px);
  --gutter: clamp(20px, 5vw, 72px);
  --container: 1400px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: var(--ff-body);
  background: var(--marfil);
  color: var(--texto);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Layout ─────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--sv) 0; }
.section--dark { background: var(--oscuro); }
.section--ivory { background: var(--marfil-deep); }

/* ── Typography ─────────────────────────────── */
.t-label {
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.t-display {
  font-family: var(--ff-display);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.t-headline {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.15;
}

/* ── Navigation ─────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: background 0.4s var(--ease), padding 0.3s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(248,243,239,0.96);
  backdrop-filter: blur(12px);
  padding-top: 14px; padding-bottom: 14px;
  border-bottom-color: rgba(43,38,38,0.08);
}
.nav-logo { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-word {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--rosa);
  letter-spacing: 0.1em;
}
.nav-logo-sub {
  font-family: var(--ff-body);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--rosa);
  margin-top: 1px;
  opacity: 0.85;
}
.nav.on-dark .nav-logo-word,
.nav.on-dark .nav-logo-sub { color: var(--rosa-suave); }

.nav-links {
  display: flex; gap: 36px;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
}
.nav.on-dark .nav-links a { color: rgba(248,243,239,0.75); }
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0; height: 1px;
  background: var(--rosa);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 22px;
  border: 1px solid var(--rosa);
  color: var(--rosa);
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--rosa); color: white; }
.nav.on-dark .nav-cta { border-color: var(--rosa-suave); color: var(--rosa-suave); }

.nav-mobile-btn {
  display: none;
  flex-direction: column; gap: 5px; width: 26px; cursor: pointer;
}
.nav-mobile-btn span {
  display: block; height: 1px; background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}
.nav.on-dark .nav-mobile-btn { color: var(--marfil); }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 32px;
  transition: all 0.28s var(--ease);
  cursor: pointer;
}
.btn--primary { background: var(--rosa); color: white; border: 1px solid var(--rosa); }
.btn--primary:hover { background: var(--rosa-acento); border-color: var(--rosa-acento); }
.btn--outline { border: 1px solid var(--texto); color: var(--texto); }
.btn--outline:hover { background: var(--texto); color: var(--marfil); }
.btn--ghost-light { border: 1px solid rgba(248,243,239,0.5); color: rgba(248,243,239,0.85); }
.btn--ghost-light:hover { background: rgba(248,243,239,0.12); }
.btn--wa { background: #25D366; color: white; border: 1px solid #25D366; }
.btn--wa:hover { background: #20b958; border-color: #20b958; }
.btn--arrow::after { content: '→'; transition: margin-left 0.2s; }
.btn--arrow:hover::after { margin-left: 6px; }

/* ── Section header ─────────────────────────── */
.sh { margin-bottom: clamp(40px, 5vw, 72px); }
.sh--center { text-align: center; }
.sh--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.sh-eyebrow { color: var(--rosa); margin-bottom: 10px; }
.sh-title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.sh-title--light { color: var(--marfil); }
.sh-desc {
  font-size: 0.9rem;
  color: rgba(43,38,38,0.6);
  max-width: 540px;
  margin-top: 14px;
  line-height: 1.75;
}
.sh-desc--light { color: rgba(248,243,239,0.55); }
.sh-rule { border: none; border-top: 1px solid rgba(43,38,38,0.1); margin-bottom: 64px; }

/* ── Hero ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--oscuro);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 65% 35%, rgba(217,143,153,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 55% 70% at 20% 75%, rgba(143,90,102,0.09) 0%, transparent 55%),
    linear-gradient(150deg, #1C1314 0%, #221819 55%, #1A1615 100%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(217,143,153,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}
/* ── Scene props layer (revealed by spotlight) ── */
.hero-scene {
  position: absolute; inset: 0; pointer-events: none;
  z-index: 1; overflow: hidden;
}
.scene-prop { position: absolute; }

/* Floor lamp — right side */
.scene-lamp { right: 18%; bottom: 5%; display: flex; flex-direction: column; align-items: center; }
.scene-lamp-shade {
  width: 68px; height: 54px;
  background: rgba(185,120,82,0.82);
  clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
}
.scene-lamp-stem { width: 5px; height: 155px; background: rgba(155,115,82,0.68); }
.scene-lamp-base { width: 52px; height: 10px; background: rgba(155,115,82,0.65); border-radius: 50%; }

/* Vase — left area */
.scene-vase {
  left: 24%; bottom: 13%; width: 48px; height: 98px;
  background: rgba(142,108,86,0.75);
  clip-path: polygon(25% 0%,75% 0%,90% 20%,100% 75%,88% 93%,60% 100%,40% 100%,12% 93%,0% 75%,10% 20%);
}

/* Picture frame — upper left */
.scene-frame {
  left: 10%; top: 18%; width: 104px; height: 80px;
  border: 4px solid rgba(162,122,88,0.6);
}
.scene-frame::before {
  content: '';
  position: absolute; inset: 7px;
  border: 1px solid rgba(162,122,88,0.28);
}

/* Candle group — right center */
.scene-candles { right: 30%; top: 26%; display: flex; align-items: flex-end; gap: 10px; }
.scene-candle { width: 9px; background: rgba(198,158,108,0.75); border-radius: 1px 1px 0 0; }

/* Warm fill inside spotlight beam */
.hero-spot-warm {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(
    circle 340px at var(--cx, 60%) var(--cy, 42%),
    rgba(255,248,210,0.18) 0%,
    rgba(230,182,118,0.07) 45%,
    transparent 65%
  );
  z-index: 2;
}

/* Fresnel-style veil — hard spotlight edge */
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(
    circle 200px at var(--cx, 60%) var(--cy, 42%),
    transparent 0%,
    transparent 38%,
    rgba(5,2,1,0.52) 56%,
    rgba(5,2,1,0.95) 76%,
    rgba(5,2,1,0.99) 100%
  );
  z-index: 3;
}
.hero-footer-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to top, rgba(26,22,21,0.8) 0%, transparent 100%);
  pointer-events: none; z-index: 2;
}
.hero-content {
  position: relative; z-index: 3;
  text-align: center;
  padding: 0 var(--gutter);
  max-width: 960px;
}
.hero-brand {
  display: inline-flex; flex-direction: column; align-items: center;
  margin-bottom: 40px;
}
.hero-brand-word {
  font-family: var(--ff-display);
  font-size: clamp(72px, 10vw, 160px);
  font-weight: 600;
  color: var(--rosa-suave);
  letter-spacing: 0.12em;
  line-height: 0.9;
}
.hero-brand-sub {
  font-family: var(--ff-body);
  font-size: clamp(9px, 1vw, 13px);
  font-weight: 300;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--rosa-suave);
  opacity: 0.7;
  margin-top: 6px;
}
.hero-tagline {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 300;
  font-style: italic;
  color: rgba(248,243,239,0.65);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.5;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(248,243,239,0.35);
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(248,243,239,0.4), transparent);
  animation: scroll-tick 2.2s ease-in-out infinite;
}
@keyframes scroll-tick {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.9; }
}

/* ── Category cards grid ─────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 550px)  { .cat-grid { grid-template-columns: 1fr 1fr; } }

.cat-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.cat-card-img {
  position: absolute; inset: 0;
  transition: transform 0.7s var(--ease);
}
.cat-card:hover .cat-card-img { transform: scale(1.07); }
.cat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,22,21,0.88) 0%, rgba(26,22,21,0.15) 50%, transparent 100%);
  transition: opacity 0.4s;
}
.cat-card:hover .cat-card-overlay { opacity: 1.3; }
.cat-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 20px;
  z-index: 2;
}
.cat-card-eye { color: var(--rosa-suave); margin-bottom: 5px; font-size: 0.62rem; }
.cat-card-name {
  font-family: var(--ff-display);
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 400;
  color: white;
  line-height: 1.15;
}
.cat-card-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-top: 0;
  max-height: 0; overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s var(--ease), opacity 0.4s, margin-top 0.3s;
}
.cat-card:hover .cat-card-desc { max-height: 60px; opacity: 1; margin-top: 8px; }
.cat-card-link {
  display: inline-block;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--rosa-suave);
  margin-top: 12px;
  opacity: 0;
  transition: opacity 0.4s;
}
.cat-card:hover .cat-card-link { opacity: 1; }

/* ── Placeholder backgrounds ─────────────────── */
.ph { width: 100%; height: 100%; }
.ph-muebles  { background: linear-gradient(145deg, #3B2C26 0%, #5A3D33 55%, #2A1E1A 100%); }
.ph-luz      { background: linear-gradient(145deg, #3D2C1C 0%, #5C3F22 55%, #2A1E12 100%); }
.ph-props    { background: linear-gradient(145deg, #1E2D27 0%, #2D3F38 55%, #182320 100%); }
.ph-arte     { background: linear-gradient(145deg, #2B1E2D 0%, #3D2A40 55%, #201625 100%); }
.ph-menaje   { background: linear-gradient(145deg, #2E2A1E 0%, #3F3822 55%, #241E16 100%); }
.ph-textiles { background: linear-gradient(145deg, #28302A 0%, #374035 55%, #1E2620 100%); }
.ph-retro    { background: linear-gradient(145deg, #1E2228 0%, #2B3040 55%, #181C28 100%); }
.ph-objetos  { background: linear-gradient(145deg, #2E1F27 0%, #402A38 55%, #261820 100%); }
.ph-atm-living    { background: linear-gradient(145deg, #3A2A20 0%, #554030 100%); }
.ph-atm-dormitorio{ background: linear-gradient(145deg, #2A2035 0%, #3A2D4A 100%); }
.ph-atm-exterior  { background: linear-gradient(145deg, #1E2C22 0%, #2A3D2D 100%); }
.ph-atm-estudio   { background: linear-gradient(145deg, #2C2520 0%, #40342C 100%); }
.ph-escena-1 { background: linear-gradient(160deg, #2A1C1A 0%, #4A2E2A 100%); }
.ph-escena-2 { background: linear-gradient(160deg, #1A2025 0%, #2A3040 100%); }
.ph-escena-3 { background: linear-gradient(160deg, #202A20 0%, #303D30 100%); }

/* Product images */
.ph-luz-001 { background: radial-gradient(ellipse at 50% 70%, #C8845A 0%, #7A3A22 50%, #2A1408 100%); }
.ph-luz-002 { background: radial-gradient(ellipse at 40% 30%, #B8BDC5 0%, #6A7280 55%, #242832 100%); }
.ph-luz-003 { background: radial-gradient(ellipse at 50% 60%, #C8A040 0%, #8A6018 55%, #2A2008 100%); }
.ph-luz-004 { background: radial-gradient(ellipse at 50% 55%, #C0A882 0%, #7A6040 55%, #2A2015 100%); }
.ph-luz-005 { background: radial-gradient(ellipse at 50% 45%, #9AB0A0 0%, #5A7865 55%, #1E2A22 100%); }
.ph-luz-006 { background: radial-gradient(ellipse at 60% 50%, #C89858 0%, #8A5020 55%, #2A1808 100%); }

/* Muebles */
.ph-mob-001 { background: radial-gradient(ellipse at 50% 60%, #8A5A38 0%, #4A2C18 55%, #1E1008 100%); }
.ph-mob-002 { background: radial-gradient(ellipse at 40% 50%, #5A3A28 0%, #3A2015 55%, #180E08 100%); }
.ph-mob-003 { background: radial-gradient(ellipse at 50% 40%, #8A8E95 0%, #4A5058 55%, #1E2228 100%); }
.ph-mob-004 { background: radial-gradient(ellipse at 50% 55%, #A87850 0%, #6A4828 55%, #281808 100%); }
.ph-mob-005 { background: radial-gradient(ellipse at 45% 55%, #A89050 0%, #6A5828 55%, #281E08 100%); }
.ph-mob-006 { background: radial-gradient(ellipse at 50% 50%, #C8A878 0%, #886848 55%, #382818 100%); }

/* Utilería */
.ph-uti-001 { background: radial-gradient(ellipse at 50% 55%, #C09060 0%, #7A5830 55%, #302010 100%); }
.ph-uti-002 { background: radial-gradient(ellipse at 40% 45%, #9A9890 0%, #5A5850 55%, #202018 100%); }
.ph-uti-003 { background: radial-gradient(ellipse at 50% 50%, #A02028 0%, #601018 55%, #200810 100%); }
.ph-uti-004 { background: radial-gradient(ellipse at 50% 50%, #808890 0%, #405060 55%, #182028 100%); }
.ph-uti-005 { background: radial-gradient(ellipse at 50% 50%, #C8B890 0%, #887840 55%, #302818 100%); }
.ph-uti-006 { background: radial-gradient(ellipse at 45% 55%, #502040 0%, #301020 55%, #180810 100%); }

/* Arte y muros */
.ph-art-001 { background: radial-gradient(ellipse at 45% 55%, #A07828 0%, #604018 55%, #281808 100%); }
.ph-art-002 { background: radial-gradient(ellipse at 50% 45%, #C8A840 0%, #886820 55%, #302808 100%); }
.ph-art-003 { background: radial-gradient(ellipse at 50% 50%, #303848 0%, #182030 55%, #080C18 100%); }
.ph-art-004 { background: radial-gradient(ellipse at 50% 50%, #A88060 0%, #685040 55%, #281E18 100%); }
.ph-art-005 { background: radial-gradient(ellipse at 50% 50%, #786050 0%, #483828 55%, #180E08 100%); }
.ph-art-006 { background: radial-gradient(ellipse at 50% 45%, #908888 0%, #504848 55%, #181010 100%); }

/* Menaje */
.ph-men-001 { background: radial-gradient(ellipse at 50% 50%, #D0C8C0 0%, #988870 55%, #302820 100%); }
.ph-men-002 { background: radial-gradient(ellipse at 50% 45%, #C8A860 0%, #886830 55%, #302010 100%); }
.ph-men-003 { background: radial-gradient(ellipse at 50% 50%, #C0C8D0 0%, #707888 55%, #202830 100%); }
.ph-men-004 { background: radial-gradient(ellipse at 50% 55%, #B87840 0%, #784820 55%, #281008 100%); }
.ph-men-005 { background: radial-gradient(ellipse at 50% 45%, #9AB0A0 0%, #5A7860 55%, #1E2820 100%); }
.ph-men-006 { background: radial-gradient(ellipse at 50% 50%, #B8B0B0 0%, #787078 55%, #201820 100%); }

/* Textiles */
.ph-tex-001 { background: radial-gradient(ellipse at 50% 45%, #C8B890 0%, #887848 55%, #302818 100%); }
.ph-tex-002 { background: radial-gradient(ellipse at 50% 50%, #D8C8A0 0%, #988868 55%, #302818 100%); }
.ph-tex-003 { background: radial-gradient(ellipse at 50% 50%, #8AB09A 0%, #4A7058 55%, #182820 100%); }
.ph-tex-004 { background: radial-gradient(ellipse at 45% 55%, #882840 0%, #501828 55%, #200810 100%); }
.ph-tex-005 { background: radial-gradient(ellipse at 50% 50%, #C8B890 0%, #887850 55%, #302818 100%); }
.ph-tex-006 { background: radial-gradient(ellipse at 50% 45%, #D898A8 0%, #986878 55%, #302028 100%); }

/* Tecnología retro */
.ph-ret-001 { background: radial-gradient(ellipse at 45% 55%, #A87830 0%, #684808 55%, #281808 100%); }
.ph-ret-002 { background: radial-gradient(ellipse at 50% 50%, #787870 0%, #484840 55%, #181810 100%); }
.ph-ret-003 { background: radial-gradient(ellipse at 50% 50%, #484440 0%, #282018 55%, #100808 100%); }
.ph-ret-004 { background: radial-gradient(ellipse at 45% 45%, #605840 0%, #403828 55%, #181008 100%); }
.ph-ret-005 { background: radial-gradient(ellipse at 50% 50%, #C87848 0%, #884830 55%, #301008 100%); }
.ph-ret-006 { background: radial-gradient(ellipse at 50% 50%, #383830 0%, #202018 55%, #080808 100%); }

/* Objetos decorativos */
.ph-obj-001 { background: radial-gradient(ellipse at 50% 45%, #8AB0A0 0%, #507060 55%, #182820 100%); }
.ph-obj-002 { background: radial-gradient(ellipse at 50% 50%, #C8D0D8 0%, #889098 55%, #282830 100%); }
.ph-obj-003 { background: radial-gradient(ellipse at 50% 55%, #A88850 0%, #685830 55%, #282010 100%); }
.ph-obj-004 { background: radial-gradient(ellipse at 50% 50%, #881830 0%, #500818 55%, #200008 100%); }
.ph-obj-005 { background: radial-gradient(ellipse at 50% 50%, #B07830 0%, #704818 55%, #281008 100%); }
.ph-obj-006 { background: radial-gradient(ellipse at 50% 45%, #B0C8D8 0%, #708090 55%, #202830 100%); }

/* Placeholder label */
.ph-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Courier New', monospace;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
  letter-spacing: 0.05em;
  padding: 16px;
  pointer-events: none;
}

/* ── Atmósferas ──────────────────────────────── */
.atm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
@media (max-width: 900px) { .atm-grid { grid-template-columns: repeat(2, 1fr); } }

.atm-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}
.atm-card-img { position: absolute; inset: 0; transition: transform 0.65s var(--ease); }
.atm-card:hover .atm-card-img { transform: scale(1.06); }
.atm-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,22,21,0.82) 0%, rgba(26,22,21,0.1) 60%);
}
.atm-card-body { position: absolute; bottom: 20px; left: 20px; right: 20px; z-index: 2; }
.atm-card-name {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  color: white;
  line-height: 1.2;
}

/* ── Cómo funciona ───────────────────────────── */
.como-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
@media (max-width: 900px) { .como-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .como-grid { grid-template-columns: 1fr; gap: 32px; } }

.como-item { padding-top: 24px; border-top: 1px solid rgba(43,38,38,0.12); }
.como-num {
  font-family: var(--ff-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--rosa);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 14px;
}
.como-title { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 500; margin-bottom: 8px; }
.como-desc { font-size: 0.82rem; color: rgba(43,38,38,0.6); line-height: 1.7; }

/* ── En escena ───────────────────────────────── */
.escena-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3px;
}
.escena-card { position: relative; overflow: hidden; }
.escena-card--tall { grid-row: span 2; aspect-ratio: 3/4; }
.escena-card--wide { aspect-ratio: 16/10; }
.escena-img { position: absolute; inset: 0; transition: transform 0.6s var(--ease); }
.escena-card:hover .escena-img { transform: scale(1.04); }
@media (max-width: 640px) {
  .escena-grid { grid-template-columns: 1fr; }
  .escena-card--tall { grid-row: span 1; aspect-ratio: 4/3; }
}

/* ── CTA Dark section ────────────────────────── */
.cta-dark {
  background: var(--oscuro);
  text-align: center;
  padding: var(--sv) var(--gutter);
}

/* ── Category page header ────────────────────── */
.cat-header {
  background: var(--oscuro-warm);
  padding: calc(var(--sv) + 80px) var(--gutter) var(--sv);
  position: relative; overflow: hidden;
}
.cat-header-bg { position: absolute; inset: 0; opacity: 0.35; }
.cat-header-content { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; }
.cat-header-title {
  font-family: var(--ff-display);
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 300;
  color: var(--marfil);
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.cat-header-subtitle {
  font-family: var(--ff-display);
  font-size: clamp(15px, 1.8vw, 20px);
  font-style: italic;
  color: var(--rosa-suave);
  margin-top: 14px;
}
.cat-header-desc {
  color: rgba(248,243,239,0.55);
  max-width: 480px;
  margin-top: 14px;
  font-size: 0.88rem;
  line-height: 1.75;
}

/* ── Catalog intro (catalogo.html) ───────────── */
.catalog-intro {
  padding: calc(var(--sv) + 80px) 0 var(--sv);
  background: var(--oscuro-warm);
  position: relative; overflow: hidden;
}
.catalog-intro-bg { position: absolute; inset: 0; opacity: 0.2; }
.catalog-intro-content { position: relative; z-index: 2; }

/* ── Filters ─────────────────────────────────── */
.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--ff-body);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid rgba(43,38,38,0.2);
  color: rgba(43,38,38,0.6);
  background: none; cursor: pointer;
  transition: all 0.22s;
}
.filter-btn:hover { border-color: var(--rosa); color: var(--rosa); }
.filter-btn.active { background: var(--rosa); border-color: var(--rosa); color: white; }

/* ── Product grid ────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: white;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(43,38,38,0.1); }
.product-card[data-hidden] { display: none; }

.product-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.product-img-bg { position: absolute; inset: 0; transition: transform 0.55s var(--ease); }
.product-card:hover .product-img-bg { transform: scale(1.05); }

.product-info { padding: 18px; }
.product-code {
  color: var(--rosa);
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 3px;
}
.product-name { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 500; margin-bottom: 8px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.tag {
  font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--sage);
  color: var(--sage-deep);
}
.product-actions { display: flex; align-items: center; justify-content: space-between; }
.btn-ficha {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--texto);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--texto);
  transition: color 0.2s, border-color 0.2s;
  background: none; border-top: none; border-left: none; border-right: none;
  cursor: pointer; font-family: var(--ff-body);
}
.btn-ficha:hover { color: var(--rosa); border-color: var(--rosa); }
.btn-add {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--rosa); color: white;
  font-size: 1.2rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.btn-add:hover { background: var(--rosa-acento); transform: scale(1.08); }
.btn-add.added { background: var(--vino); }

/* ── Modal panel ─────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(26,22,21,0.55);
  backdrop-filter: blur(5px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 501;
  width: min(560px, 100vw);
  background: var(--marfil);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
}
.modal-overlay.open .modal-panel { transform: translateX(0); }

.modal-img { aspect-ratio: 4/3; position: relative; overflow: hidden; flex-shrink: 0; }
.modal-img-bg { position: absolute; inset: 0; }

.modal-top-bar {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 16px 20px;
  display: flex; justify-content: flex-end; z-index: 2;
}
.modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(26,22,21,0.5); color: white;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(26,22,21,0.8); }

.modal-body { padding: 28px 28px 16px; overflow-y: auto; flex: 1; }
.modal-code { color: var(--rosa); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; }
.modal-name { font-family: var(--ff-display); font-size: 1.7rem; font-weight: 500; margin: 4px 0 20px; }

.modal-specs { border-top: 1px solid rgba(43,38,38,0.1); }
.spec-row {
  display: grid; grid-template-columns: 130px 1fr;
  padding: 11px 0;
  border-bottom: 1px solid rgba(43,38,38,0.06);
  font-size: 0.83rem; align-items: start;
}
.spec-key { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(43,38,38,0.45); }
.spec-val { line-height: 1.5; }
.spec-tags { display: flex; flex-wrap: wrap; gap: 4px; }

.modal-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid rgba(43,38,38,0.1);
  display: flex; flex-direction: column; gap: 10px;
}

/* ── Mi selección tray ───────────────────────── */
.sel-tray {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  background: var(--oscuro);
  color: var(--marfil);
  width: 320px;
  box-shadow: 0 20px 60px rgba(26,22,21,0.45);
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s;
}
.sel-tray.visible { transform: translateY(0); opacity: 1; }

.sel-tray-head {
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-bottom: 1px solid rgba(248,243,239,0.08);
  cursor: pointer; user-select: none;
}
.sel-tray-label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; }
.sel-count {
  background: var(--rosa);
  color: white; font-size: 0.68rem; font-weight: 600;
  min-width: 22px; height: 22px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.sel-tray-chevron { opacity: 0.4; transition: transform 0.3s; font-size: 0.75rem; }
.sel-tray.collapsed .sel-tray-chevron { transform: rotate(180deg); }

.sel-tray-body { overflow: hidden; transition: max-height 0.4s var(--ease); max-height: 300px; }
.sel-tray.collapsed .sel-tray-body { max-height: 0; }

.sel-items { max-height: 180px; overflow-y: auto; }
.sel-item {
  padding: 9px 18px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(248,243,239,0.05);
}
.sel-item-code { font-size: 0.6rem; letter-spacing: 0.1em; color: var(--rosa); min-width: 85px; }
.sel-item-name { flex: 1; font-size: 0.78rem; opacity: 0.75; }
.sel-item-remove { opacity: 0.35; cursor: pointer; font-size: 1rem; line-height: 1; transition: opacity 0.2s; flex-shrink: 0; }
.sel-item-remove:hover { opacity: 1; }

.sel-tray-foot { padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; }
.btn-sel-wa {
  width: 100%; padding: 11px;
  background: #25D366; color: white; border: none;
  font-family: var(--ff-body); font-size: 0.68rem;
  font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s;
}
.btn-sel-wa:hover { background: #20b958; }
.btn-sel-clear {
  width: 100%; padding: 9px;
  background: none;
  border: 1px solid rgba(248,243,239,0.18);
  color: rgba(248,243,239,0.45);
  font-family: var(--ff-body); font-size: 0.62rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s;
}
.btn-sel-clear:hover { border-color: rgba(248,243,239,0.5); color: rgba(248,243,239,0.8); }

/* ── Footer ──────────────────────────────────── */
.footer {
  background: var(--oscuro);
  padding: clamp(48px, 7vw, 88px) 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
@media (max-width: 680px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer-brand-word { font-family: var(--ff-display); font-size: 2.4rem; font-weight: 500; color: var(--rosa); letter-spacing: 0.08em; }
.footer-brand-sub { font-size: 0.52rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--rosa); opacity: 0.65; margin-top: 2px; }
.footer-desc { font-size: 0.8rem; color: rgba(248,243,239,0.45); line-height: 1.75; margin-top: 14px; max-width: 260px; }
.footer-col-title { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(248,243,239,0.85); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 0.82rem; color: rgba(248,243,239,0.45); transition: color 0.2s; }
.footer-links a:hover { color: rgba(248,243,239,0.9); }
.footer-bottom {
  border-top: 1px solid rgba(248,243,239,0.07);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 0.68rem; color: rgba(248,243,239,0.3);
  flex-wrap: wrap;
}

/* ── Reveal on scroll ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Mobile nav panel ───────────────────────── */
.nav-mobile-panel {
  display: none;
  position: fixed; inset: 0; z-index: 98;
  background: var(--oscuro);
  padding: 100px var(--gutter) 48px;
  flex-direction: column; justify-content: center; gap: 8px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}
.nav-mobile-panel.open { transform: translateX(0); }
.nav-mobile-panel a {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 8vw, 3rem); font-weight: 300;
  color: rgba(248,243,239,0.8);
  line-height: 1.15;
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(248,243,239,0.07);
  transition: color 0.2s;
}
.nav-mobile-panel a:hover { color: var(--rosa-suave); }
.nav-mobile-panel .nav-mob-cta {
  margin-top: 24px;
  font-family: var(--ff-body);
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rosa);
  border: 1px solid var(--rosa);
  text-align: center;
  padding: 14px 28px;
  border-bottom: 1px solid var(--rosa); /* override */
}
/* Hamburger → X animation */
.nav-mobile-btn.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-mobile-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-mobile-btn.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Responsive: Tablet ──────────────────────── */
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .atm-grid { grid-template-columns: repeat(2, 1fr); }
  .como-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ── Responsive: Mobile ──────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-btn { display: flex; }
  .nav-mobile-panel { display: flex; }

  /* Hero */
  .hero-scene { display: none; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Sections */
  .sh--split { flex-direction: column; align-items: flex-start; }
  .sh--split .btn { width: 100%; justify-content: center; }
  .escena-grid { grid-template-columns: 1fr; }
  .escena-card--tall { grid-row: span 1; aspect-ratio: 4/3; }

  /* Modal: slide up from bottom */
  .modal-panel {
    top: auto; right: 0; left: 0; width: 100%; max-height: 92svh;
    transform: translateY(100%);
  }
  .modal-overlay.open .modal-panel { transform: translateY(0); }
  .modal-img { aspect-ratio: 16/9; }
  .modal-body { padding: 20px 20px 12px; }
  .modal-footer { padding: 16px 20px 20px; }

  /* Selection tray */
  .sel-tray { right: 0; left: 0; bottom: 0; width: 100%; box-shadow: 0 -8px 40px rgba(26,22,21,0.5); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ── Responsive: Small mobile ────────────────── */
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .atm-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .como-grid { grid-template-columns: 1fr; }
  .filters { gap: 6px; }
  .filter-btn { font-size: 0.62rem; padding: 7px 12px; }
  .hero-brand-word { letter-spacing: 0.06em; }
  .spec-row { grid-template-columns: 110px 1fr; font-size: 0.78rem; }
}

/* ── Reduced motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-veil, .hero-spot-warm { transition: none !important; }
}

/* ── Responsive additions — 2026-06-04 ──────── */

/* Mini-grilla "Seguir explorando" en páginas de categoría.
   Reemplaza el inline style repeat(4,1fr) con breakpoints responsivos. */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 36px;
}
@media (max-width: 900px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 360px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* Strip de botones "¿Cómo arrendar?" en catalogo.html.
   Reemplaza el flex-shrink:0 inline que causaba overflow del botón "Cómo funciona". */
.arriendo-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .arriendo-btns {
    flex-shrink: 1;
    width: 100%;
  }
  .arriendo-btns .btn {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .arriendo-btns {
    flex-direction: column;
  }
  .arriendo-btns .btn {
    width: 100%;
    flex: none;
  }
}
