/* RESETEO Y FUENTES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9fbf9; /* Blanco verdoso muy claro */
    color: #333333; /* Gris oscuro para lectura seria */
}

/* COLORES CORPORATIVOS */
:root {
    --verde-principal: #2E7D32; /* Verde serio/agrícola */
    --verde-claro: #81C784; 
    --tierra: #8D6E63; /* Tono café suelo */
    --blanco: #FFFFFF;
}

/* MARCADORES DE IMAGEN (Para que veas dónde van tus fotos) */
.img-placeholder {
    background-color: #e0e0e0;
    border: 2px dashed #9e9e9e;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #616161;
    padding: 20px;
    font-size: 0.9rem;
    position: relative;
    width: 100%;
}
.img-placeholder::after {
    content: attr(data-hint);
}
.hero-img { height: 400px; margin-top: 20px; border-radius: 8px;}
.medium-img { height: 350px; margin-top: 20px; border-radius: 8px; }
.product-img { height: 200px; margin-bottom: 15px; border-radius: 8px; }
.flyer-img { height: 450px; border-radius: 8px; }
.gallery-img { height: 250px; border-radius: 8px; }
.Muestra-img { height: 200px; margin-bottom: 5px; border-radius: 2px; width: auto; }

/* NAVEGACIÓN */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: var(--blanco);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--verde-principal);
	.logo img {
    height: 55px; /* Aquí controlas el alto exacto del logo */
    width: auto;  /* Esto mantiene la proporción para que no se deforme */
    display: block;
    transition: transform 0.3s ease; /* Pequeño efecto visual */
	border-radius: 4px; /* Opcional: suaviza un poco las esquinas de tu imagen .jpg */
}

