/* --- Google Font & CSS Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;900&display=swap');

:root {
    --primary-color: #333;
    --text-color: #1a1a1a;
    --bg-light: #f7f7f7;
    --white: #fff;
    --border-color: #ddd;
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --banner-height: 40px; /* Altura aproximada del banner superior */
}

/* --- Global Reset & Base Styles --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--white);
}

/* ==================================
   ESTILOS DEL PRELOADER
   ================================== */
#preloader {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    background-color: #FDE2CF;
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 1; visibility: visible;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}
#preloader.preloader-hidden { opacity: 0; visibility: hidden; }
.preloader-content { text-align: center; }

.preloader-svg { width: 80px; height: 80px; animation: rotate-svg 2s linear infinite; }
.preloader-svg-path {
    stroke: #007bff; stroke-width: 5; stroke-dasharray: 283; stroke-dashoffset: 283;
    stroke-linecap: round; fill: transparent; animation: draw-path 1.5s ease-in-out infinite;
}
@keyframes rotate-svg { 100% { transform: rotate(360deg); } }
@keyframes draw-path { 0% { stroke-dashoffset: 283; } 50% { stroke-dashoffset: 75; } 100% { stroke-dashoffset: 283; } }
.preloader-text { margin-top: 20px; font-size: 1rem; font-weight: 400; color: rgba(0, 0, 0, 0.6); }

/* =================================
   HEADER & NAVIGATION (BASE)
   ================================= */
.main-header { position: sticky; top: 0; z-index: 2000; }

/* Marquesina superior */
.scrolling-banner {
    background-color: #e5f3fd;
    height: var(--banner-height);
    overflow: hidden;
    width: 100%;
    display: flex;
}
.scrolling-banner__track { display: flex; width: max-content; will-change: transform; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.scrolling-banner__track span {
    color: #5591A3; font-size: 0.8rem; font-weight: 500; white-space: nowrap;
    padding: 0 25px; line-height: var(--banner-height); display: flex; align-items: center;
}

/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    height: var(--header-height); padding: 0 5%; max-width: 1600px; margin: 0 auto;
}
.navbar__logo { font-weight: 900; font-size: 1.8rem; text-decoration: none; color: var(--text-color); }
.navbar__menu-container { display: flex; align-items: center; position: relative; }
.navbar__menu { display: none; list-style: none; gap: 2rem; }
.navbar__link {
    text-decoration: none; color: var(--text-color); font-weight: 500; position: relative; padding-bottom: 5px;
}
.navbar__link.active::after, .navbar__link:hover::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: var(--primary-color);
}
.navbar__icons { display: none; gap: 20px; margin-left: 40px; }
.navbar__icons a { color: var(--text-color); font-size: 1.1rem; }
.navbar__toggle {
    display: block; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-color);
}

/* ==================================
   DROPDOWN (AJUSTADO A TU HTML: .dropdown-menu--simple)
   ================================== */

/* Item con dropdown */
.main-header .nav-item--has-dropdown { position: relative; }

/* Contenedor del dropdown (desktop) */
.main-header .nav-item--has-dropdown > .dropdown-menu {
  /* Forzamos sobre Bootstrap u otros */
  display: block !important;

  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);

  width: 360px;              /* ancho cómodo para lista simple */
  max-width: 90vw;
  padding: 18px 20px;

  background-color: #f3f3f3;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 16%);
  border: 1px solid #e5e5e5;

  opacity: 0; visibility: hidden;
  z-index: 2200;
  transition: opacity .25s ease, transform .25s ease;
}

/* Mostrar por hover en desktop */
.main-header .nav-item--has-dropdown:hover > .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}

