/* ============================================ */
/* ARCA ENERGIES - style.css                    */
/* Estilos globales y componentes base          */
/* Versión: 2.1 - Con soporte para form directo */
/* ============================================ */

:root {
    --gris: #656C70;
    --gris-claro: #F4F6F8;
    --amarillo: #f8be10;
    --blanco: #FFFFFF;
    --lila: #535486;
    --verde: #2EB72E;
    --verde-oscuro: #249A24;
    --azul: #084D9C;
    --azul-oscuro: #063B7A;
    --sombra: 0 8px 32px rgba(8,77,156,0.12);
    --sombra-fuerte: 0 20px 50px rgba(8,77,156,0.18);
    --sombra-sm: 0 4px 12px rgba(8,77,156,0.15);
    --sombra-md: 0 8px 24px rgba(8,77,156,0.25);
    --radio-btn: 50px;
    --radio-card: 16px;
    --radio-input: 8px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
ul { list-style: none; }

/* ===== UTILIDADES ===== */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden { display: none !important; }
.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* ===== BOTONES GLOBALES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radio-btn);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
    touch-action: manipulation;
}
.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}
.btn svg { flex-shrink: 0; }

.btn-azul {
    background: var(--azul);
    color: var(--blanco);
}
.btn-azul:hover:not(:disabled) {
    background: var(--azul-oscuro);
    transform: translateY(-2px);
    box-shadow: var(--sombra-md);
}

.btn-verde {
    background: var(--verde);
    color: var(--blanco);
}
.btn-verde:hover:not(:disabled) {
    background: var(--verde-oscuro);
    transform: translateY(-2px);
    box-shadow: var(--sombra-md);
}

.btn-white {
    background: var(--blanco);
    color: var(--azul);
}
.btn-white:hover:not(:disabled) {
    background: var(--gris-claro);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--blanco);
    border: 2px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover:not(:disabled) {
    background: rgba(255,255,255,0.08);
    border-color: var(--blanco);
    transform: translateY(-2px);
}

.btn-outline-azul {
    background: transparent;
    color: var(--azul);
    border: 2px solid var(--azul);
}
.btn-outline-azul:hover:not(:disabled) {
    background: var(--azul);
    color: var(--blanco);
}

/* Loading spinner para botones */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
.btn-azul.btn-loading::after,
.btn-verde.btn-loading::after {
    border-color: rgba(255,255,255,0.35);
    border-top-color: #fff;
}
.btn-white.btn-loading::after,
.btn-outline-white.btn-loading::after {
    border-color: rgba(8,77,156,0.35);
    border-top-color: var(--azul);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(223,232,239,0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(8,77,156,0.1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    padding: 0 clamp(14px, 4vw, 40px);
}
.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.nav-logo img { height: 34px; width: auto; object-fit: contain; }
.nav-slogan { font-size: 0.55rem; color: var(--azul-oscuro); font-style: italic; line-height: 1; }
.nav-links { display: flex; list-style: none; gap: 1.2rem; align-items: center; }
.nav-links a {
    color: var(--gris);
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s;
    position: relative;
    white-space: nowrap;
    padding: 6px 4px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--azul); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--azul);
    border-radius: 2px;
}
.nav-cta {
    background: var(--azul-oscuro) !important;
    color: var(--blanco) !important;
    padding: 0.5rem 1.3rem !important;
    border-radius: 50px;
    font-weight: 600 !important;
}
.nav-cta:hover { background: var(--azul) !important; transform: translateY(-2px); box-shadow: var(--sombra-md); }

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    z-index: 1002;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--azul-oscuro);
    transition: all 0.25s ease;
    border-radius: 2px;
    transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    z-index: 1001;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 24px;
    overflow-y: auto;
}
.mobile-overlay.open { display: flex; }
.mobile-overlay a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    min-height: 48px;
}
.mobile-overlay a:last-child { border-bottom: none; }
.mobile-overlay a.active { color: var(--azul); }
.mobile-overlay .nav-cta-mobile {
    margin-top: 20px;
    background: var(--azul-oscuro) !important;
    color: var(--blanco) !important;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700 !important;
    font-size: 1rem;
    max-width: 280px;
    min-height: 50px;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    width: 100%;
    background: url("https://arcaenergies.com/images/hero/1background-hero.svg") center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 72px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,8,1,0.18);
    z-index: 1;
}
.hero-content {
    max-width: 1380px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 clamp(70px, 8vw, 120px) !important;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px !important;
    align-items: center;
    z-index: 2;
    position: relative;
    min-height: calc(100vh - 72px);
}
.hero-text { color: var(--blanco); }
.hero-text h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.5rem) !important;
    line-height: 1.12 !important;
    font-weight: 850 !important;
    text-align: center !important;
    max-width: 1380px !important;
    margin: 0 auto 16px auto !important;
    padding: 0 20px !important;
    letter-spacing: -0.025em;
}
.hero-text h1 .accent { color: var(--azul); }
.tagline {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--blanco);
    font-weight: 700;
    margin-bottom: 14px;
}
.hero-text .subtitle {
    font-size: clamp(0.85rem, 1.8vw, 1.02rem);
    color: rgba(255,255,255,0.92);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto 24px;
    text-align: center;
}
.hero-text .subtitle strong { color: var(--blanco); }
.hero-buttons { 
    display: flex; 
    gap: 12px; 
    flex-wrap: wrap; 
    justify-content: center;
    margin-bottom: 18px; 
}
.contact-info { 
    font-size: 0.82rem; 
    color: rgba(255,255,255,0.85); 
    line-height: 1.5; 
    text-align: center;
}
.contact-info strong { color: var(--blanco); }

