/* --- SISTEMA DE DISEÑO Y VARIABLES DE SOFE SECURITY PREMIUM --- */
:root {
  --bg-main: #ffffff;
  --bg-deep: #f5f5f7;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --accent-primary: #1d1d1f; /* Charcoal/Negro para CTAs principales */
  --accent-secondary: #0071e3; /* Azul muy sutil para enlaces/estados activos */
  
  --border-subtle: #e5e5e5;
  --border-active: #d2d2d7;
  
  --text-main: #1d1d1f;
  --text-muted: #86868b;
  --text-dark: #1d1d1f;
  
  --font-title: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 16px;
  --border-radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 { 
  font-family: var(--font-title); 
  font-weight: 600; 
  letter-spacing: -0.02em; 
  color: var(--text-main); 
}

a { 
  color: inherit; 
  text-decoration: none; 
  transition: var(--transition-smooth); 
}

.container { 
  width: 100%; 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 2rem; 
}

/* --- HEADER / NAVEGACIÓN --- */
.header {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo-link { display: flex; align-items: center; gap: 0.5rem; }
.logo-icon {
  width: 28px; height: 28px;
  background: var(--text-main);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  color: #ffffff; font-family: var(--font-title); font-weight: 600; font-size: 1rem;
}
.logo-text { font-family: var(--font-title); font-size: 1.15rem; font-weight: 600; color: var(--text-main); letter-spacing: -0.01em; }
.logo-badge { font-size: 0.6rem; font-weight: 600; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--border-subtle); padding: 2px 6px; border-radius: 4px; background: var(--bg-deep); }

.nav-menu { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-link { font-size: 0.85rem; font-weight: 400; color: var(--text-main); opacity: 0.8; }
.nav-link:hover, .nav-link.active { opacity: 1; color: var(--text-main); font-weight: 500; }

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.quote-cart-btn {
  position: relative; background: transparent; border: 1px solid var(--border-subtle);
  border-radius: 30px; padding: 6px 14px; display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 500; color: var(--text-main); cursor: pointer; transition: var(--transition-smooth);
}
.quote-cart-btn:hover { background: var(--bg-deep); border-color: var(--border-active); }
.cart-count { background: var(--text-main); color: #fff; font-family: var(--font-body); font-weight: 500; font-size: 0.7rem; min-width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* --- BOTONES --- */
.btn { 
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; 
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; 
  padding: 12px 28px; border-radius: 30px; cursor: pointer; 
  transition: var(--transition-smooth); border: 1px solid transparent; 
}
.btn-primary { 
  background: var(--text-main); color: #ffffff; 
}
.btn-primary:hover { 
  background: #333336; transform: scale(1.02);
}
.btn-secondary { 
  background: transparent; color: var(--text-main); border-color: var(--border-subtle); 
}
.btn-secondary:hover { 
  background: var(--bg-deep); border-color: var(--border-active);
}
.btn-sm { padding: 8px 20px; font-size: 0.85rem; flex-grow: 1; }

.btn.added-state { 
  background: var(--bg-deep); color: var(--text-main); border-color: var(--border-subtle); box-shadow: none; pointer-events: none; opacity: 0.7;
}

/* --- HERO & DIAGRAMA SVG --- */
.hero { padding: 8rem 0; position: relative; overflow: hidden; background: var(--bg-main); }
.hero-grid-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.hero-tagline { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.5rem; display: inline-block; }
.hero-title { font-size: 4rem; font-weight: 600; line-height: 1.05; margin-bottom: 1.5rem; letter-spacing: -0.03em; color: var(--text-main); }
.hero-description { font-size: 1.25rem; font-weight: 400; color: var(--text-muted); margin-bottom: 3rem; max-width: 90%; line-height: 1.4; }
.hero-actions { display: flex; gap: 1rem; }

.hero-visual-right { position: relative; width: 100%; height: 100%; min-height: 400px; display: flex; align-items: center; justify-content: center; }
.hero-svg-diagram { width: 100%; height: 100%; max-width: 550px; }

/* --- FRANJA DE CONFIANZA / AUTORIDAD --- */
.trust-strip-section { background: var(--bg-deep); padding: 3rem 0; border-top: 1px solid var(--border-subtle); }
.trust-strip-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
.trust-item { display: flex; align-items: center; gap: 1rem; }
.trust-number { font-family: var(--font-title); font-size: 2.5rem; font-weight: 600; color: var(--text-main); letter-spacing: -0.03em; }
.trust-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; max-width: 150px; line-height: 1.3; }
.trust-divider { width: 1px; height: 40px; background: var(--border-subtle); }

/* --- SECTION GENERAL --- */
.section { padding: 8rem 0; }
.section-header { margin-bottom: 4rem; max-width: 700px; }
.section-tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-weight: 600; margin-bottom: 1rem; display: block; }
.section-title { font-size: 3rem; margin-bottom: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.section-desc { color: var(--text-muted); font-size: 1.15rem; font-weight: 400; }

/* --- CARDS & GRID --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--border-radius); padding: 3rem; transition: var(--transition-smooth); position: relative; }
.card:hover { border-color: var(--border-active); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); transform: translateY(-2px); }

.card-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: flex-start; color: var(--text-main); margin-bottom: 2rem; }
.card-icon svg { stroke-width: 1.5px; width: 32px; height: 32px; }
.card-title { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-main); font-weight: 600; letter-spacing: -0.01em; }
.card-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.5; }

/* --- ENLACES RÁPIDOS (COLECCIONES HOME) --- */
.category-link-card { padding: 1.5rem; display: flex; align-items: center; gap: 1rem; cursor: pointer; border-radius: var(--border-radius-sm); }
.cat-card-icon { width: 24px; height: 24px; color: var(--text-muted); transition: var(--transition-smooth); stroke-width: 1.5px; }
.cat-card-title { font-size: 0.95rem; font-weight: 500; color: var(--text-main); }
.category-link-card:hover { background: var(--bg-main); border-color: var(--border-active); }
.category-link-card:hover .cat-card-icon { color: var(--text-main); transform: scale(1.05); }

/* --- CATÁLOGO --- */
.catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 4rem; }
.catalog-sidebar { position: sticky; top: 110px; height: fit-content; }
.sidebar-title { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-main); margin-bottom: 1.5rem; }
.filter-list { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.filter-btn { width: 100%; text-align: left; background: none; border: none; color: var(--text-muted); padding: 8px 12px; border-radius: var(--border-radius-sm); cursor: pointer; font-size: 0.9rem; transition: var(--transition-smooth); display: flex; align-items: center; gap: 10px; font-weight: 400; }
.filter-btn:hover { background: var(--bg-deep); color: var(--text-main); }
.filter-btn.active { color: var(--text-main); font-weight: 500; background: var(--bg-deep); }
.filter-btn svg { width: 16px; height: 16px; opacity: 0.6; }

.search-box { margin-bottom: 2rem; position: relative; }
.search-input { width: 100%; background: var(--bg-deep); border: 1px solid transparent; border-radius: var(--border-radius-sm); padding: 12px 12px 12px 40px; color: var(--text-main); font-family: var(--font-body); font-size: 0.9rem; outline: none; transition: var(--transition-smooth); }
.search-input:focus { border-color: var(--border-active); background: var(--bg-card); box-shadow: 0 0 0 4px rgba(0,0,0,0.03); }
.search-input::placeholder { color: var(--text-muted); }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2.5rem; }
.product-card { background: var(--bg-card); display: flex; flex-direction: column; transition: var(--transition-smooth); border: 1px solid transparent; }
.product-card:hover { transform: translateY(-4px); }
.product-card:hover .product-img { transform: scale(1.02); }

