/* ============================================
   KZA DESIGN v2.0 — CSS Ultra Mejorado
   Paleta: Negro carbón, crema cálida, oro suave
   Tipografía: Cormorant Garamond + DM Sans
   ============================================ */

/* ── RESET & BASE ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:        #FDFCFA;
  --cream:        #F5F1EA;
  --sand:         #E8E0D0;
  --warm-grey:    #C4BAA8;
  --mid-grey:     #8C8377;
  --dark:         #2A2520;
  --charcoal:     #1A1614;
  --black:        #0E0D0C;

  --accent:       #3D3128;
  --accent-light: #6B5D4F;
  --gold:         #C4A35A;
  --gold-light:   #DFC179;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-w:        1340px;
  --pad-x:        clamp(1.25rem, 5vw, 4rem);
  --section-gap:  clamp(4rem, 8vw, 9rem);

  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.0, 0.0, 0.2, 1);
  --t-fast:       0.18s;
  --t-med:        0.35s;
  --t-slow:       0.6s;
  --t-xl:         1s;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

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

/* ── TYPOGRAPHY ───────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ── ANNOUNCEMENT BAR ─────────────────────── */
.announcement-bar {
  background: var(--dark);
  color: var(--sand);
  padding: 0.55rem var(--pad-x);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 200;
}
.announcement-bar a { color: var(--gold); text-decoration: underline; }

/* ── NAVIGATION ───────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              top var(--t-med) var(--ease);
}

#navbar.scrolled {
  background: rgba(253,252,250,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}

#navbar.hero-dark {
  background: transparent;
}
#navbar.hero-dark .nav-links a,
#navbar.hero-dark .nav-logo img { filter: brightness(0) invert(1); }
#navbar.hero-dark .btn-nav {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
#navbar.hero-dark .btn-nav:hover {
  background: rgba(255,255,255,0.15);
}
#navbar.hero-dark .hamburger span { background: #fff; }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.2rem var(--pad-x);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo img {
  height: 30px;
  width: auto;
  transition: opacity var(--t-fast), filter var(--t-fast);
}
.nav-logo:hover img { opacity: 0.75; }

.nav-links {
  display: flex;
  gap: 2.25rem;
  margin-left: 2.5rem;
  flex: 1;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--dark);
  transition: color var(--t-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t-med) var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; background: var(--gold); }

.btn-nav {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--dark);
  color: var(--dark);
  transition: all var(--t-fast);
  white-space: nowrap;
}
.btn-nav:hover {
  background: var(--dark);
  color: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  transition: all var(--t-fast);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--sand);
  padding: 1.5rem var(--pad-x) 2rem;
  gap: 0.75rem;
}
.nav-mobile a {
  font-size: 1.05rem;
  color: var(--dark);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--sand);
  transition: color var(--t-fast);
}
.nav-mobile a:hover { color: var(--accent); padding-left: 0.5rem; }
.nav-mobile .btn-mobile {
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: none;
  letter-spacing: 0.06em;
}
.nav-mobile.open { display: flex; }

/* ── BUTTONS ──────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 2.25rem;
  background: var(--dark);
  color: var(--white);
  border: 1px solid var(--dark);
  transition: all var(--t-fast);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
  z-index: 0;
}
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary:hover::after { transform: scaleX(1); }
.btn-primary:hover { border-color: var(--gold); }
.btn-primary.large { padding: 1.15rem 2.75rem; font-size: 0.85rem; }
.btn-primary.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}
.btn-primary.gold::after { background: var(--dark); }
.btn-primary.gold:hover { color: var(--white); border-color: var(--dark); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 0.95rem 2.25rem;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  transition: all var(--t-fast);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.75);
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 0.95rem 2.25rem;
  border: 1px solid var(--warm-grey);
  color: var(--dark);
  transition: all var(--t-fast);
}
.btn-ghost-dark:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 2.25rem;
  border: 1px solid var(--dark);
  color: var(--dark);
  transition: all var(--t-fast);
}
.btn-outline:hover { background: var(--dark); color: var(--white); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  transition: gap var(--t-fast), color var(--t-fast);
}
.btn-text:hover { gap: 1rem; color: var(--gold); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 2.25rem;
  background: #25D366;
  color: #fff;
  border: 1px solid #25D366;
  transition: all var(--t-fast);
}
.btn-whatsapp:hover { background: #1aad52; border-color: #1aad52; }

/* ── HERO VIDEO-LIKE ──────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Slideshow de imágenes con efecto Ken Burns */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: kenBurns 9s ease-in-out infinite alternate;
}
.hero-slide:nth-child(2) img { animation-name: kenBurns2; }
.hero-slide:nth-child(3) img { animation-name: kenBurns3; }