/* ===== CAROUSEL ===== */
.hero-visual { display: flex; align-items: center; justify-content: center; width: 100%; }
.hero-carousel-wrapper {
    width: 100%;
    max-width: 380px;
    position: relative;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    transform: scale(1);
}
.hero-carousel-wrapper.carousel-hidden { opacity: 0; transform: scale(0.92) translateY(20px); pointer-events: none; }
.hero-carousel {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(83,84,134,0.5), rgba(200,210,220,0.4));
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    padding: 5px 8px;
}
.carousel-track-container { overflow: hidden; border-radius: 35px; }
.carousel-track { display: flex; transition: transform 0.3s ease; }
.carousel-slide { min-width: 100%; flex-shrink: 0; position: relative; }
.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: min(350px, 98vh);
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}
.carousel-slide-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    color: var(--blanco);
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px 8px 6px;
    font-size: clamp(0.58rem, 1.4vw, 0.65rem);
    font-weight: 600;
    text-align: center;
    border-radius: 0 0 8px 8px;
    line-height: 1.3;
}
.carousel-counter {
    position: absolute;
    top: 46px; right: 28px;
    background: rgba(0,0,0,0.45);
    color: var(--blanco);
    padding: 2px 8px;
    border-radius: 18px;
    font-size: 0.62rem;
    font-weight: 700;
    z-index: 3;
}
.carousel-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    transition: all 0.2s;
    z-index: 10;
    color: var(--azul);
    opacity: 0;
    pointer-events: none;
}
.hero-carousel-wrapper:hover .carousel-arrow { opacity: 1; pointer-events: auto; }
.carousel-arrow:hover { background: var(--blanco); transform: translateY(-50%) scale(1.05); }
.carousel-arrow svg { width: 18px; height: 18px; }
.carousel-arrow.prev { left: -10px; }
.carousel-arrow.next { right: -10px; }
.carousel-dots { display: flex; justify-content: center; gap: 4px; margin-top: 8px; flex-wrap: wrap; padding: 4px; }
.carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 1.5px solid rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}
.carousel-dot.active { background: var(--verde); border-color: var(--verde); width: 20px; border-radius: 5px; }

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: var(--blanco);
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: floatBadge 3.5s ease-in-out infinite;
    z-index: 5;
}
.floating-badge.badge-1 { top: -14px; right: -22px; }
.floating-badge.badge-2 { bottom: 38px; left: -28px; animation-delay: 1.8s; }
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
.floating-badge .icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.floating-badge .icon.blue { background: rgba(8,77,156,0.1); }
.floating-badge .icon.green { background: rgba(46,183,46,0.1); }
.floating-badge .label { font-size: 0.68rem; font-weight: 700; color: var(--azul); }
.floating-badge .sublabel { font-size: 0.58rem; color: var(--gris); }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--azul-oscuro); padding: 32px clamp(14px, 4vw, 40px); }
.stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px, 3vw, 28px);
}
.stat-item { text-align: center; color: var(--blanco); }
.stat-number { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 900; letter-spacing: -1px; margin-bottom: 4px; }
.stat-number .verde { color: var(--verde); }
.stat-label { font-size: clamp(0.7rem, 1.5vw, 0.85rem); opacity: 0.8; font-weight: 500; }