.product-img-wrapper { position: relative; aspect-ratio: 4/3; background: var(--bg-deep); border-radius: var(--border-radius); overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.product-img { width: 100%; height: 100%; object-fit: contain; padding: 2rem; transition: var(--transition-smooth); mix-blend-mode: multiply; }
.fallback-icon { width: 48px; height: 48px; color: var(--text-muted); stroke-width: 1px; opacity: 0.5; }

.product-info { display: flex; flex-direction: column; flex-grow: 1; }
.product-collection-badge { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); margin-bottom: 0.25rem; }
.product-name { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.3; color: var(--text-main); }
.product-sku { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.product-desc-short { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-actions { display: flex; gap: 0.75rem; margin-top: auto; }

/* --- TOAST NOTIFICATIONS --- */
.toast-container { position: fixed; bottom: 24px; center: 0; left: 50%; transform: translateX(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--bg-glass); backdrop-filter: blur(20px); border: 1px solid var(--border-subtle); padding: 12px 24px; border-radius: 30px; color: var(--text-main); font-size: 0.9rem; font-weight: 500; box-shadow: 0 4px 20px rgba(0,0,0,0.08); display: flex; align-items: center; gap: 12px; animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.toast-icon { color: var(--text-main); width: 18px; height: 18px; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* --- DETALLE PRODUCTO --- */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; margin-top: 2rem; align-items: start; }
.detail-img-box { background: var(--bg-deep); border-radius: var(--border-radius); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; position: sticky; top: 110px; padding: 4rem; }
.detail-img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.detail-fallback-icon { width: 80px; height: 80px; color: var(--text-muted); opacity: 0.5; stroke-width: 1px; }

.detail-info { display: flex; flex-direction: column; padding: 2rem 0; }
.detail-collection { color: var(--text-muted); font-size: 0.85rem; font-weight: 500; margin-bottom: 0.5rem; }
.detail-title { font-size: 3rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.5rem; line-height: 1.1; }
.detail-sku { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2rem; }
.detail-desc { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 3rem; line-height: 1.6; }
.spec-list { margin-bottom: 3rem; }
.spec-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-subtle); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--border-subtle); }
.spec-table td { padding: 12px 0; font-size: 0.95rem; }
.spec-key { color: var(--text-muted); width: 40%; }
.spec-val { color: var(--text-main); font-weight: 500; }
.detail-actions { display: flex; gap: 1rem; }