@keyframes kenBurns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.08) translate(-1%, 0.5%); }
}
@keyframes kenBurns2 {
  from { transform: scale(1.05) translate(1%, 0); }
  to   { transform: scale(1) translate(-0.5%, -0.5%); }
}
@keyframes kenBurns3 {
  from { transform: scale(1) translate(-0.5%, -0.5%); }
  to   { transform: scale(1.07) translate(0.5%, 0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14,13,12,0.55) 0%,
    rgba(14,13,12,0.22) 40%,
    rgba(14,13,12,0.05) 70%,
    rgba(14,13,12,0.0)  100%
  );
  z-index: 1;
}

/* Móvil: overlay aún más claro para que el video se vea nítido */
@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(14,13,12,0.45) 0%,
      rgba(14,13,12,0.15) 45%,
      rgba(14,13,12,0.0)  100%
    );
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(3.5rem, 7vw, 6rem);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.3s forwards;
}
.hero-kicker::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.0;
  max-width: 12ch;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  display: block;
}

.hero-sub {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 400px;
  margin-bottom: 2.75rem;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.9s forwards;
}

/* Stats en el hero */
.hero-stats {
  position: absolute;
  right: var(--pad-x);
  bottom: clamp(3rem, 7vw, 6rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  opacity: 0;
  animation: fadeLeft 1s var(--ease) 1.1s forwards;
}

.hero-stat {
  text-align: right;
  border-right: 1px solid rgba(196,163,90,0.4);
  padding-right: 1.25rem;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-top: 0.2rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 1.4s forwards;
}
.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -44px; left: 0;
  width: 1px; height: 44px;
  background: var(--gold);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  from { top: -44px; }
  to   { top: 44px; }
}

/* Slide indicators */
.hero-indicators {
  position: absolute;
  bottom: 2.5rem;
  right: var(--pad-x);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}
.hero-indicator {
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all var(--t-med);
}
.hero-indicator.active {
  background: var(--gold);
  width: 40px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── BRAND STRIP ──────────────────────────── */
.brand-strip {
  background: var(--charcoal);
  color: var(--warm-grey);
  padding: 1rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow: hidden;
}
.brand-strip .sep { opacity: 0.3; color: var(--gold); }
.brand-strip span { transition: color var(--t-fast); }
.brand-strip span:not(.sep):hover { color: var(--gold); }

/* ── SECTION BASE ─────────────────────────── */
.section {
  padding: var(--section-gap) var(--pad-x);
  max-width: calc(var(--max-w) + var(--pad-x) * 2);
  margin: 0 auto;
}

.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--dark);
  line-height: 1.1;
}

.section-intro {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--mid-grey);
  max-width: 520px;
  line-height: 1.75;
}
.section-header.centered .section-intro { margin: 1rem auto 0; }

/* ── PRODUCTS GRID ────────────────────────── */
.products-section { background: var(--white); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--sand);
}

.product-card.featured { grid-column: span 2; }

.product-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card {
  background: var(--white);
  overflow: hidden;
  transition: background var(--t-fast);
  position: relative;
}
.product-card:hover { background: var(--cream); }

.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.featured .product-img-wrap { aspect-ratio: 16/9; }
.product-card:not(.featured) .product-img-wrap { aspect-ratio: 5/6; }

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease), opacity var(--t-med);
}
.hover-img { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .main-img { transform: scale(1.05); }
.product-card:hover .hover-img { opacity: 1; transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--dark);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
}
.product-badge.gold-badge {
  background: var(--gold);
  color: var(--dark);
}

.product-info {
  padding: 1.5rem 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-cat {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--accent-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.product-colors {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  align-items: center;
}
.product-colors-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-right: 0.25rem;
}

.color-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  outline: 1.5px solid rgba(0,0,0,0.1);
  outline-offset: 1px;
  transition: transform var(--t-fast), outline-color var(--t-fast);
  cursor: default;
}
.color-dot:hover { transform: scale(1.25); outline-color: var(--gold); }

