/* Edad exacta: estilos específicos de página */

/* Resultado principal de edad */
.edad-hero {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0.5rem 0 1.25rem;
}

.edad-anios {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--color-primary, #2563eb);
    line-height: 1;
}

.edad-anios-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-primary, #2563eb);
    align-self: flex-end;
    padding-bottom: 0.4rem;
}

.edad-resto {
    width: 100%;
    text-align: center;
    font-size: 1.05rem;
    color: var(--color-text-muted, #6b7280);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

/* Grid de unidades extra */
.edad-extra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (max-width: 520px) {
    .edad-extra-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .edad-anios {
        font-size: 3.5rem;
    }
}

.edad-extra-card {
    background: var(--color-surface, #f9fafb);
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 10px;
    padding: 0.9rem 0.5rem;
    text-align: center;
}

.edad-extra-num {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text, #111827);
}

.edad-extra-lbl {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-text-muted, #6b7280);
    margin-top: 0.25rem;
}

/* Próximo cumpleaños */
.cumple-banner {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: var(--color-surface, #f9fafb);
    border: 1px solid var(--color-border, #e5e7eb);
    border-left: 4px solid var(--color-primary, #2563eb);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-top: 1.25rem;
}

.cumple-banner i {
    font-size: 1.6rem;
    color: var(--color-primary, #2563eb);
    flex-shrink: 0;
}

.cumple-banner-text {
    font-size: 0.9rem;
    color: var(--color-text, #111827);
    line-height: 1.5;
}

.cumple-banner-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

/* Barra de progreso del año */
.edad-progress-wrap {
    margin-top: 1.25rem;
}

.edad-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-muted, #6b7280);
    margin-bottom: 0.4rem;
}

.edad-progress-bar {
    height: 8px;
    background: var(--color-border, #e5e7eb);
    border-radius: 99px;
    overflow: hidden;
}

.edad-progress-fill {
    height: 100%;
    background: var(--color-primary, #2563eb);
    border-radius: 99px;
    transition: width 0.4s ease;
    width: 0%;
}

/* Gráfico SVG */
.chart-wrap svg text {
    font-family: 'Montserrat', sans-serif;
}