:root {
    --verde-principal: #2e7d32;
    --verde-oscuro: #1b5e20;
    --amarillo-agropower: #f1b900;
    --amarillo-luz: rgba(241, 185, 0, 0.4);
    --blanco: #ffffff;
    --negro: #101010;
    --gris-luz: #f4f4f4;
    --shadow-premium: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, .logo-text {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--negro);
    background-color: var(--gris-luz);
    overflow-x: hidden;
    background-image: 
        linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(232, 245, 233, 0.6)), 
        url('../Img/FondoVerde.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* --- NAVEGACIÓN --- */
nav {
    background-color: rgba(16, 16, 16, 0.95);
    backdrop-filter: blur(15px);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    height: 70px;
    transition: background-color 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    
}
.logo-container {
    color: inherit; /* Mantiene el color original del texto */
}

.logo-img {
    height: 35px;
    filter: none;
}

.logo-text {
    color: var(--blanco);
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--amarillo-agropower);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    transition: var(--transition);
}

nav ul li a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--blanco);
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.menu-icon {
    display: none;
    cursor: pointer;
    color: var(--blanco);
}

/* --- HERO --- */
.hero {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.9)), 
                url('../Img/IMG_7254.jpg') center/cover no-repeat;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--blanco);
    padding: 20px;
}

.hero h2 { 
    font-size: 4.2rem;
    margin-bottom: 25px; 
    max-width: 900px;
    line-height: 1.05;
    font-weight: 800;
    text-shadow: 0 5px 15px rgba(0,0,0,0.6);
}

.hero p { 
    font-size: 1.3rem;
    max-width: 700px;
    margin-bottom: 50px;
    opacity: 0.95;
}

/* --- PRODUCTOS --- */
.container {
    max-width: 1300px;
    margin: 110px auto;
    padding: 0 30px;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    font-size: 3rem;
    color: var(--negro);
    position: relative;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 6px;
    background: var(--verde-principal);
    border-radius: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 55px;
}

.card {
    position: relative;
    background: var(--blanco);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-premium), inset 0 0 20px rgba(241, 185, 0, 0.08);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-22px) scale(1.015);
    border-color: rgba(241, 185, 0, 0.4);
    box-shadow: 0 35px 70px rgba(0,0,0,0.18), inset 0 0 35px var(--amarillo-luz);
}

.img-container {
    position: relative;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 35px;
    background: radial-gradient(circle at center, #ffffff 0%, #f6f6f6 100%);
}

.tractor-cab {
    transform: translateY(75px) scale(1.1);
} 

.tractor-ajuste {
    transform: translateY(95px) scale(1.1);
} 

.tractor-ajuste2 {
    transform: translateY(100px) scale(1.23);
}

.tractor-ajuste3 {
    transform: translateY(80px) scale(1.1);
}
.card img {
    max-width: 135%;
    max-height: 135%;
    filter: drop-shadow(0 18px 18px rgba(0,0,0,0.35));
}

.piso-tractor {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    height: 22px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    filter: blur(2.5px);
}

.card-content {
    padding: 38px;
}

.price-badge {
    display: inline-block;
    background: rgba(46, 125, 50, 0.1);
    color: var(--verde-principal);
    padding: 7px 20px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.badge-oferta {
    background: rgba(230, 81, 0, 0.1);
    color: #e65100;
}

.card-text {
    margin-bottom: 28px;
    font-size: 1rem;
    color: #555;
    line-height: 1.65;
}

/* --- BOTONES --- */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background-color: var(--amarillo-agropower);
    color: var(--negro);
    padding: 17px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 12px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-hero {
    width: auto;
    padding: 18px 50px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    transition: 0.5s;
}

.btn:hover::before { left: 100%; }
.btn:hover { background-color: #e3ae00; transform: scale(1.035); }

.wsp-float {
    position: fixed;
    bottom: 40px; right: 40px;
    background-color: #25d366;
    color: white;
    width: 68px; height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
    z-index: 1000;
    transition: var(--transition);
}

.wsp-float:hover { transform: scale(1.12) rotate(10deg); }

/* --- SECCIÓN: VALORES Y ACOMPAÑAMIENTO --- */
.valores-section {
    margin-top: 140px;
    margin-bottom: 60px;
    width: 100%;
}

.valores-header {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 65px;
}

.valores-header h2 {
    font-size: 2.8rem;
    color: var(--negro);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.15;
}

.valores-header h2 span {
    color: var(--verde-principal);
}

.valores-header p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.65;
    margin-top: 25px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.valor-card {
    background-color: var(--verde-oscuro);
    color: var(--blanco);
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.02);
}

.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(27, 94, 32, 0.25);
    border-color: rgba(241, 185, 0, 0.3);
}

.valor-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--amarillo-agropower);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    transition: var(--transition);
}