/* --- CARRITO / SOLICITUD DE COTIZACIÓN --- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 4rem; }
.cart-items-table { width: 100%; border-collapse: collapse; }
.cart-items-table th { text-align: left; color: var(--text-muted); font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; padding-bottom: 1rem; border-bottom: 1px solid var(--border-subtle); }
.cart-item-row { border-bottom: 1px solid var(--border-subtle); }
.cart-item-info { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem 0; }
.cart-item-img { width: 80px; height: 80px; object-fit: contain; border-radius: var(--border-radius-sm); background: var(--bg-deep); padding: 10px; display: flex; align-items: center; justify-content: center; mix-blend-mode: multiply; }
.cart-item-name { font-weight: 600; font-size: 1rem; margin-bottom: 2px; display: block; }
.cart-item-name a { color: var(--text-main); }
.cart-item-name a:hover { opacity: 0.7; }
.cart-item-sku { font-size: 0.8rem; color: var(--text-muted); }
.cart-qty-box { display: flex; align-items: center; gap: 0.5rem; }
.qty-btn { background: var(--bg-deep); border: none; color: var(--text-main); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition-smooth); }
.qty-btn:hover { background: var(--border-subtle); }
.qty-input { width: 40px; background: transparent; border: none; padding: 4px; color: var(--text-main); text-align: center; font-weight: 500; font-size: 1rem; }
.qty-input:focus { outline: none; }
.btn-remove { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.85rem; font-weight: 500; transition: var(--transition-smooth); display: flex; align-items: center; gap: 6px; }
.btn-remove:hover { color: var(--text-main); }

.cart-summary { background: var(--bg-deep); border-radius: var(--border-radius); padding: 2.5rem; height: fit-content; position: sticky; top: 110px; }
.summary-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 0.95rem; color: var(--text-dark); }
.summary-total { font-weight: 600; color: var(--text-main); border-top: 1px solid var(--border-subtle); padding-top: 1rem; margin-top: 1rem; }
.summary-actions { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.empty-cart-state { text-align: center; padding: 6rem 2rem; }

/* --- CONTACTO & FORMULARIOS --- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 3rem; }
.info-block-title { font-size: 2rem; font-weight: 600; margin-bottom: 2rem; letter-spacing: -0.01em; }
.info-item { display: flex; gap: 1.5rem; }
.info-icon { color: var(--text-main); flex-shrink: 0; display: flex; align-items: flex-start; }
.info-icon svg { stroke-width: 1.5px; }
.info-content h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.25rem; }
.info-content p { font-size: 1rem; color: var(--text-muted); line-height: 1.5; }

.quote-form-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--border-radius); padding: 3rem; box-shadow: 0 4px 24px rgba(0,0,0,0.02); }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-main); margin-bottom: 0.5rem; }
.req-mark { color: #ff3b30; margin-left: 2px; }
.form-input, .form-select, .form-textarea { width: 100%; background: var(--bg-main); border: 1px solid var(--border-subtle); border-radius: var(--border-radius-sm); padding: 14px 16px; color: var(--text-main); font-family: var(--font-body); font-size: 1rem; transition: var(--transition-smooth); -webkit-appearance: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--text-main); outline: none; box-shadow: 0 0 0 1px var(--text-main); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.checkbox-group { display: flex; align-items: center; gap: 0.75rem; }
.checkbox-input { width: 18px; height: 18px; accent-color: var(--text-main); border: 1px solid var(--border-subtle); }
.privacy-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 2rem; text-align: center; }

/* --- EXITO DE COTIZACION --- */
.success-card { text-align: center; max-width: 600px; margin: 4rem auto; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--border-radius); padding: 5rem 3rem; box-shadow: 0 4px 24px rgba(0,0,0,0.02); }
.success-icon { width: 80px; height: 80px; color: var(--text-main); display: flex; align-items: center; justify-content: center; margin: 0 auto 2rem auto; }
.success-icon svg { stroke-width: 1px; width: 64px; height: 64px; }
.success-title { font-size: 2.5rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: -0.02em; }