/* Lista interna del menú simple en 2 columnas bonitas (desktop) */
.main-header .dropdown-menu--simple ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px;
}
.main-header .dropdown-menu--simple li a {
  display: block; padding: 8px 0; text-decoration: none; color: #000; font-weight: 500;
  transition: color .2s ease, transform .2s ease;
}
.main-header .dropdown-menu--simple li a:hover { color: #6ca0b2; transform: translateX(5px); }

/* (Opcional) estilos para mega-menu por columnas, por si luego lo usas */
.dropdown-column h4 {
    font-size: 1.2rem; font-weight: 600; color: #d86b1e; margin-bottom: 15px;
    border-bottom: 2px solid #d86b1e; padding-bottom: 10px;
}
.dropdown-column ul { list-style: none; }
.dropdown-column ul li a {
    display: block; padding: 8px 0; text-decoration: none; color: #000; font-weight: 500;
    transition: color .2s ease, transform .2s ease;
}
.dropdown-column ul li a:hover { color: #6ca0b2; transform: translateX(5px); }

/* ==================================
   RESPONSIVE NAV & DROPDOWN (≤ 767px)
   ================================== */
@media (max-width: 767px) {
    /* Botón hamburguesa visible; menú e iconos ocultos por defecto */
    .navbar__toggle { display: block; }
    .navbar__menu, .navbar__icons { display: none; }

    /* Cuando el contenedor está abierto */
    .navbar__menu-container.is-open {
        display: flex; flex-direction: column; align-items: center;
        position: absolute; top: var(--header-height); left: 0; width: 100%;
        background-color: var(--white);
        padding: 30px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        border-top: 1px solid #f0f0f0;
    }
    .navbar__menu-container.is-open .navbar__menu {
        display: flex; flex-direction: column; text-align: center; gap: 25px; width: 100%;
    }
    .navbar__menu-container.is-open .navbar__icons {
        display: flex; margin-top: 30px; margin-left: 0; gap: 30px;
    }

    /* Wrapper del link + flecha (aunque uses el link mismo para abrir) */
    .nav-link-wrapper {
        display: flex; justify-content: space-between; align-items: center;
        width: 100%; padding: 0 20px;
    }

    /* Dropdown en móvil: dentro del flujo (accordion) */
    .main-header .nav-item--has-dropdown > .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none; border: none; border-radius: 8px;
        background-color: #f7f7f7;
        width: auto; margin: 10px 20px 0; padding: 0 15px;
        max-height: 0; overflow: hidden; opacity: 1; visibility: visible;
        transition: max-height .35s ease, padding .35s ease;
    }
    .main-header .nav-item--has-dropdown.submenu-open > .dropdown-menu {
        max-height: 1000px; padding: 15px;
    }

    /* Lista del simple dropdown: 1 columna en móvil */
    .main-header .dropdown-menu--simple ul { grid-template-columns: 1fr; }
}

/* ==================================
   DESKTOP SWITCHES
   ================================== */
@media (min-width: 768px) {
    .navbar__toggle { display: none; }
    .navbar__menu, .navbar__icons { display: flex; align-items: center; flex-direction: row; }
}

/* ================================================================
   CARRUSEL DE CATEGORÍAS
   ================================================================ */
.category-carousel-section {
    width: 100%; padding: 60px 0; background-color: var(--white); overflow: hidden;
}
.category-swiper { overflow: visible !important; }
.category-swiper .swiper-slide {
    width: 65%; transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 1; transform: scale(0.85);
}
.category-swiper .swiper-slide-active { opacity: 1; transform: scale(1); }
.category-card {
    width: 100%; max-width: 700px; height: 90%;
    border-radius: 20px; padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
@media (max-width: 767px) {
    .category-swiper .swiper-slide { width: 80%; }
    .category-card { flex-direction: column; text-align: center; height: auto; padding: 20px; }
    .category-card__text h3 { font-size: 1.5rem; }
    .category-swiper .swiper-button-next, .category-swiper .swiper-button-prev { display: none; }
}
.category-card__text { flex-basis: 50%; }
.category-card__text h3 { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); }
.category-card__text p { font-size: 1rem; color: #333; margin: 10px 0 25px; }
.category-card__btn {
    background-color: var(--primary-color); color: var(--white); padding: 12px 25px;
    text-decoration: none; border-radius: 8px; font-weight: 600; display: inline-block; transition: background-color 0.3s ease;
}
.category-card__btn:hover { background-color: #000; }
.category-card__image { flex-basis: 45%; height: 100%; }
.category-card__image img { width: 100%; height: 100%; object-fit: contain; }
.category-swiper .swiper-button-next, .category-swiper .swiper-button-prev {
    color: var(--primary-color); width: 50px; height: 50px; background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%; backdrop-filter: blur(4px); transition: opacity 0.3s;
}
.category-swiper .swiper-button-next::after, .category-swiper .swiper-button-prev::after { font-size: 1.2rem; font-weight: 900; }
@media (min-width: 1420px) { .category-swiper { max-width: 1400px; margin-left: auto; margin-right: auto; } }

/* ==================================
   BARRA DE CONTROLES DE VISTA
   ================================== */
.view-controls {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 20px; margin-bottom: 0;
}
.btn-filter-toggle {
    display: flex; align-items: center; gap: 8px;
    background-color: var(--white); border: 1px solid var(--border-color);
    padding: 8px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background-color 0.3s;
}
.btn-filter-toggle:hover { background-color: #f7f7f7; }
.results-count { color: #333333; font-weight: 100; }
.layout-toggles { display: flex; gap: 5px; background-color: #f0f0f0; padding: 4px; border-radius: 8px; }
.layout-btn {
    background-color: transparent; border: none; width: 36px; height: 36px; border-radius: 6px;
    color: #555; cursor: pointer; font-size: 1.1rem; transition: all 0.3s;
}
.layout-btn:hover { background-color: #ddd; }
.layout-btn.active { background-color: var(--primary-color); color: var(--white); box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

/* ==================================
   GRID VIEW MODES
   ================================== */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 30px; min-height: 400px; }
.product-grid.grid-view-1 { grid-template-columns: 1fr; gap: 15px; }
.product-grid.grid-view-1 .product-card { flex-direction: row; align-items: center; gap: 20px; }
.product-grid.grid-view-1 .card-image-container { width: 150px; height: 150px; padding-top: 0; flex-shrink: 0; }
.product-grid.grid-view-1 .card-content { padding-top: 0; text-align: left; }
@media (min-width: 576px) { .product-grid.grid-view-2 { grid-template-columns: repeat(2, 1fr); } }

/* ==================================
   BANNER DE CARACTERÍSTICAS
   ================================== */
.feature-banner { background-color: #DBF0A9; padding: 30px 5%; }
.feature-container {
    max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 20px;
}
.feature-item { text-align: center; }
.feature-item p { color: #55885A; font-weight: 600; font-size: 1rem; line-height: 1.4; }
@media (min-width: 768px) {
    .feature-banner { padding: 40px 5%; }
    .feature-item p { font-size: 1.1rem; }
}

/* ==================================
   ESPECÍFICOS POR PÁGINA
   ================================== */
.page-index .main-header { background-color: #FDEFE5; transition: background-color 0.8s ease; }
.page-index .navbar { background-color: transparent; }
.page-catalog .main-header { background-color: #FDEFE5; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }

/* ==================================
   HERO CAROUSEL (INDEX)
   ================================== */
.hero-carousel {
    position: relative; width: 100%;
    height: calc(100vh - var(--header-height) - var(--banner-height));
    overflow: hidden; background-color: #FDEFE5; transition: background-color 0.8s ease;
}
.carousel-container { position: relative; width: 100%; height: 100%; }
.slide {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 20px 5%; gap: 20px; transition: transform 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55); z-index: 1;
}
.slide.active { transform: translateX(0); z-index: 2; }
.slide.prev { transform: translateX(-100%); }
.slide.next { transform: translateX(100%); }
.slide__text, .slide__image-wrapper {
    opacity: 0; transform: translateX(30px);
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.slide.active .slide__text { transform: translateX(0); opacity: 1; transition-delay: 0.3s; }
.slide.active .slide__image-wrapper { transform: translateX(0); opacity: 1; transition-delay: 0.45s; }
.slide__subtitle { font-size: 1rem; font-weight: 400; }
.slide__title { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin: 10px 0; }
.slide__description { font-size: 1.2rem; font-weight: 500; margin-bottom: 30px; }
.btn {
    display: inline-block; background-color: transparent; border: 2px solid var(--text-color);
    color: var(--text-color); padding: 12px 28px; border-radius: 50px; text-decoration: none; font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}
.btn:hover { background-color: var(--text-color); color: var(--white); }
.slide__image-wrapper { width: 80%; max-width: 450px; }
.slide__image { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); }
.carousel-navigation {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 15px; z-index: 10;
}
.carousel-nav-btn {
    background: transparent; border: 1px solid var(--text-color); color: var(--text-color);
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: all 0.3s;
}
.carousel-nav-btn:hover { background-color: var(--text-color); color: white; }
.carousel-dots {
    position: absolute; top: 50%; right: 20px; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 15px; z-index: 10;
}
.dot { width: 12px; height: 12px; border-radius: 50%; background-color: rgba(0,0,0,0.2); border: none; cursor: pointer; transition: background-color 0.3s; }
.dot.active { background-color: rgba(0,0,0,0.8); }

/* ==================================
   FAQ
   ================================== */
.faq-section { padding: 80px 5%; background-color: var(--white); }
.faq-container { max-width: 1500px; margin: 0 auto; }
.faq-container h2 { text-align: center; font-size: 2.5rem; font-weight: 700; margin-bottom: 50px; }
.faq-item { border-bottom: 1px solid #FDE2CF; }
.faq-question {
    background: none; border: none; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5px; cursor: pointer;
    text-align: left; font-family: var(--font-family); font-size: 1.1rem; font-weight: 600; color: var(--text-color);
}
.faq-question i { color: #ED6325; transition: transform 0.3s ease-in-out; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out; }
.faq-answer p { padding: 0 15px 20px; line-height: 1.7; color: #555; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active .faq-answer { max-height: 200px; }

/* ==================================
   ABOUT COMBINED
   ================================== */
.about-combined-section {
    display: grid; grid-template-columns: 1fr 1.2fr; align-items: stretch; background-color: #E6E6E6;
}
.about-combined-text {
    background-color: #FEE9D8; padding: 100px 8%; color: #1a1a1a;
    display: flex; flex-direction: column; justify-content: center;
}
.about-combined-text h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 30px; }
.about-combined-text p { font-size: 1.1rem; line-height: 1.8; max-width: 500px; }
.about-combined-text .welcome-text { margin-top: 30px; font-weight: 600; }
.about-combined-stats {
    position: relative; display: flex; align-items: center; justify-content: center;
    background-image: url('assets/img/fondo1.png'); background-attachment: fixed;
    background-position: center; background-repeat: no-repeat; background-size: cover;
}
.about-combined-stats .stats-content { display: flex; justify-content: space-around; width: 100%; padding: 100px 5%; gap: 20px; }
.about-combined-stats .stat-item { text-align: center; }
.about-combined-stats .stat-number {
    font-size: 3.5rem; font-weight: 700; color: #ffffff; word-break: break-all;
}
.about-combined-stats .stat-number::before { content: '+'; }
.about-combined-stats .stat-label { font-size: 1.1rem; font-weight: 500; color: #ffffff; margin-top: 5px; }
/* Responsivo de la sección */
@media (max-width: 992px) {
    .about-combined-section { grid-template-columns: 1fr; }
    .about-combined-stats { flex-direction: column; padding: 80px 5%; }
    .about-combined-stats .stats-content { flex-direction: column; }
}
@media (max-width: 767px) {
    .about-combined-stats { background-attachment: fixed; }
    .about-combined-stats .stat-number { font-size: 2.8rem; }
    .about-combined-text { padding: 60px 8%; }
}

/* ==================================
   BANNER DE VALOR (con patrón animado)
   ================================== */
.value-banner-section {
  background-color: #cce7f5;
  background-image: url('assets/img/pattern.png');
  background-repeat: repeat; background-size: auto; background-attachment: scroll;
  animation: movePattern 40s linear infinite;
  padding: 80px 5%;
}
@keyframes movePattern { 0% { background-position: 0 0; } 100% { background-position: 500px 500px; } }
.value-banner-container { max-width: 900px; margin: 0 auto; text-align: center; }
.value-banner-container h2 {
    color: #3b7a9e; font-size: 2rem; font-weight: 600; line-height: 1.5; margin: 0;
}
.value-banner-container p {
    color: #3b7a9e; font-size: 1.5rem; font-weight: 600; line-height: 1.5; margin-top: 1rem;
}
@media (max-width: 767px) {
    .value-banner-container h2 { font-size: 1.5rem; }
    .value-banner-container p { font-size: 1.2rem; }
}

/* ==================================
   TESTIMONIOS
   ================================== */
.testimonials-section { padding: 80px 0; background-color: var(--white); overflow: hidden; }
.testimonials-container {
    max-width: 1500px; margin: 0 auto; padding: 0 60px; position: relative; text-align: center;
}
.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; }
.section-subtitle { font-size: 1.1rem; color: #555; margin-bottom: 50px; }
.testimonials-swiper { padding-bottom: 70px; }
.testimonials-swiper .swiper-wrapper { display: flex; align-items: stretch; }
.testimonials-swiper .swiper-slide { height: auto; }
.testimonial-card {
    height: 100%; background-color: var(--white); border: 1px solid #eef2f7;
    border-radius: 20px; padding: 30px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    text-align: left; display: flex; flex-direction: column;
}
.author-info { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; flex-shrink: 0; }
.author-name { font-weight: 600; font-size: 1.1rem; color: var(--primary-color); }
.author-company { font-size: 0.9rem; color: #777; }
.rating { color: #ffc107; margin-bottom: 15px; }
.testimonial-text { font-size: 1rem; line-height: 1.7; color: #555; flex-grow: 1; }
/* Flechas personalizadas */
.testimonials-container .testimonials-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    width: 44px; height: 44px; margin-top: -22px; background-color: #f0f2f5; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s;
}
.testimonials-container .testimonials-arrow:hover { background-color: #e9ecef; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.testimonials-container .swiper-button-prev { left: 0px; }
.testimonials-container .swiper-button-next { right: 0px; }
.testimonials-container .testimonials-arrow::after {
    content: ''; width: 10px; height: 10px; border-top: 2px solid #333; border-right: 2px solid #333;
}
.testimonials-container .swiper-button-prev::after { transform: rotate(-135deg); margin-left: 4px; }
.testimonials-container .swiper-button-next::after { transform: rotate(45deg); margin-right: 4px; }
/* Bullets */
.testimonials-swiper .swiper-pagination { position: relative; margin-top: 50px; bottom: auto; width: 100%; }
.testimonials-swiper .swiper-pagination-bullet { background: #dce0e6; width: 9px; height: 9px; }
.testimonials-swiper .swiper-pagination-bullet-active { background: #007bff; transform: scale(1.2); }
/* Responsive */
@media (max-width: 1280px) {
    .testimonials-container { padding: 0 20px; }
    .testimonials-container .testimonials-arrow { display: none; }
}
@media (max-width: 767px) { .section-title { font-size: 2rem; } }

/* ==================================
   CATÁLOGO (SOLO CATALOGO)
   ================================== */
.catalog-section { padding: 30px 5%; background-color: var(--bg-light); }
.catalog-container { max-width: 1400px; margin: 0 auto; }
.catalog-header { text-align: center; margin-bottom: 40px; }
.catalog-header h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; }
.catalog-header p { font-size: 1.1rem; color: #666; max-width: 600px; margin: 0 auto; }
.catalog-controls { display: flex; justify-content: center; margin-bottom: 20px; }
.filter-group {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
    border: 1px solid var(--border-color); border-radius: 50px; padding: 8px;
    background-color: var(--white); box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.filter-btn {
    background-color: transparent; border: none; padding: 10px 22px; border-radius: 30px;
    font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease; color: var(--text-color);
}
.filter-btn.active, .filter-btn:hover { background-color: var(--primary-color); color: var(--white); transform: scale(1.05); }
.product-card {
    background-color: var(--white); border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); text-decoration: none; color: var(--text-color);
    display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1); }
.card-image-container { position: relative; width: 100%; padding-top: 100%; }
.card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-category {
    position: absolute; top: 15px; left: 15px; background-color: rgba(255, 255, 255, 0.9);
    padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; backdrop-filter: blur(4px);
}
.card-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.2rem; font-weight: 600; line-height: 1.4; margin-bottom: 10px; }
.card-tag { color: #555; font-size: 0.9rem; margin-bottom: 20px; }
.card-cta { margin-top: auto; color: var(--primary-color); font-weight: 600; align-self: flex-start; }
.card-cta::after { content: ' →'; display: inline-block; transition: transform 0.3s ease; }
.product-card:hover .card-cta::after { transform: translateX(5px); }

/* ==================================
   FOOTER
   ================================== */
.site-footer {
    background-color: #FDE2CF; color: #642714; padding: 60px 5% 0; font-size: 0.95rem;
}
.footer-container {
    max-width: 1400px; margin: 0 auto; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px;
}
.footer-column h4 { color: #ED6325; font-size: 1.2rem; margin-bottom: 20px; font-weight: 600; }
.footer-logo {
    display: inline-block; font-weight: 900; font-size: 1.8rem; text-decoration: none; color: #642714; margin-bottom: 15px;
}
.footer-tagline { line-height: 1.6; }
.footer-nav, .footer-contact { list-style: none; padding: 0; }
.footer-nav li, .footer-contact li { margin-bottom: 12px; }
.footer-nav a, .footer-contact a { color: #642714; text-decoration: none; transition: color 0.3s ease; }
.footer-nav a:hover, .footer-contact a:hover { color: #642714; }
.footer-contact i { margin-right: 10px; width: 20px; text-align: center; color: #642714; }
.footer-socials a {
    color: #642714; font-size: 1.5rem; text-decoration: none; margin-right: 20px;
    transition: transform 0.3s ease; display: inline-block;
}
.footer-socials a:hover { transform: scale(1.1); }
.footer-bottom {
    text-align: center; padding: 25px 0; margin-top: 40px;
    border-top: 1px solid #ed63253b; font-size: 0.9rem;
}

/* ==================================
   DISEÑO RESPONSIVO GLOBAL
   ================================== */
@media (min-width: 576px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) {
    /* Menú de escritorio */
    .navbar__toggle { display: none; }
    .navbar__menu, .navbar__icons { display: flex; }
    /* Carousel */
    .slide { flex-direction: row; justify-content: space-between; padding: 0 10%; }
    .slide__content { text-align: left; width: 45%; }
    .slide__content--left { order: 1; }
    .slide__content--right { order: 2; }
    .slide__image-wrapper { width: 50%; max-width: 600px; }
    .slide__image-wrapper--right { order: 2; }
    .slide__image-wrapper--left { order: 1; }
    .slide__title { font-size: 5rem; }
    .carousel-navigation { left: 10%; transform: translateX(0); }
    .carousel-dots { right: 50px; }
    /* Grid de productos */
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

/* ==================================
   DETALLE DE PRODUCTO
   ================================== */
.product-detail-section { padding: 60px 0; }
.product-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: flex-start;
}
.product-gallery .main-image { background-color: var(--bg-light); border-radius: 12px; overflow: hidden; margin-bottom: 15px; }
.product-gallery .main-image img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; }
.product-thumbnails { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.product-thumbnails .thumbnail {
    width: 100%; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.3s;
}
.product-thumbnails .thumbnail:hover, .product-thumbnails .thumbnail.active { border-color: #007bff; }
.product-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; }
.product-description { font-size: 1.1rem; line-height: 1.8; color: #555; margin-bottom: 30px; }
.product-features h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.product-features ul { list-style: none; padding-left: 0; margin-bottom: 30px; }
.product-features li { margin-bottom: 10px; color: #333; }
.product-features li i { color: #27ae60; margin-right: 10px; }
.product-specs { background-color: var(--bg-light); padding: 20px; border-radius: 8px; margin-bottom: 30px; }
.product-specs p { margin-bottom: 10px; }
.product-specs p:last-child { margin-bottom: 0; }
.custom-quote-cta { border: 2px dashed #007bff; background-color: #f0f8ff; padding: 25px; border-radius: 8px; text-align: center; }
.custom-quote-cta h4 { font-size: 1.3rem; margin-bottom: 10px; }
.custom-quote-cta p { margin-bottom: 20px; color: #555; }
.custom-quote-cta .btn { background-color: #007bff; color: white; border: none; }
.custom-quote-cta .btn:hover { background-color: #0056b3; }
@media (max-width: 992px) { .product-layout { grid-template-columns: 1fr; } }

/* ==================================
   BREADCRUMB
   ================================== */
.breadcrumb { margin-bottom: 30px; font-size: 0.9rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: '/'; margin: 0 10px; color: #888; }
.breadcrumb a { color: #007bff; text-decoration: none; transition: text-decoration 0.2s; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li.active { color: var(--text-color); font-weight: 600; }

/* ==================================
   CONTACTO
   ================================== */
.page-header {
    background-color: var(--bg-light); background-image: url(assets/img/fondo1.png);
    text-align: center; padding: 60px 0; border-bottom: 1px solid #e0e0e0; background-attachment: fixed;
}
.page-title { font-size: 2.8rem; font-weight: 700; margin-bottom: 15px; }
.page-subtitle { font-size: 1.2rem; color: #fff; max-width: 600px; margin: 0 auto; }
.contact-details-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.contact-card {
    background-color: #ffffff; border: 1px solid #eef2f7; padding: 40px; border-radius: 12px; text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.contact-card__icon { font-size: 2.5rem; color: #ff8d50; margin-bottom: 20px; }
.contact-card__title { font-size: 1.5rem; font-weight: 600; margin-bottom: 15px; }
.contact-card__text { color: #555; line-height: 1.7; font-size: 1rem; }
.contact-card__link { display: block; color: #333; font-weight: 500; text-decoration: none; margin-top: 10px; transition: color 0.3s; }
.contact-card__link:hover { color: #007bff; }
.contact-socials { text-align: center; margin-top: 80px; padding-top: 40px; border-top: 1px solid #e0e0e0; }
.contact-socials h4 { font-size: 1.3rem; margin-bottom: 20px; color: #333; }
.social-icons-list a { color: var(--primary-color); font-size: 1.8rem; margin: 0 15px; transition: transform 0.3s, color 0.3s; }
.social-icons-list a:hover { color: #007bff; transform: scale(1.1); }
.map-section iframe { display: block; }
@media (max-width: 767px) {
    .contact-grid { grid-template-columns: 1fr; }
    .page-title { font-size: 2rem; }
}


/* --- Botón Flotante de WhatsApp --- */
.whatsapp-float {
    position: fixed; bottom: 20px; right: 20px; background-color: #25D366;
    color: white; padding: 10px 20px; border-radius: 25px; text-decoration: none;
    font-size: 0.9rem; display: flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 100;
}
.whatsapp-float i { font-size: 1.5rem; }
