/* ===================================
   VARIABLES Y RESET
   =================================== */

:root {
    --primary-color: #2E7D32;
    --secondary-color: #66BB6A;
    --accent-color: #FFA726;
    --text-color: #333333;
    --text-light: #757575;
    --bg-color: #FFFFFF;
    --bg-light: #F5F5F5;
    --border-color: #E0E0E0;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden; /* Prevenir scroll horizontal */
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Prevenir overflow en todos los elementos */
* {
    max-width: 100%;
}

/* Asegurar que contenedores no excedan el viewport */
.container,
.header-container,
.footer-container,
.footer-bar-container {
    max-width: 100%;
    box-sizing: border-box;
}

/* ===================================
   LAYOUT Y CONTENEDORES
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mejorar área de toque para enlaces y botones en móviles */
@media (max-width: 768px) {
    a, button, .btn, .nav-link, .nav-toggle {
        -webkit-tap-highlight-color: rgba(46, 125, 50, 0.2);
    }
    
    /* Asegurar área mínima de toque de 44x44px */
    .nav-link,
    .btn,
    .form-group input,
    .form-group textarea,
    .whatsapp-button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ===================================
   NAVEGACIÓN
   =================================== */

.navbar {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand img {
    height: 50px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===================================
   BOTONES
   =================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    min-height: 44px; /* Tamaño mínimo touch-friendly */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #f65a00, #ff8533);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(246, 90, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff6a10, #ff9544);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(246, 90, 0, 0.5);
}

.btn-lg {
    font-size: 1.15rem;
    padding: 18px 42px;
    background-color: white;
    color: #f65a00;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 3px solid white;
    min-height: 54px;
}

/* ===================================
   HERO / CABECERA DE PÁGINA
   =================================== */

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.page-header {
    background-color: var(--bg-light);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive para page-header */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 20px;
    }

    .page-header h1 {
        font-size: 1.8rem;
        line-height: 1.25;
    }

    .page-header p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 30px 15px;
    }

    .page-header h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .page-header p {
        font-size: 0.875rem;
    }
}

/* ===================================
   SECCIONES
   =================================== */

section {
    padding: 60px 20px;
}

section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

/* ===================================
   GRIDS
   =================================== */

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

/* ===================================
   FORMULARIOS
   =================================== */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    min-height: 44px; /* Touch-friendly */
    box-sizing: border-box;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

/* Mensaje de éxito del formulario */
.form-success-message {
    background: linear-gradient(135deg, #2e7d32 0%, #66bb6a 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.3);
    animation: slideInDown 0.5s ease-out;
}

.success-content {
    text-align: center;
}

.success-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1rem;
    animation: scaleIn 0.5s ease-out 0.2s both;
}

.success-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.success-content p {
    margin: 0.5rem 0;
    font-size: 1rem;
    opacity: 0.95;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* ===================================
   PÁGINA DE CONTACTO
   =================================== */

.contact-info {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-item p {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.info-item a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-map {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.contact-map h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    text-align: center;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    display: block;
    width: 100%;
    border: none;
}

/* ===================================
   FOOTER
   =================================== */

footer {
    background-color: var(--text-color);
    color: white;
    text-align: center;
    padding: 2rem 20px;
    margin-top: 4rem;
}

/* ===================================
   HEADER - NAVEGACIÓN MEJORADA
   =================================== */

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    overflow: visible;
}

.logo a {
    display: flex;
    align-items: center;
    overflow: visible;
}

.logo img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
    object-fit: contain;
    border-radius: 0;
    clip-path: none;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* ===================================
   FOOTER MEJORADO - MINIMALISTA
   =================================== */

.footer {
    background-color: #f8f9fa;
    margin-top: 4rem;
}

/* Sección Expandible - Siempre Visible */
.footer-expandable {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
}

.footer-expandable .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 1.1fr 0.9fr 1.1fr 0.8fr;
    gap: 1.25rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
    color: var(--primary-color);
}

.footer-text {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #666;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.3rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

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

.footer-contact-mini {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-mini li {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.footer-contact-mini a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-mini a:hover {
    color: var(--primary-color);
}

/* Barra Inferior - Siempre Visible */
.footer-bar {
    background-color: #f8f9fa;
    padding: 1rem 0;
}

.footer-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 1rem;
}

.footer-bar-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bar-social a {
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-bar-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-bar-social svg {
    width: 24px;
    height: 24px;
}

.footer-bar-copyright {
    text-align: center;
}

.footer-bar-copyright p {
    margin: 0;
    font-size: 0.75rem;
    color: #666;
}

.footer-bar-credits {
    text-align: right;
}

.footer-bar-credits p {
    margin: 0;
    font-size: 0.75rem;
    color: #666;
}

.footer-bar-credits a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-bar-credits a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-expandable .footer-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-expandable .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
    }

    .footer-bar-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-bar-social {
        display: flex;
        justify-content: center;
    }

    .footer-bar-copyright {
        order: 2;
    }

    .footer-bar-credits {
        order: 3;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-expandable {
        padding: 1rem 0;
    }

    .footer-expandable .footer-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .footer-bar-container {
        padding: 0 1rem;
    }

    .footer-bar-copyright p,
    .footer-bar-credits p {
        font-size: 0.7rem;
    }
}

/* ===================================
   PRODUCTOS - PÁGINA PRINCIPAL
   =================================== */

/* Hero de Productos */
.products-hero {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.03), rgba(102, 187, 106, 0.03));
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.products-hero-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.products-hero-content .lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    text-align: justify;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.1);
}

.feature-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.feature-item > div {
    flex: 1;
    min-width: 0;
}

.feature-item h4 {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.feature-item p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

/* Media Query para Desktop - Control de iconos en pantallas grandes */
@media (min-width: 1024px) {
    .products-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .feature-item {
        padding: 1.5rem;
        gap: 1.25rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        max-width: 40px;
        max-height: 40px;
    }
    
    .feature-item h4 {
        font-size: 1rem;
    }
    
    .feature-item p {
        font-size: 0.875rem;
    }
}

/* Media Query para pantallas extra grandes */
@media (min-width: 1400px) {
    .products-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        max-width: 36px;
        max-height: 36px;
    }
}

/* Título de Sección */
.products-section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.products-section-title h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.products-section-title p {
    font-size: 1rem;
    color: var(--text-light);
}

.products-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(102, 187, 106, 0.05));
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.products-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.9), rgba(102, 187, 106, 0.9));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 16px 32px rgba(46, 125, 50, 0.2);
    border-color: var(--primary-color);
}

