/* Sillas & Mesas LM — Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --gold:       #8B6914;
  --gold-light: #C9A84C;
  --gold-pale:  #F5EDD6;
  --dark:       #111008;
  --dark2:      #1E1A0E;
  --text:       #2C2410;
  --muted:      #7A6E5A;
  --white:      #FDFAF3;
  --border:     #E8DEC4;
  --radius:     6px;
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.14);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;
  --nav-h: 68px;
}

*, *::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(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gold-pale); }
::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 3px; }

/* ===================================================
   NAVBAR
=================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: rgba(253,250,243,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dark);
}
.nav-brand span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-cta {
  display: flex; align-items: center; gap: 12px;
}

.btn-cart {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  background: var(--gold-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  transition: background .2s, border-color .2s;
}
.btn-cart:hover { background: var(--gold); color: white; border-color: var(--gold); }
.cart-count {
  background: var(--gold);
  color: white;
  border-radius: 50%;
  width: 18px; height: 18px;
  font-size: 0.65rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
}
.btn-cart:hover .cart-count { background: white; color: var(--gold); }

.btn-wa-nav {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 18px;
  background: #25D366;
  color: white;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity .2s;
}
.btn-wa-nav:hover { opacity: 0.88; }
.btn-wa-nav svg { width: 16px; height: 16px; fill: white; }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; transition: .3s; }

/* ===================================================
   BUTTONS
=================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all .25s;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: white;
  border: 1.5px solid var(--gold);
}
.btn-primary:hover { background: var(--dark); border-color: var(--dark); }

.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: white; color: var(--dark); border-color: white; }

.btn-dark {
  background: var(--dark);
  color: white;
  border: 1.5px solid var(--dark);
}
.btn-dark:hover { background: var(--gold); border-color: var(--gold); }

.btn-wa {
  background: #25D366;
  color: white;
  border: 1.5px solid #25D366;
  font-size: 0.85rem;
}
.btn-wa:hover { background: #1da851; border-color: #1da851; }
.btn-wa svg { width: 18px; height: 18px; fill: white; flex-shrink: 0; }

.btn-sm { padding: 8px 16px; font-size: 0.72rem; }
.btn-full { width: 100%; }

/* ===================================================
   HERO
=================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--dark2);
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?w=1600&q=80') center/cover no-repeat;
  opacity: 0.35;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(17,16,8,.85) 40%, rgba(139,105,20,.25) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 760px;
  padding: 0 40px;
  margin-left: 8vw;
  animation: fadeUp .9s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gold-light);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  color: white;
  margin-bottom: 20px;
}
.hero-title em { color: var(--gold-light); font-style: normal; }

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-badge {
  position: absolute;
  bottom: 48px; right: 48px;
  z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: rgba(37,211,102,.15);
  border: 1px solid rgba(37,211,102,.4);
  border-radius: 50px;
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1px;
  animation: fadeUp 1.1s .4s ease both;
}
.hero-badge svg { width: 20px; height: 20px; fill: #25D366; }
.hero-badge a { color: #25D366; font-weight: 600; }

/* ===================================================
   SECTION COMMONS
=================================================== */
.section { padding: 96px 40px; }
.section-sm { padding: 60px 40px; }

.container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.15;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 12px;
  font-weight: 300;
}

/* ===================================================
   CATEGORY GRID (Home)
=================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark2);
  transition: transform .3s, box-shadow .3s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.cat-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform .5s, opacity .3s;
}
.cat-card:hover .cat-card-img { transform: scale(1.06); opacity: 0.85; }

.cat-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(to top, rgba(17,16,8,.9) 0%, transparent 100%);
  color: white;
}
.cat-card-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
}
.cat-card-count {
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 1px;
  margin-top: 4px;
}
.cat-card-arrow {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: white;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .3s, transform .3s;
}
.cat-card:hover .cat-card-arrow { opacity: 1; transform: translateX(0); }

/* ===================================================
   PRODUCT GRID
=================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.product-card-img {
  aspect-ratio: 1;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-img .img-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 1px;
}
.product-card-img .img-placeholder svg { width: 48px; height: 48px; opacity: .4; }

.product-card-body { padding: 18px; }
.product-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 4px;
}
.product-card-desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-price {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.product-card-price strong {
  font-size: 1.1rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
}

.qty-control {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.qty-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.qty-btn:hover { background: var(--gold); color: white; border-color: var(--gold); }
.qty-input {
  width: 60px;
  text-align: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 5px;
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 500;
}
.qty-input:focus { outline: none; border-color: var(--gold); }

.btn-add-cart {
  width: 100%;
  padding: 10px;
  background: var(--gold-pale);
  color: var(--gold);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all .2s;
}
.btn-add-cart:hover, .btn-add-cart.in-cart {
  background: var(--gold); color: white; border-color: var(--gold);
}
.btn-add-cart.in-cart::before { content: '✓ '; }

/* Quote Bar */
.quote-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: var(--dark);
  border-top: 2px solid var(--gold);
  padding: 14px 40px;
  display: flex; align-items: center; justify-content: space-between;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.quote-bar.visible { transform: translateY(0); }