.product-cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: letter-spacing var(--t-fast), color var(--t-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product-cta::after {
  content: '→';
  transition: transform var(--t-fast);
}
.product-card:hover .product-cta { color: var(--gold); }
.product-card:hover .product-cta::after { transform: translateX(4px); }

.products-footer {
  padding: 3.5rem 0 0;
  text-align: center;
  background: var(--white);
}

/* ── EDITORIAL ────────────────────────────── */
.editorial-section {
  background: var(--charcoal);
  padding: var(--section-gap) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.editorial-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border: 1px solid rgba(196,163,90,0.08);
  border-radius: 50%;
  pointer-events: none;
}

.editorial-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.editorial-text .section-kicker { color: var(--gold); }

.editorial-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 1.75rem;
  line-height: 1.05;
}
.editorial-title em { font-style: italic; color: var(--gold-light); }

.editorial-text p {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
  max-width: 460px;
  line-height: 1.8;
}

.editorial-text .btn-text {
  color: var(--gold);
  margin-top: 1rem;
}
.editorial-text .btn-text:hover { color: var(--gold-light); }

.editorial-images {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 0.6rem;
}

.editorial-img-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.editorial-img-side {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.editorial-img-side img {
  width: 100%;
  flex: 1;
  object-fit: cover;
}

/* ── SHOWCASE (ECLAT) ─────────────────────── */
.showcase-section {
  background: var(--cream);
  padding: var(--section-gap) var(--pad-x);
}

.showcase-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.showcase-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.showcase-sub {
  color: var(--mid-grey);
  font-size: 0.95rem;
  margin-bottom: 2.75rem;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
  line-height: 1.75;
}

.color-showcase {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.color-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--t-fast);
}
.color-option.active,
.color-option:hover { opacity: 1; }

.color-swatch {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
  outline: 2px solid transparent;
  transition: outline-color var(--t-fast), transform var(--t-fast);
}
.color-option.active .color-swatch,
.color-option:hover .color-swatch {
  outline-color: var(--accent);
  transform: scale(1.1);
}
.color-option span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-grey);
  font-weight: 400;
}

.eclat-preview {
  position: relative;
  margin-bottom: 2.75rem;
  background: var(--white);
  border: 1px solid var(--sand);
  overflow: hidden;
}

#eclat-preview-img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  padding: 2rem;
  transition: opacity var(--t-fast);
}

.eclat-color-name {
  position: absolute;
  bottom: 1rem; right: 1.5rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-grey);
}

.showcase-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── WHY KZA ──────────────────────────────── */
.why-section { background: var(--dark); }

.why-section .section-title { color: var(--white); }
.why-section .section-kicker { color: var(--gold); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.07);
  max-width: var(--max-w);
  margin: 0 auto;
}

.why-card {
  padding: 2.25rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background var(--t-med);
  position: relative;
  overflow: hidden;
}
.why-card:last-child { border-right: none; }
.why-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--t-med) var(--ease);
}
.why-card:hover::before { width: 100%; }
.why-card:hover { background: rgba(255,255,255,0.03); }

.why-icon {
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.why-card p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

/* ── PROCESS SECTION ──────────────────────── */
.process-section {
  background: var(--white);
  padding: var(--section-gap) var(--pad-x);
}

.process-steps {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 12.5%;
  width: 75%;
  height: 1px;
  background: var(--sand);
}

.process-step {
  text-align: center;
  padding: 0 1.5rem;
}
.step-num {
  width: 56px; height: 56px;
  border: 1px solid var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--dark);
  background: var(--white);
  position: relative;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.process-step:hover .step-num {
  border-color: var(--gold);
  color: var(--gold);
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.process-step p {
  font-size: 0.82rem;
  color: var(--mid-grey);
  line-height: 1.65;
}

/* ── TESTIMONIALS ─────────────────────────── */
.testimonials-section {
  background: var(--charcoal);
  padding: var(--section-gap) var(--pad-x);
}
.testimonials-section .section-kicker { color: var(--gold); }
.testimonials-section .section-title { color: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  max-width: var(--max-w);
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
}

.testimonial {
  background: var(--charcoal);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background var(--t-fast);
}
.testimonial:hover { background: rgba(255,255,255,0.02); }
.testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 1rem; left: 1.75rem;
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
}
.star { color: var(--gold); font-size: 0.85rem; }

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.25rem;
}
.author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(196,163,90,0.15);
  border: 1px solid rgba(196,163,90,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
}
.testimonial-author span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