.valor-card:hover .valor-icon {
    background-color: var(--amarillo-agropower);
    color: var(--negro);
    transform: scale(1.05);
}

.valor-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0px;
}

.valor-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    opacity: 0.85;
}

/* --- SECCIÓN PRESENCIA NACIONAL --- */
.presencia-section {
    margin-top: 130px;
    margin-bottom: 30px;
    width: 100%;
}

.presencia-header {
    text-align: center;
    margin-bottom: 60px;
}

.presencia-header p {
    font-size: 1.2rem;
    color: #555;
    margin-top: -55px;
}

.presencia-container {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 45px;
    align-items: stretch;
}

.presencia-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-box {
    background-color: var(--blanco);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

.info-box:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-verde {
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--verde-principal);
}

.icon-amarillo {
    background-color: rgba(241, 185, 0, 0.15);
    color: #c49600;
}

.info-text h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--negro);
    line-height: 1;
}

.info-text p {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
    margin-top: 5px;
}

.asesoria-box {
    background-color: var(--verde-oscuro);
    color: var(--blanco);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.asesoria-box h3 {
    font-size: 1.6rem;
    font-weight: 700;
}

.asesoria-box p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 10px;
}

.btn-presencia {
    background-color: var(--amarillo-agropower);
    color: var(--negro);
    width: 100%;
}

.btn-presencia:hover {
    background-color: var(--blanco);
    color: var(--negro);
}

.presencia-mapa {
    background-color: var(--blanco);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 5px solid var(--blanco);
    min-height: 480px;
}

.presencia-mapa iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    border-radius: 20px;
}

/* --- FOOTER PREMIUM OPTIMIZADO --- */
footer {
    background-color: #0c0c0c;
    color: #b0b0b0;
    padding: 80px 5% 40px;
    border-top: 2px solid rgba(241, 185, 0, 0.15);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: table;
    width: 100%;
}

.footer-column {
    display: block;
    float: left;
    width: 33.33%;
    padding: 0 25px;
    box-sizing: border-box;
}

.footer-container::after {
    content: "";
    display: table;
    clear: both;
}

.logo-container-footer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.logo-img-footer {
    height: 32px;
    filter: drop-shadow(0 0 6px var(--amarillo-luz));
}

.logo-text-footer {
    color: var(--blanco);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.logo-text-footer span {
    color: var(--amarillo-agropower);
}

.brand-description {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #8a8a8a;
    text-align: left;
}

.footer-column h3 {
    color: var(--blanco);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--verde-principal);
    border-radius: 2px;
}

.links-column ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.links-column ul li {
    margin-bottom: 12px;
}

.links-column ul li a {
    color: #9a9a9a;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.links-column ul li a:hover {
    color: var(--amarillo-agropower);
    padding-left: 5px;
}

.contact-column {
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.88rem;
    line-height: 1.4;
    color: #9a9a9a;
}

.contact-item i,
.contact-item svg {
    color: var(--amarillo-agropower);
    margin-top: 2px;
    flex-shrink: 0;
}

.social-icons-footer {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 25px;
}