/* --- FOOTER --- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--border-subtle); padding: 4rem 0 2rem 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-desc { font-size: 0.95rem; color: var(--text-muted); max-width: 320px; line-height: 1.5; }
.footer-title { font-size: 0.85rem; font-weight: 600; color: var(--text-main); margin-bottom: 1.5rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link { font-size: 0.95rem; color: var(--text-muted); }
.footer-link:hover { color: var(--text-main); }
.footer-bottom { border-top: 1px solid var(--border-subtle); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--text-muted); }

/* --- NOSOTROS (ABOUT) Y SERVICIOS --- */
.text-layout { max-width: 800px; margin: 0 auto; }
.text-layout h2 { font-size: 2rem; margin: 3rem 0 1.5rem 0; letter-spacing: -0.01em; font-weight: 600; }
.text-layout p { margin-bottom: 1.5rem; color: var(--text-dark); font-size: 1.1rem; line-height: 1.6; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 4rem; }
.service-card { background: var(--bg-deep); border-radius: var(--border-radius); padding: 3rem; }
.service-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; color: var(--text-main); display: flex; align-items: center; gap: 12px; letter-spacing: -0.01em; }
.service-title svg { color: var(--text-main); stroke-width: 1.5px; }
.service-text { font-size: 1.05rem; color: var(--text-dark); margin-bottom: 0; line-height: 1.5; }

/* --- DISEÑO RESPONSIVO --- */
@media (max-width: 1024px) {
  .catalog-layout, .cart-layout, .contact-layout, .product-detail-layout, .hero-grid-layout { grid-template-columns: 1fr; gap: 4rem; }
  .catalog-sidebar { position: static; margin-bottom: 1rem; }
  .trust-strip-container { justify-content: center; }
  .trust-divider { display: none; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero-title { font-size: 2.75rem; }
  .hero { padding: 4rem 0; }
  .section { padding: 4rem 0; }
  .section-title { font-size: 2.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .product-detail-layout { gap: 2rem; }
  .detail-img-box { padding: 2rem; }
  
  /* Trust strip fix 2x2 */
  .trust-strip-container { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; justify-items: center; }
  .trust-item { flex-direction: column; align-items: center; text-align: center; gap: 0.25rem; }
  .trust-number { font-size: 2rem; }
  .trust-label { max-width: 120px; font-size: 0.8rem; }
}

/* ==========================================================================
   V2: CATEGORY SLIDER & PREMIUM GRIDS
   ========================================================================== */

/* Hero Slider */
.hero-slider-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-slider {
  display: flex;
  width: 100%;
  height: 65vh;
  min-height: 500px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.hero-slider::-webkit-scrollbar {
  display: none; /* Ocultar scrollbar para un look limpio */
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.2) 100%);
  display: flex;
  align-items: center;
}

.slide-content {
  padding-left: 5%;
  max-width: 600px;
  color: #fff; /* Forzar blanco para contraste sobre imágenes oscuras/oscurantizadas */
}

.slide-category {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  opacity: 0.8;
  font-weight: 500;
}

.slide-title {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
}

.slide-desc {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.6;
}

.slider-nav {
  position: absolute;
  bottom: 2rem;
  left: 5%;
  display: flex;
  gap: 1rem;
}

.slider-dot {
  width: 40px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #fff;
}

/* Category Grid (Homepage & Categories Page) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.category-card-premium {
  position: relative;
  height: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
  text-decoration: none;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.category-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.category-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card-premium:hover .category-card-img {
  transform: scale(1.05);
}

.category-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #fff;
}

.category-card-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
}

.category-card-desc {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.category-card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.category-card-cta svg {
  transition: transform 0.3s ease;
}

.category-card-premium:hover .category-card-cta svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .slide-title { font-size: 2.25rem; }
  .hero-slider { height: 75vh; min-height: 500px; }
  .category-grid { grid-template-columns: 1fr; }
  
  /* Make overlay gradient bottom-up for mobile */
  .slide-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.1) 100%);
    align-items: flex-end;
    padding-bottom: 4rem;
  }
  .slide-content {
    padding-left: 0;
    padding: 0 1.5rem;
    max-width: 100%;
    text-align: center;
  }
  .slider-nav {
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.5rem;
  }
}