.product-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.15);
}

.product-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.product-card:hover .product-card-content {
    color: white;
}

.product-card-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    transition: color 0.4s ease;
}

.product-card:hover .product-card-title {
    color: white;
}

.product-card-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex: 1;
    transition: color 0.4s ease;
}

.product-card:hover .product-card-description {
    color: rgba(255, 255, 255, 0.95);
}

.product-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    transition: border-color 0.4s ease;
}

.product-card:hover .product-card-specs {
    border-top-color: rgba(255, 255, 255, 0.3);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.4s ease;
}

.product-card:hover .spec-item {
    color: white;
}

.spec-icon {
    width: 18px;
    height: 18px;
    color: var(--secondary-color);
    flex-shrink: 0;
    transition: color 0.4s ease;
}

.product-card:hover .spec-icon {
    color: white;
}

/* Overlay de "Ver Detalles" */
.product-card-overlay {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-card:hover .product-card-overlay {
    opacity: 1;
    transform: translateX(0);
}

.overlay-text {
    white-space: nowrap;
}

.overlay-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.product-card:hover .overlay-icon {
    transform: translateX(4px);
}

/* CTA Section */
.products-cta {
    background: linear-gradient(135deg, #f65a00, #ff8533);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    margin-top: 4rem;
    box-shadow: 0 10px 40px rgba(246, 90, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.products-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.products-cta-content {
    position: relative;
    z-index: 1;
}

.products-cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.products-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-lg {
    font-size: 1.15rem;
    padding: 18px 42px;
    background-color: white;
    color: #f65a00;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 3px solid white;
}

.btn-lg:hover {
    background-color: #fff5f0;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #d64d00;
}

.btn-icon-left {
    width: 26px;
    height: 26px;
}

/* ===================================
   PRODUCTOS - PÁGINA DE DETALLE
   =================================== */

.product-detail-header {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.95), rgba(102, 187, 106, 0.95));
    color: white;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

.product-detail-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.product-detail-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

/* Galería */
.product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.gallery-main {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.gallery-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.gallery-thumb {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.gallery-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

/* ===================================
   CARRUSEL DE SERVICIOS
   =================================== */

.service-gallery-carousel {
    position: relative;
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-light);
}

.carousel-viewport {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: scale(1);
}

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

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Botones de Navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn--prev {
    left: 1rem;
}

.carousel-btn--next {
    right: 1rem;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator:hover,
.carousel-indicator.active {
    background: white;
    border-color: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-viewport {
        height: 250px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-btn--prev {
        left: 0.5rem;
    }

    .carousel-btn--next {
        right: 0.5rem;
    }

    .carousel-indicator {
        width: 8px;
        height: 8px;
    }
}

/* Información del Producto */
.product-info {
    padding-top: 1rem;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    text-align: justify;
}

/* Métrica Animada */
.product-metric {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.08), rgba(102, 187, 106, 0.08));
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.metric-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
    letter-spacing: -2px;
}

.metric-label {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Especificaciones Técnicas */
.product-specs {
    margin-bottom: 2.5rem;
}

.product-specs h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.specs-list {
    list-style: none;
    padding: 0;
}

.specs-list li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--bg-light);
    border-radius: 6px;
    display: flex;
    align-items: start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.specs-list li:hover {
    background: rgba(46, 125, 50, 0.05);
    transform: translateX(8px);
}

.specs-list li::before {
    content: '▸';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.specs-list strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Composition Table */
.product-composition {
    margin-bottom: 2.5rem;
}

.product-composition h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.composition-table-wrapper {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.composition-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.95rem;
}

.composition-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.composition-table thead th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.composition-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.composition-table tbody tr:hover {
    background: rgba(46, 125, 50, 0.05);
}

.composition-table tbody tr:last-child {
    border-bottom: none;
}

.composition-table tbody td {
    padding: 0.9rem 1rem;
    color: var(--text-color);
}

.composition-table tbody td:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

.composition-table tbody td:nth-child(2) {
    font-family: 'Courier New', monospace;
    font-weight: 500;
    color: var(--text-light);
}

.composition-table tbody td:nth-child(3) {
    font-weight: 700;
    color: var(--text-color);
    text-align: right;
}

.composition-table tbody td:nth-child(4) {
    color: var(--text-light);
    font-size: 0.9rem;
}

.composition-table .table-highlight {
    background: rgba(255, 167, 38, 0.1);
    font-weight: 600;
}

.composition-table .table-highlight td {
    color: var(--accent-color);
    font-weight: 700;
}

.composition-note {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(102, 187, 106, 0.05));
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.composition-note strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* CTA Button */
.product-cta {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 20px 40px;
    background: linear-gradient(135deg, #f65a00, #ff8533);
    color: white;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(246, 90, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-whatsapp:hover::before {
    left: 100%;
}

.cta-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(246, 90, 0, 0.5);
    background: linear-gradient(135deg, #ff6a10, #ff9544);
}

.cta-whatsapp:active {
    transform: translateY(-2px) scale(1.02);
}

.whatsapp-icon-cta {
    width: 30px;
    height: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Sección de Beneficios */
.product-benefits {
    background: var(--bg-light);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.product-benefits h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

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

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: var(--secondary-color);
}

.benefit-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.benefit-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   PÁGINA NOSOTROS - SOBRE LA EMPRESA
   =================================== */

/* Introducción */
.about-intro {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(102, 187, 106, 0.05));
    padding: 4rem 2rem;
}

.about-intro h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-color);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Filosofía: Misión y Visión */
.about-philosophy {
    padding: 4rem 2rem;
    background: white;
}

.about-philosophy h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.philosophy-card {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.03), rgba(102, 187, 106, 0.03));
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.philosophy-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(46, 125, 50, 0.15);
}

.philosophy-icon {
    width: 48px;
    height: 48px;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.philosophy-card:hover .philosophy-icon {
    color: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
}

.philosophy-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.philosophy-card p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-color);
    text-align: justify;
}

/* Valores */
.about-values {
    background: var(--bg-light);
    padding: 4rem 2rem;
}

.about-values h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-style: italic;
}

.values-list {
    list-style: none;
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.value-item {
    display: flex;
    gap: 2rem;
    align-items: start;
    background: white;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.15);
    border-left-width: 8px;
}

.value-icon {
    font-size: 3rem;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(102, 187, 106, 0.1));
    border-radius: 50%;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.15) rotate(10deg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.value-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
}

/* Equipo */
.about-team {
    padding: 4rem 2rem;
    background: white;
}

.about-team h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.team-placeholder {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(102, 187, 106, 0.05));
    border-radius: 16px;
    border: 2px dashed var(--border-color);
    transition: all 0.3s ease;
}

.team-placeholder:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.08), rgba(102, 187, 106, 0.08));
}

