/* ==========================================================================
   FG ESTUDIO CREATIVO - Catálogo & Portal Corporativo
   Estilo visual moderno oscuro con acentos Cyan, Dorado y WhatsApp
   ========================================================================== */

:root {
  --bg-primary: #070A10;
  --bg-secondary: #0D1322;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(24, 34, 58, 0.95);
  --bg-glass: rgba(10, 15, 26, 0.88);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 210, 255, 0.35);
  --border-gold: rgba(245, 176, 50, 0.4);
  
  --accent-cyan: #00D2FF;
  --accent-cyan-glow: rgba(0, 210, 255, 0.25);
  --accent-gold: #F5B032;
  --accent-gold-glow: rgba(245, 176, 50, 0.25);
  --accent-green: #25D366;
  --accent-green-hover: #1EBE5D;
  --accent-green-glow: rgba(37, 211, 102, 0.35);
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-highlight: #38BDF8;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(0, 210, 255, 0.2);
  --shadow-modal: 0 25px 60px -15px rgba(0, 0, 0, 0.85);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 15% 10%, rgba(0, 210, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(245, 176, 50, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(37, 211, 102, 0.05) 0%, transparent 50%),
    var(--bg-primary);
  background-attachment: fixed;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* ==========================================================================
   HEADER & NAVBAR (4 enlaces principales: Inicio, Diseño, Catálogo, Contacto)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform var(--transition-fast);
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-cyan);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quote-counter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quote-counter-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.quote-count-badge {
  background: var(--accent-cyan);
  color: #070A10;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-green);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px var(--accent-green-glow);
  transition: all var(--transition-fast);
}

.btn-header-wa:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   3 BANNERS GRANDES (SLIDER HERO CON TEXTO A LA IZQUIERDA E IMAGEN A LA DERECHA)
   ========================================================================== */
.hero-slider-section {
  padding: 2rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #080C16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  min-height: 480px;
}

.slide-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  width: 300%;
}

.hero-slide {
  width: 33.3333%;
  position: relative;
  min-height: 490px;
  height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #080C16;
}

/* Imagen de fondo a todo el ancho sin cortes ni lineas divisorias */
.slide-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.slide-image-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  transform: scale(1.01);
  transition: transform 0.8s ease;
}

.hero-slide:hover .slide-image-right {
  transform: scale(1.03);
}

/* Degradado horizontal menos amplio para no tapar tanto la imagen y sin lineas */
.slide-gradient-fade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    90deg,
    #080C16 0%,
    #080C16 26%,
    rgba(8, 12, 22, 0.88) 35%,
    rgba(8, 12, 22, 0.45) 44%,
    rgba(8, 12, 22, 0.1) 50%,
    transparent 55%
  );
  pointer-events: none;
}

/* Contenido de texto alineado a la izquierda */
.slide-content-wrap {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 640px;
  padding: 3.5rem 2rem 3.5rem 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: var(--accent-cyan);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

/* 3 Líneas especificadas por el usuario */
.slide-line-1 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--accent-cyan);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.4rem 0;
  text-shadow: 0 0 30px rgba(0, 210, 255, 0.35);
}

.slide-line-2 {
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0 0 0.6rem 0;
  letter-spacing: -0.01em;
}

.slide-line-3 {
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94A3B8;
  line-height: 1.5;
  margin: 0 0 1.6rem 0;
  max-width: 540px;
}

.slide-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-slide-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-cyan);
  color: #070A10;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 16px var(--accent-cyan-glow);
  transition: all var(--transition-fast);
}

.btn-slide-primary:hover {
  background: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 210, 255, 0.45);
}

.btn-slide-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-green);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 16px var(--accent-green-glow);
  transition: all var(--transition-fast);
}

.btn-slide-wa:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Controles de Slider */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.15rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.slider-arrow:hover {
  background: var(--accent-cyan);
  color: #070A10;
  border-color: var(--accent-cyan);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot.active {
  background: var(--accent-cyan);
  width: 26px;
  height: 7px;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--accent-cyan);
}
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* ==========================================================================
   BUSCADOR & FILTROS (REDIRECCIÓN A CATÁLOGO)
   ========================================================================== */