/* ===== MARQUEE BRANDS ===== */
.brands-marquee { background: var(--gris-claro); padding: 1rem 0; overflow: hidden; border-top: 1px solid #E5E9ED; border-bottom: 1px solid #E5E9ED; }
.marquee-track { display: flex; gap: 2.5rem; animation: marquee 22s linear infinite; width: max-content; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-item { font-size: 0.95rem; font-weight: 700; color: var(--gris); opacity: 0.35; white-space: nowrap; display: flex; align-items: center; gap: 0.5rem; }
.marquee-item span { color: var(--azul); opacity: 0.5; }
.marquee-item img { height: 26px; width: auto; object-fit: contain; }

/* ===== SECTIONS BASE ===== */
section { content-visibility: auto; contain: layout style; }
.section-header { text-align: center; margin-bottom: clamp(24px, 5vw, 44px); }
.section-label {
    display: inline-block;
    background: rgba(46,183,46,0.1);
    color: var(--azul);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}
.section-title { font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--azul); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-subtitle { font-size: clamp(0.85rem, 1.8vw, 1rem); color: var(--gris); max-width: 560px; margin: 0 auto; line-height: 1.6; }

/* ===== BRANDS SECTION ===== */
.brands-section { padding: clamp(36px, 8vw, 72px) clamp(14px, 4vw, 40px); background: var(--blanco); }
.brands-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 3vw, 26px); }
.brand-card {
    background: var(--gris-claro);
    border-radius: var(--radio-card);
    padding: clamp(18px, 3vw, 36px) clamp(14px, 2vw, 26px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
}
.brand-card:hover { transform: translateY(-5px); box-shadow: var(--sombra-fuerte); border-color: rgba(8,77,156,0.08); background: var(--blanco); }
.brand-icon {
    width: 100%; max-width: 170px; height: 65px;
    border-radius: 12px; margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center; padding: 6px;
}
.brand-icon img { width: 100%; height: 100%; object-fit: contain; }
.brand-icon.invertek { background: linear-gradient(135deg, #c8c9eb, #FFFFFF); }
.brand-icon.schrack { background: linear-gradient(135deg, #d6e9ff, #FFFFFF); }
.brand-icon.murr { background: linear-gradient(135deg, #d1ebd1, #FFFFFF); }
.brand-card h3 { font-size: clamp(0.95rem, 2vw, 1.2rem); color: var(--azul); font-weight: 800; margin-bottom: 5px; }
.brand-card .origin { font-size: 0.78rem; color: var(--verde); font-weight: 600; margin-bottom: 10px; }
.brand-card p { font-size: clamp(0.78rem, 1.5vw, 0.85rem); color: var(--gris); line-height: 1.5; }

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 80px 20px;
    background: var(--blanco);
    position: relative;
    overflow: hidden;
}
.about-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--azul-oscuro), transparent);
    opacity: 0.3;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}
.about-visuals { display: flex; flex-direction: column; gap: 20px; }
.about-main-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(8, 77, 156, 0.15);
    aspect-ratio: 4/3;
}
.about-main-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.about-main-image:hover img { transform: scale(1.03); }
.image-overlay {
    position: absolute;
    bottom: 20px; left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.overlay-badge { display: flex; align-items: center; gap: 8px; }
.badge-number { font-size: 1.5rem; font-weight: 700; color: var(--azul-oscuro); }
.badge-text { font-size: 0.85rem; color: var(--gris); line-height: 1.3; }
.about-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px 12px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }
.about-content h3 { font-size: 1.5rem; color: var(--azul-oscuro); margin-bottom: 20px; font-weight: 600; }
.about-content > p { color: var(--gris); line-height: 1.7; margin-bottom: 28px; font-size: 1.05rem; }
.values-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.value-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 18px;
    background: rgba(8, 77, 156, 0.04);
    border-radius: 12px;
    border-left: 3px solid var(--azul-oscuro);
    transition: background 0.3s ease, transform 0.2s ease;
}
.value-item:hover { background: rgba(8, 77, 156, 0.08); transform: translateX(4px); }
.value-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.value-text { display: flex; flex-direction: column; gap: 4px; }
.value-text strong { color: var(--azul-oscuro); font-weight: 600; font-size: 0.95rem; }
.value-text span { color: var(--gris); font-size: 0.9rem; line-height: 1.4; }
.about-cta { padding-top: 12px; }
.about-cta .btn { padding: 14px 28px; font-weight: 500; }

/* ===== WHY US SECTION ===== */
.why-section { padding: clamp(36px, 8vw, 72px) clamp(14px, 4vw, 40px); background: var(--blanco); }
.why-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px, 2.5vw, 22px);
}
.why-card {
    text-align: center;
    padding: clamp(16px, 3vw, 28px) clamp(10px, 2vw, 18px);
    border-radius: var(--radio-card);
    transition: background 0.2s, transform 0.2s;
    background: var(--blanco);
    border: 1px solid rgba(8, 77, 156, 0.08);
}
.why-card:hover { background: var(--gris-claro); transform: translateY(-4px); }
.why-icon {
    width: clamp(40px, 8vw, 54px);
    height: clamp(40px, 8vw, 54px);
    border-radius: 12px;
    background: rgba(8, 77, 156, 0.07);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
}
.why-card h4 { font-size: clamp(0.85rem, 1.8vw, 0.98rem); color: var(--azul); font-weight: 800; margin-bottom: 6px; }
.why-card p { font-size: clamp(0.75rem, 1.5vw, 0.83rem); color: var(--gris); line-height: 1.5; }