.social-icon-footer {
    display: flex;
    align-items: center; 
    justify-content: center;
    color: rgba(255,255,255,0.6);
    width: 38px; 
    height: 38px;
    border-radius: 8px;
    background-color: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.social-icon-footer:hover {
    color: var(--negro);
    background-color: var(--amarillo-agropower);
    border-color: var(--amarillo-agropower);
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(241, 185, 0, 0.3);
}

.footer-bottom {
    max-width: 1300px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

.copy {
    font-size: 0.8rem;
    opacity: 0.5;
    letter-spacing: 0.5px;
}

/* --- ANIMACIONES --- */
.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: all 1.1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- MEDIA QUERIES --- */
@media (max-width: 992px) {
    .menu-icon { display: block; }
    nav ul {
        position: absolute;
        top: 70px; left: -100%;
        width: 100%; height: calc(100vh - 70px);
        background-color: rgba(16, 16, 16, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center; align-items: center;
        gap: 45px;
    }
    nav ul.show { left: 0; }
    nav ul li a { font-size: 1.3rem; }
    
    .valores-header h2 { font-size: 2.2rem; }
    
    .presencia-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .presencia-mapa {
        min-height: 400px;
    }
}

@media (max-width: 850px) {
    .footer-column {
        width: 100%;
        float: none;
        padding: 0;
        margin-bottom: 40px;
    }
    
    .footer-column h3::after {
        left: 0;
    }
    
    footer {
        padding: 60px 5% 30px;
    }
    
    .footer-bottom {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .hero h2 { font-size: 2.8rem; }
    .section-title { font-size: 2.4rem; }
    .product-grid { grid-template-columns: 1fr; }
    .presencia-header p { margin-top: -40px; }
}
/* Catalogo.html */
:root {
    --verde-principal: #2e7d32;
    --verde-oscuro: #1b5e20;
    --amarillo-agropower: #f1b900;
    --amarillo-luz: rgba(241, 185, 0, 0.4);
    --blanco: #ffffff;
    --negro: #101010;
    --gris-luz: #f4f4f4;
    --shadow-premium: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

/* Accesibilidad */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    left: 20px;
    top: 20px;
    width: auto;
    height: auto;
    background: var(--amarillo-agropower);
    color: var(--negro);
    padding: 15px;
    z-index: 9999;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
}

h1, h2, h3, .logo-text {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--negro);
    background-color: var(--gris-luz);
    overflow-x: hidden;
    background-image: 
        linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(232, 245, 233, 0.6)), 
        url('../Img/FondoVerde.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* --- NAVEGACIÓN --- */
nav {
    background-color: rgba(16, 16, 16, 0.95);
    backdrop-filter: blur(15px);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    height: 70px;
    transition: background-color 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 35px;
    filter: none;
}

.logo-text {
    color: var(--blanco);
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--amarillo-agropower);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    transition: var(--transition);
}

nav ul li a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--blanco);
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.menu-icon {
    display: none;
    cursor: pointer;
    color: var(--blanco);
    background: none;
    border: none;
}

/* --- HERO PRINCIPAL --- */
.hero {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.9)), 
                url('../Img/IMG_7254.jpg') center/cover no-repeat;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--blanco);
    padding: 20px;
}

.hero h2 { 
    font-size: 4.2rem;
    margin-bottom: 25px; 
    max-width: 900px;
    line-height: 1.05;
    font-weight: 800;
    text-shadow: 0 5px 15px rgba(0,0,0,0.6);
}

.hero p { 
    font-size: 1.3rem;
    max-width: 700px;
    margin-bottom: 50px;
    opacity: 0.95;
}

/* --- REJILLAS Y CONTENEDORES --- */
.container {
    max-width: 1300px;
    margin: 110px auto;
    padding: 0 30px;
}
.section-title {
    text-align: center;
    margin-bottom: 80px;
    font-size: 3rem;
    color: var(--negro);
    position: relative;
    font-weight: 800;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 6px;
    background: var(--verde-principal);
    border-radius: 10px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 55px;
}
.card {
    position: relative;
    background: var(--blanco);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-premium), inset 0 0 20px rgba(241, 185, 0, 0.08);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-22px) scale(1.015);
    border-color: rgba(241, 185, 0, 0.4);
    box-shadow: 0 35px 70px rgba(0,0,0,0.18), inset 0 0 35px var(--amarillo-luz);
}
.img-container {
    position: relative;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 35px;
    background: radial-gradient(circle at center, #ffffff 0%, #f6f6f6 100%);
}
.tractor-cab { transform: translateY(75px) scale(1.1); } 
.tractor-ajuste { transform: translateY(95px) scale(1.0); } 
.tractor-ajuste2 { transform: translateY(100px) scale(1.23); }
.tractor-ajuste3 { transform: translateY(90px) scale(1.1); }
.card img {
    max-width: 135%;
    max-height: 135%;
    filter: drop-shadow(0 18px 18px rgba(0,0,0,0.35));
}
.piso-tractor {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    height: 22px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    filter: blur(2.5px);
}

.card-content { padding: 38px; }

.price-badge {
    display: inline-block;
    background: rgba(46, 125, 50, 0.1);
    color: var(--verde-principal);
    padding: 7px 20px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.badge-oferta {
    background: rgba(230, 81, 0, 0.1);
    color: #e65100;
}

.card-text {
    margin-bottom: 28px;
    font-size: 1rem;
    color: #555;
    line-height: 1.65;
}

/* --- BOTONES COMPLETOS --- */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background-color: var(--amarillo-agropower);
    color: var(--negro);
    padding: 17px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 12px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-hero { width: auto; padding: 18px 50px; }

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    transition: 0.5s;
}
.btn:hover::before { left: 100%; }
.btn:hover { background-color: #e3ae00; transform: scale(1.035); }

.wsp-float {
    position: fixed;
    bottom: 40px; right: 40px;
    background-color: #25d366;
    color: white;
    width: 68px; height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
    z-index: 1000;
    transition: var(--transition);
}
.wsp-float:hover { transform: scale(1.12) rotate(10deg); }

/* --- SECCIÓN: VALORES Y ACOMPAÑAMIENTO --- */
.valores-section {
    margin-top: 140px;
    margin-bottom: 60px;
    width: 100%;
}

.valores-header {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 65px;
}

.valores-header h2 {
    font-size: 2.8rem;
    color: var(--negro);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.15;
}

.valores-header h2 span { color: var(--verde-principal); }

.valores-header p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.65;
    margin-top: 25px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.valor-card {
    background-color: var(--verde-oscuro);
    color: var(--blanco);
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.02);
}
.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(27, 94, 32, 0.25);
    border-color: rgba(241, 185, 0, 0.3);
}