.team-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-icon svg {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.team-placeholder:hover .team-icon svg {
    color: var(--primary-color);
    transform: scale(1.1);
}

.team-placeholder p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-color);
    font-style: italic;
}

/* ===================================
   PÁGINA DE INICIO - LANDING PAGE
   =================================== */

/* Hero Section con Carrusel */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #1a1a1a;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.85), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #66BB6A, #FFA726);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

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

/* Sección "Por Qué Elegirnos" */
.why-us-section {
    background: white;
}

.section-padding {
    padding: 6rem 2rem;
}

.section-header {
    margin-bottom: 4rem;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.03), rgba(102, 187, 106, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.15);
}

.feature-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(102, 187, 106, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.feature-icon-wrapper .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.1) rotate(10deg);
}

.feature-icon {
    font-size: 3rem;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card:hover .feature-icon {
    filter: brightness(0) invert(1);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

/* Sección de Proceso (Timeline) */
.process-section {
    background: var(--bg-light);
}

.bg-light {
    background-color: #f8f9fa;
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    padding-left: 140px;
    margin-bottom: 4rem;
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 3rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.15);
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.timeline-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Sección de Productos Teaser */
.products-teaser-section {
    background: white;
}

.teaser-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.teaser-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.teaser-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.teaser-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.teaser-list li {
    font-size: 1.1rem;
    color: var(--text-color);
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.teaser-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.teaser-image {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.2), rgba(102, 187, 106, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmerEffect 3s infinite;
}

@keyframes shimmerEffect {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Sección de Aliados */
.allies-section {
    background: var(--bg-light);
}

.allies-section .section-title {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.logo-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

.logo-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.1);
}

/* CTA Final */
.cta-final-section {
    background: linear-gradient(135deg, #f65a00, #ff8533);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-final-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="white" stroke-width="1" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.cta-text {
    font-size: 1.3rem;
    color: white;
    opacity: 0.95;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.btn-white {
    background: white;
    color: #f65a00;
    border: 3px solid white;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.btn-white:hover {
    background: #fff5f0;
    color: #d64d00;
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.btn-lg {
    font-size: 1.2rem;
    padding: 20px 50px;
    position: relative;
    z-index: 10;
}

/* Responsive - Página de Inicio */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .teaser-layout {
        gap: 3rem;
    }

    .timeline-item {
        padding-left: 100px;
    }

    .timeline-number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .process-timeline::before {
        left: 40px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        height: auto;
        padding: 3rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .section-padding {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .section-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .process-timeline::before {
        display: none;
    }

    .timeline-item {
        padding-left: 0;
        margin-bottom: 3rem;
    }

    .timeline-number {
        position: relative;
        margin: 0 auto 1.5rem;
    }

    .timeline-content {
        padding: 1.75rem;
    }

    .timeline-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .timeline-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .teaser-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .teaser-content h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .teaser-text {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .teaser-list {
        margin-bottom: 2rem;
    }

    .teaser-list li {
        font-size: 0.95rem;
        padding: 0.875rem 0;
        padding-left: 2rem;
    }

    .teaser-list li::before {
        width: 26px;
        height: 26px;
        font-size: 0.875rem;
    }

    .teaser-image {
        height: 280px;
        order: -1;
    }

    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .logo-item {
        padding: 1.5rem;
        min-height: 110px;
    }

    .cta-final-section {
        padding: 3rem 1.5rem;
    }

    .cta-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .cta-text {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 2rem;
    }

    .btn-lg {
        font-size: 1rem;
        padding: 16px 35px;
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 400px;
        padding: 2.5rem 1rem;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.25;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .feature-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .feature-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .timeline-number {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-content p {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .teaser-content h2 {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .teaser-text {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    .teaser-list li {
        font-size: 0.875rem;
        padding: 0.75rem 0;
        padding-left: 1.75rem;
    }

    .teaser-list li::before {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    .teaser-image {
        height: 240px;
    }

    .logos-grid {
        gap: 1rem;
    }

    .logo-item {
        padding: 1.25rem;
        min-height: 90px;
        font-size: 0.8rem;
    }

    .cta-title {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .cta-text {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
    
    .btn-lg {
        font-size: 0.95rem;
        padding: 14px 30px;
        width: 100%;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
    
    .cta-final-section {
        padding: 3rem 1rem;
    }
    
    .cta-final-section .container {
        padding: 0 1rem;
    }
}

/* ===================================
   SERVICIOS - PÁGINA
   =================================== */

/* Introducción de Servicios */
.services-intro {
    background: var(--bg-light);
    padding: 4rem 2rem;
}

.intro-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
    text-align: justify;
    max-width: 1000px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Pilares de Valor */
.value-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pillar {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pillar:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.15);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    color: var(--secondary-color);
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.pillar:hover .pillar-icon {
    color: var(--primary-color);
    transform: scale(1.15);
}

.pillar h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.pillar p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

/* Grid de Servicios */
.services {
    padding: 4rem 2rem;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjeta de Servicio */
.servicio-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Imagen de Servicio (Header de Tarjeta) */
.servicio-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.servicio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.servicio-card:hover .servicio-card-image img {
    transform: scale(1.08);
}

/* Mini-carrusel dentro de tarjetas de servicios */
.servicio-card-image.service-gallery-carousel {
    margin-bottom: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: none;
}

.servicio-card-image .carousel-viewport {
    height: 100%;
    border-radius: 0;
}

/* Contenido de la Tarjeta */
.servicio-card-content {
    padding: 2rem;
}

/* Layout Flex para icono y contenido */
.servicio-card-main {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

/* Imagen Hero de Servicio Individual */
.service-hero-section {
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.servicio-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(46, 125, 50, 0.2);
}

/* Icono de Servicio */
.servicio-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(102, 187, 106, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.servicio-icon svg {
    width: 32px;
    height: 32px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.servicio-card:hover .servicio-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.1) rotate(5deg);
}

.servicio-card:hover .servicio-icon svg {
    color: white;
}

/* Título de Servicio */
.servicio-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

/* Copy Persuasivo */
.servicio-copy {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
    margin-bottom: 1.5rem;
}

.servicio-copy strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Tags de Servicio */
.servicio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.08), rgba(102, 187, 106, 0.08));
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid rgba(46, 125, 50, 0.2);
    transition: all 0.3s ease;
}

.servicio-card:hover .tag {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* CTA de Servicios */
.services-cta {
    background: linear-gradient(135deg, #f65a00, #ff8533);
    padding: 4rem 2rem;
    margin-top: 4rem;
    box-shadow: 0 10px 40px rgba(246, 90, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 1.2rem;
    color: white;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .header-container {
        padding: 1rem 1.5rem;
    }

    .logo img {
        height: 60px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 77px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
        padding: 0;
        max-height: calc(100vh - 77px);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 1.25rem;
        font-size: 1rem;
        width: 100%;
        display: block;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(46, 125, 50, 0.05);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links a {
        padding-left: 0;
    }

    .footer-links a::before {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Evita zoom en iOS */
        padding: 14px;
    }

    .form-group textarea {
        min-height: 140px;
    }

    .contact-form h2,
    .contact-info h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .contact-form .btn-primary {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-map {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .contact-map h2 {
        font-size: 1.5rem;
    }

    .map-container iframe {
        height: 300px;
    }

    /* Responsive Productos */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        margin-bottom: 0;
    }

    .product-card-image {
        height: 200px;
    }

    .product-card-content {
        padding: 1.5rem;
    }

    .product-card-title {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .product-card-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .product-card-specs {
        padding-top: 0.75rem;
        gap: 0.5rem;
    }

    .spec-item {
        font-size: 0.8rem;
    }

    .products-hero {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .products-hero-content h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .products-hero-content .lead {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: left;
        margin-bottom: 1.5rem;
    }

    .products-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .feature-item {
        padding: 1rem;
        gap: 0.75rem;
    }

    .feature-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }

    .feature-item h4 {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .feature-item p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .products-section-title h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .products-section-title p {
        font-size: 0.9rem;
    }

    .products-intro {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .products-intro p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .product-card-overlay {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .products-cta {
        padding: 2.5rem 1.5rem;
        margin-top: 2.5rem;
    }

    .products-cta-content h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .products-cta-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    /* Detalle de Producto Responsive */
    .product-detail-header {
        padding: 2.5rem 1.5rem;
    }

    .product-detail-header h1 {
        font-size: 1.7rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .product-detail-header .subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Composition Table Responsive */
    .product-composition h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .composition-table {
        font-size: 0.85rem;
    }

    .composition-table thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
    }

    .composition-table tbody td {
        padding: 0.7rem 0.5rem;
    }

    .composition-note {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .gallery-main img {
        height: 280px;
    }

    .gallery-thumbnails {
        gap: 0.5rem;
    }

    .gallery-thumb img {
        height: 70px;
    }

    .product-info {
        padding-top: 0;
    }

    .product-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 2rem;
    }

    .metric-value {
        font-size: 2.25rem;
    }

    .metric-label {
        font-size: 0.9rem;
    }

    .product-metric {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .product-specs h3 {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }

    .specs-list li {
        padding: 0.875rem;
        font-size: 0.9rem;
    }

    .cta-whatsapp {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 15px 28px;
    }

    .product-benefits {
        padding: 2.5rem 1.5rem;
        margin-top: 2.5rem;
    }

    .product-benefits h2 {
        font-size: 1.6rem;
        margin-bottom: 1.75rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .benefit-item {
        padding: 1.25rem;
    }

    .benefit-icon {
        width: 50px;
        height: 50px;
    }

    .benefit-item h3 {
        font-size: 1.1rem;
    }

    .benefit-item p {
        font-size: 0.9rem;
    }

    /* Responsive Página Nosotros */
    .about-intro {
        padding: 2.5rem 1.5rem;
    }

    .about-intro h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .intro-text {
        font-size: 0.95rem;
        line-height: 1.7;
        padding: 1.5rem;
    }

    .about-philosophy {
        padding: 2.5rem 1.5rem;
    }

    .about-philosophy h2 {
        font-size: 1.6rem;
        margin-bottom: 2.5rem;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .philosophy-card {
        padding: 2rem 1.5rem;
    }

    .philosophy-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 1.25rem;
    }

    .philosophy-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .philosophy-card p {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: left;
    }

    .about-values {
        padding: 2.5rem 1.5rem;
    }

    .about-values h2 {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    .value-item {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.75rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .value-item:hover {
        transform: translateY(-5px);
    }

    .value-icon {
        font-size: 2.25rem;
        width: 55px;
        height: 55px;
        margin: 0 auto;
    }

    .value-content h3 {
        font-size: 1.25rem;
        text-align: center;
        margin-bottom: 0.75rem;
    }

    .value-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: left;
    }

    .about-team {
        padding: 2.5rem 1.5rem;
    }

    .about-team h2 {
        font-size: 1.6rem;
        margin-bottom: 2.5rem;
    }

    .team-placeholder {
        padding: 2.5rem 1.75rem;
    }

    .team-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 1.5rem;
    }

    .team-placeholder p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Responsive Servicios */
    .services-intro {
        padding: 2.5rem 1.5rem;
    }

    .intro-content h2 {
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
    }

    .intro-text {
        font-size: 0.95rem;
        line-height: 1.7;
        padding: 1.5rem;
        text-align: left;
        margin-bottom: 2.5rem;
    }

    .value-pillars {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .pillar {
        padding: 1.5rem;
    }

    .pillar-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 1rem;
    }

    .pillar h4 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }

    .pillar p {
        font-size: 0.875rem;
    }

    .services {
        padding: 2.5rem 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .servicio-card {
        padding: 1.75rem 1.5rem;
    }

    .servicio-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 1.25rem;
    }

    .servicio-icon svg {
        width: 28px;
        height: 28px;
    }

    .servicio-card h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .servicio-copy {
        font-size: 0.9rem;
        line-height: 1.7;
        text-align: left;
        margin-bottom: 1.25rem;
    }

    .servicio-tags {
        gap: 0.5rem;
    }

    .tag {
        padding: 0.4rem 0.875rem;
        font-size: 0.8rem;
    }

    .services-cta {
        padding: 2.5rem 1.5rem;
        margin-top: 2.5rem;
    }

    .cta-content h2 {
        font-size: 1.6rem;
        margin-bottom: 0.875rem;
    }

    .cta-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 15px 30px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }

    .footer-container {
        padding: 0 1rem 2rem;
    }

    .footer-bottom-container {
        padding: 0 1rem;
    }

    .social-links {
        justify-content: center;
    }

    /* Productos - Features para móviles pequeños */
    .products-hero {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .products-hero-content h2 {
        font-size: 1.4rem;
        line-height: 1.25;
    }

    .products-hero-content .lead {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .products-features {
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .feature-item {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .feature-icon {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
    }

    .feature-item h4 {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .feature-item p {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .products-grid {
        gap: 1.25rem;
    }

    .product-card-image {
        height: 180px;
    }

    .product-card-content {
        padding: 1.25rem;
    }

    .product-card-title {
        font-size: 1.2rem;
    }

    .product-card-description {
        font-size: 0.85rem;
    }

    .products-intro {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .products-intro p {
        font-size: 0.85rem;
    }

    .products-section-title h2 {
        font-size: 1.3rem;
    }

    .products-section-title p {
        font-size: 0.85rem;
    }

    /* Detalle de Producto para móviles pequeños */
    .product-detail-header {
        padding: 2rem 1rem;
    }

    .product-detail-header h1 {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .product-detail-header .subtitle {
        font-size: 0.875rem;
    }

    .gallery-main img {
        height: 240px;
    }

    .gallery-thumb img {
        height: 60px;
    }

    .product-description {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    .metric-value {
        font-size: 2rem;
    }

    .metric-label {
        font-size: 0.85rem;
    }

    .product-metric {
        padding: 1.25rem;
    }

    .product-specs h3 {
        font-size: 1.2rem;
    }

    /* Composition Table - Mobile Small */
    .product-composition h3 {
        font-size: 1.2rem;
    }

    .composition-table {
        font-size: 0.75rem;
    }

    .composition-table thead th {
        padding: 0.6rem 0.4rem;
        font-size: 0.7rem;
    }

    .composition-table tbody td {
        padding: 0.6rem 0.4rem;
    }

    .composition-table tbody td:nth-child(3) {
        font-size: 0.8rem;
    }

    .composition-note {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    .specs-list li {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .product-benefits {
        padding: 2rem 1rem;
    }

    .product-benefits h2 {
        font-size: 1.4rem;
    }

    .benefit-item {
        padding: 1rem;
    }

    .benefit-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.75rem;
    }

    .benefit-item h3 {
        font-size: 1rem;
    }

    .benefit-item p {
        font-size: 0.85rem;
    }

    /* Nosotros para móviles pequeños */
    .about-intro,
    .about-philosophy,
    .about-values,
    .about-team {
        padding: 2rem 1rem;
    }

    .about-intro h2,
    .about-philosophy h2,
    .about-values h2,
    .about-team h2 {
        font-size: 1.4rem;
    }

    .intro-text {
        font-size: 0.875rem;
        padding: 1.25rem;
    }

    .philosophy-card {
        padding: 1.5rem 1.25rem;
    }

    .philosophy-card h3 {
        font-size: 1.3rem;
    }

    .philosophy-card p {
        font-size: 0.875rem;
    }

    .value-item {
        padding: 1.5rem 1.25rem;
    }

    .value-content h3 {
        font-size: 1.15rem;
    }

    .value-content p {
        font-size: 0.875rem;
    }

    /* Servicios para móviles pequeños */
    .services-intro,
    .services {
        padding: 2rem 1rem;
    }

    .intro-content h2 {
        font-size: 1.4rem;
    }

    .intro-text {
        font-size: 0.875rem;
        padding: 1.25rem;
    }

    .pillar {
        padding: 1.25rem;
    }

    .pillar h4 {
        font-size: 1rem;
    }

    .pillar p {
        font-size: 0.8rem;
    }

    .servicio-card {
        padding: 1.5rem 1.25rem;
    }

    .servicio-card h3 {
        font-size: 1.15rem;
    }

    .servicio-copy {
        font-size: 0.85rem;
    }

    .tag {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
    }

    .services-cta {
        padding: 2rem 1rem;
    }

    .cta-content h2 {
        font-size: 1.4rem;
    }

    .cta-content p {
        font-size: 0.875rem;
    }
}

/* ===================================
   COMPONENTE WHATSAPP FLOTANTE
   =================================== */

#whatsapp-float-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998; /* Menor que modales pero mayor que contenido */
    width: 60px;
    height: 60px;
}

.whatsapp-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
}

.whatsapp-button.show {
    opacity: 1;
    transform: scale(1);
    animation: fadeInScale 0.5s ease forwards;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-button:active {
    transform: scale(0.95);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    color: white;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff3838;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    box-shadow: 0 2px 8px rgba(255, 56, 56, 0.5);
    transition: all 0.3s ease;
}

.notification-badge.show {
    opacity: 1;
    transform: scale(1);
    animation: badgePulse 0.5s ease forwards;
}

.whatsapp-message {
    position: absolute;
    bottom: 75px;
    right: 0;
    background: white;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    max-width: 300px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9999;
}

.message-content {
    position: relative;
}

.message-content::before {
    content: '';
    position: absolute;
    bottom: -23px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid white;
}

.message-content p {
    margin: 0;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.message-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 1;
    transition: color 0.3s ease;
}

.message-close:hover {
    color: #333;
}

.whatsapp-message.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.whatsapp-message.hide {
    animation: messageSlideOut 0.3s ease forwards;
}

/* Animaciones WhatsApp */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes badgePulse {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes messageSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes messageSlideOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

.whatsapp-button.shake {
    animation: shake 0.5s ease;
}

.whatsapp-button.hide-temp {
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

/* Responsive WhatsApp */
@media (max-width: 768px) {
    #whatsapp-float-container {
        bottom: 15px;
        right: 15px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-button {
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
    
    .whatsapp-message {
        max-width: 260px;
        font-size: 13px;
        bottom: 70px;
    }
    
    /* Responsive para CTAs */
    .cta-whatsapp {
        padding: 15px 28px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }
    
    .whatsapp-icon-cta {
        width: 26px;
        height: 26px;
    }
    
    .btn-lg {
        font-size: 0.95rem;
        padding: 15px 30px;
        width: 100%;
        justify-content: center;
        max-width: 100%;
        min-height: 48px;
    }
    
    .btn-icon-left {
        width: 20px;
        height: 20px;
    }
    
    .products-cta,
    .services-cta,
    .cta-final-section {
        padding: 2.5rem 1.5rem;
    }
    
    .products-cta-content h2,
    .cta-content h2,
    .cta-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .products-cta-content p,
    .cta-content p,
    .cta-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    #whatsapp-float-container {
        bottom: 12px;
        right: 12px;
    }

    .whatsapp-button {
        width: 52px;
        height: 52px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    .cta-whatsapp {
        padding: 13px 20px;
        font-size: 0.85rem;
        border-radius: 40px;
        min-height: 46px;
    }

    .whatsapp-icon-cta {
        width: 22px;
        height: 22px;
    }
    
    .btn-lg {
        font-size: 0.85rem;
        padding: 13px 20px;
        width: 100%;
        max-width: 100%;
        display: inline-flex;
        box-sizing: border-box;
        min-height: 46px;
        line-height: 1.3;
    }

    .btn-icon-left {
        width: 18px;
        height: 18px;
    }
    
    .products-cta-content h2,
    .cta-content h2,
    .cta-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .products-cta-content p,
    .cta-content p,
    .cta-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* Asegurar que los containers tengan padding adecuado */
    .container {
        padding: 0 1rem;
    }
    
    /* Mejorar espaciado en secciones */
    .section-padding {
        padding: 2.5rem 1rem;
    }
    
    /* Asegurar que los logos sean responsivos */
    .logos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .logo-item {
        padding: 1.5rem;
        min-height: 100px;
    }
    
    .products-cta,
    .services-cta,
    .cta-final-section {
        padding: 2rem 1rem;
    }
}

/* ===================================
   BLOG - TARJETAS Y ARTÍCULOS
   =================================== */

/* Sección de posts del blog */
.blog-posts {
    padding: 80px 0;
    background-color: var(--bg-light);
}

/* Grilla de tarjetas */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Tarjeta individual del blog */
.blog-card {
    background-color: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

/* Imagen de la tarjeta */
.blog-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

/* Categoría */
.blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contenido de la tarjeta */
.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Metadata */
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-card-date::before {
    content: '📅 ';
}

.blog-card-read-time::before {
    content: '⏱️ ';
}

/* Título */
.blog-card-title {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
}

/* Extracto */
.blog-card-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

/* Call to action */
.blog-card-cta {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-card-cta {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Página individual del artículo */
.blog-article-hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 40px;
}

.blog-article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-article-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 40px;
    color: var(--bg-color);
}

.blog-article-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.blog-article-hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.95rem;
}

/* Contenido del artículo */
.blog-article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-article-content h1,
.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    color: var(--text-color);
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.blog-article-content h1 {
    font-size: 2.4rem;
    margin-top: 0;
    color: var(--primary-color);
}

.blog-article-content h2 {
    font-size: 2rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 12px;
    margin-top: 50px;
}

.blog-article-content h3 {
    font-size: 1.6rem;
    color: var(--secondary-color);
}

.blog-article-content h4 {
    font-size: 1.3rem;
    color: var(--text-color);
}

.blog-article-content p {
    margin-bottom: 24px;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
}

/* Estilos para listas mejorados */
.blog-article-content ul,
.blog-article-content ol {
    margin-bottom: 28px;
    padding-left: 40px;
    line-height: 1.8;
}

.blog-article-content ul {
    list-style-type: disc;
}

.blog-article-content ol {
    list-style-type: decimal;
}

.blog-article-content li {
    margin-bottom: 12px;
    padding-left: 8px;
}

.blog-article-content li::marker {
    color: var(--primary-color);
    font-weight: bold;
}

/* Estilos mejorados para blockquotes */
.blog-article-content blockquote {
    border-left: 5px solid var(--primary-color);
    background: linear-gradient(to right, rgba(46, 125, 50, 0.05), transparent);
    padding: 20px 30px;
    margin: 35px 0;
    font-style: italic;
    color: var(--text-color);
    font-size: 1.05rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.blog-article-content blockquote p {
    margin-bottom: 0;
}

/* Estilos mejorados para tablas (Editorial Rich Style) */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.blog-article-content .markdown-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    font-size: 0.95rem;
}

.blog-article-content .markdown-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.blog-article-content .markdown-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border: none;
}

.blog-article-content .markdown-table th:first-child {
    border-top-left-radius: 8px;
}

.blog-article-content .markdown-table th:last-child {
    border-top-right-radius: 8px;
}

.blog-article-content .markdown-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    color: var(--text-color);
}

.blog-article-content .markdown-table td:first-child {
    border-left: 1px solid var(--border-color);
    font-weight: 600;
}

.blog-article-content .markdown-table td:last-child {
    border-right: 1px solid var(--border-color);
}

.blog-article-content .markdown-table tbody tr {
    transition: background-color 0.2s ease;
}

.blog-article-content .markdown-table tbody tr:nth-child(even) {
    background-color: rgba(245, 245, 245, 0.5);
}

.blog-article-content .markdown-table tbody tr:hover {
    background-color: rgba(46, 125, 50, 0.05);
}

.blog-article-content .markdown-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.blog-article-content .markdown-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

/* Estilos para código */
.blog-article-content code {
    background-color: #f4f4f4;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 0.9em;
    color: #e53e3e;
    border: 1px solid #e0e0e0;
}

.blog-article-content pre {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.blog-article-content pre code {
    padding: 0;
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Estilos para imágenes intercaladas (Editorial Style) */
.blog-article-image {
    margin: 45px 0;
    text-align: center;
}

.blog-article-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-article-image img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.blog-article-image figcaption {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Estilos para enlaces regulares */
.blog-article-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.blog-article-content a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Wrapper para CTAs - Centrado y separado del texto */
.blog-article-content .cta-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    width: 100%;
}

/* Estilos para CTAs (Call to Action) - Botones PROMINENTES */
.blog-article-content .btn-cta {
    display: block;
    padding: 16px 40px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: none;
    cursor: pointer;
    min-width: 280px;
    letter-spacing: 0.5px;
    text-transform: none;
}

/* CTA Primario (Conversión alta: Agendar, Contactar, Solicitar, Cotizar) */
.blog-article-content .btn-cta-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.blog-article-content .btn-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, #FF8A50 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.blog-article-content .btn-cta-primary:hover::before {
    left: 0;
}

.blog-article-content .btn-cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 167, 38, 0.45);
    text-decoration: none;
    color: white !important;
}

/* CTA Secundario (Más información, Ver más) */
.blog-article-content .btn-cta-secondary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #FF8A50 100%);
    color: white !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.blog-article-content .btn-cta-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF8A50 0%, var(--accent-color) 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.blog-article-content .btn-cta-secondary:hover::before {
    left: 0;
}

.blog-article-content .btn-cta-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 167, 38, 0.4);
    text-decoration: none;
    color: white !important;
}

/* Estado activo (cuando se presiona) */
.blog-article-content .btn-cta:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

/* Asegurar que los CTAs no tengan el estilo de enlace regular */
.blog-article-content a.btn-cta {
    color: white !important;
    text-decoration: none;
}

.blog-article-content a.btn-cta:hover {
    color: white !important;
    text-decoration: none;
}

.blog-article-content a.btn-cta:visited {
    color: white !important;
}

/* Agregar icono de flecha opcional (visual cue) */
.blog-article-content .btn-cta::after {
    content: ' →';
    font-size: 1.2em;
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.blog-article-content .btn-cta:hover::after {
    transform: translateX(4px);
}

/* Estilos para negritas y cursivas */
.blog-article-content strong {
    font-weight: 700;
    color: var(--text-color);
}

.blog-article-content em {
    font-style: italic;
    color: var(--text-color);
}

/* Responsive para blog */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card-image {
        height: 200px;
    }
    
    .blog-card-title {
        font-size: 1.2rem;
    }
    
    .blog-article-hero {
        height: 300px;
    }
    
    .blog-article-hero-title {
        font-size: 1.8rem;
    }
    
    .blog-article-content {
        padding: 20px 15px;
        font-size: 1rem;
    }
    
    .blog-article-content h1 {
        font-size: 1.9rem;
    }
    
    .blog-article-content h2 {
        font-size: 1.6rem;
        margin-top: 35px;
    }
    
    .blog-article-content h3 {
        font-size: 1.3rem;
    }
    
    .blog-article-content h4 {
        font-size: 1.1rem;
    }
    
    .blog-article-content ul,
    .blog-article-content ol {
        padding-left: 25px;
    }
    
    .blog-article-content blockquote {
        padding: 15px 20px;
        margin: 25px 0;
        font-size: 1rem;
    }
    
    .table-responsive {
        margin: 30px -15px;
        border-radius: 0;
    }
    
    .blog-article-content .markdown-table {
        font-size: 0.85rem;
    }
    
    .blog-article-content .markdown-table th,
    .blog-article-content .markdown-table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .blog-article-image {
        margin: 30px 0;
    }
    
    .blog-article-image img {
        border-radius: 8px;
    }
    
    /* CTAs responsive */
    .blog-article-content .btn-cta {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
    }
    
    /* Related Articles - Mobile Responsive */
    .related-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Mobile-Responsive Tables */
    .blog-article-content .markdown-table thead {
        display: none;
    }
    
    .blog-article-content .markdown-table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 15px;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .blog-article-content .markdown-table td {
        display: block;
        text-align: left;
        padding: 8px 0;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .blog-article-content .markdown-table td:last-child {
        border-bottom: none;
    }
    
    .blog-article-content .markdown-table td:before {
        content: attr(data-label) ": ";
        font-weight: bold;
        color: var(--primary-color);
        display: inline-block;
        margin-right: 10px;
    }
    
    .blog-article-content .markdown-table tbody tr:nth-child(even) {
        background-color: white;
    }
    
    .blog-article-content .markdown-table tbody tr:hover {
        background-color: rgba(46, 125, 50, 0.03);
    }
}

/* ===================================
   RELATED ARTICLES HOVER EFFECTS
   =================================== */

.related-card {
    cursor: pointer;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

.related-card img {
    transition: transform 0.3s ease;
}

.related-card:hover img {
    transform: scale(1.05);
}
/* ===================================
   LEGAL PAGES STYLES
   =================================== */

.legal-section {
    background: var(--bg-light);
    min-height: 60vh;
}

.legal-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.legal-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(46, 125, 50, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

.legal-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 3rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--secondary-color);
    font-weight: 700;
}

.legal-title:first-child {
    margin-top: 0;
}

.legal-title h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.legal-box {
    margin-bottom: 2rem;
}

.legal-box > p {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.legal-list {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.legal-list li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
    color: var(--text-color);
}

.legal-list li::marker {
    color: var(--primary-color);
    font-weight: bold;
}

.legal-list ul {
    margin-left: 1.5rem;
    margin-top: 0.8rem;
}

.legal-list ul li::marker {
    color: var(--secondary-color);
}

.legal-box strong {
    color: var(--primary-color);
    font-weight: 600;
}

.legal-box a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-box a:hover {
    color: var(--accent-color);
}

.legal-cta {
    background: var(--primary-color);
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.legal-cta .btn {
    margin: 0.5rem;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-title {
        font-size: 1.5rem;
    }
    
    .legal-intro {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* ===================================
   STATS SECTION - IMPACTO AMBIENTAL
   =================================== */

.stats-section {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.95), rgba(102, 187, 106, 0.95));
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(46, 125, 50, 0.2);
}

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.stat-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.stats-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stats-cta .btn {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stats-cta .btn:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 2rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-icon {
        font-size: 3rem;
    }
}

/* ===================================
   COOKIE CONSENT BANNER
   =================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(46, 125, 50, 0.98);
    color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    animation: slideUp 0.5s ease-out;
}

.cookie-banner.show {
    display: flex;
}

.cookie-banner-content {
    flex: 1;
}

.cookie-banner-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.cookie-banner-text a {
    color: #FFA726;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-banner-text a:hover {
    color: white;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-banner-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cookie-banner-btn-accept {
    background: white;
    color: var(--primary-color);
}

.cookie-banner-btn-accept:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.cookie-banner-btn-reject {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-banner-btn-reject:hover {
    background: white;
    color: var(--primary-color);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        padding: 1.5rem;
    }

    .cookie-banner-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-banner-btn {
        width: 100%;
    }
}