/* ── GALLERY ──────────────────────────────── */
.gallery-section { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 3px;
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--sand);
}
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid .g-tall { grid-row: span 2; }

.gallery-item {
  overflow: hidden;
  background: var(--sand);
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14,13,12,0);
  transition: background var(--t-med);
}
.gallery-item:hover::after { background: rgba(14,13,12,0.15); }

/* ── CTA FINAL ────────────────────────────── */
.cta-section {
  background: var(--dark);
  padding: clamp(5rem,10vw,10rem) var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: 'KZA';
  font-family: var(--font-display);
  font-size: clamp(10rem, 20vw, 22rem);
  font-weight: 300;
  color: rgba(255,255,255,0.03);
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.1em;
}

.cta-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }

.cta-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.cta-title em { font-style: italic; color: var(--gold-light); }
.cta-section > .cta-inner > p {
  color: rgba(255,255,255,0.45);
  margin-bottom: 2.75rem;
  font-size: 0.95rem;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── FOOTER ───────────────────────────────── */
.footer {
  background: var(--black);
  color: var(--sand);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 5.5rem) var(--pad-x);
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand img {
  height: 40px;
  width: auto;          /* CRÍTICO: evita estiramiento */
  max-width: 160px;
  object-fit: contain;
  filter: brightness(1.8) saturate(0.7);
  margin-bottom: 1.25rem;
}
.footer-brand p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  max-width: 260px;
}
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all var(--t-fast);
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.footer-col a:hover { color: var(--white); padding-left: 0.3rem; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-contact-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item a,
.footer-contact-item span {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--t-fast);
}
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.04em;
}
.footer-bottom a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  transition: color var(--t-fast);
}
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ── PAGE HEADER ──────────────────────────── */
.page-header {
  background: var(--charcoal);
  padding: calc(80px + 5rem) var(--pad-x) 4rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,163,90,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-header h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  margin-top: 0.75rem;
  line-height: 1.0;
}
.page-header p {
  margin-top: 1.25rem;
  color: rgba(255,255,255,0.45);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.75;
}

/* ── PRODUCT PAGE ─────────────────────────── */
.product-page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(80px + 3rem) var(--pad-x) var(--section-gap);
}

.product-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.product-gallery-main {
  position: sticky;
  top: 100px;
}

.product-gallery-main .main-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 0.6rem;
  transition: opacity var(--t-fast);
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.product-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: opacity var(--t-fast), border-color var(--t-fast);
}
.product-thumbs img.active,
.product-thumbs img:hover { opacity: 1; border-color: var(--gold); }

.product-detail-cat {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.product-detail-name {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  color: var(--dark);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.product-detail-desc {
  color: var(--accent-light);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.product-spec-list {
  border-top: 1px solid var(--sand);
  margin-bottom: 2.25rem;
}
.product-spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--sand);
  font-size: 0.85rem;
  gap: 1rem;
}
.product-spec .label { color: var(--mid-grey); font-weight: 500; flex-shrink: 0; }
.product-spec .value { color: var(--dark); text-align: right; }

.product-color-selector { margin-bottom: 2.25rem; }
.product-color-selector h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 0.9rem;
}
.color-swatches { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.swatch-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  outline: 2px solid rgba(0,0,0,0.08);
  outline-offset: 2px;
  cursor: pointer;
  transition: all var(--t-fast);
}
.swatch-btn.active,
.swatch-btn:hover {
  outline-color: var(--gold);
  transform: scale(1.15);
}

.product-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.product-price .from { font-size: 0.7rem; font-family: var(--font-body); color: var(--mid-grey); letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 0.25rem; }

.product-page-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.product-page-actions .btn-primary,
.product-page-actions .btn-ghost-dark { width: 100%; justify-content: center; }

.product-note {
  font-size: 0.78rem;
  color: var(--mid-grey);
  margin-top: 1.25rem;
  line-height: 1.7;
  padding: 1rem;
  background: var(--cream);
  border-left: 2px solid var(--gold);
}

