/* ==================================================================
   CONFIGURACIÓN GENERAL Y VARIABLES DE DISEÑO
   ================================================================== */
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: rgb(251, 253, 255); /* Color de fondo idéntico al sitio */
    color: rgb(0, 0, 0);
    -webkit-font-smoothing: antialiased;
}

/* ==================================================================
   ESTILOS DE LA NAVBAR (Fusión indestructible con breakpoint a 1300px)
   ================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(255, 255, 255);
    padding: 24px 40px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 2px 10px;
    position: relative;
    z-index: 1000;
    box-sizing: border-box;
}

.logo img {
    height: 32px;
    display: block;
    object-fit: contain;
}

.nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-menu a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active-link {
    color: rgb(60, 162, 244); /* Color activo/hover oficial */
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 12px;
    transition: 0.2s;
    display: inline-block;
    letter-spacing: -0.01em;
    white-space: nowrap;
    box-sizing: border-box;
}

.btn-recursos {
    color: rgb(0, 0, 0);
    border: 1px solid rgb(226, 232, 240);
    background-color: transparent;
}

.btn-recursos:hover {
    background-color: rgb(248, 250, 252);
    border-color: rgb(203, 213, 225);
}

.btn-demo {
    color: rgb(255, 255, 255);
    background-color: rgb(60, 162, 244);
}

.btn-demo:hover {
    background-color: rgb(224, 244, 105);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
}

.hamburger span {
    width: 100%;
    height: 2.5px;
    background-color: rgb(17, 24, 39);
    border-radius: 2px;
    transition: 0.3s;
}

/* ==================================================================
   CONTENEDOR DE LA PÁGINA DE POLÍTICAS (ESTILO DE TU PÁGINA)
   ================================================================== */
.policy-wrapper {
    padding: 80px 24px;
    display: flex;
    justify-content: center;
}

.policy-card {
    max-width: 850px;
    width: 100%;
    background-color: rgb(255, 255, 255);
    padding: 60px;
    border-radius: 24px; /* Bordes suaves modernos */
    box-shadow: rgba(0, 0, 0, 0.015) 0px 4px 20px; /* Sombra sutil que coincide con tu diseño */
    border: 1px solid rgb(241, 245, 249);
    box-sizing: border-box;
}

.policy-header {
    margin-bottom: 48px;
}

.policy-header h1 {
    font-size: 38px;
    font-weight: 800;
    color: rgb(17, 24, 39);
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.last-updated {
    font-size: 14px;
    color: rgb(148, 163, 184);
    margin: 0;
    font-weight: 500;
}

/* Cuerpo de lectura */
.policy-content section {
    margin-bottom: 40px;
}

.policy-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: rgb(17, 24, 39);
    margin-top: 0;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.policy-content p {
    font-size: 15px;
    line-height: 1.75;
    color: rgb(75, 85, 99); /* Gris legible de tus secciones descriptivas */
    margin-top: 0;
    margin-bottom: 16px;
}

.policy-content ul {
    margin: 0 0 16px 0;
    padding-left: 24px;
}

.policy-content li {
    font-size: 15px;
    line-height: 1.75;
    color: rgb(75, 85, 99);
    margin-bottom: 10px;
}

.policy-content strong {
    color: rgb(17, 24, 39);
}

/* Footer interno del documento */
.policy-footer {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgb(241, 245, 249);
    text-align: center;
}

.policy-footer p {
    font-size: 13px;
    color: rgb(156, 163, 175);
    margin: 6px 0;
}

.policy-footer a {
    color: rgb(60, 162, 244);
    text-decoration: none;
    font-weight: 600;
}

.policy-footer a:hover {
    text-decoration: underline;
}

/* ==================================================================
   RESPONSIVE DESIGN (MÓVILES Y INTERMEDIO)
   ================================================================== */
@media (max-width: 1300px) {
    .navbar {
        padding: 18px 24px;
    }

    .hamburger {
        display: flex;
    }

    .nav-container {
        position: absolute;
        top: 100%;
        left: 0px;
        width: 100%;
        background-color: rgb(255, 255, 255);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 28px;
        padding: 32px 24px;
        margin-left: 0px;
        border-top: 1px solid rgb(241, 245, 249);
        box-shadow: rgba(0, 0, 0, 0.06) 0px 15px 20px -3px;
        box-sizing: border-box;
        
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s, transform 0.3s;
        
        max-height: calc(100vh - 100%);
        overflow-y: auto; 
    }

    .nav-container.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0px);
    }

    .nav-menu {
        position: static; 
        transform: none;
        left: auto;
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .nav-menu a {
        font-size: 16px;
        font-weight: 500;
        display: block;
        width: 100%;
        padding: 4px 0;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        padding-top: 16px;
        border-top: 1px solid rgb(241, 245, 249);
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .policy-wrapper {
        padding: 40px 16px;
    }

    .policy-card {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .policy-header h1 {
        font-size: 28px;
    }
}