/* 1. LIMPIEZA INTERFAZ (Botón ^ y Scroll Safari) */
#scroll-to-top, .scroll-to-top, .ast-scroll-to-top, .go-to-top, #back-to-top {
    display: none !important;
}

/* 2. DISEÑO GENERAL CV */
#srger-cv-final { width: 100%; margin: 40px 0; background: #fff; font-family: sans-serif; }
.sr-subtitle-h4 { margin: 0 0 25px 0; color: #999; text-align: center; font-size: 14px; letter-spacing: 2px; }
.sr-row { border-top: 3px solid #000; }
.sr-bottom-line { border-top: 3px solid #000; }

.sr-trigger { display: flex; justify-content: space-between; align-items: center; padding: 30px 0; cursor: pointer; transition: all 0.3s ease; }
.sr-title-container { display: flex; align-items: flex-start; gap: 8px; }
.sr-meta { font-size: 16px; color: #999; font-weight: 900; line-height: 1; }
.sr-h1 { font-size: 70px !important; font-weight: 700 !important; margin: 0 !important; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.82; color: #000; white-space: nowrap; transition: color 0.3s ease; }

.sr-plus { font-size: 24px; transition: transform 0.5s ease, color 0.3s ease; color: #000; font-weight: 300; }
.sr-row.active .sr-plus { transform: rotate(45deg); }

.sr-trigger:hover .sr-h1,
.sr-trigger:hover .sr-plus { color: #4d4d4d !important; }

/* 3. ACORDEÓN: CORRECCIÓN PARA SAFARI Y CHROME */
.sr-expand {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
    will-change: grid-template-rows;
}
.sr-row.active .sr-expand {
    grid-template-rows: 1fr;
    opacity: 1;
}
.sr-inner {
    overflow: hidden;
    min-height: 0; /* Obligatorio para Safari */
}

/* 4. CONTENIDO INTERIOR */
.sr-grid { display: grid; grid-template-columns: 1.2fr 2fr auto; gap: 10px 40px; padding: 10px 0 50px 0; }
.sr-gh { font-size: 10px; font-weight: 700; color: #999; letter-spacing: 1px; border-bottom: 1px solid #eee; padding-bottom: 8px; margin-bottom: 10px; }
.sr-right { text-align: right; }
.sr-n { font-size: 13px; font-weight: 700; color: #000; text-transform: uppercase; }
.sr-d { font-size: 13px; font-weight: 700; color: #999; }
.sr-y { font-size: 13px; font-weight: 700; color: #999; text-align: right; }

/* 5. RESPONSIVE Y FOOTER MÓVIL */
@media (max-width: 768px) {
    /* Ocultamos el footer del sitio en móviles */
    footer, .site-footer, #colophon { display: none !important; }

    .sr-trigger { padding: 25px 0; }
    .sr-h1 { font-size: 7.2vw !important; letter-spacing: -0.04em !important; line-height: 1; }
    .sr-meta { font-size: 9px; margin-top: 2px; align-self: flex-start; }
    .sr-title-container { gap: 4px; }
    .sr-plus { font-size: 18px; }
    .sr-grid { grid-template-columns: 1fr; gap: 5px; padding-bottom: 30px; }
    .sr-gh { display: none; }
    .sr-y { text-align: left; margin-bottom: 12px; font-size: 11px; }
}
