/*
Theme Name: Transportes Olivares
Author: AI Assistant
Description: Tema de WordPress para empresa de transporte de camiones y logística, premium y dinámico.
Version: 1.0.0
Tags: transporte, logistica, camiones, premium, wordpress
*/

/* ==========================================================================
   RESET & SYSTEM CONFIGURATION
   ========================================================================== */
:root {
    /* Color Palette (Logística e Industrial Premium) */
    --primary-color: #0f172a;       /* Azul Marino Oscuro / Slate 900 */
    --primary-dark: #020617;        /* Azul Noche / Slate 950 */
    --primary-light: #f1f5f9;       /* Gris claro con toque azulado / Slate 100 */
    --accent-color: #f97316;        /* Naranja Vial / Tránsito */
    --accent-hover: #ea580c;        /* Naranja Oscuro */
    --neutral-dark: #0f172a;        /* Texto oscuro principal */
    --neutral-light: #f8fafc;       /* Fondo suave para secciones */
    --neutral-muted: #64748b;       /* Gris para textos secundarios / Slate 500 */
    --dark-surface: #1e293b;        /* Superficies secundarias oscuras (Footer) */
    --dark-border: #334155;         /* Bordes en footer */
    --dark-muted-text: #94a3b8;     /* Texto secundario en footer */
    --white: #ffffff;
    
    /* Typography */
    --font-main: 'Plus Jakarta Sans', sans-serif;
    
    /* Layout & Spacing System */
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--neutral-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Reusable Container Utility */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   BUTTONS & UI COMPONENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-primary-outline:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

/* ==========================================================================
   NAVIGATION LAYOUT
   ========================================================================== */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}

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

.top-bar-actions {
    display: flex;
    gap: 20px;
}

.top-bar-item {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.top-bar-item:hover {
    color: var(--white);
}

.main-header {
    background-color: var(--primary-color);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--dark-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    height: auto;
    padding-top: 5px;
    padding-bottom: 5px;
}

.brand-logo {
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.brand-logo .logo-text strong {
    color: var(--accent-color);
}

.brand-logo img, .custom-logo {
    max-width: 250px;
    max-height: 75px !important;
    width: auto;
    height: auto;
    object-fit: contain;
    padding: 2px 0;
    display: block;
}

/* Menú Nav al centro */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
    margin: 0 auto; /* Empuja el menú al centro exacto */
}

.nav-link {
    text-decoration: none;
    color: var(--dark-muted-text);
    font-weight: 600;
    transition: var(--transition-smooth);
    padding: 8px 12px;
    border-radius: 4px;
}

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

.nav-menu li.current-menu-item > a {
    color: var(--accent-color);
}

/* ==========================================================================
   HERO SECTOR (INICIO)
   ========================================================================== */
.hero-section {
    padding: 80px 0;
    background: radial-gradient(circle at 10% 20%, rgb(233, 245, 235) 0%, rgb(255, 255, 255) 90%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 700;
    color: var(--neutral-dark);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--neutral-muted);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image-placeholder {
    width: 100%;
    height: 48px;
    min-height: 450px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.2);
    display: flex;
    align-items: flex-end;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('assets/images/hero_bg.png') center/cover;
    opacity: 0.85;
    mix-blend-mode: multiply;
}

.image-overlay-text {
    position: relative;
    color: var(--white);
    font-weight: 600;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Hero Carousel Styles */
.hero-swiper {
    width: 100%;
    height: 85vh;
    min-height: 550px;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Se cambia a scroll por defecto en móviles, fixed se aplica dinámicamente si se quiere */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 40px;
    position: relative;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--white) !important;
}

.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    background: var(--white) !important;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* ==========================================================================
   SECTIONS GENERAL RULES & ABOUT US (NOSOTROS)
   ========================================================================== */
section {
    padding: var(--section-padding, 80px 0);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    padding: 0;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--neutral-dark);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 50%;
    transform: translateX(-50%);
    width: 50px; height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.section-header .subtitle {
    font-size: 1.1rem;
    color: var(--neutral-muted);
}

#about {
    background-color: var(--primary-color);
}

/* Nosotros Section Grid: Imagen izquierda, Texto derecha */
.about-grid-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.about-left-image {
    width: 100%;
    height: 480px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
}

