/*==========================================
    GOOGLE FONT
==========================================*/

/* Poppins font family definitions */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Sifon font family definitions (display/heading font) */
@font-face {
    font-family: 'Sifon';
    src: url('../fonts/Sifon/Sifon.otf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sifon';
    src: url('../fonts/Sifon/Sifon.otf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/*==========================================
    VARIABLES UNIFICADAS
==========================================*/

:root {
    /* Primary color palette */
    --primary: #0B5ED7;
    --primary-dark: #0A4DB5;
    --primary-light: #2E86DE;
    --secondary: #16C2F5;
    --accent: #00E5FF;

    /* Functional colors */
    --success: #20C997;
    --danger: #DC3545;
    --warning: #FFC107;

    /* Neutral colors */
    --white: #FFFFFF;
    --gray: #F5F7FA;
    --gray2: #E9ECEF;
    --gray3: #6C757D;
    --gray4: #64748B;
    --gray5: #334155;

    /* Dark theme colors */
    --dark: #061224;
    --dark2: #0F172A;
    --dark3: #1E293B;

    /* Effects and measurements */
    --shadow: 0 15px 35px rgba(0, 0, 0, .12);
    --shadow-hover: 0 25px 50px rgba(11, 94, 215, .15);
    --radius: 18px;
    --radius-lg: 24px;
    --transition: .35s ease;

    /* Typography */
    --font-poppins: 'Poppins', sans-serif;
    --font-sifon: 'Sifon', 'Georgia', serif;
}

/*==========================================
    RESET
==========================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-poppins);
    background: #ffffff;
    color: var(--dark);
    overflow-x: hidden;
}

/* Headings use Sifon display font */
h1, h2, h3{
    font-family: var(--font-sifon);
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/*==========================================
    CONTAINER
==========================================*/

.container {
    width: 90%;
    max-width: 1250px;
    margin: auto;
}

/*==========================================
    SECCIONES
==========================================*/

section {
    padding: 90px 0;
}

/*==========================================
    TITULOS UNIFICADOS
==========================================*/

.titulo {
    text-align: center;
    margin-bottom: 60px;
}

.titulo h2 {
    font-size: 42px;
    color: var(--dark);
    margin: 15px 0;
}

.titulo p {
    max-width: 700px;
    margin: auto;
    color: var(--gray3);
    line-height: 1.8;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title span {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    background: rgba(11, 94, 215, .10);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 44px;
    color: var(--dark);
    margin-bottom: 18px;
}

.section-title p {
    max-width: 720px;
    margin: auto;
    color: var(--gray4);
    line-height: 1.8;
}

/*==========================================
    BADGES UNIFICADOS
==========================================*/

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(22, 194, 245, .12);
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

/* Badge sobre fondo oscuro */
.badge-dark {
    background: rgba(255, 255, 255, .10);
    color: #8BE9FF;
    border: 1px solid rgba(255, 255, 255, .15);
}

/* Badge de hero de planes */
.badge-hero {
    background: rgba(255, 255, 255, .10);
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, .15);
}

.badge-hero i {
    color: var(--secondary);
}

/*==========================================
    BOTONES UNIFICADOS
==========================================*/

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 34px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(11, 94, 215, .35);
}

.btn-primary:hover {
    transform: translateY(-5px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 34px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
}

/* Botón blanco para fondos oscuros */
.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.btn-white:hover {
    background: #f0f4ff;
    transform: translateY(-5px);
}

/* Botón outline para fondos oscuros */
.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, .30);
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary);
}

/*==========================================
    CARDS UNIFICADAS
==========================================*/

.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #EDF2F7;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card i {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: var(--dark);
}

.card p {
    color: var(--gray3);
    line-height: 1.8;
}

/*==========================================
    HERO UNIFICADO
==========================================*/

/* ==========================================
    VARIANTE 1: HERO CON IMAGEN
    ========================================== */

