:root {
    --title-font: "Chakra Petch", system-ui, sans-serif;
    --text-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --subtitle-font: "Rajdhani", system-ui, sans-serif;
    --red-color: #cc0000;
    --text-color: #94a3b8;
    --white-color: #fff;
    --grey-color: #96999d;
    --border-radius: 8px;
    --padding-top: 60px;
    --padding-bottom: 60px;
    --border-grey: 1px solid #FFFFFF1A;
    --redbg-hover: #bf0000;
    --red-gradient: linear-gradient(to right, var(--red-color) 0%, rgba(255, 0, 59, 0.6) 100%);
    --dark-bg: #0a0d12;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
    background-color: var(--dark-bg);
}

/* ============================================================
   MAIN
   ============================================================ */

main {
    padding-bottom: var(--padding-bottom);
}

.main_container {
    max-width: 1400px;
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding-top: 120px;
}

/* ============================================================
   TÍTULO DE PÁGINA
   ============================================================ */

.main_title {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 48px;
    border-bottom: var(--border-grey);
}

.main_title h1 {
    font-family: var(--title-font);
    font-size: 40px;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    line-height: 0.9;
}

.main_title h1 span {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.main_title p {
    font-family: var(--text-font);
    font-size: 16px;
    color: var(--text-color);
    font-weight: 400;
    line-height: 1.7;
    max-width: 560px;
}

/* ============================================================
   CARDS (usadas en contacto, sobre nosotros, etc.)
   ============================================================ */

.contacto_cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contacto_card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 32px;
    border: var(--border-grey);
    border-radius: var(--border-radius);
    background-color: #00000040;
    transition: border-color 0.3s ease;
}

.contacto_card:hover {
    border-color: var(--red-color);
}

.contacto_card.full {
    grid-column: 1 / -1;
}

.contacto_card_icon {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(204,0,0,0.2), rgba(204,0,0,0.05));
    border: 1px solid rgba(204,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacto_card h3 {
    font-family: var(--title-font);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-color);
    font-weight: 600;
}

.contacto_card a,
.contacto_card span {
    font-family: var(--title-font);
    font-size: 20px;
    font-weight: 600;
    color: var(--white-color);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.contacto_card a:hover {
    color: var(--red-color);
}

.contacto_card p {
    font-family: var(--text-font);
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

.contacto_card strong {
    color: var(--white-color);
}

.legal_section ul li a{
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 400;
    color: var(--white-color);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.legal_section ul li a:hover{
    color: var(--red-color);
}

/* ============================================================
   REDES SOCIALES
   ============================================================ */

.contacto_redes {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contacto_redes h2 {
    font-family: var(--title-font);
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    color: var(--white-color);
    text-transform: uppercase;
    line-height: 1;
}

.contacto_redes h2 span {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.redes_grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.red_social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 16px;
    border: var(--border-grey);
    border-radius: var(--border-radius);
    background-color: #00000040;
    text-decoration: none;
    color: var(--white-color);
    transition: all 0.3s ease;
}

.red_social:hover {
    border-color: var(--red-color);
    background-color: rgba(204,0,0,0.08);
    transform: translateY(-2px);
}

.red_social p {
    font-family: var(--title-font);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-color);
    transition: color 0.3s ease;
    text-align: center;
}

.red_social:hover p {
    color: var(--white-color);
}

/* ============================================================
   AVISO LEGAL / NOTA AL PIE
   ============================================================ */

.contacto_aviso {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 24px;
    border: var(--border-grey);
    border-radius: var(--border-radius);
    background-color: #00000040;
    border-left: 2px solid var(--red-color);
}

.contacto_aviso p {
    font-family: var(--text-font);
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.6;
}

.contacto_aviso p a {
    color: var(--white-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contacto_aviso p a:hover {
    color: var(--red-color);
}

/* ============================================================
   CONTENIDO LEGAL (para privacidad, términos, cookies, etc.)
   Bloques de texto con secciones numeradas
   ============================================================ */

.legal_content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.legal_section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.legal_section h2 {
    font-family: var(--title-font);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white-color);
    line-height: 1.2;
    padding-bottom: 12px;
    border-bottom: var(--border-grey);
}

.legal_section h2 span {
    color: var(--red-color);
    margin-right: 10px;
}

.legal_section p {
    font-family: var(--text-font);
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
    font-weight: 400;
}

.legal_section p a {
    color: var(--white-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal_section p a:hover {
    color: var(--red-color);
}

.legal_section ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 20px;
}

.legal_section ul li {
    font-family: var(--text-font);
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.7;
    list-style: none;
    padding-left: 16px;
    position: relative;
}

.legal_section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--red-color);
}

.legal_meta {
    font-family: var(--subtitle-font);
    font-size: 14px;
    color: var(--grey-color);
    font-weight: 500;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .main_container {
        width: 90%;
        gap: 48px;
    }
    .main_title h1 {
        font-size: 72px;
    }
    .redes_grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --padding-top: 40px;
        --padding-bottom: 40px;
    }

    .main_container {
        padding-top: 120px;
        gap: 40px;
    }

    .main_title h1 {
        font-size: 48px;
        line-height: 1;
    }

    .main_title p {
        font-size: 16px;
    }

    .contacto_cards {
        grid-template-columns: 1fr;
    }

    .contacto_card.full {
        grid-column: 1;
    }

    .contacto_card {
        padding: 24px 20px;
    }

    .redes_grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .legal_section h2 {
        font-size: 17px;
    }

    .legal_section p,
    .legal_section ul li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .main_title h1 {
        font-size: 40px;
    }

    .redes_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacto_redes h2 {
        font-size: 22px;
    }
    .contacto_card a,
    .contacto_card span{
        font-size: 16px;
    }
}