/* ── CATALOG PAGE ─────────────────────────── */
.catalog-filters {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--sand);
  color: var(--mid-grey);
  cursor: pointer;
  transition: all var(--t-fast);
  background: transparent;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--sand);
  max-width: var(--max-w);
  margin: 0 auto;
}
.catalog-grid > * { background: var(--white); }

/* ── NOSOTROS PAGE ────────────────────────── */
.about-hero {
  padding: calc(80px + 5rem) var(--pad-x) 0;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-hero-text h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}
.about-hero-text h1 em { font-style: italic; color: var(--accent-light); }
.about-hero-text p {
  color: var(--mid-grey);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1.1rem;
  max-width: 460px;
}
.about-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-values {
  background: var(--dark);
  padding: var(--section-gap) var(--pad-x);
}
.about-values .section-title { color: var(--white); }
.about-values .section-kicker { color: var(--gold); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.value-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.value-card:hover {
  border-color: rgba(196,163,90,0.3);
  background: rgba(196,163,90,0.03);
}
.value-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(196,163,90,0.3);
  line-height: 1;
  margin-bottom: 1rem;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.value-card p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
}

.team-section {
  padding: var(--section-gap) var(--pad-x);
  background: var(--cream);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 1.25rem;
  filter: grayscale(20%);
  transition: filter var(--t-med);
}
.team-card:hover img { filter: grayscale(0%); }
.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.25rem;
}
.team-card span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── CONTACT PAGE ─────────────────────────── */
.contact-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--pad-x) var(--section-gap);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-form-wrap h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}
.contact-form-wrap p.form-intro {
  color: var(--mid-grey);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-grey);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--sand);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,163,90,0.1);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-submit { margin-top: 0.5rem; }
.form-submit .btn-primary { width: 100%; justify-content: center; }

.contact-info-card {
  background: var(--charcoal);
  padding: 3rem 2.5rem;
  position: sticky;
  top: 100px;
}
.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.contact-info-card > p {
  color: rgba(255,255,255,0.4);
  font-size: 0.87rem;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.contact-card-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.contact-card-item:last-of-type { border-bottom: none; margin-bottom: 2.5rem; }
.contact-card-icon {
  width: 42px; height: 42px;
  border: 1px solid rgba(196,163,90,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-card-item strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.3rem;
}
.contact-card-item a,
.contact-card-item span {
  font-size: 0.9rem;
  color: var(--white);
  transition: color var(--t-fast);
}
.contact-card-item a:hover { color: var(--gold); }

/* ── ENVIOS / GARANTIA PAGE ───────────────── */
.info-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem var(--pad-x) var(--section-gap);
}
.info-block {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--sand);
}
.info-block:last-child { border-bottom: none; }
.info-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
  color: var(--dark);
}
.info-block h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--dark);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.info-block p,
.info-block li {
  font-size: 0.9rem;
  color: var(--mid-grey);
  line-height: 1.8;
}
.info-block ul,
.info-block ol { padding-left: 1.5rem; margin-top: 0.75rem; }
.info-block li { margin-bottom: 0.5rem; list-style: disc; }
.info-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream);
  border: 1px solid var(--sand);
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  color: var(--dark);
  margin-top: 1.25rem;
  font-weight: 500;
}
.info-badge span { color: var(--gold); }

