:root {
    --primary: #2e7d32;            /* Verde Bosque Orgánico (sustituye al verde brillante) */
    --primary-dark: #1b5e20;       /* Verde Profundo para encabezados y top-bar */
    --color-salvia: #879883;       /* Verde Salvia suave (tarjeta central) */
    --color-arena: #f4efe6;        /* Beige / Arena cálido */
    --color-tierra: #3d2e24;       /* Marrón Nuez / Tierra */
    --light-bg: #faf8f5;           /* Fondo general blanco cálido/marfil */
    --dark: #222222;
    --white: #ffffff;
    --gray-light: #e8e3d9;
    --gray-text: #666666;
    --shadow: 0 10px 20px -3px rgba(61, 46, 36, 0.08);
}

body {
    background-color: var(--light-bg);
    color: var(--dark);
    line-height: 1.6;
}

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

/* TOP BAR */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-contacto span {
    margin-right: 1.5rem;
}

.redes-top a {
    color: var(--white);
    margin-left: 0.8rem;
    text-decoration: none;
}

/* MAIN HEADER */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible; /* Permite que el logo sobresalga sin cortarse */
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0; /* Aumentamos el padding para darle más espacio vertical al header */
}

/* --- LOGO DESTACADO Y MÁS GRANDE --- */
.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    z-index: 1010;
    margin-bottom: 0; /* Eliminamos el desborde para que no se salga del fondo blanco */
}

.logo-img {
    height: 130px;                     
    width: auto;
    border-radius: 50%;
    background-color: var(--white);
    padding: 4px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    border: 3px solid var(--primary);
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}
.navbar ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
}

.navbar a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s;
}

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

.btn-cita-nav {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
}

.btn-cita-nav:hover {
    background-color: var(--primary-dark);
}


.hero-section {
    position: relative;
    color: var(--white);
    padding: 5rem 0 10rem 0; 
    text-align: center;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.hero-content h1 {
    font-size: 2.6rem;
    margin-bottom: 0.8rem;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}


.quick-action-section {
    position: relative;
    z-index: 10; 
    margin-top: -6rem; 
    padding-bottom: 4rem;
}

.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.action-card {
    padding: 2rem;
    border-radius: 12px;
    color: var(--white);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1); /* Sombra acentuada para dar elevación */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto al pasar el cursor */
.action-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.25);
}
.action-blue { 
    background-color: #f4efe6; 
    color: #3d2e24; 
}
.action-blue h3, 
.action-blue p, 
.action-blue .action-icon { 
    color: #3d2e24; 
}
.action-green { 
    background-color: #879883; 
    color: #ffffff; 
}
.action-dark { 
    background-color: #3d2e24; 
    color: #ffffff; 
}

.action-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.action-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.action-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.horarios-list {
    list-style: none;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.horarios-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 0.3rem 0;
}
.action-btn {
   display: flex; /* Cambiado de inline-flex a flex */
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background-color: var(--white);
    color: var(--dark);
    padding: 0.75rem 1rem; /* Reducido ligeramente el padding lateral */
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    width: 100%; /* Forzar a que tome el 100% del contenedor disponible */
    box-sizing: border-box; /* Evita que el padding sume ancho extra */
    margin-top: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}

/* Color del icono dentro del botón */
.action-btn i {
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

/* Efecto al pasar el cursor (Hover) */
.action-btn:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.action-btn:hover i {
    transform: translateX(4px); /* Desplaza suavemente la flecha a la derecha */
}

/* Botón de la tarjeta Arena */
.action-card.action-blue .action-btn {
    background-color: var(--primary);
    color: var(--white);
}

.action-card.action-blue .action-btn:hover {
    background-color: var(--primary-dark);
}

/* Iconos de las tarjetas */
.action-card .action-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    opacity: 0.95;
}
/* SERVICIOS */
.servicios-section {
    padding: 3rem 0 5rem 0;
}

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

.section-header h2 {
    font-size: 2rem;
}

.linea-decorativa {
    width: 60px;
    height: 4px;
    background-color: var(--color-salvia);
    margin: 0.8rem auto;
    border-radius: 2px;
}

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

