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

/* PREVENCIÓN DE DESPLAZAMIENTO HORIZONTAL EN MÓVILES */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Bahnschrift', sans-serif;
    background-color: var(--white);
    color: var(--dark-text);
}

/* ===================================================
   1. NAVBAR & NAVEGACIÓN
   =================================================== */
.navbar {
    width: 100%;
    background-color: var(--white);
    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Ú MÓVIL) */
@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 rgba(0, 0, 0, 0.1);
        display: none;
        border-top: 1px solid #f0f0f0;
        box-sizing: border-box;
    }

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

    .hamburger.open span:nth-child(1),
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .hamburger.open span:nth-child(2),
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.open span:nth-child(3),
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* ===================================================
   2. BANNER HERO - SECCIÓN SERVICIOS
   =================================================== */
.services-hero-banner {
    background-color: #1a1a1a;
    padding: 80px 6%;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.services-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    box-sizing: border-box;
}

.services-banner-text {
    flex: 1;
    max-width: 650px;
}

.services-banner-text h1{
    font-family: 'Bahnschrift', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.services-banner-text p{
    font-family: 'Bahnschrift', sans-serif;
    font-size: 18px;
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

.services-banner-graphic{
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
}

.services-giant-alpha{
    width: 280px;
    max-width: 100%;
    height: auto;
    filter: invert(19%) sepia(93%) saturate(6089%) hue-rotate(354%) brightness(91%) contrast(89%);
    opacity: 0.85;
    display: block;
}

    /* BANNER HERO EN CELULARES */
@media (max-width: 768px) {
    .services-hero-banner{
        padding: 40px 20px 30px 20px;
    }
    
    .services-banner-container { /* RECUADRO GRIS */
        flex-direction: column;
        text-align: center;
        gap: 15px; 
        width: 100%;
    }

    .services-banner-text h1 { /* TEXTO PRINCIPAL */
        font-size: 28px;
        line-height: 1.4;
    }

    .services-banner-text p {      /* TEXTO INFORMATIVO */
        Font-size: 14.5px;
        line-height: 1.45;
        margin: 0 auto;
    }

    .services-banner-graphic { /* VIÑETA A */
        display: flex;
        justify-content: center;
        width: 100%;
        min-width: unset;
        margin-top: 10px;
    }

    .services-giant-alpha {
        width: 120px;
        max-width: 60%;
    }
}

/* ===================================================
   3. SECCIÓN: OFERTA DE VALOR
   =================================================== */
.value-offer-section { /* SEPARACION TITULO OFERTA D VALOR RECUADRO GRIS*/
    padding: 35px 6%;
    background-color: var(--white);
        width: 100%;
    box-sizing: border-box;
}

.value-offer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.value-offer-main-title {
    font-size: 32px; /* TAMAÑO TITULO*/
    font-weight: 700; /* GROSOR DE TEXTO*/
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 8px; /* ESPACIO ENTRE TITULO Y SUBTITULO*/
}

.value-offer-title-line { /* LÍNEA ROJA*/
    width: 50px;
    height: 4px;
    background-color: #b00f17;
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.value-offer-subtitle {
    font-size: 15px;
    color: #707070;
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
}

.value-offer-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.value-offer-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 769px) {
    .value-offer-col.col-offset {
        margin-top: 50px;
    }
}

.value-card { /* CAJA DE 5 OFERTAS DE VALOR */
    background-color: #f1f3f5;
    border-radius: 25px;
    padding: 30px 35px;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(168, 167, 93, 0.04);
}

.value-card h3 { /* 5 OFERTAS DE VALOR */
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
}

.value-card-line { /* CAJAS DE 5 OFERTAS DE V */
    width: 45px;
    height: 3px;
    background-color: var(--brand-red);
    margin-bottom: 20px;
    border-radius: 1.5px;
}

.value-card p { /* 5 OFERTAS DE VALOR TEXTO INTERNO*/
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 600px) {
    .value-offer-layout {
        grid-template-columns: 1fr;
    }
    .value-offer-col {
        gap: 20px;
    }
    .value-offer-col.col-offset {
        margin-top: 0; 
    }
    .value-card {
        padding: 20px;
    }
}

/* ===================================================
   4. SECCIÓN OFRECEMOS (DISEÑO EN ZIG-ZAG)
   =================================================== */
.we-offer-section {
    padding: 60px 6% 100px 6%;
    background-color: var(--white);
    box-sizing: border-box;
}

.we-offer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.we-offer-main-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 8px;
}

.we-offer-title-line {
    width: 50px;
    height: 4px;
    background-color: var(--brand-red);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.we-offer-subtitle {
    font-size: 15px;
    color: #8c8c8c;
    text-align: center;
    margin-bottom: 80px;
}

.we-offer-rows-wrapper {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.offer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    box-sizing: border-box;
}

.offer-row.row-reverse {
    flex-direction: row-reverse;
}

.offer-text-side {
    flex: 1;
    max-width: 520px;
}

.offer-icon-box {
    width: 36px;
    height: 36px;
    background-color: #fff5f5;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.offer-icon-box img {
    width: 40px;
    height: 40px;
}

.offer-text-side h3 {
    font-size: 22px;
    font-weight: 950;
    color: var(--dark-text);
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.offer-num {
    color: var(--brand-red);
    font-weight: 950;
}

.offer-text-side p {
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0;
}

.offer-image-side {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 100%;
}

.offer-img-placeholder {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    background-color: #f2f2f2;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-text);
    letter-spacing: 0.5px;
    overflow: hidden;
    box-sizing: border-box;
}

.offer-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .we-offer-section {
        padding: 40px 5%;
        overflow: hidden;
    }
    .offer-row, 
    .offer-row.row-reverse {
        flex-direction: column;
        gap: 25px;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
    }
    .offer-text-side {
        max-width: 100%;
        width: 100%;
    }
    .offer-image-side {
        width: 100%;
    }
    .offer-img-placeholder {
        max-width: 100%;
        width: 100%;
        height: 220px;
        box-sizing: border-box;
    }
}

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

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

/* --- 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;
    }
}