.home-search-section {
  padding: 1.5rem 0 3rem;
}

.home-search-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-card);
}

.search-header-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.home-search-form {
  display: grid;
  grid-template-columns: 1.25fr 1fr auto;
  gap: 1.25rem;
  align-items: center;
}

.home-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.home-search-input {
  width: 100%;
  background: rgba(7, 10, 16, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.75rem 1rem 0.75rem 2.8rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.home-search-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.home-search-select {
  background: rgba(7, 10, 16, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.home-search-select:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.btn-home-search-submit {
  background: var(--accent-cyan);
  border: none;
  color: #070A10;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px var(--accent-cyan-glow);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-home-search-submit:hover {
  background: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
}

/* ==========================================================================
   SECCIÓN "DISEÑO" (LINK DESDE MENÚ PRINCIPAL)
   SERVICIO ESPECIALIZADO DE DISEÑO - CENTRADO Y SIN IMAGEN
   ========================================================================== */
.diseno-section {
  padding: 5.5rem 0 6rem;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 19, 34, 0.6) 100%);
}

.diseno-centered-wrap {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.diseno-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid var(--border-highlight);
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.diseno-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-align: center;
}

.diseno-title .cyan-highlight {
  color: var(--accent-cyan);
  text-shadow: 0 0 25px rgba(0, 210, 255, 0.45);
}

.diseno-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.75rem;
  max-width: 780px;
  text-align: center;
}

.diseno-cta-wrap {
  display: flex;
  justify-content: center;
}

.btn-diseno-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-green);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 18px var(--accent-green-glow);
  transition: all var(--transition-fast);
}

.btn-diseno-wa:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   SOLO 3 PRODUCTOS DESTACADOS EN HOME
   ========================================================================== */