.servicio-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--color-salvia); /* Cambiado de --primary brillante a Salvia */
    transition: transform 0.2s ease;
}

.servicio-card:hover {
    transform: translateY(-4px);
}

.card-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}


html {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

main, 
.productos-container-page {
    flex: 1 0 auto;
}

/* --- ESTILOS UNIFICADOS DEL FOOTER --- */
.main-footer {
    background-color: #3d2e24; /* Marrón Nuez principal */
    color: #ffffff;
    text-align: center;
    padding: 1.8rem 0;
    margin-top: auto;
    width: 100%;
}

.footer-container p {
    margin: 0;
    font-size: 0.9rem;
    color: #d9d0c5; /* Texto arena suave para buena lectura */
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 1rem;
    
    color: #879883; /* Títulos en Verde Salvia */
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: var(--gray-light);
    text-decoration: none;
    line-height: 2;
}

.footer-bottom {
    background-color: #241a14; /* Marrón aún más oscuro para el copyright */
    text-align: center;
    padding: 1rem;
    font-size: 0.85rem;
    color: #a89f91;
}

/* --- ANIMACIÓN DEL HERO SLIDER --- */
.hero-section {
    position: relative;
    color: var(--white);
    padding: 6rem 0 9rem 0;
    text-align: center;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s ease;
    transform: scale(1);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.05); /* Efecto suave de zoom */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(135deg, rgba(27, 94, 32, 0.88), rgba(61, 46, 36, 0.82));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0 7rem 0;
    }
    
    .quick-action-section {
        margin-top: -4rem;
    }
}

@media (max-width: 992px) {
  /* 1. Contenedor principal en posición relativa */
  .header-container {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 8px 50px 8px 10px !important; /* El padding-right de 50px reserva espacio exclusivo para el menú a la derecha */
    box-sizing: border-box !important;
  }

  /* 2. Logo a la izquierda */
  .logo-wrapper {
    flex-shrink: 0 !important;
    margin-right: 8px !important;
  }

  .logo-img {
    height: 48px !important; /* Tamaño compacto para no saturar verticalmente */
    width: auto !important;
  }

  /* 3. Buscador ocupa TODO el espacio disponible del centro */
 .header-search {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
    margin-left: 15px !important;  /* Separación respecto al logo */
    margin-right: 55px !important; /* Espacio de seguridad para el botón hamburguesa en horizontal */
  }

  .header-search form {
    width: 100% !important;
    display: flex !important;
    box-sizing: border-box !important;
  }

  .header-search input {
    width: 100% !important;
    font-size: 0.8rem !important;
    padding-left: 10px !important;
    padding-right: 35px !important; /* Asegura espacio para la lupa dentro del input */
    box-sizing: border-box !important;
  }

  /* 4. Menú Hamburguesa FORZADO a la extrema derecha */
  .menu-toggle {
    display: block !important;
    position: absolute !important;
    right: 12px !important; /* Pegado al borde derecho del header */
    top: 50% !important;
    transform: translateY(-50%) !important; /* Centrado verticalmente */
    z-index: 10 !important;
    background: transparent !important;
    border: none !important;
    font-size: 1.6rem !important;
    cursor: pointer !important;
    padding: 4px !important;
    margin: 0 !important;
  }

  /* 5. Menú Navegable Desplegable */
  .navbar {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
    background-color: var(--white);
    z-index: 999;
  }

  .navbar.active {
    max-height: 320px;
    opacity: 1;
    border-bottom: 2px solid var(--gray-light);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .navbar ul {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 15px 0 !important;
  }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

.header-search {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0.8rem 0 0.3rem 0;
        order: 3; /* Se coloca al final de la cabecera móvil */
    }

    .header-search form {
        width: 100%;
        background-color: var(--white);
        border: 1px solid var(--primary); /* Resaltamos el borde para mayor visibilidad */
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .header-search input {
        font-size: 0.9rem;
    }


    /* Ajustar el header para centrar el logo y menú */
    .header-container {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem 0;
    }

    .logo-wrapper {
        margin-bottom: 0; /* Quitamos el desborde en móvil */
    }

    .logo-img {
        height: 80px; /* Tamaño cómodo para pantallas pequeñas */
    }

    /* Acomodar la navegación en fila con scroll horizontal o texto más pequeño */
    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }

    .navbar a {
        font-size: 0.85rem;
    }

    .btn-cita-nav {
        padding: 0.4rem 0.8rem;
    }

    /* Ajustar textos e imágenes del Hero */
    .hero-section {
        padding: 3rem 1rem 6rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Ajustar las tarjetas de acceso rápido */
    .quick-action-section {
        margin-top: -3.5rem;
    }

    .quick-action-grid {
        grid-template-columns: 1fr; /* Una sola columna en celulares */
    }

    .action-btn {
        width: 100%; /* Botones a todo el ancho en celular para facilitar el toque */
    }
}

/* --- BUSCADOR RÁPIDO EN CABECERA --- */
.header-search {
    flex: 1;
    max-width: 380px;
    margin: 0 2rem;
}

.header-search form {
    display: flex;
    align-items: center;
    background-color: var(--light-bg);
    border: 1px solid var(--gray-light);
    border-radius: 25px;
    padding: 0.3rem 0.5rem 0.3rem 1rem;
    transition: all 0.3s ease;
}

.header-search form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
    background-color: var(--white);
}

.header-search input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.85rem;
    color: var(--dark);
}


