/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
  --primary: #0ea5e9;       /* Azul brillante */
  --primary-dark: #0284c7;
  --secondary: #f97316;     /* Naranja vibrante */
  --secondary-dark: #ea580c;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 0.75rem;
  --font-main: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-main);
  color: var(--dark);
  background-color: var(--light);
  background-image: url("FONDOBODY/fondobody.jpg");
  background-repeat: repeat;
  background-size: auto;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

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

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
.main-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 50px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--gray);
}

/* Search Bar */
.search-bar {
  flex: 1;
  max-width: 400px;
  position: relative;
  display: flex;
}

.search-bar input {
  width: 100%;
  padding: 0.6rem 1rem;
  padding-right: 3rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.3s;
}

.search-bar input:focus {
  border-color: var(--primary);
}

.search-button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: #c2410c; /* Anaranjado Oscuro (Orange 700) */
  color: var(--white);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.search-button:hover {
  background: #9a3412; /* Darker shade on hover */
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
}

.nav-list a {
  font-weight: 500;
  color: var(--dark);
  font-size: 0.95rem;
  position: relative;
}

.nav-list a:hover {
  color: var(--primary);
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
}

/* Mobile Nav */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    display: none;
  }
  
  .nav-list.open {
    display: flex;
  }
  
  .nav-list li {
    width: 100%;
  }
  
  .nav-list a {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
  }
  
  .header-inner {
    padding-bottom: 0.5rem;
  }
  
  .search-bar {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 0.5rem;
  }
}

/* =========================================
   3. HERO SECTION (SLIDER)
   ========================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin-top: 1rem;
}

.hero-slider {
  position: relative;
  height: 450px; /* Altura más mediana */
}

.slider-track {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s;
  background: var(--dark); /* Fondo oscuro consistente */
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Flexbox Layout: Texto Izquierda | Imagen Derecha */
.slide-split-layout {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slide-content-side {
  position: relative;
  width: 45%; /* Espacio para el texto */
  height: 100%;
  background: var(--dark); /* Fondo oscuro para el texto */
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
  text-align: left;
}

.slide-image-side {
  position: relative;
  width: 55%; /* Espacio para la imagen */
  height: 100%;
  z-index: 1;
  background: var(--dark); /* Fondo oscuro para integrar con el texto */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slide-image-side img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Muestra la imagen completa sin recortes */
  object-position: center right; /* Alineada a la derecha para dar aire al texto */
}

/* Slide Content Elements */
.slide-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.slide-main-text {
  margin-bottom: 2rem;
}

.slide-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-main-text h2 {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1rem;
}

.slide-footer {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--gray);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

/* Slider Controls */
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.slider-control:hover {
  background: var(--primary);
}

.slider-control.prev { left: 1rem; }
.slider-control.next { right: 1rem; }

.slider-indicators {
  position: absolute;
  bottom: 1.5rem;
  left: 3rem;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.slider-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-indicators button.active {
  background: var(--secondary);
  transform: scale(1.2);
}

@media (max-width: 900px) {
  .hero-slider { height: auto; min-height: auto; }
  .slide-split-layout {
    display: flex;
    flex-direction: column-reverse;
  }
  .slide-image-side {
    position: relative;
    width: 100%;
    height: 300px;
    flex: none;
  }
  .slide-content-side {
    position: relative;
    width: 100%;
    height: auto;
    padding: 3rem 2rem;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 1));
  }
  .slide-main-text h2 { font-size: 2rem; }
  .slider-indicators { left: 50%; transform: translateX(-50%); bottom: 1rem; }
}

/* =========================================
   4. GENERAL LAYOUT & COMPONENTS
   ========================================= */
.section {
  display: none;
  padding: 4rem 0;
  animation: fadeIn 0.5s ease;
}

.section.active-section {
  display: block;
  animation: fadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

.section-header h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin: 0.5rem auto 0;
}

.section-header p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.center { text-align: center; }
.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--gray);
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  gap: 0.5rem;
  border: none;
  font-size: 0.95rem;
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { background: var(--secondary-dark); transform: translateY(-2px); }