.featured-products-section {
  padding: 4.5rem 0 5.5rem;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

.btn-view-all-catalog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-view-all-catalog:hover {
  background: rgba(0, 210, 255, 0.12);
  border-color: var(--accent-cyan);
  transform: translateX(3px);
}

/* ==========================================================================
   CATÁLOGO - PANEL DE FILTROS & CATEGORÍAS
   ========================================================================== */
.catalog-section {
  padding: 2.5rem 0 5rem;
}

.filter-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.filter-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.category-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cat-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.cat-pill-btn:hover {
  background: rgba(0, 210, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.4);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.cat-pill-btn.active {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #070A10;
  font-weight: 800;
  box-shadow: 0 4px 15px var(--accent-cyan-glow);
}

.results-counter {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.results-counter strong {
  color: var(--accent-cyan);
}

.filter-controls-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1rem;
  align-items: center;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-box .search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: rgba(7, 10, 16, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.75rem 1rem 0.75rem 2.8rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.select-municipality {
  width: 100%;
  background: rgba(7, 10, 16, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.select-municipality:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 20px var(--accent-cyan-glow);
  background: var(--bg-card-hover);
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .card-img {
  transform: scale(1.05);
}

.card-badges-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.badge-tag {
  background: rgba(7, 10, 16, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-tag.highlight {
  background: rgba(0, 210, 255, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.badge-tag.gold {
  background: rgba(245, 176, 50, 0.2);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.badge-tag.pop {
  background: rgba(234, 179, 8, 0.2);
  border-color: #EAB308;
  color: #FACC15;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.card-code {
  font-family: monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.card-municipality {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.card-title:hover {
  color: var(--accent-cyan);
}

.card-address {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}

.card-specs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
  margin-top: auto;
}

.spec-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.card-actions-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-card-details {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-card-details:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--text-secondary);
}

.btn-card-quote {
  background: var(--accent-green);
  border: 1px solid var(--accent-green);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px var(--accent-green-glow);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-card-quote:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   MODAL DE REVISIÓN "MI LISTA DE COTIZACIÓN" (ANTES DE SALTAR A WHATSAPP)
   ========================================================================== */
.quote-review-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.quote-review-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.quote-review-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.quote-review-modal-overlay.active .quote-review-container {
  transform: scale(1) translateY(0);
}

.quote-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  z-index: 10;
}

.quote-review-list {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-review-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(7, 10, 16, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.quote-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quote-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.quote-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-remove-quote-item {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #ef4444;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-remove-quote-item:hover {
  background: #ef4444;
  color: #ffffff;
}

.quote-review-form {
  padding: 0 1.75rem 1.5rem;
}

.quote-notes-input {
  width: 100%;
  background: rgba(7, 10, 16, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  margin-bottom: 1.25rem;
}

.quote-notes-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.btn-confirm-send-wa {
  width: 100%;
  background: var(--accent-green);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px var(--accent-green-glow);
  transition: all var(--transition-fast);
}

.btn-confirm-send-wa:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   MODAL DE DETALLES DEL PRODUCTO (EN LA MISMA PÁGINA)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 950px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  z-index: 10;
}

.modal-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  padding: 1.75rem;
}

.modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-main-image-wrap {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 11;
  position: relative;
}

.modal-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-fast);
}

.modal-thumbs-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.modal-thumb {
  width: 72px;
  height: 54px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.modal-thumb.active,
.modal-thumb:hover {
  opacity: 1;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-col {
  display: flex;
  flex-direction: column;
}

.modal-product-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.modal-product-address {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.modal-specs-table {
  background: rgba(7, 10, 16, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.modal-specs-table h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--text-muted);
}

.spec-value {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
}

.modal-desc-box {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.modal-cta-box {
  margin-top: auto;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.modal-cta-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.modal-cta-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.btn-modal-wa-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--accent-green);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 6px 20px var(--accent-green-glow);
  transition: all var(--transition-fast);
}

.btn-modal-wa-quote:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-modal-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-modal-add-cart:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
}

/* ==========================================================================
   BARRA FLOTANTE DE MULTI-COTIZACIÓN
   ========================================================================== */
.sticky-quote-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 99;
  background: rgba(13, 19, 34, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 210, 255, 0.25);
  transition: transform var(--transition-smooth);
}

.sticky-quote-bar.visible {
  transform: translateX(-50%) translateY(0);
}

.quote-bar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.quote-bar-badge {
  background: var(--accent-cyan);
  color: #070A10;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
}

.btn-quote-bar-review {
  background: var(--accent-green);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px var(--accent-green-glow);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-quote-bar-review:hover {
  background: var(--accent-green-hover);
  transform: scale(1.03);
}

.btn-quote-bar-clear {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
}

.btn-quote-bar-clear:hover {
  color: #ef4444;
}

/* ==========================================================================
   FOOTER CORPORATIVO
   ========================================================================== */
.site-footer {
  background: #04060A;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--accent-cyan);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.footer-contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: var(--accent-green);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-admin-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-admin-link:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-slide {
    min-height: 460px;
    height: 480px;
  }
  .slide-bg-media {
    width: 70%;
  }
  .slide-content-wrap {
    padding: 2.5rem 2rem 2.5rem 2.5rem;
    max-width: 540px;
  }
  .diseno-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .modal-content-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-slide {
    min-height: 440px;
    height: auto;
  }
  .slide-bg-media {
    width: 100%;
    opacity: 0.38;
  }
  .slide-gradient-fade {
    background: linear-gradient(
      180deg,
      rgba(7, 10, 16, 0.4) 0%,
      rgba(7, 10, 16, 0.85) 45%,
      #070A10 100%
    );
  }
  .slide-content-wrap {
    padding: 3rem 1.5rem 3.5rem;
    max-width: 100%;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .home-search-form {
    grid-template-columns: 1fr;
  }
  .filter-controls-row {
    grid-template-columns: 1fr;
  }
  .filter-top-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .sticky-quote-bar {
    width: 90%;
    flex-direction: column;
    gap: 10px;
    border-radius: var(--radius-md);
    padding: 12px 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.wa-svg {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.15em;
  fill: currentColor;
}