.about-left-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.about-right-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.card {
    background-color: var(--card-bg-color, var(--white));
    border-radius: var(--card-border-radius, var(--radius-md));
    padding: 40px;
    box-shadow: var(--card-shadow, var(--shadow-soft));
    border: var(--card-border, 1px solid #f1f5f9);
    transition: var(--transition-smooth);
    margin-bottom: 40px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.15);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    color: var(--accent-color);
    border-radius: 50%;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.card:hover .card-icon {
    background-color: var(--accent-color);
    color: var(--white);
    transform: scale(1.1);
}

.card-icon .material-symbols-outlined {
    font-size: 32px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    color: var(--neutral-dark);
}

.card p, .entry-content p {
    color: var(--neutral-muted);
}

/* Card Layout Variants */
.card-header-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.card-layout-inline .card-header-row {
    flex-direction: row;
}

.card-layout-inline .card-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.card-layout-inline .card-header-row h3 {
    margin-bottom: 0;
}

.card-layout-stacked .card-header-row {
    flex-direction: column;
    align-items: flex-start;
}

/* ==========================================================================
   PRODUCTS DISPLAY LAYOUT (SERVICIOS)
   ========================================================================== */
.products-section {
    background-color: transparent;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    background-color: var(--card-bg-color, var(--white));
    border-radius: var(--card-border-radius, var(--radius-md));
    overflow: hidden;
    box-shadow: var(--card-shadow, var(--shadow-soft));
    border: var(--card-border, 1px solid #f1f5f9);
    margin-bottom: 40px;
}

/* ==========================================================================
   SERVICES SECTION (TARJETAS ALTERNADAS)
   ========================================================================== */
.services-section {
    background-color: var(--neutral-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.services-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
    position: relative;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--card-border-radius, var(--radius-md));
    overflow: hidden;
    box-shadow: var(--card-shadow, var(--shadow-soft));
    border: var(--card-border, 1px solid #e2e8f0);
    width: 100%; /* Ocupa todo el ancho */
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: row; /* Horizontal */
}

/* Alternancia izquierda/derecha horizontal */
.service-card:nth-child(odd) {
    flex-direction: row;
}

.service-card:nth-child(even) {
    flex-direction: row-reverse;
}

.service-card-img {
    width: 50%; /* Ocupa el 50% de la tarjeta */
    height: 380px; /* Más alta para balancear el diseño horizontal */
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    flex-shrink: 0;
}

.service-card:hover .service-card-img {
    transform: scale(1.03);
}

.service-card-info {
    width: 50%; /* Ocupa el 50% de la tarjeta */
    padding: 48px;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--neutral-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-card .btn {
    align-self: flex-start;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

/* Responsive para Tarjetas de Servicio en Tablet y Móvil */
@media (max-width: 768px) {
    .service-card {
        flex-direction: column !important;
        width: 100%;
    }
    .service-card-img {
        width: 100% !important;
        height: 240px;
    }
    .service-card-info {
        width: 100% !important;
        padding: 24px;
    }
}

/* ==========================================================================
   PARTNERS SECTION (EMPRESAS SOCIO)
   ========================================================================== */
.partners-section {
    padding: 80px 0;
    background-color: var(--white);
}

.partners-container-custom {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    background-color: transparent !important;
    box-shadow: none !important;
    gap: 24px;
    position: relative;
}

.partner-half {
    width: calc(50% - 12px);
    padding: 36px 48px;
    background-color: rgba(15, 23, 42, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    color: var(--white);
    border-radius: 100px !important; /* Bordes circulares en ambos lados */
}

.partner-half.left-partner {
    text-align: right;
    flex-direction: row; /* Contenido fluye normal */
}

.partner-half.right-partner {
    text-align: left;
    flex-direction: row-reverse; /* Contenido invertido para que los logos se toquen al centro */
}

@media (max-width: 768px) {
    .partners-container-custom {
        flex-direction: column !important;
        gap: 20px;
    }
    .partner-half {
        width: 100% !important;
        border-radius: 30px !important;
        padding: 24px;
        flex-direction: column !important;
        text-align: center !important;
    }
    .partner-half.right-partner {
        flex-direction: column !important;
    }
}

.partner-logo-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Logos circulares */
    border: 3px solid rgba(255, 255, 255, 0.2);
    background-color: var(--white);
    object-fit: cover;
    transition: var(--transition-smooth);
}

.partner-desc {
    flex-grow: 1;
}

.partner-desc h3 {
    font-size: 1.4rem;
    color: var(--white) !important;
    margin-bottom: 8px;
    font-weight: 700;
}

.partner-desc p {
    font-size: 0.9rem;
    color: #94a3b8 !important;
    line-height: 1.5;
}

/* Hover highlights */
.partner-half:hover {
    background-color: rgba(255, 255, 255, 0.08); /* Resalta la mitad al pasar mouse */
}

.partner-half:hover .partner-logo-img {
    border-color: var(--accent-color);
    transform: scale(1.08);
}

/* ==========================================================================
   FOOTER LAYER
   ========================================================================== */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--dark-muted-text);
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand h3, .footer-info h4, .footer-map h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand h3 {
    font-size: 1.6rem;
}

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

.footer-info ul li {
    margin-bottom: 12px;
}

.footer-info a {
    color: var(--dark-muted-text);
    text-decoration: none;
}

.footer-info a:hover {
    color: var(--white);
}

.map-placeholder {
    background-color: var(--dark-surface);
    height: 250px;
    border-radius: var(--radius-sm);
    display: block;
    color: var(--dark-muted-text);
    font-size: 0.9rem;
    border: 1px dashed var(--dark-border);
}

.responsive-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--radius-sm);
}

.footer-bottom {
    border-top: 1px solid var(--dark-surface);
    padding: 24px 0;
    font-size: 0.85rem;
}

.bottom-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   NEW SECTIONS: NEWS & CONTACT CTA
   ========================================================================== */
.hero-content-centered {
    max-width: 800px;
    margin: 0 auto;
}

.text-white {
    color: var(--white) !important;
}

.text-white-muted {
    color: #e2e8f0 !important;
    font-size: 1.2rem;
    margin-bottom: 32px;
}

.white-outline {
    border-color: var(--white) !important;
    color: var(--white) !important;
}

.white-outline:hover {
    background-color: var(--white) !important;
    color: var(--neutral-dark) !important;
}

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

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    color: var(--neutral-muted);
}

.news-section {
    background-color: transparent;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.news-card {
    background-color: var(--card-bg-color, var(--white));
    border-radius: var(--card-border-radius, var(--radius-md));
    overflow: hidden;
    box-shadow: var(--card-shadow, var(--shadow-soft));
    border: var(--card-border, 1px solid #e2e8f0);
    transition: var(--transition-smooth);
    margin-bottom: 40px;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.15);
}

.news-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 24px;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content h3 a {
    text-decoration: none;
    color: var(--neutral-dark);
    transition: var(--transition-smooth);
}

.news-content h3 a:hover {
    color: var(--accent-color);
}

.news-content p {
    color: var(--neutral-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.news-read-more {
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.95rem;
}

.contact-cta-section {
    padding: 80px 24px;
}

.cta-wrapper {
    background-color: var(--primary-color);
    border-radius: var(--radius-md);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    color: var(--white);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
}

.cta-info h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-contact-details p {
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.cta-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-sm);
    color: var(--neutral-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition-smooth);
    background-image: none !important;
    background-repeat: no-repeat !important;
    cursor: text !important;
}

.custom-form button {
    cursor: pointer !important;
}

.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);
}

.btn-block {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px;
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC
   ========================================================================== */
.contact-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -80px; /* Offset to go under transparent header if it becomes transparent, otherwise safe */
}

.contact-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.contact-map-container iframe {
    width: 100% !important;
    height: 300px !important;
    border: none;
    border-radius: 12px;
}

/* Layout en Grid para la Página de Contacto */
.contact-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-form-column {
    width: 100%;
}

.contact-info-column {
    width: 100%;
}

.contact-info-content {
    padding: 20px 0;
}

.contact-info-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    position: relative;
}