.header-search button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.header-search button:hover {
    background-color: var(--primary-dark);
}


@media (max-width: 992px) {
    
}


/*ESTILOS DE LA PÁGINA DE PRODUCTOS Y FILTROS */

/* Encabezado del catálogo */
.productos-header-page {
    padding: 3rem 0 1.5rem 0;
    text-align: center;
}

.productos-header-page h1 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.productos-header-page p {
    color: var(--gray-text);
    max-width: 650px;
    margin: 0 auto 2rem auto;
}

/* CONTENEDOR DESLIZANTE DE CATEGORÍAS */
.categorias-filter-wrapper {
    width: 100%;
    margin: 1.5rem 0 2rem 0;
    padding: 0 5px;
}

.categorias-filter {
  display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 5px 5px 12px 5px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.categorias-filter::-webkit-scrollbar {
    height: 6px; 
    display: block; 
}

.categorias-filter::-webkit-scrollbar-track {
    background: #e8e3d9; /* Color arena suave */
    border-radius: 10px;
}
/* La barra/indicador que se desplaza */
.categorias-filter::-webkit-scrollbar-thumb {
    background: var(--color-salvia, #879883); /* Verde Salvia */
    border-radius: 10px;
}

.categorias-filter::-webkit-scrollbar-thumb:hover {
    background: var(--color-bosque, #2e7d32); /* Se oscurece al pasar el cursor */
}

/* Soporte para Firefox */
.categorias-filter {
    scrollbar-width: thin;
    scrollbar-color: var(--color-salvia, #879883) #e8e3d9;
}
.btn-filter {
    flex: 0 0 auto;
    background-color: #ffffff;
    border: 1px solid #dcd6cd;
    color: var(--color-tierra, #3d2e24);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    background-color: var(--color-arena, #f4efe6);
}

.btn-filter.active {
    background-color: var(--color-bosque, #2e7d32);
    color: #ffffff;
    border-color: var(--color-bosque, #2e7d32);
    box-shadow: 0 2px 6px rgba(46, 125, 50, 0.2);
}

/* Grid de Productos */
.productos-container-page {
    padding-bottom: 5rem;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

/* Tarjeta individual de producto */
.producto-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.12);
}

.producto-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    z-index: 5;
}
.producto-img-box {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.producto-img-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; 
    transition: transform 0.4s ease;
}
.producto-card:hover .producto-img-box img {
    transform: scale(1.08);
}

.producto-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.producto-categoria {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--gray-text);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.producto-info h3 {
    font-size: 1.15rem;
    margin: 0.3rem 0 0.5rem 0;
    color: var(--dark);
}

.producto-info p {
    font-size: 0.88rem;
    color: var(--gray-text);
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.producto-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--gray-light);
    padding-top: 1rem;
}

.producto-precio {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

/* Botón de pedido WhatsApp */
.btn-producto {
    background-color: var(--primary); /* Verde bosque orgánico */
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-producto:hover {
    background-color: var(--primary-dark); /* Verde más profundo al pasar el cursor */
    transform: translateY(-1px);
}

/* Estado activo del menú */
.navbar a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

/* --- PÁGINA DE AGENDAR CITA --- */
.cita-page-section {
    padding: 3rem 0 5rem 0;
}

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

.cita-title-header h1 {
    font-size: 2.2rem;
    color: var(--primary-dark);
}

.cita-title-header p {
    color: var(--gray-text);
}

.cita-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2.5rem;
    align-items: start;
}

/* Tarjeta de Información */
.contacto-info-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--gray-light);
}

.contacto-info-card h2 {
    color: var(--dark);
    font-size: 1.4rem;
}

.info-block {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin: 1.5rem 0;
}

.info-block i {
    font-size: 1.4rem;
    color: var(--primary);
    margin-top: 3px;
}

.info-block h3 {
    font-size: 1rem;
    margin: 0 0 0.2rem 0;
    color: var(--dark);
}

.info-block p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-text);
}

.btn-mapa-cita {
   display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box; /* Previene el desborde por padding/borde */
    text-align: center;
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.7rem;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-mapa-cita:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Formulario */
.form-cita-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}

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

/*BOTÓN FORMULARIO DE CITA */
.btn-submit-cita {
    width: 100%;
    background-color: var(--primary); /* Verde Bosque Orgánico */
    color: var(--white);
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-submit-cita:hover {
    background-color: var(--primary-dark); /* Verde profundo al pasar el cursor */
    transform: translateY(-1px);
}

/* Responsive para*/
@media (max-width: 768px) {
    .cita-grid-layout {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
background-color: var(--primary);
  color: var(--white);
    border-radius: 50px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 2px 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
   background-color: var(--primary-dark);
}

/* SECCIÓN DE PREGUNTAS FRECUENTES (FAQ) */
.faq-section {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-title h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.faq-title p {
    color: var(--gray-text);
    font-size: 1rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Tarjeta individual de pregunta */
.faq-item {
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    border-left: 4px solid var(--primary); /* Línea verde acentuada a la izquierda */
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.faq-item h3 i {
    color: var(--primary);
    font-size: 1rem;
}

.faq-item p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* --- AVISO DE VARIACIÓN DE PRECIOS --- */
.disclaimer-banner {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: #fffbe6; /* Amarillo/Crema suave de advertencia */
    border: 1px solid #ffe58f;
    color: #856404;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    max-width: 800px;
    margin: 1.5rem auto 2rem auto;
    font-size: 0.88rem;
    line-height: 1.4;
}

.disclaimer-banner i {
    font-size: 1.2rem;
    color: #d48806;
    flex-shrink: 0;
}

.disclaimer-banner p {
    margin: 0;
    color: #5c4300;
}


/* --- SECCIÓN 8 REMEDIOS NATURALES --- */
.remedios-section {
    padding: 4rem 0;
    background-color: var(--light-bg); /* Fondo marfil / arena suave */
}

.remedios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.remedio-card {
    background-color: var(--white);
    padding: 1.8rem 1.2rem;
    border-radius: 12px;
    border-top: 4px solid var(--color-salvia); /* Acento en Verde Salvia */
    box-shadow: 0 4px 15px rgba(61, 46, 36, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.remedio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(61, 46, 36, 0.1);
}

.remedio-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.remedio-card h3 {
    font-size: 1.15rem;
    color: var(--color-tierra); /* Marrón Nuez */
    margin-bottom: 0.5rem;
}

.remedio-card p {
    font-size: 0.9rem;
    color: var(--gray-text);
    line-height: 1.5;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.remedio-link {
    color: var(--primary); /* Verde Bosque institucional */
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.remedio-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* --- SECCIÓN PRODUCTOS DESTACADOS --- */
.productos-destacados-section {
    padding: 4rem 0;
    background-color: #ffffff; /* Contraste blanco limpio */
}

.productos-destacados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Badge decorativo */
.producto-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--color-salvia); /* Verde Salvia suave */
    color: var(--white);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    z-index: 5;
}

/* Botón inferior para ir al catálogo completo */
.ver-mas-productos-container {
    text-align: center;
    margin-top: 3rem;
}

.btn-ver-catalogo {
    display: inline-block;
    background-color: var(--color-arena);
    color: var(--color-tierra);
    border: 2px solid var(--color-salvia);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-ver-catalogo:hover {
    background-color: var(--color-salvia);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(61, 46, 36, 0.12);
}

/* CARRUSEL DE PRODUCTOS DESTACADOS */
.productos-carrusel-container {
    position: relative;
    max-width: 450px; /* Ancho cómodo para destacar 1 producto a la vez */
    margin: 2rem auto 1rem auto;
    min-height: 420px;
}

.producto-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.producto-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Indicadores de puntos */
.carrusel-dots {
    text-align: center;
    margin-top: 1.5rem;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.dot.active, .dot:hover {
    background-color: var(--color-salvia);
    transform: scale(1.2);
}


.no-resultados {
    grid-column: 1 / -1; /* Ocupa todo el ancho de la rejilla */
    text-align: center;
    padding: 3rem 1rem;
    background-color: #ffffff;
    border: 1px solid #e8e3d9;
    border-radius: 12px;
    margin: 2rem 0;
    color: var(--color-tierra, #3d2e24);
}

.no-resultados p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.no-resultados small {
    color: #777;
}

@media (max-width: 768px) {
  /* 1. Contenedor principal con espacio relativo */
  .header-container {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 8px 10px !important;
    box-sizing: border-box !important;
  }

  /* 2. Logo a la izquierda */
  .logo-wrapper {
    flex-shrink: 0 !important;
    margin-right: 6px !important;
  }

  .logo-img {
    height: 48px !important;
    width: auto !important;
  }

  /* 3. Buscador en el centro (CON FRENO A LA DERECHA PARA NO SOLAPAR) */
  .header-search {
    flex: 1 !important;
    min-width: 0 !important;
    margin-left: 4px !important;
    margin-right: 48px !important; /* <--- ESTE ESPACIO SEPARA LA LUPA DE LA HAMBURGUESA */
  }

  .header-search form {
    width: 100% !important;
    display: flex !important;
    box-sizing: border-box !important;
  }

  .header-search input {
    width: 100% !important;
    font-size: 0.8rem !important;
    padding-left: 8px !important;
    padding-right: 32px !important;
    box-sizing: border-box !important;
  }

  /* 4. Menú hamburguesa pegado a la DERECHA EXTREMA */
  .menu-toggle {
    display: block !important;
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    background: transparent !important;
    border: none !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    padding: 4px !important;
    margin: 0 !important;
  }

  /* 5. Menú Navegación Desplegable */
  .navbar {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
    background-color: var(--white);
    z-index: 999;
  }

  .navbar.active {
    max-height: 320px;
    opacity: 1;
    border-bottom: 2px solid var(--gray-light);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .navbar ul {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 15px 0 !important;
  }
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 0.4rem;
}/* Sección Galería de Instalaciones */
.gallery-section {
    padding: 60px 0;
    background-color: var(--white, #ffffff);
    text-align: center;
}

.gallery-section .section-subtitle {
    color: #4a4a4a;
    margin-top: 10px;
    margin-bottom: 35px;
    font-size: 0.95rem;
}

.main-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    aspect-ratio: 4 / 3;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    color: #ffffff;
    padding: 20px 12px 10px 12px;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
}

/* Responsivo */
@media (max-width: 992px) {
    .main-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .main-gallery-grid {
        grid-template-columns: 1fr;
    }
}

.card-mini-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.mini-photo {
    height: 110px;
    border-radius: 8px;
    overflow: hidden;
}

.mini-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-mini-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 15px; /* Crea espacio respirable con el botón de Google Maps */
}