.hero {
    background:
        radial-gradient(circle at top right, #16C2F530, transparent 35%),
        radial-gradient(circle at bottom left, #0B5ED720, transparent 30%),
        linear-gradient(135deg, #081B3D, #0A4DB5);
    color: #fff;
    padding-top: 170px;
    padding-bottom: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 62px;
    line-height: 1.15;
    margin: 20px 0;
    font-family: var(--font-sifon);
}

.hero h1 span {
    color: #8BE9FF;
}

.hero p {
    font-size: 18px;
    line-height: 1.9;
    opacity: .92;
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

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

.hero-tags span {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
}

/* ===== HERO IMAGEN ===== */
.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.hero-image img {
    max-width: 550px;
    width: 100%;
    height: auto;
    min-height: 350px;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ==========================================
    VARIANTE 2: HERO CENTRADO (sin imagen)
    ========================================== */

.hero-centered {
    min-height: 60vh;
    padding-bottom: 80px;
    text-align: center;
}

.hero-centered .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    justify-items: center;
}

.hero-centered .hero-text {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-centered .hero-text p {
    max-width: 650px;
    margin: 0 auto 35px auto;
}

.hero-centered .hero-image {
    display: none;
}

/* ==========================================
    VARIANTE 4: HERO COOKIES (centrado)
    ========================================== */

.hero-cookies {
    padding: 180px 0 100px;
    min-height: 60vh;
    text-align: center;
    background: linear-gradient(135deg, #061224, #0B5ED7);
    display: flex;
    align-items: center;
}

.hero-cookies .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-cookies h1 {
    color: #FFF;
    font-size: 52px;
    line-height: 1.15;
    font-family: var(--font-sifon);
}

.hero-cookies h1 span {
    color: #8BE9FF;
}

.hero-cookies p {
    color: rgba(255, 255, 255, .82);
    max-width: 700px;
    margin: 25px auto 0;
    line-height: 1.9;
    font-size: 18px;
}

/*==========================================
    CTA UNIFICADO
==========================================*/

.cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    top: -200px;
    right: -150px;
}

.cta::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    bottom: -150px;
    left: -100px;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 45px;
    margin-bottom: 25px;
}

.cta p {
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: .9;
}

/*==========================================
    EFECTOS Y ANIMACIONES
==========================================*/

/* Fade Up */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp .8s ease both;
}

.fade-up-d1 {
    animation-delay: .1s;
}
.fade-up-d2 {
    animation-delay: .2s;
}
.fade-up-d3 {
    animation-delay: .3s;
}
.fade-up-d4 {
    animation-delay: .4s;
}
.fade-up-d5 {
    animation-delay: .5s;
}

/* Fade Left */
@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade Right */
@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/*==========================================
    SCROLLBAR UNIFICADA
==========================================*/

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #EDF4F8;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 30px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0849A6;
}

::selection {
    background: var(--secondary);
    color: #fff;
}

/*==========================================
    RESPONSIVE UNIFICADO
==========================================*/

@media (max-width: 1024px) {
    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero-grid {
        gap: 40px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-image img {
        min-height: 350px;
        max-height: 500px;
        max-width: 100%;
    }

    .hero-planes h1 {
        font-size: 44px;
    }

    .hero-cookies h1 {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        padding-top: 130px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 0 15px;
    }

    .hero-text {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero p {
        max-width: 100%;
        padding: 0 10px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-tags {
        justify-content: center;
    }

    .hero-image {
        order: 1;
        justify-content: center;
        float: none;
        clear: both;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .hero-image img {
        min-height: auto;
        max-height: none;
        height: auto;
        width: 100vw;
        max-width: 100vw;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center 40%;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        display: block;
    }

    .hero-planes {
        padding: 150px 0 70px;
    }

    .hero-planes h1 {
        font-size: 36px;
    }

    .hero-planes p {
        font-size: 16px;
        padding: 0 15px;
    }

    .hero-cookies {
        padding: 150px 0 60px;
        min-height: 50vh;
    }

    .hero-cookies h1 {
        font-size: 34px;
    }

    .hero-cookies p {
        font-size: 16px;
        padding: 0 15px;
    }

    .titulo h2 {
        font-size: 30px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .cta h2 {
        font-size: 34px;
    }

    .cta p {
        font-size: 16px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 300px;
    }

    .badge {
        font-size: 13px;
        padding: 8px 18px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 0;
    }

    .hero {
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .hero-grid {
        gap: 20px;
        padding: 0 12px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-image img {
        aspect-ratio: 16 / 9;
        object-position: center 35%;
        width: 100vw;
        max-width: 100vw;
    }

    .hero-planes {
        padding: 130px 0 50px;
    }

    .hero-planes h1 {
        font-size: 28px;
    }

    .hero-planes p {
        font-size: 15px;
    }

    .hero-cookies {
        padding: 130px 0 40px;
        min-height: 40vh;
    }

    .hero-cookies h1 {
        font-size: 28px;
    }

    .hero-cookies p {
        font-size: 15px;
    }

    .hero-cookies .badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .titulo h2 {
        font-size: 24px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .section-title p {
        font-size: 14px;
    }

    .cta {
        padding: 70px 0;
    }

    .cta h2 {
        font-size: 28px;
    }

    .cta p {
        font-size: 15px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }

    .hero-buttons a {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/*==================================================
                COOKIES BANNER Y MODAL
==================================================*/

.cookie-banner {
    position: fixed;
    left: 30px;
    right: 30px;
    bottom: 25px;
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: cookieFade .35s ease;
}

/*==================================================
                CONTENEDOR
==================================================*/

.cookie-container {
    background: var(--white);
    border-radius: 22px;
    box-shadow: 0 15px 45px rgba(15, 76, 129, .15);
    border: 1px solid #D9E5F2;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 28px 35px;
}

/*==================================================
                    ICONO
==================================================*/

.cookie-icon {
    min-width: 90px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #FFF;
    font-size: 42px;
    box-shadow: 0 10px 25px rgba(46, 134, 222, .35);
}

/*==================================================
                CONTENIDO
==================================================*/

.cookie-content {
    flex: 1;
}

.cookie-content h2 {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 12px;
}

.cookie-content p {
    color: var(--gray4);
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 12px;
}

.cookie-content strong {
    color: var(--primary);
}

.cookie-links {
    margin-top: 8px;
}

.cookie-links a {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.cookie-links a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/*==================================================
                BOTONES COOKIES
==================================================*/

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 210px;
}

.cookie-buttons button {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #FFF;
    border: none;
    box-shadow: 0 8px 20px rgba(15, 76, 129, .25);
}

.btn-cookie-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(15, 76, 129, .30);
}

.btn-cookie-secondary {
    background: #EEF5FC;
    color: var(--primary);
    border: 1px solid #D9E5F2;
}

.btn-cookie-secondary:hover {
    background: var(--primary);
    color: #FFF;
}

.btn-cookie-outline {
    background: #FFF;
    color: var(--gray5);
    border: 1px solid #D9E5F2;
}

.btn-cookie-outline:hover {
    background: #F5F9FD;
    border-color: var(--primary);
    color: var(--primary);
}

/*==================================================
                ANIMACIÓN BANNER
==================================================*/

@keyframes cookieFade {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*==================================================
                MODAL COOKIES
==================================================*/

.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 25, 40, .65);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 30px;
    z-index: 10000;
    backdrop-filter: blur(6px);
}

.cookie-modal.show {
    display: flex;
    animation: cookieModalFade .30s ease;
}

/*==================================================
            CONTENEDOR MODAL
==================================================*/

.cookie-modal-content {
    width: 100%;
    max-width: 820px;
    background: #FFF;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    animation: cookieModalUp .35s ease;
}

/*==================================================
                HEADER MODAL
==================================================*/

.cookie-modal-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #FFF;
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h2 {
    font-size: 28px;
    font-weight: 600;
}

.cookie-close {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #FFF;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-close:hover {
    background: #FFF;
    color: var(--primary);
    transform: rotate(90deg);
}

/*==================================================
                BODY MODAL
==================================================*/

.cookie-modal-body {
    padding: 30px;
}

.cookie-modal-body>p {
    color: var(--gray4);
    line-height: 1.8;
    margin-bottom: 28px;
}

/*==================================================
            OPCIONES DE COOKIES
==================================================*/

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 22px 0;
    border-bottom: 1px solid #D9E5F2;
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option h3 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 20px;
}

.cookie-option p {
    color: var(--gray4);
    line-height: 1.7;
    font-size: 15px;
}

/*==================================================
                SWITCH TOGGLE
==================================================*/

.switch {
    position: relative;
    display: inline-block;
    width: 62px;
    height: 34px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    background: #CBD5E1;
    border-radius: 34px;
    cursor: pointer;
    transition: .30s;
}

.slider::before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    left: 4px;
    bottom: 4px;
    background: #FFF;
    border-radius: 50%;
    transition: .30s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.switch input:checked+.slider {
    background: var(--primary);
}

.switch input:checked+.slider::before {
    transform: translateX(28px);
}

.switch input:disabled+.slider {
    background: var(--success);
    cursor: not-allowed;
}

/*==================================================
                FOOTER MODAL
==================================================*/

.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    border-top: 1px solid #D9E5F2;
    background: #F8FBFE;
}

/*==================================================
            PÁGINA LEGAL DE COOKIES
==================================================*/

.cookie-legal {
    width: 100%;
    background: #F5F9FD;
    border-top: 1px solid #D9E5F2;
    padding: 50px 20px;
}

.cookie-legal-content {
    max-width: 1100px;
    margin: auto;
}

.cookie-legal-content h1 {
    font-size: 38px;
    color: var(--dark);
    margin-bottom: 30px;
}

.cookie-legal-content h2 {
    font-size: 26px;
    color: var(--dark);
    margin: 40px 0 18px 0;
    padding-top: 30px;
    border-top: 1px solid #D9E5F2;
}

.cookie-legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.cookie-legal-content p {
    color: var(--gray4);
    line-height: 1.9;
    margin-bottom: 18px;
    font-size: 15px;
}

.cookie-legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.cookie-legal-content li {
    margin-bottom: 10px;
    color: var(--gray4);
    line-height: 1.8;
}

.cookie-legal-content strong {
    color: var(--primary);
}

.cookie-legal-content a {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.cookie-legal-content a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/*==================================================
            RESPONSIVE COOKIES
==================================================*/

@media (max-width: 1100px) {
    .cookie-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: row;
        justify-content: flex-end;
    }

    .cookie-buttons button {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 15px;
        right: 15px;
        bottom: 15px;
    }

    .cookie-container {
        padding: 25px;
        gap: 20px;
    }

    .cookie-icon {
        width: 70px;
        height: 70px;
        min-width: 70px;
        font-size: 32px;
    }

    .cookie-content h2 {
        font-size: 24px;
    }

    .cookie-content p {
        font-size: 14px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-modal {
        padding: 15px;
    }

    .cookie-modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }

    .cookie-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .switch {
        align-self: flex-end;
    }

    .cookie-modal-footer {
        flex-direction: column-reverse;
    }

    .cookie-modal-footer button {
        width: 100%;
    }

    .cookie-legal {
        padding: 35px 20px;
    }
}

@media (max-width: 480px) {
    .cookie-container {
        padding: 20px;
    }

    .cookie-content h2 {
        font-size: 22px;
    }

    .cookie-icon {
        display: none;
    }

    .cookie-buttons button {
        font-size: 14px;
        padding: 13px 18px;
    }

    .cookie-modal-header {
        padding: 18px 20px;
    }

    .cookie-modal-header h2 {
        font-size: 22px;
    }

    .cookie-modal-body {
        padding: 20px;
    }

    .cookie-option {
        padding: 18px 0;
    }

    .cookie-option h3 {
        font-size: 18px;
    }

    .cookie-option p {
        font-size: 14px;
    }

    .cookie-modal-footer {
        padding: 20px;
    }

    .cookie-close {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/*==================================================
                ANIMACIONES MODAL
==================================================*/

@keyframes cookieModalFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes cookieModalUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}