/* ===== CTA SECTION ===== */
.cta-section { 
    padding: clamp(36px, 8vw, 72px) clamp(14px, 4vw, 40px); 
    background: linear-gradient(135deg, var(--azul), var(--azul-oscuro)); 
    position: relative; 
    overflow: hidden; 
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(46,183,46,0.12), transparent 70%);
    border-radius: 50%;
}
.cta-inner { max-width: 680px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.cta-inner h2 { font-size: clamp(1.4rem, 4vw, 2.2rem); color: var(--blanco); font-weight: 900; margin-bottom: 14px; }
.cta-inner h2 .verde { color: var(--verde); }
.cta-inner p { font-size: clamp(0.85rem, 1.8vw, 1rem); color: rgba(255,255,255,0.75); margin-bottom: 28px; line-height: 1.6; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT SECTION ===== */
.contact-section { padding: clamp(36px, 8vw, 72px) clamp(14px, 4vw, 40px); background: var(--gris-claro); }
.contact-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 44px); align-items: start; }
.contact-info-card, .contact-form-card { background: var(--blanco); border-radius: 20px; padding: clamp(18px, 3vw, 36px); box-shadow: var(--sombra); }
.contact-info-card h3, .contact-form-card h3 { font-size: clamp(1.1rem, 2.8vw, 1.45rem); color: var(--azul); font-weight: 800; margin-bottom: 18px; }
.contact-detail { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.contact-detail .icon-box {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(8,77,156,0.07);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 1rem;
}
.contact-detail .text strong { display: block; color: var(--azul); font-size: 0.85rem; margin-bottom: 2px; }
.contact-detail .text a { color: var(--gris); font-size: 0.82rem; text-decoration: none; line-height: 1.4; word-break: break-all; }
.contact-detail .text a:hover { color: var(--verde); }

/* ===== FORMULARIO DE CONTACTO ===== */
.contact-form-card .form-group { margin-bottom: 14px; }
.contact-form-card label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--azul); margin-bottom: 5px; }
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    width: 100%; padding: 11px 14px;
    border: 2px solid #E8ECF0; border-radius: var(--radio-input);
    font-family: inherit; font-size: 16px;
    color: #333; transition: border-color 0.2s, background 0.2s;
    outline: none; background: var(--gris-claro);
}
.contact-form-card input:hover,
.contact-form-card select:hover,
.contact-form-card textarea:hover { border-color: var(--azul); }
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus { 
    border-color: var(--azul); 
    background: var(--blanco);
    box-shadow: 0 0 0 3px rgba(8,77,156,0.1);
}
.contact-form-card textarea { resize: vertical; min-height: 80px; }
.contact-form-card input:invalid:not(:placeholder-shown),
.contact-form-card textarea:invalid:not(:placeholder-shown) {
    border-color: #e53e3e;
}
.contact-form-card input:invalid:not(:placeholder-shown):focus,
.contact-form-card textarea:invalid:not(:placeholder-shown):focus {
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Botón de envío del formulario */
.form-submit {
    width: 100%; padding: 13px;
    background: var(--azul); color: var(--blanco);
    border: none; border-radius: 8px;
    font-family: inherit; font-size: 0.95rem; font-weight: 700;
    cursor: pointer; transition: all 0.2s;
    min-height: 46px; touch-action: manipulation;
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
}
.form-submit:hover:not(:disabled) { background: var(--azul-oscuro); transform: translateY(-1px); box-shadow: var(--sombra); }
.form-submit:active:not(:disabled) { transform: translateY(0); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* Estado de carga del botón */
.form-submit.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
.form-submit.loading::after {
    content: '';
    position: absolute;
    width: 22px; height: 22px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* ===== ESTADOS DEL FORMULARIO (NUEVO) ===== */
#formStatus {
    margin-top: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
    min-height: 24px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#formStatus.visible {
    opacity: 1;
    transform: translateY(0);
}
#formStatus.success {
    color: #155724;
    background: rgba(46, 183, 46, 0.12);
    border: 1px solid rgba(46, 183, 46, 0.3);
    padding: 12px 16px;
    border-radius: 10px;
    animation: slideIn 0.3s ease;
}
#formStatus.error {
    color: #721c24;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    padding: 12px 16px;
    border-radius: 10px;
    animation: shake 0.4s ease;
}
#formStatus a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}
#formStatus a:hover { color: var(--azul); }

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ===== TOAST NOTIFICATION ===== */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    background: var(--blanco);
    border-radius: 12px;
    padding: 14px 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    max-width: 340px;
    pointer-events: auto;
    border-left: 4px solid var(--verde);
}
.toast.show { transform: translateX(0); }
.toast.error { border-left-color: #e53e3e; }
.toast .toast-icon { font-size: 1.3rem; flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer { background: #084D9C; color: rgba(255,255,255,0.65); padding: clamp(28px, 6vw, 46px) clamp(14px, 4vw, 40px) clamp(18px, 4vw, 24px); }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(18px, 4vw, 36px); margin-bottom: 36px; }
.footer-brand h3 { font-size: clamp(1.1rem, 2.5vw, 1.3rem); color: var(--blanco); font-weight: 900; margin-bottom: 8px; }
.footer-brand img { max-height: 42px; width: auto; margin-bottom: 10px; }
.footer-brand p { font-size: clamp(0.75rem, 1.5vw, 0.83rem); line-height: 1.55; margin-bottom: 14px; }
.footer-col h4 { color: var(--blanco); font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a { display: block; color: rgba(255,255,255,0.55); font-size: clamp(0.75rem, 1.5vw, 0.83rem); margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--verde); }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; flex-wrap: wrap; gap: 6px; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 54px; height: 54px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 18px rgba(37,211,102,0.35);
    z-index: 999;
    transition: transform 0.2s;
    touch-action: manipulation;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float:active { transform: scale(0.95); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; will-change: opacity, transform; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 clamp(24px, 6vw, 40px) !important;
    }
    .hero-text .subtitle { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    
    .brands-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-visuals { order: 2; }
    .about-content { order: 1; text-align: center; }
    .about-content h3 { text-align: center; }
    .values-list { align-items: center; }
    .value-item { width: 100%; max-width: 400px; justify-content: center; }
    
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { justify-content: center; }
}

@media (max-width: 768px) {
    .hero-text h1 { padding: 0 12px !important; }
    .carousel-arrow { display: none; }
    .carousel-dots { gap: 6px; }
    .carousel-dot { width: 10px; height: 10px; }
    .carousel-dot.active { width: 24px; }
    
    .about-gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .gallery-caption { font-size: 0.7rem; padding: 16px 10px 10px; }
    .image-overlay { bottom: 12px; left: 12px; padding: 10px 16px; }
    .badge-number { font-size: 1.3rem; }
    .badge-text { font-size: 0.8rem; }
    
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .nav-container { padding: 0 16px; }
    .nav-logo img { height: 30px; }
    
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; justify-content: center; }
    
    .about-gallery { grid-template-columns: 1fr; }
    .gallery-item { aspect-ratio: 16/9; }
    .values-list { align-items: stretch; }
    .value-item { flex-direction: column; text-align: center; padding: 16px; }
    .value-icon { margin: 0 auto; }
    
    .contact-info-card, .contact-form-card { padding: 24px 20px; }
    
    .footer-inner { gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    
    .whatsapp-float {
        width: 50px; height: 50px;
        bottom: 12px; right: 12px;
    }
    .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ===== ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== IMPRESIÓN ===== */
@media print {
    .navbar, .whatsapp-float, .toast-container, .carousel-arrow, .floating-badge {
        display: none !important;
    }
    body { font-size: 12pt; color: #000; background: #fff; }
    a { text-decoration: underline; color: #000; }
    .btn { border: 1px solid #000; background: none !important; color: #000 !important; }
}