:root {
    --brand-red: #ce121b;       
    --brand-red-hover: #b00f17; 
    --brand-green: #597722;
    --dark-bg: #1f1f1f;
    --dark-text: #1a1a1a;
    --light-gray-text: #cccccc;
    --white: #ffffff;
}


body {
    margin: 0;
    padding: 0;
    font-family: 'Bahnschrift', sans-serif;
    background-color: var(--white);
    color: var(--dark-text);
}

/* --- NAVBAR --- */
.navbar {
    width: 100%;
    background-color:  #ffffff;
    border-bottom: 1px solid #e0e0e0;
    box-sizing: border-box;
    position: relative;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 14px 6%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

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

.logo-svg {
    width: 160px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--brand-red);
}

.nav-btn-red {
    background-color: var(--brand-red);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 700 !important;
    transition: background-color 0.2s ease !important;
}

.nav-btn-red:hover {
    background-color: var(--brand-red-hover);
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 15px;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.lang-btn:hover {
    transform: scale(1.1);
}

.icon-lang {
    width: 26px;
    height: auto;
    display: block;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    border-radius: 2px;
}

/* BOTÓN HAMBURGUESA */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* RESPONSIVO NAVBAR (MENÚ HAMBURGUESA EN MÓVILES) */
@media (max-width: 768px) {
    .navbar-container {
        padding: 12px 5%;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 25px 0;
        gap: 20px;
        box-shadow: 0 10px 15px #0000001a;
        display: none;
        border-top: 1px solid #a70d0d;
    }

    /* Clase activa para abrir el menú */
    .nav-links.active {
        display: flex;
    }

    .lang-selector {
        margin-left: 0;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #eaeaea;
        width: 80%;
        justify-content: center;
    }

    /* Animación a "X" al abrir */
    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* ===================================================
   BANNER HERO - SECCIÓN HOME
   =================================================== */
   .hero-section {
    position: relative;
    width: 100%;
    background-image: url("IMAGENES/A438BEE3.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 6%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1250px; 
    margin: 0 auto;    
    color: var(--white);
    text-align: left;  
}

.hero-bg-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0000008c; /* FONDO TRANSPARENTE */
    z-index: 1;
}

.experience-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px; /* TAMAÑO LARGO Más de 20 años de experiencia */
    background-color: var(--brand-red);
    color: #ffffff;;
    padding: 6px 12px; 
    border-radius: 20px; 
    font-size: 10px; /* TAMAÑO Más de 20 años de experiencia */
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 50px;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 700;
    max-width: 750px; 
}

.hero-desc {
    font-size: 16px;
    color: #e0e0e0; /* COLOR SUBTITULO Somos una empresa 100% Mexicana */
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 750px; 
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-hero-red { /* BOTÓN COTIZACIÓN */
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--brand-red);
    color: var(--white);
    text-decoration: none;
    padding: 10px 26px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-hero-outline { /* BOTÓN VER PRODUCTOS */
    display: inline-block;
    color: #f5f5f5;
    text-decoration: none;
    padding: 12px 28px;
    border: 1px solid #f5f5f5;
    border-radius: 8px;
    font-weight: 600;
}

/* ===================================================
   SECCIÓN: CERTIFICACIONES
   =================================================== */
   .certifications {
    text-align: center;
    padding: 80px 70px 120px;
    background-color: #ffff;
    margin-bottom: -5px;
}

.certifications h3 {
    font-size: 32px; /* TAMAÑO TITULO*/
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px; /* ESPACIO ENTRE TITULO Y SUBTITULO*/
    color: #1a1a1a;
}

.cert-title-line { /* LÍNEA ROJA*/
    width: 50px;
    height: 4px;
    background-color: var(--brand-red);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.certifications p { /* TAMAÑO SUBTITULO*/
    font-size: 15px;
    color: #707070;
    margin-top: 0;
    margin-bottom: 40px;
}

.cert-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cert-vector {
    height: 200px;
    width: auto;
    display: block;
    object-fit: contain;
    opacity: 0.95;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cert-vector:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ===================================================
   SECCIÓN: FILOSOFÍA
   =================================================== */
.philosophy-section {
    background-color: #ffff;
    padding: 70px 4%;
}

.philosophy-container {
    max-width: 1250px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-main-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-text);
    text-align: center;
    margin-top: 0;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.philosophy-title-line { /* LÍNEA ROJA*/
    width: 50px;
    height: 4px;
    background-color: var(--brand-red);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.philosophy-subtitle {
    font-size: 15px;
    color: #707070;
    margin-bottom: 50px;
}

.philosophy-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.philosophy-card {
    background-color: #ffffff;
    border: 1px solid #dbdbdb;
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.card-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
}

.card-vector-icon {
    width: 100%;
    height: auto;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.card-text {
    font-family: 'Bahnschrift', sans-serif;
    font-size: 16px;
    color: var(--dark-text);
    line-height: 1.6;
    text-align: left;
    margin: 0;
    padding: 0 5px;
}

.values-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.values-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bullet-vector-icon {
    width: 16px;
    height: auto;
    margin-top: 3px;
}

/* ===================================================
   SECCIÓN: ECO
   =================================================== */
.eco-section {
    background-color: var(--white);
    padding: 30px 6% 85px;
}

.eco-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px; /* TAMAÑO TRES HOJAS */
}

.eco-content {
    flex: 1.2;
}

.eco-title {
    font-size: 45px; /* TAMAÑO TEXTO TITULO */
    color: #597722;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700; /* GROSOR TEXTO TITULO */
}

.eco-intro {
    font-size: 19px;
    color: #6d6d6d;
    line-height: 1.6;
    margin-bottom: 40px;
}

.eco-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 24px;
}

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

.eco-feature-icon-wrapper {
    width: 44px;
    height: 44px;
    background-color: #f1f7f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eco-mini-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.eco-feature-text {
    font-size: 15px; /* TAMAÑO TEXTO INFORMTIVO */
    line-height: 1.5;
    color: #4a4a4a;
    margin: 0;
}

.eco-feature-text strong {
    color: #1a1a1a;
    display: inline;
}

.eco-graphic-wrapper {
    flex: 0.5;
    display: flex;
    justify-content: center;
}

.eco-main-cube {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* AJUSTES RESPONSIVOS GENERALES */
@media (max-width: 992px) {
    .philosophy-cards-grid {
        grid-template-columns: 1fr;
    }
    .eco-container { /* DISTANCIA 3 HOJAS Y TITULO */
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .cert-logos {
        gap: 20px;
    }
    .cert-vector { /* ICONOS CERTIFICADO */
        height: 130px;
    }
    .certifications {
        padding: 35px 15px 0px;
    }
    .eco-features-grid { 
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .eco-title {
        font-size: 32px;
    }
    .hero-title {
        font-size: 32px;
    }
}

/* --- FOOTER --- */
.footer {
    background-color: #1f1f1f;
    color: #cccccc;
    padding: 60px 6% 25px;
    font-family: 'Bahnschrift', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.3fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 155px;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-brand-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #b0b0b0;
    margin: 0;
}

.footer-col h4 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

.footer-col ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.contact-item-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #b0b0b0;
}

.contact-item-row span {
    font-size: 13.5px;
    line-height: 1.5;
}

.contact-pdf-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #333333;
    font-size: 12.5px;
    color: #777777;
}

/* LINK DE POLITICAS DE PRIVACIDAD) */
.privacy-link,
.privacy-link:visited {
    color: #cccccc !important;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: color 0.2s ease;
    display: inline-block;
}

/* Al pasar el cursor por encima (Rojo de la marca) */
.privacy-link:hover,
.privacy-link:focus {
    color: var(--brand-red) !important;
    text-decoration: underline;
}

/* --- ICONOS DE REDES SOCIALES EN EL FOOTER --- */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-socials a:hover {
    transform: scale(1.1);
    opacity: 0.85;
}

.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

/* --- ICONOS DE REDES SOCIALES EN EL FOOTER --- */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-socials a:hover {
    transform: scale(1.1);
    opacity: 0.85;
}

.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

/* --- WHATSAPP FLOTANTE --- */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    z-index: 9999;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-floating-btn:hover {
    transform: scale(1.08);
    background-color: #20ba5a;
}

.whatsapp-btn-icon {
    width: 34px;
    height: 34px;
    display: block;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}