/* ============================================
   CREA – Mobiliario & Diseño de Interiores
   Style Sheet
   ============================================ */

/* --- TOKENS --- */
:root {
  --cream:      #F0EDE8;
  --cream-dark: #E4DFDA;
  --dark:       #1A1A18;
  --dark-mid:   #2C2C2A;
  --gold:       #C9A96E;
  --gold-light: #E0BC7C;
  --text:       #3A3A38;
  --text-light: #7A7A74;
  --white:      #FFFFFF;
  --warm:       #F7F3EE;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 8px 40px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- UTILITIES --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-light { background: var(--warm); }
.section-dark  { background: var(--dark); }
.section-warm  { background: var(--cream); }
.section-contact { background: var(--dark-mid); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-title.light { color: var(--white); }
.section-title em, h2 em { font-style: italic; color: var(--gold); }
.section-sub { font-size: 1.05rem; color: var(--text-light); margin-bottom: 48px; }
.section-sub.light { color: rgba(255,255,255,0.6); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,0.35); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  font-size: 1rem;
  padding: 16px 40px;
  border-radius: 50px;
}
.btn-whatsapp:hover { background: #20b858; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.35); }
.btn-full { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; }

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 20px 0;
}
#navbar.scrolled {
  background: rgba(240, 237, 232, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 10px 0;
}
.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
#nav-logo-img {
  height: 52px;
  width: auto;
  transition: var(--transition);
  mix-blend-mode: multiply;
}
#navbar:not(.scrolled) #nav-logo-img {
  mix-blend-mode: screen;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }
#navbar.scrolled .nav-links a { color: var(--dark); }
#navbar.scrolled .nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--dark) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#navbar.scrolled .nav-toggle span { background: var(--dark); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26,26,24,0.85) 0%, rgba(44,44,42,0.6) 100%),
    url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  padding: 0 24px;
}
.hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,169,110,0.4);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-content h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 24px;
}
.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1rem;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--cream-dark);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 6px;
}
.about-image { display: flex; justify-content: center; }
.about-img-frame {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  background: var(--cream);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.about-logo-display { width: 100%; opacity: 1; mix-blend-mode: multiply; }

/* ============================================
   SERVICES
   ============================================ */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.service-block.reverse {
  grid-template-columns: 1.1fr 1fr;
}
.service-block.reverse .service-image { order: 2; }
.service-block.reverse .service-content { order: 1; }

.service-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-block:hover .service-image img {
  transform: scale(1.05);
}
.service-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-dark .service-content h2 { color: var(--white); }
.service-lead {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}
.section-dark .service-lead { color: rgba(255,255,255,0.6); }
.section-dark .service-content p { color: rgba(255,255,255,0.6); }
.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-top: 24px;
}
.service-list li {
  font-size: 0.88rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.section-dark .service-list li { color: rgba(255,255,255,0.55); }

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.portfolio-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--dark-mid);
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,24,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: var(--dark-mid);
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
}
.portfolio-placeholder svg { opacity: 0.3; }
.portfolio-note {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   AGENDA FORM
   ============================================ */
.agenda-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { margin-bottom: 24px; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--warm);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7A74' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.contact-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.contact-content p {
  color: rgba(255,255,255,0.55);
  font-size: 1.05rem;
  margin-bottom: 40px;
}
.contact-content .light { color: var(--white); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.footer-logo { height: 48px; width: auto; mix-blend-mode: screen; opacity: 0.85; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: center;
}
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
  letter-spacing: 0.04em;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.2); }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: floatPop 0.5s 1s cubic-bezier(0.34,1.56,0.64,1) both;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.55);
}
.whatsapp-float svg { color: var(--white); }
@keyframes floatPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.9s 0.2s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  background: none; border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}
.lightbox-close:hover { color: var(--gold); }