.contact-info-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.contact-info-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--neutral-muted);
    margin-bottom: 30px;
    margin-top: 20px;
}

.contact-reasons-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reason-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.reason-icon {
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-color);
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
}

.reason-desc h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 6px 0;
}

.reason-desc p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--neutral-muted);
    margin: 0;
}

/* Responsividad para la Página de Contacto */
@media (max-width: 992px) {
    .contact-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .contact-info-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .contact-info-title {
        text-align: center;
    }
    .contact-info-lead {
        text-align: center;
    }
}

/* ==========================================================================
   CONTACT PAGE NATIVE FORM
   ========================================================================== */
.native-contact-form .form-group {
    position: relative;
    margin-bottom: 20px;
}

.native-contact-form .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 20px;
}

.native-contact-form.with-icons input, 
.native-contact-form.with-icons textarea {
    padding-left: 48px; /* Room for icon */
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content h1 { font-size: 2.75rem; }
    .hero-actions { justify-content: center; }
    .hero-image-wrapper { order: -1; } /* Sube la imagen arriba en mobile view */
    
    .mv-grid, .products-grid, .footer-grid, .news-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-wrapper {
        grid-template-columns: 1fr;
        padding: 40px 24px;
    }
}

@media (max-width: 576px) {
    .nav-menu { display: none; } /* En desarrollo real aquí integrarías un menú de hamburguesa */
    .top-bar-wrapper { justify-content: center; gap: 8px; text-align: center; }
    .cta-info h2 { font-size: 2rem; }
}

/* ==========================================================================
   ANIMATIONS (JS)
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed !important;
    width: 60px;
    height: 60px;
    bottom: 40px !important;
    right: 40px !important;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 99999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
    background-color: #1ebe57;
}

.whatsapp-icon {
    margin-top: 2px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* ==========================================================================
   MOBILE MENU & RESPONSIVE NAV
   ========================================================================== */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--neutral-dark);
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
}
.menu-toggle .material-symbols-outlined {
    font-size: 32px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
    }
}

/* ==========================================================================
   NEWS MODAL
   ========================================================================== */
.news-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.news-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.news-modal-content {
    background-color: var(--white);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 12px;
    position: relative;
    overflow-y: auto;
    padding: 40px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.news-modal-overlay.active .news-modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--neutral-light);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--neutral-dark);
    transition: background 0.3s ease;
}

.close-modal:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.news-modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.news-modal-body p {
    margin-bottom: 1.5rem;
}

.news-modal-body h2, .news-modal-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