.btn-outline { border: 2px solid var(--border); background: var(--white); color: var(--dark); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn-text { background: transparent; color: var(--primary); padding: 0.5rem; }
.btn-text:hover { color: var(--primary-dark); text-decoration: underline; }

.btn-small { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
.btn-ghost { background: #f1f5f9; color: var(--dark); }
.btn-ghost:hover { background: #e2e8f0; }

/* =========================================
   5. HOME SECTIONS
   ========================================= */
.home-main-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.home-menu {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 90px;
}

.home-menu h2 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.home-menu p { font-size: 0.85rem; color: var(--gray); margin-bottom: 1.5rem; }

.home-menu-list li { margin-bottom: 0.5rem; }
.home-menu-list a {
  display: block;
  padding: 0.5rem 1rem;
  background: var(--light);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.home-menu-list a:hover {
  background: var(--primary);
  color: var(--white);
}

/* Home Intro Cards */
.home-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.home-intro-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  transition: transform 0.3s;
}

.home-intro-card:hover { transform: translateY(-5px); }
.home-intro-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.home-intro-card p { font-size: 0.9rem; color: var(--gray); }

/* Home Process */
.home-process { margin-top: 2rem; }
.home-process h3 { font-size: 1.1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }

.home-process-card {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.home-process-step {
  background: var(--secondary);
  color: var(--white);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
}

.home-process-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.4; }

/* Home Gallery (Small Grid in Sidebar) */
.home-gallery { margin-top: 2rem; }
.home-gallery h3 { font-size: 1.1rem; margin-bottom: 1rem; }

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.home-gallery-item {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 1;
}

.home-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.home-gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: var(--white);
  font-size: 0.6rem;
  padding: 2px 5px;
  text-align: center;
}

.home-gallery-item:hover img { transform: scale(1.1); }

/* How Grid (Main Content) */
.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.how-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.how-card:hover { transform: translateY(-5px); }

.how-icon {
  font-size: 1.5rem;
  color: var(--primary);
  background: #e0f2fe;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.how-card p { font-size: 0.9rem; color: var(--gray); }

/* =========================================
   6. CATEGORIES GRID
   ========================================= */
.section-categorias,
.section-catalogo,
.section-buscar {
  background-color: transparent;
  padding: 5rem 0;
  position: relative;
  min-height: 60vh;
}

.section-categorias::before,
.section-catalogo::before,
.section-buscar::before {
  content: none;
}

/* =========================================
   7. BRANDS GRID (Custom Request)
   ========================================= */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .brands-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.brand-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.brand-card:hover::before {
  transform: scaleX(1);
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.brand-card img {
  width: 80%;
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.brand-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.brand-card span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray);
  text-align: center;
}

.brand-card:hover span {
  color: var(--dark);
}

/* =========================================
   8. CATEGORIES & PRODUCT CATALOG
   ========================================= */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.category-media {
  height: 200px;
  background: #f8fafc;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}

.category-media img {
  max-height: 80%;
  max-width: 80%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.category-card:hover .category-media img {
  transform: scale(1.1);
}

.category-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 2;
}

.category-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.category-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-weight: 700;
}

.category-meta {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
  flex: 1;
  line-height: 1.5;
}

.category-link {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  transition: gap 0.3s ease;
}

.category-card:hover .category-link {
  gap: 1rem;
  color: var(--secondary);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-media {
  height: 200px;
  padding: 1.5rem;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.product-media img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.product-name {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
  line-height: 1.3;
}

.product-description {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  margin-bottom: 1rem;
  color: #fbbf24;
  font-size: 0.9rem;
  display: flex;
  gap: 2px;
  align-items: center;
}

.product-rating span {
  color: var(--gray);
  margin-left: 5px;
  font-size: 0.8rem;
}

.product-actions {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
}

/* Detail View */
.detalle-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.detalle-media {
  background: #f8fafc;
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detalle-media img {
  max-height: 400px;
  object-fit: contain;
}

.detalle-info h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.detalle-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.badge {
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  background: #f1f5f9;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 5px;
}

.badge-success { background: #dcfce7; color: #166534; }

.detalle-description {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.detalle-qty {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.detalle-qty input {
  width: 80px;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}

.detalle-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* =========================================
   9. ABOUT US (Nosotros)
   ========================================= */
.section-nosotros {
  background: transparent;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  align-items: center;
}

.two-column-media {
  position: relative;
}

.two-column-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
  width: 100%;
  height: auto;
}

.two-column-media:hover img {
  transform: scale(1.02) rotate(1deg);
}

.two-column-media::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  z-index: 1;
  transition: transform 0.5s ease;
}

.two-column-media:hover::before {
  transform: translate(10px, 10px);
}

.eyebrow {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 1rem;
}

.two-column-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--dark);
  position: relative;
}

.two-column-content p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  border-left-width: 4px;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--secondary);
}

.feature-card h3 { 
  font-size: 1.2rem; 
  margin-bottom: 0.75rem; 
  color: var(--dark); 
  font-weight: 700;
}

.feature-card p { 
  font-size: 0.95rem; 
  margin-bottom: 0; 
  color: var(--gray); 
  line-height: 1.6;
}

.actions-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.values-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.value-pill {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--dark);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.value-pill::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.value-pill:hover::after {
  transform: scaleX(1);
}

.value-pill i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.value-pill:hover i {
  transform: scale(1.1);
  color: var(--secondary);
}

.value-pill:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

/* Sobre Nosotros Section */
.section-sobre {
  background: var(--white);
  padding: 5rem 0;
}

.sobre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  margin-top: 3rem;
  align-items: center;
}

.sobre-text p { 
  margin-bottom: 1.5rem; 
  color: var(--gray);
  line-height: 1.8;
  font-size: 1.05rem;
}

.sobre-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.sobre-gallery img {
  border-radius: var(--radius);
  height: 200px;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.sobre-gallery img:hover {
  transform: scale(1.05);
  z-index: 2;
}

/* =========================================
   10. CONTACTO
   ========================================= */
.section-contacto {
  background: transparent;
  position: relative;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contacto-form-wrapper {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.contacto-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.form-row { margin-bottom: 1.5rem; }
.form-row label { display: block; margin-bottom: 0.6rem; font-weight: 600; color: var(--dark); font-size: 0.9rem; }

.form-row input, .form-row textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--border);
  background-color: #f8fafc;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-row.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contacto-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--secondary);
  transition: transform 0.3s ease;
}

.contacto-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
}

.contacto-card h3, .contacto-card h4 { margin-bottom: 1rem; color: var(--dark); font-weight: 700; }

.contact-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--gray);
  line-height: 1.6;
  font-size: 0.95rem;
}

.contact-list i { 
  color: var(--primary); 
  margin-top: 4px; 
  background: #e0f2fe;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 0.9rem;
}

/* =========================================
   11. MATERIALES LIST
   ========================================= */
.section-materiales {
  background: transparent;
  position: relative;
  overflow: hidden;
  padding-bottom: 6rem;
}

.section-materiales::before {
  content: none;
}

.materiales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.material-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.material-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.material-card:hover::after {
  transform: scaleX(1);
}

.material-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.material-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.material-card:hover .material-icon {
  transform: scale(1.2);
}

.material-card span:last-child {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* =========================================
   12. FOOTER
   ========================================= */
.main-footer {
  background: #c2410c; /* Anaranjado Oscuro (Orange 700) */
  color: var(--white);
  padding: 4rem 0 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h3 { margin-bottom: 1rem; font-size: 1.2rem; color: var(--white); }
.footer-column h4 { margin-bottom: 1rem; font-size: 1.1rem; color: rgba(255, 255, 255, 0.9); }
.footer-column p { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }

.footer-column ul li { margin-bottom: 0.8rem; }
.footer-column a { color: rgba(255, 255, 255, 0.8); transition: color 0.3s; }
.footer-column a:hover { color: var(--white); text-decoration: underline; }

.social-links { display: flex; gap: 1rem; }
.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--white);
}
.social-links a:hover { background: var(--white); color: #c2410c; transform: translateY(-3px); }

/* Contact List in Footer Override */
.main-footer .contact-list li {
  color: var(--white);
}

.main-footer .contact-list i {
  background: var(--white);
  color: #c2410c;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Floating Buttons */
.floating-whatsapp, .floating-facebook {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  z-index: 100;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.floating-whatsapp:hover, .floating-facebook:hover { transform: scale(1.1); }
.floating-facebook { bottom: 7rem; width: 50px; height: 50px; }

/* =========================================
   13. RESPONSIVE UTILITIES
   ========================================= */
@media (max-width: 1200px) {
  .brands-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 1024px) {
  .home-main-layout { grid-template-columns: 1fr; }
  .home-menu { display: none; }
}

@media (max-width: 900px) {
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .two-column { grid-template-columns: 1fr; gap: 2rem; }
  .values-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .home-intro-grid, .how-grid { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }
  .form-row.two-cols { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .detalle-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .sobre-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .brands-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
}
