/* ===== CONFIGURACIÓN GLOBAL Y RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #f8f9fa;
    background: linear-gradient(150deg, #0b1443, #13132d, #06192f);
    background-attachment: fixed;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.main-header {
    padding: 40px 0 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.privacy-link {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 5px;      /* <-- Añade este margen superior */
    margin-bottom: 15px;
    align-self: center;
    display: block;       /* <-- Asegura que ocupe toda la línea */
}

.privacy-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ===== HERO SECTION (PÁGINA PRINCIPAL) ===== */
.hero {
    text-align: center;
    padding: 60px 0;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto 20px auto;
    color: #fff;
}

.hero .subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto 40px auto;
    color: #ced4da;
}

.cta-button {
    display: inline-block;
    background-color: #ffc107;
    color: #13132d;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.cta-button i {
    margin-right: 10px;
    font-size: 1.2rem;
    vertical-align: middle;
}

/* ===== FEATURES SECTION (PÁGINA PRINCIPAL) ===== */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: rgba(25, 33, 67, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 193, 7, 0.5);
}

.feature-card i {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #adb5bd;
}

/* ===== ESTILOS PARA LA PÁGINA DE PRIVACIDAD ===== */
.sub-page .main-header {
    padding-bottom: 0;
}

.privacy-section-standalone {
    padding: 40px 0 80px 0;
}

.privacy-section-standalone h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.privacy-section-standalone .last-updated {
    text-align: center;
    font-size: 0.9rem;
    color: #adb5bd;
    margin-bottom: 50px;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(12, 21, 54, 0.5);
    padding: 40px;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.8;
}

.privacy-content h3 {
    font-size: 1.5rem;
    color: #ffc107;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.privacy-content h3:first-of-type {
    margin-top: 0;
}

.privacy-content p, .privacy-content li {
    margin-bottom: 15px;
    color: #ced4da;
}

.privacy-content ul {
    padding-left: 20px;
}

.privacy-contact-link {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
}
.privacy-contact-link:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.main-footer-bottom {
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-footer-bottom p {
    font-size: 0.9rem;
    color: #adb5bd;
    margin-bottom: 10px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-section-standalone h2 {
        font-size: 2rem;
    }

    .privacy-content {
        padding: 25px;
    }
}
kogest-link {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 5px;
    margin-bottom: 15px;
    align-self: center;
    display: block;
}
.kogest-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ===== LINK (ENLACES) - quitar color azul y subrayado por defecto ===== */
/* Regla global: quita el color y subrayado por defecto de los enlaces */
a, a:link, a:visited {
    color: inherit; /* hereda el color del contenedor */
    text-decoration: none; /* quita subrayado */
}

/* Hover y active: opcional — puedes mostrar subrayado o cambiar color al pasar el ratón */
a:hover, a:active {
    text-decoration: none; /* o 'underline' si quieres indicar hover */
    color: inherit;
}

/* Foco visible: mantener accesibilidad para usuarios con teclado */
a:focus-visible {
    outline: 3px solid rgba(255, 193, 7, 0.9);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Ejemplos por clase: si quieres que algunos enlaces sigan otro estilo, p.ej. `.privacy-link` */
.privacy-link, .kogest-link, .privacy-contact-link, .cta-button {
    text-decoration: none;
}