.quote-bar-info { color: white; }
.quote-bar-info span { color: var(--gold-light); font-weight: 600; }
.quote-bar-label { font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ===================================================
   COTIZACIÓN PAGE
=================================================== */
.cotizacion-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.cotizacion-items-list { display: flex; flex-direction: column; gap: 12px; }

.cot-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cot-item-img {
  width: 56px; height: 56px;
  border-radius: 4px;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cot-item-img svg { width: 24px; height: 24px; color: var(--gold-light); opacity: .5; }
.cot-item-info { flex: 1; }
.cot-item-name { font-weight: 500; font-size: 0.9rem; color: var(--dark); }
.cot-item-price { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.cot-item-qty { display: flex; align-items: center; gap: 6px; }
.cot-item-subtotal { font-weight: 600; color: var(--gold); font-family: var(--font-display); font-size: 1.05rem; text-align: right; min-width: 90px; }
.cot-item-remove { color: #ccc; font-size: 1.1rem; padding: 4px; transition: color .2s; }
.cot-item-remove:hover { color: #e53e3e; }

.cot-sidebar {
  position: sticky; top: calc(var(--nav-h) + 20px);
  height: fit-content;
}
.cot-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}
.cot-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--dark);
  transition: border-color .2s;
  background: var(--white);
}
.form-input:focus { outline: none; border-color: var(--gold); }
.form-input.error { border-color: #e53e3e; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.cot-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0;
  margin: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cot-total-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.cot-total-value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--gold); }

.cot-note { font-size: 0.75rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.cot-note strong { color: var(--text); }

/* ===================================================
   GRACIAS PAGE
=================================================== */
.gracias-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  padding-top: calc(var(--nav-h) + 40px);
}
.gracias-card {
  max-width: 520px;
  width: 100%;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: fadeUp .6s ease both;
}
.gracias-icon { font-size: 3.5rem; margin-bottom: 16px; }
.gracias-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.gracias-codigo {
  display: inline-block;
  padding: 6px 18px;
  background: var(--gold-pale);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.gracias-text { color: var(--muted); margin-bottom: 28px; font-size: 0.95rem; }
.gracias-actions { display: flex; flex-direction: column; gap: 10px; }

/* Estado badge */
.estado-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.estado-badge.ok { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.estado-badge.error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.estado-badge.pending { background: var(--gold-pale); color: var(--gold); border: 1px solid var(--border); }

/* ===================================================
   GALERÍA PREVIEW (Home)
=================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 12px;
}
.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  background: var(--gold-pale);
  position: relative;
}
.gallery-item:first-child {
  grid-row: span 2;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-label {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(17,16,8,.75);
  color: white;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

/* ===================================================
   LEAD FORM SECTION
=================================================== */
.lead-section {
  background: var(--dark2);
  padding: 80px 40px;
}
.lead-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}
.lead-text .section-title { color: white; }
.lead-text .section-sub { color: rgba(255,255,255,.55); }
.lead-form-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 32px;
}
.lead-form-card .form-input {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: white;
}
.lead-form-card .form-input::placeholder { color: rgba(255,255,255,.35); }
.lead-form-card .form-input:focus { border-color: var(--gold-light); }
.lead-form-card .form-label { color: rgba(255,255,255,.55); }

/* ===================================================
   FOOTER
=================================================== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.55);
  padding: 56px 40px 28px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: white; letter-spacing: 2px; margin-bottom: 12px; }
.footer-brand span { color: var(--gold-light); }
.footer-tagline { font-size: 0.85rem; margin-bottom: 20px; }
.footer-heading { font-size: 0.7rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.85rem; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  transition: background .2s, border-color .2s;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: white; }
.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem;
}

/* ===================================================
   PAGE HEADER (interno)
=================================================== */
.page-header {
  background: var(--dark2);
  padding: 48px 40px;
  margin-top: var(--nav-h);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.page-header-inner { max-width: 1200px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: rgba(255,255,255,.4); margin-bottom: 10px; }
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold-light); }
.page-title { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: white; }

/* ===================================================
   LOADING / TOAST
=================================================== */
.loading-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(17,16,8,.75);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.loading-overlay.active { opacity: 1; pointer-events: all; }
.loading-spinner {
  width: 44px; height: 44px;
  border: 3px solid rgba(255,255,255,.15);
  border-top-color: var(--gold-light);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.toast {
  position: fixed; bottom: 100px; left: 50%; z-index: 9000;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-color: rgba(37,211,102,.4); background: #0d2318; }
.toast.error   { border-color: rgba(220,38,38,.4); background: #1f0d0d; }

/* ===================================================
   EMPTY STATE
=================================================== */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
}
.empty-state svg { width: 64px; height: 64px; opacity: .3; margin: 0 auto 16px; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--dark); margin-bottom: 8px; }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .cotizacion-layout { grid-template-columns: 1fr; }
  .cot-sidebar { position: static; }
  .lead-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); flex-direction: column; padding: 20px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-cta .btn-wa-nav span { display: none; }
  .nav-hamburger { display: flex; }
  .section, .section-sm { padding: 64px 20px; }
  .page-header { padding: 32px 20px; }
  .hero-content { padding: 0 20px; margin-left: 0; }
  .hero-badge { display: none; }
  .hero-title { font-size: 2.4rem; }
  .quote-bar { padding: 12px 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
}
