: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 GLOBAL
   =================================================== */
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);
}

html {
    scroll-behavior: smooth;
}

/* ===================================================
   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;
}

/* ===================================================
   2. BANNER HERO - POLÍTICA DE PRIVACIDAD
   =================================================== */
.policy-hero-banner {
    background-color: #1a1a1a;
    padding: 60px 6%;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.policy-banner-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-sizing: border-box;
}

.policy-banner-text {
    flex: 1;
}

.policy-banner-text h1 {
    font-family: 'Bahnschrift', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.policy-banner-graphic {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.policy-giant-alpha {
    width: 220px;
    max-width: 100%;
    height: auto;
    filter: invert(19%) sepia(93%) saturate(6089%) hue-rotate(354%) brightness(91%) contrast(89%);
    opacity: 0.9;
    display: block;
}

/* ===================================================
   3. CUERPO DE LA POLÍTICA DE PRIVACIDAD
   =================================================== */
.policy-content-section {
    background-color: var(--white);
    padding: 60px 6% 80px 6%;
    box-sizing: border-box;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    color: #1a1a1a;
    font-size: 15px;
    line-height: 1.6;
}

.policy-intro, 
.policy-legal {
    margin-bottom: 25px;
    text-align: justify;
}

/* SANGRÍA BLOQUES NUMERADOS 1.-, 2.-, 3.- */
.policy-block {
    margin-bottom: 25px;
    text-align: justify;
    padding-left: 70px;      
    text-indent: -60px;     
}

.policy-block strong {
    font-weight: 700;
}

/* LÍNEA Y DESTACADO */
.policy-highlight-box {
    border-bottom: 4px solid #b00f17;
    padding-bottom: 8px;
    margin: 40px 0 45px 0;
    display: inline-block;
    width: auto; 
}

.policy-highlight-box p {
    font-size: 17px;
    font-weight: 700;
    color: #1f1f1f;
    margin: 0;
}

/* ENLACES EN ROJO */
.red-link {
    color: var(--brand-red) !important;
    text-decoration: none;
    font-weight: 700;
}

.red-link:hover {
    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;
}

/* ===================================================
   4. 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 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.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;
}

.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;
}

/* ===================================================
   5. RESPONSIVO MÓVIL Y TABLET
   =================================================== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Navbar móvil */
    .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);
    }

    /* Hero Banner Móvil */
    .policy-hero-banner {
        padding: 40px 20px 30px 20px;
    }

    .policy-banner-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        width: 100%;
    }

    .policy-banner-text h1 {
        font-size: 28px;
        line-height: 1.4;
    }

    .policy-banner-graphic {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }

    .policy-giant-alpha {
        width: 120px;
        max-width: 60%;
    }

    /* Cuerpo del contenido en móviles */
    .policy-content-section {
        padding: 40px 20px 60px 20px;
    }

    .policy-intro, 
    .policy-legal {
        text-align: left;
        font-size: 14.5px;
    }

    /* Ajuste de sangría en móviles para listas de texto */
    .policy-block {
        padding-left: 0;
        text-indent: 0;
        text-align: left;
        font-size: 14.5px;
    }

    .policy-highlight-box {
        margin: 25px 0;
        width: 100%;
        box-sizing: border-box;
    }

    .policy-highlight-box p {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}