/* Efecto para que el logo haga un pequeño zoom al pasar el mouse */
.logo img:hover {
    transform: scale(1.05);
}
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}
.nav-links a:hover {
    color: var(--verde-principal);
}
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* HERO SECTION */
.hero-section {
    padding: 60px 50px;
    text-align: center;
    background: linear-gradient(to right, #e8f5e9, #f1f8e9);
}
.hero-content h1 {
    font-size: 2.8rem;
    color: var(--verde-principal);
    margin-bottom: 15px;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.btn-primary {
    background-color: var(--verde-principal);
    color: var(--blanco);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
}
.btn-primary:hover {
    background-color: #1b5e20;
}

/* SECCIONES GENERALES */
section {
    padding: 60px 50px;
}
h2 {
    text-align: center;
    color: var(--verde-principal);
    font-size: 2.2rem;
    margin-bottom: 40px;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.container p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* SERVICIOS Y PRODUCTOS GRID */
.servicios-grid, .productos-grid, .ofertas-grid, .galeria-grid {
    display: grid;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}
.servicios-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.productos-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ofertas-grid { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.galeria-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.servicio-card {
    background: var(--blanco);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    text-align: center;
    border-bottom: 4px solid var(--tierra);
}
.servicio-card h3 {
    color: var(--verde-principal);
    margin-bottom: 15px;
}

.producto-card {
    background: var(--blanco);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* FOOTER */
.footer {
    background-color: #1b5e20;
    color: var(--blanco);
    padding: 50px 50px 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--verde-claro);
}
.footer p, .footer a {
    color: #e8f5e9;
    text-decoration: none;
    line-height: 1.8;
}
.footer ul {
    list-style: none;
}
.footer a:hover {
    color: var(--blanco);
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #2E7D32;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* RESPONSIVO MÓVILES */
/* =========================================
   CORRECCIÓN RESPONSIVA PARA MÓVILES (SMARTPHONES)
   ========================================= */

/* 1. Evitar la pérdida de márgenes (bloquea el movimiento hacia los lados) */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* 2. Asegurar que ninguna imagen rompa la pantalla */
img {
    max-width: 100%;
    height: auto;
}

/* 3. Ajustes de diseño cuando la pantalla es tamaño celular (menos de 768px) */
@media (max-width: 768px) {
    
    /* A. Ajustar la Barra de Navegación */
    .navbar { 
        flex-direction: column; 
        padding: 15px 20px; /* Reducimos los márgenes laterales */
        gap: 15px; 
        text-align: center;
    }
    
    /* B. Ajustar el tamaño del Logo en móviles */
    .logo img {
        height: 40px; /* Achicamos el logo para que no ocupe toda la pantalla */
        margin: 0 auto; /* Centrado perfecto */
    }
    
    /* C. Apilar los enlaces del menú uno debajo del otro */
    .nav-links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0;
    }
    
    /* D. Ajustar el botón de WhatsApp al tamaño de la pantalla */
    .navbar .btn-whatsapp {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    /* E. Reducir los márgenes internos de todas las secciones para que respiren */
    section, .hero-section, .footer { 
        padding: 40px 20px !important; 
    }
    
    /* F. Achicar un poco los títulos principales para que se lean bien */
    .hero-content h1 {
        font-size: 2rem !important;
    }
    h2 {
        font-size: 1.8rem;
    }
    
    /* G. En la página de Contacto, el formulario y la info deben apilarse */
    .contacto-container {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
}
/* =========================================
   ESTILOS ESPECÍFICOS PARA PÁGINA DE SERVICIOS
   ========================================= */
.servicios-detalle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.servicio-card-detalle {
    background: var(--blanco);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: left;
    border-left: 5px solid var(--tierra);
}

.servicio-card-detalle h3 {
    color: var(--verde-principal);
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.servicio-card-detalle p {
    color: #555;
    line-height: 1.6;
}
/* =========================================
   ESTILOS PÁGINA DE INSUMOS Y CATÁLOGO
   ========================================= */

.catalogo-section {
    padding: 60px 20px;
}
.categoria-titulo {
    font-size: 2.2rem;
    color: var(--verde-principal);
    margin-bottom: 10px;
}
.categoria-desc {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjeta de Producto */
.producto-catalogo-card {
    background: var(--blanco);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease;
}
.producto-catalogo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Encabezado Logo + Titulo */
.producto-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: #fcfcfc;
    border-bottom: 1px solid #f0f0f0;
}
.logo-producto {
    width: 60px;
    height: 60px;
	object-fit: contain;
    margin-right: 15px;
	border-radius: 5px;
    padding: 0;
    font-size: 0.7rem;
}
.producto-header h3 {
    color: var(--verde-principal);
    font-size: 1.4rem;
    margin: 0;
}

/* Imagen del Producto */
.img-catalogo {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Evita que la foto se estire o se deforme */
    display: block;
    border-bottom: 1px solid #eaeaea;
    background-color: #fcfcfc;
}

/* Información y Acordeones */
.producto-info {
    padding: 20px;
    flex-grow: 1;
}
.producto-resumen {
    font-size: 0.95rem;
    color: #444;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Estilos de Acordeón (details/summary) */
details {
    background-color: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
}
summary {
    padding: 12px 15px;
    font-weight: bold;
    cursor: pointer;
    color: var(--verde-principal);
    font-size: 0.95rem;
    list-style: none; /* Oculta la flecha por defecto en algunos navegadores */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
summary::-webkit-details-marker {
    display: none; /* Oculta flecha en Safari/Chrome */
}
summary:after {
    content: "▼";
    font-size: 0.8rem;
    color: var(--tierra);
}
details[open] summary:after {
    content: "▲";
}
details p, details ul {
    padding: 10px 15px 15px;
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}
details ul {
    padding-left: 30px;
}

/* Botones de Acción */
.producto-acciones {
    display: flex;
    padding: 20px;
    gap: 10px;
    background-color: #fafafa;
    border-top: 1px solid #eaeaea;
}
.btn-pdf, .btn-cotizar {
    flex: 1;
    text-align: center;
    padding: 12px 5px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.3s;
}
.btn-pdf {
    background-color: #e0e0e0;
    color: #333;
}
.btn-pdf:hover {
    background-color: #bdbdbd;
}
.btn-cotizar {
    background-color: #25D366; /* Verde WhatsApp */
    color: white;
}
.btn-cotizar:hover {
    background-color: #1ebe5d;
}
/* =========================================
   ESTILOS PÁGINA DE CONTACTO Y EQUIPO
   ========================================= */

.contacto-section {
    padding: 60px 20px;
    background-color: var(--blanco);
}

.contacto-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* Columna Izquierda: Información */
.contacto-info-directa h2 {
    text-align: left;
    margin-bottom: 25px;
}
.info-item {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}
.info-item h3 {
    color: var(--tierra);
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.info-item p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}
.enlace-texto {
    color: var(--verde-principal);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
}
.enlace-texto:hover {
    text-decoration: underline;
}

/* Botones Redes Sociales */
.redes-botones {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}
.btn-social {
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: transform 0.2s, opacity 0.3s;
}
.btn-social:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}
.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.facebook { background-color: #1877F2; }
.tiktok { background-color: #000000; }

/* Columna Derecha: Formulario */
.contacto-formulario-wrapper {
    background-color: #f9fbf9;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #c8e6c9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.contacto-formulario-wrapper h2 {
    text-align: left;
    margin-bottom: 15px;
}
.contacto-formulario-wrapper p {
    color: #666;
    margin-bottom: 25px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--verde-principal);
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--verde-principal);
    box-shadow: 0 0 5px rgba(46, 125, 50, 0.3);
}
.btn-enviar-form {
    width: 100%;
    background-color: var(--verde-principal);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-enviar-form:hover {
    background-color: #1b5e20;
}

/* Sección Equipo Asesor */
.equipo-section {
    background-color: #f1f8e9;
    padding: 60px 20px;
}
.equipo-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}
.equipo-card {
    background: var(--blanco);
    width: 100%;
    max-width: 350px;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    border-bottom: 4px solid var(--verde-principal);
}
.equipo-foto {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid #c8e6c9;
}
.equipo-card h3 {
    color: var(--verde-principal);
    font-size: 1.3rem;
    margin-bottom: 5px;
}
.equipo-card .cargo {
    color: var(--tierra);
    font-weight: bold;
    margin-bottom: 20px;
}
.btn-correo-asesor {
    display: inline-block;
    background-color: #e0e0e0;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background 0.3s;
}
.btn-correo-asesor:hover {
    background-color: var(--verde-claro);
    color: white;
}

/* Responsividad para Contacto */
@media (max-width: 900px) {
    .contacto-container {
        grid-template-columns: 1fr;
    }
}
/* ESTILOS PARA EL LOGO DE LA ALIANZA (ALQUIMIA NATURAL) */
.logo-alianza {
    display: block;
    margin: 15px auto 25px auto; /* Lo centra y le da respiro (espacio) arriba y abajo */
    max-height: 200px; /* Controlamos el tamaño para que sea sobrio y formal */
    width: auto;      /* Mantiene la proporción original */
    transition: transform 0.3s ease; /* Efecto suave */
}

/* Efecto de zoom sutil al pasar el mouse */
.logo-alianza:hover {
    transform: scale(1.3);
}
/* =========================================
   CARRUSEL INTERACTIVO HERO
   ========================================= */
.carrusel-hero {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.carrusel-slides {
    display: flex;
    position: relative;
    height: 450px;
}
.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}
.slide.activa {
    opacity: 1;
    position: relative;
}

/* Botones de navegación */
.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 10;
}
.carrusel-btn:hover {
    background-color: var(--verde-principal); 
}
.prev { left: 20px; }
.next { right: 20px; }

/* Puntos inferiores */
.carrusel-puntos {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
}
.punto {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}
.punto.activo, .punto:hover {
    background-color: var(--verde-principal);
}

/* Ajuste Responsivo */
@media (max-width: 768px) {
    .carrusel-slides { height: 280px; }
    .carrusel-btn { font-size: 1.2rem; padding: 10px 14px; }
}