.valor-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--amarillo-agropower);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    transition: var(--transition);
}
.valor-card:hover .valor-icon {
    background-color: var(--amarillo-agropower);
    color: var(--negro);
    transform: scale(1.05);
}

.valor-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 14px; }
.valor-card p { font-size: 0.9rem; line-height: 1.55; opacity: 0.85; }

/* --- SECCIÓN PRESENCIA NACIONAL --- */
.presencia-section { margin-top: 130px; margin-bottom: 30px; width: 100%; }
.presencia-header { text-align: center; margin-bottom: 60px; }
.presencia-header p { font-size: 1.2rem; color: #555; margin-top: -55px; }

.presencia-container {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 45px;
    align-items: stretch;
}
.presencia-info { display: flex; flex-direction: column; gap: 25px; }

.info-box {
    background-color: var(--blanco);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}
.info-box:hover { transform: translateY(-5px); }

.icon-circle { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.icon-verde { background-color: rgba(46, 125, 50, 0.1); color: var(--verde-principal); }
.icon-amarillo { background-color: rgba(241, 185, 0, 0.15); color: #c49600; }

.info-text h3 { font-size: 2.2rem; font-weight: 800; color: var(--negro); line-height: 1; }
.info-text p { font-size: 1rem; color: #666; font-weight: 600; margin-top: 5px; }

.asesoria-box {
    background-color: var(--verde-oscuro);
    color: var(--blanco);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.asesoria-box h3 { font-size: 1.6rem; font-weight: 700; }
.asesoria-box p { font-size: 0.95rem; opacity: 0.9; line-height: 1.6; margin-bottom: 10px; }

.btn-presencia { background-color: var(--amarillo-agropower); color: var(--negro); width: 100%; }
.btn-presencia:hover { background-color: var(--blanco); color: var(--negro); }

.presencia-mapa {
    background-color: var(--blanco);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 5px solid var(--blanco);
    min-height: 480px;
}
.presencia-mapa iframe { width: 100%; height: 100%; display: block; border: 0; border-radius: 20px; }

/* --- SECCIÓN VENTANA DE CATÁLOGOS EXCLUSIVOS --- */
.hero-catalogo {
    background: linear-gradient(rgba(12, 12, 12, 0.85), rgba(27, 94, 32, 0.9)), 
                url('../Img/IMG_7254.jpg') center/cover no-repeat;
    padding: 100px 5% 70px;
    text-align: center;
    color: var(--blanco);
}
.hero-catalogo h1 { font-size: 3.2rem; font-weight: 800; margin-bottom: 15px; text-transform: uppercase; }
.hero-catalogo p { font-size: 1.1rem; max-width: 650px; margin: 0 auto; opacity: 0.9; }

.catalogo-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--blanco);
    padding: 35px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    margin-bottom: 60px;
    border-left: 6px solid var(--verde-principal);
}
.intro-text h2 { font-size: 1.8rem; color: var(--negro); font-weight: 800; }
.intro-text p { color: #555; margin-top: 5px; font-size: 0.95rem; }
.btn-descarga-general { padding: 15px 30px; white-space: nowrap; }

.catalogos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 40px; }

.catalogo-card {
    background-color: var(--blanco);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    position: relative;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}
.catalogo-card:hover { transform: translateY(-8px); box-shadow: 0 25px 55px rgba(0,0,0,0.12); border-color: rgba(46, 125, 50, 0.2); }

.badge-potencia {
    position: absolute;
    top: 15px; left: 15px;
    background-color: var(--negro);
    color: var(--amarillo-agropower);
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.75rem;
    z-index: 10;
    border: 1px solid rgba(251, 185, 0, 0.3);
}
.catalogo-img-box {
    width: 40%;
    background: radial-gradient(circle at center, #ffffff 0%, #f4f4f4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.catalogo-img-box img { max-width: 110%; filter: drop-shadow(0 10px 12px rgba(0,0,0,0.2)); transition: var(--transition); }
.catalogo-card:hover .catalogo-img-box img { transform: scale(1.05); }
/* --- COMPORTAMIENTO CORREGIDO PARA EL TRACTOR 504-F --- */
.catalogo-img-box img.tractor-ajuste50hpcat {
    /* Mantiene su posición inicial centrada */
    transform: translateY(-20px) scale(1.05) !important; 
    transition: var(--transition) !important;
}
/* Aplica exactamente la misma animación hacia ARRIBA y ZOOM que los demás */
.catalogo-card:hover .catalogo-img-box img.tractor-ajuste50hpcat {
    transform: translateY(-25px) scale(1.07) !important;
}
.catalogo-info-box { width: 60%; padding: 30px; display: flex; flex-direction: column; }
.catalogo-info-box h3 { font-size: 1.35rem; font-weight: 700; color: var(--negro); }
.modelo-tag { font-size: 0.8rem; color: var(--verde-principal); font-weight: 700; text-transform: uppercase; margin-bottom: 20px; }

.specs-list { list-style: none; margin-bottom: auto; }
.specs-list li { font-size: 0.85rem; color: #666; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.specs-list li i { color: var(--verde-principal); flex-shrink: 0; }

.catalogo-actions { display: flex; gap: 12px; margin-top: 25px; }
.btn-secundario {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background-color: rgba(16, 16, 16, 0.05); color: var(--negro);
    border: 1px solid rgba(0,0,0,0.1); padding: 12px 18px; border-radius: 10px;
    text-decoration: none; font-weight: 700; font-size: 0.85rem; transition: var(--transition);
}
.btn-secundario:hover { background-color: var(--negro); color: var(--blanco); }
.btn-card-action { flex-grow: 1; padding: 12px; font-size: 0.85rem; border-radius: 10px; }

/* --- FOOTER PREMIUM --- */
footer { background-color: #0c0c0c; color: #b0b0b0; padding: 80px 5% 40px; border-top: 2px solid rgba(241, 185, 0, 0.15); }
.footer-container { max-width: 1300px; margin: 0 auto; display: table; width: 100%; }
.footer-column { display: block; float: left; width: 33.33%; padding: 0 25px; box-sizing: border-box; }
.footer-container::after { content: ""; display: table; clear: both; }

.logo-container-footer { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.logo-img-footer { height: 32px; filter: drop-shadow(0 0 6px var(--amarillo-luz)); }
.logo-text-footer { color: var(--blanco); font-size: 1.25rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.logo-text-footer span { color: var(--amarillo-agropower); }
.brand-description { font-size: 0.85rem; line-height: 1.6; color: #8a8a8a; text-align: left; }

.footer-column h3 { color: var(--blanco); font-size: 1.1rem; font-weight: 700; margin-bottom: 25px; position: relative; text-align: left; text-transform: uppercase; }
.footer-column h3::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 35px; height: 3px; background-color: var(--verde-principal); }

.links-column ul { list-style: none; padding: 0; text-align: left; }
.links-column ul li { margin-bottom: 12px; }
.links-column ul li a { color: #9a9a9a; text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: var(--transition); }
.links-column ul li a:hover { color: var(--amarillo-agropower); padding-left: 5px; }

.contact-column { text-align: left; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; font-size: 0.88rem; color: #9a9a9a; }
.contact-item i { color: var(--amarillo-agropower); margin-top: 2px; flex-shrink: 0; }

.social-icons-footer { display: flex; justify-content: flex-start; gap: 12px; margin-top: 25px; }
.social-icon-footer {
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6); width: 38px; height: 38px; border-radius: 8px;
    background-color: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.05); transition: var(--transition);
}
.social-icon-footer:hover { color: var(--negro); background-color: var(--amarillo-agropower); border-color: var(--amarillo-agropower); transform: translateY(-4px); }

.footer-bottom { max-width: 1300px; margin: 40px auto 0; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.06); text-align: center; }
.copy { font-size: 0.8rem; opacity: 0.5; }

/* --- ANIMACIONES REVEAL --- */
.reveal { opacity: 0; transform: translateY(45px); transition: all 1.1s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- MEDIA QUERIES --- */
@media (max-width: 992px) {
    .menu-icon { display: block; }
    nav ul {
        position: absolute; top: 70px; left: -100%;
        width: 100%; height: calc(100vh - 70px);
        background-color: rgba(16, 16, 16, 0.98); backdrop-filter: blur(15px);
        flex-direction: column; justify-content: center; align-items: center; gap: 45px;
    }
    nav ul.show { left: 0; }
    nav ul li a { font-size: 1.3rem; }
    .valores-header h2 { font-size: 2.2rem; }
    .presencia-container { grid-template-columns: 1fr; gap: 35px; }
    .presencia-mapa { min-height: 400px; }
    .catalogo-intro { flex-direction: column; text-align: center; gap: 25px; }
    .catalogos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
    .footer-column { width: 100%; float: none; padding: 0; margin-bottom: 40px; }
    footer { padding: 60px 5% 30px; }
    .footer-bottom { margin-top: 10px; }
}

@media (max-width: 768px) {
    .hero h2 { font-size: 2.8rem; }
    .section-title { font-size: 2.4rem; }
    .product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .catalogo-card { flex-direction: column; }
    .catalogo-img-box, .catalogo-info-box { width: 100%; }
    .catalogo-img-box { height: 200px; }
    .hero-catalogo h1 { font-style: 2.2rem; }
}
/* --- ANIMACIÓN DEL LOGO (OPCIÓN Destello) --- */
.logo-container {
    position: relative;
    overflow: hidden;
}

.logo-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
}

.logo-container:hover::after {
    left: 150%;
    transition: all 0.75s ease-in-out;
}

/* Micro-interacción extra para la imagen */
.logo-img {
    transition: transform 0.4s ease;
}

.logo-container:hover .logo-img {
    transform: scale(1.05) rotate(-3deg); /* Crece un poco y se inclina ligeramente */
}
/* Eliminar por completo la línea inferior verde del logo */
.logo-container::after,
.logo-container:hover::after,
.logo-container:hover {
    border-bottom: none !important;
    text-decoration: none !important;
}
/* --- ELIMINAR LÍNEA VERDE DEL LOGO EN CUALQUIER ESTADO --- */
.logo-container,
.logo-container:hover,
.logo-container:focus,
.logo-container:active,
.logo-container::after,
.logo-container:hover::after {
    border-bottom: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
/* ==========================================================================
   SECCIÓN SIMULADOR DE POTENCIA INTERACTIVO
   ========================================================================== */
.simulador-section {
    padding: 80px 0;
    background-color: #111;
    border-radius: 16px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.simulador-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.simulador-header .section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.simulador-header p {
    color: #a0a0a0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.simulador-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.simulador-wizard {
    background-color: #181818;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.quiz-step {
    display: none;
    animation: fadeIn 0.4s ease-in-out forwards;
}

.quiz-step.active {
    display: block;
}

.quiz-step h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-num {
    background-color: #38b000; /* Verde Agropower */
    color: #000;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 1.1rem;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .options-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.option-btn {
    background-color: #222;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 30px 20px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
}

.option-btn i {
    color: #38b000;
    transition: transform 0.3s ease;
}

.option-btn span {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
}

.option-btn:hover {
    border-color: #38b000;
    background-color: #252d22;
    transform: translateY(-3px);
}

.option-btn:hover i {
    transform: scale(1.1);
}

.btn-back {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    transition: color 0.2s;
    padding: 0;
    margin-top: 10px;
}

.btn-back:hover {
    color: #ffffff;
}

/* Estado de Resultados */
.quiz-result {
    text-align: center;
    animation: scaleUp 0.4s ease-in-out forwards;
}

.result-icon-box {
    color: #38b000;
    margin-bottom: 20px;
}

.quiz-result h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.recommended-card {
    background-color: #222;
    border: 2px solid #38b000;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}

.recommended-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: #38b000;
    margin-bottom: 12px;
    font-weight: 700;
}

.recommended-card p {
    color: #d0d0d0;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.result-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-presencia {
    background-color: #38b000;
    color: #000000;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s, transform 0.2s;
}
.btn-presencia:hover {
    background-color: #007200;
    color: #fff;
    transform: scale(1.03);
}
.btn-restart {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.btn-restart:hover {
    color: #ffffff;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}


/* ==========================================================================
   OPTIMIZACIÓN RESPONSIVE COMPLETA PARA CATALOGO.HTML (MÓVILES)
   ========================================================================== */

@media (max-width: 992px) {
    .catalogo-intro {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 25px 20px;
    }
    .btn-descarga-general {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Ajustes generales del contenedor de catálogo */
    #catalogo-main {
        padding: 0 15px;
        margin-top: 20px;
    }
    
    .hero-catalogo {
        padding: 80px 20px 40px 20px;
        text-align: center;
    }
    
    .hero-catalogo h1 {
        font-size: 2rem;
    }
    
    .hero-catalogo p {
        font-size: 1rem;
    }

    /* Corrección de la cuadrícula: Forzar 1 sola columna bien estructurada */
    .catalogos-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Transformar la tarjeta horizontal (Flex) en diseño vertical cómodo */
    .catalogo-card {
        flex-direction: column !important;
        height: auto !important;
        border-radius: 16px;
    }
    /* Caja de la imagen del tractor (Pasa a estar arriba) */
    .catalogo-img-box {
        width: 100% !important;
        height: 220px !important;
        padding: 30px 20px 10px 20px !important;
        background: radial-gradient(circle at center, #ffffff 0%, #f7f7f7 100%) !important;
    }

    /* Ajustar tamaño del tractor para que no se desborde ni se vea gigante */
    .catalogo-img-box img,
    .tractor-ajuste50hpcat {
        max-width: 85% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }

    /* Caja de información (Pasa a estar abajo) */
    .catalogo-info-box {
        width: 100% !important;
        padding: 24px 20px !important;
    }

    .catalogo-info-box h3 {
        font-size: 1.3rem !important;
        margin-bottom: 6px;
    }

    .modelo-tag {
        font-size: 0.85rem !important;
        margin-bottom: 15px !important;
    }

    .specs-list {
        margin-bottom: 20px !important;
    }

    .specs-list li {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }

    /* Botones de acción inferiores */
    .catalogo-actions {
        display: flex !important;
        gap: 12px !important;
        margin-top: auto;
    }

    .catalogo-actions a,
    .catalogo-actions .btn-secundario,
    .catalogo-actions .btn-card-action {
        flex: 1 !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 12px 10px !important;
        font-size: 0.85rem !important;
    }
}
@media (max-width: 480px) {
    .hero-catalogo h1 {
        font-size: 1.75rem;
    }
    /* En teléfonos muy pequeños, si los botones colapsan, los dejamos uno sobre otro */
    .catalogo-actions {
        flex-direction: row; /* Mantenemos fila si el texto es corto, de lo contrario cambiar a column */
    }
}
/* Controla el efecto de animación cuando pasas el mouse por encima de la tarjeta */
.catalogo-card:hover .catalogo-img-box img.tractor-ajuste50hpcat {
    transform: translateY(-20px) scale(1.10) !important;
}
/* Garantiza que la transición sea fluida en cualquier dispositivo para el 504-F */
.catalogo-card:hover .catalogo-img-box img {
    transition: var(--transition) !important;
}
/* ==========================================================================
   EFECTO DE PANTALLA DE CARGA (PRELOADER) - AGROPOWER
   ========================================================================== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #101010; /* Color negro premium de la marca */
    z-index: 99999; /* Asegura estar por encima de todo el contenido */
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    text-align: center;
    color: #ffffff;
}

.tractor-loader {
    margin-bottom: 20px;
    animation: bounceLoader 1.5s ease-in-out infinite;
}

.tractor-loader i {
    color: var(--amarillo-agropower); /* Icono amarillo Agropower */
}

.loading-bar-container {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto 15px auto;
    overflow: hidden;
}

.loading-bar-progress {
    width: 100%;
    height: 100%;
    background-color: var(--verde-principal); /* Barra de progreso verde */
    border-radius: 2px;
    animation: fillProgress 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
    transform-origin: left;
}

.loader-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888888;
}

/* Animaciones CSS */
@keyframes fillProgress {
    0% { transform: scaleX(0); }
    50% { transform: scaleX(0.7); }
    100% { transform: scaleX(1); }
}

@keyframes bounceLoader {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.showroom-wrapper {
    position: relative;
    background-color: #0a0a0a;
    min-height: 100vh;
    padding: 140px 0 180px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Capa del patrón técnico (Líneas e ingeniería de campo) */
.agro-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 45px 45px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
    z-index: 1;
    pointer-events: none;
}

/* Aura de luz radial dinámica detrás del tractor */
.ambient-glow {
    position: absolute;
    top: 45%;
    left: 35%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    border-radius: 50%;
    transition: background 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}

.showroom-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.product-display {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Área de Maquinaria */
.image-area {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-tractor-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 60px rgba(0,0,0,0.85));
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.hp-badge {
    position: absolute;
    top: -10px;
    left: 10px;
    background: var(--amarillo-agropower);
    color: #000000;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    padding: 8px 24px;
    border-radius: 40px;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(241, 185, 0, 0.25);
    z-index: 5;
}
/* Área de Detalles Técnicos */
.details-area {
    display: flex;
    flex-direction: column;
}

.tag-line {
    color: var(--amarillo-agropower);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2.5px;
    font-size: 0.85rem;
    margin-bottom: 5px;
    display: inline-block;
}

.details-area h1 {
    color: var(--blanco);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
}

.price-container {
    margin: 10px 0 25px 0;
}

.price-label {
    color: #d8d8d8;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 2px;
}

.price-container h2 {
    color: var(--blanco);
    font-size: 2.6rem;
    font-weight: 700;
    text-shadow: 0 0 14px rgba(255,255,255,0.35), 0 6px 20px rgba(255,255,255,0.08);
}


/* Cuadrícula de Especificaciones Ficha Técnica */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 35px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spec-item i {
    color: var(--amarillo-agropower);
    flex-shrink: 0;
}

.showcase-spec-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.showcase-spec-item svg,
.showcase-spec-item i {
    color: var(--blanco);
    stroke: var(--blanco);
    fill: none;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.showcase-spec-item div {
    color: var(--blanco);
    font-size: 0.95rem;
    line-height: 1.5;
}

.showcase-spec-item div strong {
    color: var(--amarillo-agropower);
    display: block;
    margin-bottom: 6px;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.spec-texts {
    display: flex;
    flex-direction: column;
}

.spec-label {
    color: #666666;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.spec-val {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1px;
}

/* Botón Comercial */
.btn-primary-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--amarillo-agropower);
    color: #000000;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    width: 100%;
    padding: 18px 30px;
    font-size: 1.05rem;
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(241, 185, 0, 0.15);
    transition: var(--transition);
}

.btn-primary-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(241, 185, 0, 0.3);
    background-color: #ffc400;
}

/* Selectores de Navegación Inferior (Dots) */
.product-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 60px;
}
.nav-dot {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #a0a0a0;
    padding: 12px 28px;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--blanco);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-dot.active {
    background: var(--amarillo-agropower);
    color: #000000;
    border-color: var(--amarillo-agropower);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(241, 185, 0, 0.2);
}

/* Divisor geométrico en ángulo hacia la base */
.agro-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: #111111;
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
    z-index: 3;
}

/* ==========================================================================
   5. PIE DE PÁGINA (MAIN FOOTER INTEGRADO)
   ========================================================================== */
.main-footer {
    background-color: #111111;
    padding: 60px 0 30px 0;
    position: relative;
    z-index: 4;
    border-top: 1px solid rgba(255, 255, 255, 0.01);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.brand-pitch {
    color: #8c8c8c;
    margin-top: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 420px;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Tarjeta Industrial de Información Física */
.footer-contact-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-left: 4px solid var(--amarillo-agropower);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.footer-contact-card h3 {
    color: var(--blanco);
    font-size: 1.15rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #aaaaaa;
    font-size: 0.95rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: var(--amarillo-agropower);
    flex-shrink: 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 25px 30px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}
.footer-bottom .copy {
    color: #555555;
    font-size: 0.85rem;
}
/* ==========================================================================
   6. RESPONSIVIDAD (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .details-area h1 { font-size: 2.6rem; }
    .product-display { gap: 40px; }
}
@media (max-width: 768px) {
    #main-nav { padding: 15px 25px; }
    
    .menu-icon { display: block; }
    
    #nav-list {
        display: flex;
    }

    .showroom-wrapper {
        padding: 110px 0 100px 0;
    }

    .product-display {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .image-area {
        order: 1;
    }

    .details-area {
        order: 2;
        text-align: center;
    }

    .details-area h1 {
        font-size: 2.2rem;
    }

    .specs-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 15px;
    }

    .spec-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .product-selector {
        margin-top: 40px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-dot {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .agro-divider {
        height: 60px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .brand-pitch {
        margin: 15px auto 0 auto;
    }
    .footer-contact-card {
        border-left: none;
        border-top: 4px solid var(--amarillo-agropower);
        text-align: left;
    }
}
@media (max-width: 480px) {
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .spec-item {
        flex-direction: row;
        text-align: left;
    }
    .details-area h1 {
        font-size: 1.8rem;
    }
}