/* ============================================
   SECCIÓN DE PRODUCTOS INTERACTIVOS
   ============================================ */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
  border-bottom: 1.5px solid var(--cream-dark);
  padding-bottom: 16px;
}
.tab-btn {
  padding: 12px 28px;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  transform: translateY(0);
}
.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -18px; left: 0;
  width: 0; height: 3.5px;
  background: var(--gold);
  transition: width var(--transition);
  border-radius: 2px;
}
.tab-btn:hover {
  color: var(--dark);
  transform: translateY(-2px);
}
.tab-btn.active {
  color: var(--gold);
  font-weight: 600;
}
.tab-btn.active::after {
  width: 100%;
}

.producto-detalle {
  background: var(--white);
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 4px 20px rgba(201, 169, 110, 0.04);
  border: 1px solid rgba(201, 169, 110, 0.12);
  border-top: 4px solid var(--gold);
  margin-top: 20px;
  transition: var(--transition);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.producto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.producto-gallery-column {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.producto-info {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0 12px;
  box-sizing: border-box;
}

/* VARIANTES */
.variantes {
  margin-bottom: 28px;
}
.variantes h3, .colores-container h3 {
  margin-bottom: 14px;
  color: var(--dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  opacity: 0.85;
}
.botones-variantes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-variante {
  padding: 10px 22px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--warm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-variante:hover {
  border-color: var(--gold);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.btn-variante.activa {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* GALERÍA */
.galeria-producto {
  background: var(--warm);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}
.viewer {
  width: 100%;
  height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.06);
}
.viewer img,
.viewer iframe,
.viewer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  transition: opacity 0.3s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.galeria-producto:hover .viewer img {
  transform: scale(1.04);
}
.miniaturas {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.miniaturas img,
.video-thumb {
  width: 82px;
  height: 82px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  object-fit: cover;
  transform: translateY(0);
}
.miniaturas img:hover,
.video-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.miniaturas img.activa,
.video-thumb.activa {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(201, 169, 110, 0.25);
  transform: translateY(-3px);
}
.video-thumb {
  background: var(--dark-mid);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

/* INFORMACIÓN */
.producto-info {
  padding: 0 12px;
}
.categoria {
  display: inline-block;
  background: rgba(201,169,110,0.12);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.producto-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.25;
}
.descripcion {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 28px;
  font-size: 0.98rem;
}
.caracteristicas {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}
.caracteristicas .item {
  background: var(--warm);
  padding: 14px 18px;
  border-radius: var(--radius);
  border-left: 3.5px solid var(--gold);
  color: var(--text);
  font-size: 0.92rem;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.caracteristicas .item:hover {
  transform: translateX(6px);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  border-left-color: var(--gold-light);
}

/* COLORES – Swatches con texturas y scroll horizontal */
.colores-container {
  margin-bottom: 32px;
  position: relative;
  max-width: 380px;
  width: 100%;
}
.colores-container::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 32px;
  background: linear-gradient(to left, var(--white), transparent);
  pointer-events: none;
  z-index: 1;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.paleta-colores {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-right: 28px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--cream-dark) transparent;
}
.paleta-colores::-webkit-scrollbar {
  height: 5px;
}
.paleta-colores::-webkit-scrollbar-track {
  background: transparent;
}
.paleta-colores::-webkit-scrollbar-thumb {
  background: var(--cream-dark);
  border-radius: 10px;
}
.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  cursor: pointer;
}
.swatch-preview {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  border: 2px solid var(--cream-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  background: var(--swatch-color);
}
.swatch-preview:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  border-color: var(--gold);
}

/* Textura de madera – vetas simuladas con gradientes CSS */
.swatch-preview.tex-madera::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      92deg,
      transparent 0px,
      rgba(255,255,255,0.06) 1px,
      transparent 2px,
      transparent 5px
    ),
    repeating-linear-gradient(
      88deg,
      transparent 0px,
      rgba(0,0,0,0.05) 1px,
      transparent 3px,
      transparent 7px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      rgba(255,255,255,0.04) 2px,
      rgba(0,0,0,0.03) 4px,
      transparent 6px,
      transparent 12px
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08) 0%,
      transparent 30%,
      rgba(0,0,0,0.06) 70%,
      rgba(255,255,255,0.04) 100%
    );
  border-radius: inherit;
  pointer-events: none;
}

/* Textura lisa – sutil gradiente de profundidad */
.swatch-preview.tex-liso::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.15) 0%,
    transparent 50%,
    rgba(0,0,0,0.06) 100%
  );
  border-radius: inherit;
  pointer-events: none;
}

