/* ==========================================================================
   Info / static pages — About, Contact, Cookies, Privacy, Terms, Guides
   ==========================================================================
   Patrón unificado para las páginas estáticas del sitio. Layout limpio,
   tipografía editorial, sentence case, sin card wrappers pesados, sin
   íconos color carnival. Reusable entre vistas con la clase .info-page.
   ========================================================================== */

.info-page {
    padding-bottom: 4rem;
}

@media (max-width: 768px) {
    .info-page {
        padding-bottom: 2rem;
    }
}


/* -------------------------------------------------------------------------
   Header de la página — h1 product-style con eyebrow opcional
   (la clase reusa la jerarquía global de h3 fw-bold text-primary-custom)
   ------------------------------------------------------------------------- */

.info-page__header {
    margin-bottom: 2.5rem;
}

.info-page__sub {
    color: var(--text-secondary);
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
}

.info-page__updated {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.85rem;
}


/* -------------------------------------------------------------------------
   Layout de contenido legal (Cookies, Privacy, Terms)
   ------------------------------------------------------------------------- */

.legal-content {
    max-width: 70ch;
    color: var(--text-primary);
    line-height: 1.65;
}

.legal-content section {
    margin: 0 0 2rem;
}

.legal-content section:last-child {
    margin-bottom: 0;
}

.legal-content h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    letter-spacing: -0.005em;
}

.legal-content h2 .legal-content__num {
    color: var(--text-muted);
    font-weight: 500;
    margin-right: 0.45rem;
    font-variant-numeric: tabular-nums;
}

.legal-content p {
    margin: 0 0 0.85rem;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.legal-content ul {
    margin: 0 0 0.85rem;
    padding-left: 1.5rem;
}

.legal-content ul li {
    margin: 0 0 0.4rem;
}

.legal-content ul li::marker {
    color: var(--text-muted);
}

.legal-content a:not(.btn) {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(220, 53, 69, 0.3);
    transition: border-color 180ms ease, color 180ms ease;
}

.legal-content a:not(.btn):hover,
.legal-content a:not(.btn):focus-visible {
    border-bottom-color: var(--primary-color);
}

[data-bs-theme="dark"] .legal-content a:not(.btn) {
    border-bottom-color: rgba(232, 85, 101, 0.3);
}


/* -------------------------------------------------------------------------
   Cards de info (About, Contact) — versión liviana
   ------------------------------------------------------------------------- */

.info-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
}

.info-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.85rem;
    letter-spacing: -0.005em;
}

.info-card p {
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.info-card p:last-child {
    margin-bottom: 0;
}


/* -------------------------------------------------------------------------
   Listas con dot accent (reemplaza los <i class="fas fa-check"> color carnival)
   ------------------------------------------------------------------------- */

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.info-list li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}

.info-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.info-list__label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.info-list__desc {
    color: var(--text-secondary);
    font-size: 0.93rem;
}


/* -------------------------------------------------------------------------
   Datos de contacto — bloque dl con eyebrow + valor
   ------------------------------------------------------------------------- */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info__row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-info__label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-info__value {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.contact-info__value a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(220, 53, 69, 0.3);
    transition: border-color 180ms ease, color 180ms ease;
}

.contact-info__value a:hover,
.contact-info__value a:focus-visible {
    border-bottom-color: var(--primary-color);
}


/* -------------------------------------------------------------------------
   Embed (roadmap, iframes externos)
   ------------------------------------------------------------------------- */

.info-embed {
    width: 100%;
    height: 600px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--card-bg);
}

@media (max-width: 575.98px) {
    .info-embed {
        display: none;
    }
}


/* -------------------------------------------------------------------------
   Guides — la familia Guide10kTraining, GuideHalfMarathon, etc.
   ==========================================================================
   Reusa info-card pero con tablas más limpias y lectura editorial.
   ------------------------------------------------------------------------- */

.guide-content {
    color: var(--text-primary);
    line-height: 1.6;
}

.guide-content table {
    width: 100%;
    margin: 0.75rem 0 1.25rem;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.guide-content table th,
.guide-content table td {
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: top;
}

.guide-content table th {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-tertiary);
}

.guide-content table tbody tr:last-child td {
    border-bottom: 0;
}

.guide-content ul {
    padding-left: 1.5rem;
    margin: 0 0 1rem;
}

.guide-content ul li {
    margin: 0 0 0.35rem;
}

.guide-content ul li::marker {
    color: var(--text-muted);
}

.guide-content > p:last-child {
    margin-bottom: 0;
}