/* ── SCROLL REVEAL ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── LOADING STATE ────────────────────────── */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease);
}
.page-transition.active { opacity: 1; pointer-events: all; }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1200px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card.featured { grid-column: span 2; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-images { grid-template-columns: 1fr 1fr; }
  .editorial-img-main img { height: 380px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-steps::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-grid .g-wide,
  .gallery-grid .g-tall { grid-column: auto; grid-row: auto; }
  .gallery-item { height: 240px; }
  .about-hero { grid-template-columns: 1fr; gap: 3rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-info-card { position: static; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }

  .hero-stats { display: none; }
  .hero-title { font-size: clamp(2.8rem, 10vw, 4rem); max-width: none; }

  .products-grid { grid-template-columns: 1fr; }
  .product-card.featured { grid-column: span 1; }
  .featured .product-img-wrap { aspect-ratio: 16/9; }

  .why-grid { grid-template-columns: 1fr; }
  .why-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .why-card:last-child { border-bottom: none; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .product-page-grid { grid-template-columns: 1fr; }
  .product-gallery-main { position: static; }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
  .showcase-cta { flex-direction: column; align-items: center; }
  .process-steps { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  :root { --pad-x: 1.25rem; }
  .catalog-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
}


/* ═══════════════════════════════════════════════════
   HERO VIDEO — RESPONSIVE COMPLETO
   Asegura que el video de fondo llene toda la pantalla
   en cualquier resolución, especialmente móvil.
   ═══════════════════════════════════════════════════ */

/* Contenedor del video: cubre el hero exacto */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* El <video> ocupa todo el contenedor en cualquier pantalla */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Centrado y cubrimiento completo tipo "object-fit: cover" */
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  /* Tamaño mínimo asegurado en móviles pequeños */
  min-width: max(100%, 100vw);
  min-height: max(100%, 100dvh);
  object-fit: cover;
  object-position: center center;
  /* Evita que el video sea interactivo */
  pointer-events: none;
  /* Suaviza la carga */
  opacity: 1;
  transition: opacity 0.6s ease;
}

/* En pantallas muy pequeñas, forzar portrait-fill */
@media (max-width: 480px) {
  .hero-video {
    /* En móvil vertical el video es más ancho que alto:
       anclar por ancho y dejar que la altura se recorte */
    width: 100vw;
    height: 100svh;
    min-width: 100vw;
    min-height: 100svh;
    top: 0;
    left: 0;
    transform: none;
  }
}

/* Cuando el dispositivo está en landscape (horizontal móvil) */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-video {
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    top: 0;
    left: 0;
    transform: none;
  }
  /* En landscape el hero puede ser muy corto — ajustar min-height */
  .hero {
    min-height: 100svh;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE GENERAL — OPTIMIZACIONES ADICIONALES
   ═══════════════════════════════════════════════════ */



/* Galería editorial: en móvil apilar vertical */
@media (max-width: 640px) {
  .editorial-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .editorial-img-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .editorial-img-main img,
  .editorial-img-side img {
    height: 220px;
    object-fit: cover;
    width: 100%;
  }
}

/* Product page: en móvil las miniaturas se hacen más pequeñas */
@media (max-width: 480px) {
  .product-thumbs {
    gap: 0.4rem;
  }
  .product-thumbs img {
    width: 56px;
    height: 56px;
  }
  .product-detail-name {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  .product-page-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .product-page-actions .btn-primary,
  .product-page-actions .btn-ghost-dark {
    width: 100%;
    justify-content: center;
  }
}

/* Color showcase ECLAT: en móvil scroll horizontal */
@media (max-width: 640px) {
  .color-showcase {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    gap: 0.75rem;
  }
  .color-option {
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

/* Sección showcase: texto más compacto en móvil */
@media (max-width: 640px) {
  .showcase-title {
    font-size: clamp(2.2rem, 9vw, 3rem) !important;
  }
  .eclat-preview img {
    border-radius: 4px;
  }
}

/* Why-section: cards con border más sutil en móvil */
@media (max-width: 480px) {
  .why-card {
    padding: 1.5rem 1rem;
  }
}

/* Testimonials: padding en móvil */
@media (max-width: 480px) {
  .testimonial {
    padding: 1.5rem 1.25rem;
  }
}

/* CTA section: texto en móvil */
@media (max-width: 480px) {
  .cta-title {
    font-size: clamp(2rem, 9vw, 3rem) !important;
  }
  .btn-whatsapp,
  .btn-primary.large {
    width: 100%;
    justify-content: center;
  }
}

/* Footer: separación en pantallas muy pequeñas */
@media (max-width: 360px) {
  .footer-inner {
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* Announcement bar: ocultar texto extra en móvil muy pequeño */
@media (max-width: 360px) {
  .announcement-bar {
    font-size: 0.65rem;
    padding: 0.4rem var(--pad-x);
  }
}

/* ── IMAGEN PLACEHOLDER cuando no carga ───── */
/* Se muestra un fondo cálido si la imagen falla (onerror en JS) */
img[src=""],
img:not([src]) {
  background: var(--cream);
  min-height: 80px;
}