/* Borde especial para blancos (que no se pierdan) */
.swatch-preview[data-color="blanco-mate"],
.swatch-preview[data-color="blanco-brillante"] {
  border-color: #ddd;
}

.color-swatch small {
  color: var(--text-light);
  font-size: 0.68rem;
  font-weight: 500;
  white-space: nowrap;
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* PRECIO */
.precio {
  font-size: 1.7rem;
  margin-bottom: 20px;
  color: var(--dark);
  font-family: var(--font-body);
  border-top: 1.5px solid var(--cream-dark);
  padding-top: 24px;
}
.precio strong {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.95rem;
}
.precio-leyenda {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: -12px;
  margin-bottom: 24px;
  font-style: italic;
  display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image { display: none; }
  .service-block,
  .service-block.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-block.reverse .service-icon { order: 0; }
  .service-block.reverse .service-content { order: 0; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .agenda-form { padding: 32px 24px; }

  /* Catálogo de Productos en tablet y móvil */
  .producto-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 32px;
    box-sizing: border-box;
  }
  .producto-gallery-column,
  .producto-info {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .viewer {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: 420px;
  }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(240,237,232,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--dark); font-size: 1rem; }
  .nav-toggle { display: flex; }
  .about-stats { flex-direction: column; gap: 24px; }
  .service-list { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }

  /* --- Catálogo de Productos en Móvil --- */
  .product-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    padding: 4px 2px 12px 2px;
    border-bottom: 1.5px solid var(--cream-dark);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .product-tabs::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    flex: 0 0 auto;
    padding: 9px 18px;
    font-size: 0.88rem;
    border-radius: 50px;
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    color: var(--text);
    white-space: nowrap;
  }
  .tab-btn::after {
    display: none;
  }
  .tab-btn:hover {
    transform: none;
    border-color: var(--gold);
    color: var(--dark);
  }
  .tab-btn.active {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  }

  .producto-detalle {
    padding: 24px 16px;
    border-radius: var(--radius);
    margin-top: 12px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }
  .producto-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 24px;
    box-sizing: border-box !important;
  }
  .producto-gallery-column,
  .producto-info {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .variantes {
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .botones-variantes {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .btn-variante {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 10px 6px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .galeria-producto {
    padding: 12px;
    border-radius: var(--radius);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .viewer {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: 380px;
    box-sizing: border-box;
  }
  .miniaturas {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: thin;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .miniaturas img,
  .video-thumb {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
  }

  .producto-info h1 {
    font-size: 1.65rem;
    margin-bottom: 14px;
    line-height: 1.25;
  }
  .descripcion {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 20px;
  }
  .caracteristicas {
    gap: 8px;
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .caracteristicas .item {
    padding: 10px 14px;
    font-size: 0.86rem;
    line-height: 1.4;
  }
  .colores-container {
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;
    box-sizing: border-box;
  }
  .paleta-colores {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .swatch-preview {
    width: 48px;
    height: 48px;
  }
  .precio {
    font-size: 1.25rem;
    padding-top: 18px;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
  }
  .precio strong {
    font-size: 1.55rem;
  }
  .precio-leyenda {
    font-size: 0.78rem;
    margin-top: -6px;
    margin-bottom: 20px;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .producto-detalle {
    padding: 16px 12px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .producto-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 20px;
    box-sizing: border-box !important;
  }
  .producto-gallery-column,
  .producto-info {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .galeria-producto {
    padding: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .viewer {
    max-height: 330px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .miniaturas {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .miniaturas img,
  .video-thumb {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
  }
  .producto-info h1 {
    font-size: 1.45rem;
  }
  .agenda-form { padding: 24px 16px; }
  .footer-links { gap: 12px 20px; }
}
