@charset "UTF-8";
/* ==========================================================================
   scrum-master.css - landing de Scrum Master 5.0 (segunda version, 20-10-2026,
   a partir del mockup ScrumMasterInfo.pdf de Juan). De comun.css solo usa el reseteo, el
   contenedor, la cabecera, el conmutador de idioma y el pie; el resto de
   clases son propias para no heredar el hero oscuro ni las tarjetas comunes.
   Tipografia y paleta, las de la home de scrummanager.com.
   ========================================================================== */

:root {
    --azul: #0d6efd;
    --azul-hover: #0b5ed7;
    --texto: #526283;
    --titulos: #39465f;
    --suave: #8a9bb9;
    --fondo: #e1e8eb;
    --fondo-cierre: #f1f5f6;
    --banda: #20293b;
    --borde: #c9d2dc;
    --rojo: #e0335f;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--texto);
    background-color: var(--fondo);
}

html { scroll-behavior: smooth; }

a { color: var(--azul); }

:focus-visible {
    outline: 3px solid var(--azul);
    outline-offset: 3px;
}

.azul { color: var(--azul); }

h1, h2, h3 { color: var(--titulos); line-height: 1.2; }

h2 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 22px;
}

.h2-menor { font-size: 1.6rem; margin-bottom: 14px; }

.antetitulo {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--texto);
    margin-bottom: 14px;
}

.texto {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 900px;
}

.centrado { text-align: center; }

.centrado .texto { margin: 0 auto; }

/* --- Botones rectangulares --- */
.botones {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 36px;
}

.boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    padding: 18px 32px;
    border: 1px solid var(--azul);
    border-radius: 8px;
    background-color: var(--azul);
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.boton:hover { background-color: var(--azul-hover); }

.boton-contorno {
    background-color: transparent;
    color: var(--azul);
}

.boton-contorno:hover {
    background-color: var(--azul);
    color: white;
}

.boton-gris {
    border-color: var(--texto);
    color: var(--texto);
}

.boton-gris:hover {
    background-color: var(--texto);
    border-color: var(--texto);
}

.microcopy {
    margin-top: 14px;
    font-size: 0.95rem;
    color: var(--suave);
}

.cierre .microcopy { color: var(--texto); }

.microcopy a { color: inherit; }

/* --- Rejilla texto + imagen (heroe y cierre) --- */
.dos-columnas {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 50px;
}

/* --- 1. Heroe --- */
.heroe { padding: 80px 0; }

.heroe h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 36px;
}

.entradilla {
    font-size: 1.25rem;
    line-height: 1.7;
}

.heroe-portada {
    display: block;
    justify-self: center;
    max-width: 420px;
    line-height: 0;
    transition: transform 0.3s ease;
}

.heroe-portada:hover { transform: translateY(-4px) rotate(-1deg); }

.heroe-portada img {
    width: 100%;
    height: auto;
}

/* --- 2. Cifras (banda oscura) --- */
.cifras {
    background-color: var(--banda);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cifras .antetitulo { color: white; }

.cifras h2 {
    color: white;
    margin-bottom: 50px;
}

.cifras-rejilla {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.cifra .numero {
    display: block;
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.cifra p {
    font-size: 1.2rem;
    max-width: 22em;
    margin: 0 auto;
}

.cifra .fuente {
    display: block;
    margin-top: 28px;
    color: #a5b0c4;
}

/* --- Bloques claros --- */
.bloque { padding: 70px 0; }

/* --- 3. Que cambia --- */
.contraste {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    margin-top: 44px;
}

.contraste-col {
    border: 1px solid var(--borde);
    border-radius: 8px;
    padding: 36px 44px 30px;
}

.contraste-col.funciona { background-color: white; }

.contraste-col.rompe { background-color: #f1f3f5; }

.contraste-col h3 {
    font-size: 1.45rem;
    margin-bottom: 18px;
}

.funciona h3 { color: var(--azul); }

.rompe h3 { color: var(--rojo); }

.contraste-col ul { list-style: none; }

.contraste-col li {
    position: relative;
    padding: 12px 0 12px 38px;
    font-size: 1.1rem;
}

.contraste-col li::before {
    position: absolute;
    left: 0;
    font-weight: 700;
}

.funciona li::before { content: '✓'; color: var(--azul); }

.rompe li::before { content: '✕'; color: var(--rojo); font-size: 0.9em; }

/* --- 4. El rol crece --- */
.diptico {
    display: block;
    width: 100%;
    max-width: 1100px;
    height: auto;
    margin: 40px auto 0;
}

/* --- 5. Certificacion --- */
.certificaciones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    margin-top: 44px;
    text-align: left;
}

.cert {
    background-color: white;
    border: 1px solid var(--borde);
    border-radius: 8px;
    padding: 40px 40px 50px;
}

.cert-cabecera {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-bottom: 28px;
}

.cert-cabecera img {
    width: 126px;
    height: auto;
    flex: 0 0 auto;
}

.cert-tipo {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--azul);
    margin-bottom: 8px;
}

.cert h3 { font-size: 1.6rem; }

.cert p,
.cert ul { padding-left: 18px; font-size: 1.1rem; }

.cert ul {
    list-style: none;
    margin-top: 24px;
}

.cert li::before { content: '✓ '; }

.cert a,
.ya-certificado a { text-decoration: none; }

.cert a:hover,
.ya-certificado a:hover { text-decoration: underline; }

.ya-certificado {
    margin-top: 34px;
    text-align: left;
    font-size: 1.1rem;
}

/* --- 6. Recursos: iconos de un solo set, en azul --- */
.recursos {
    list-style: none;
    margin-top: 40px;
    padding-left: 24px;
}

.recursos li {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 22px 0;
}

.recursos .icono {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background-color: #cfdcec;
}

.recursos svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: var(--azul);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.recursos a {
    color: var(--titulos);
    font-size: 1.2rem;
    text-decoration: none;
}

.recursos a:hover { text-decoration: underline; }

.recursos p { font-size: 1.1rem; }

/* --- 7. No solo en software: dos ilustraciones alrededor del texto --- */
.ambitos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "a texto"
        "a b";
    column-gap: 60px;
    align-items: center;
}

.ambitos-a { grid-area: a; }

.ambitos-texto { grid-area: texto; align-self: end; }

.ambitos-b { grid-area: b; justify-self: center; max-width: 520px; }

.ambitos img {
    width: 100%;
    height: auto;
}

.ambitos strong { color: var(--titulos); }

/* --- 8. Preguntas frecuentes --- */
.faq {
    max-width: 1050px;
    margin: 30px auto 0;
    background-color: white;
    border: 1px solid #e3e7eb;
    border-radius: 4px;
}

.faq details + details { border-top: 1px solid #e3e7eb; }

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 26px;
    font-size: 1.15rem;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: '';
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-bottom: 4px;
    border-right: 2px solid var(--titulos);
    border-bottom: 2px solid var(--titulos);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.faq details[open] summary::after {
    transform: rotate(-135deg);
    margin: 4px 0 0;
}

.faq details p {
    padding: 0 26px 22px;
    font-size: 1.05rem;
}

/* --- 9. Cierre, sobre fondo claro --- */
.cierre {
    background-color: var(--fondo-cierre);
    padding: 70px 0;
}

.cierre .botones { margin-top: 30px; }

.cierre-img {
    width: 100%;
    height: auto;
}

/* --- Pie --- */
.footer-info { color: var(--texto); }

/* --- Adaptacion a moviles --- */
@media (max-width: 900px) {
    .dos-columnas,
    .contraste,
    .certificaciones { grid-template-columns: 1fr; }

    .heroe-portada { max-width: 320px; }

    .cifras-rejilla { grid-template-columns: 1fr; }

    .cifra .numero { font-size: 4.5rem; }

    .ambitos {
        grid-template-columns: 1fr;
        grid-template-areas: "texto" "a" "b";
        row-gap: 30px;
    }

    .ambitos-a { max-width: 520px; justify-self: center; }
}

@media (max-width: 600px) {
    .heroe { padding: 50px 0; }

    .heroe h1 { font-size: 2.1rem; }

    h2 { font-size: 1.7rem; }

    .h2-menor { font-size: 1.4rem; }

    .botones { flex-direction: column; gap: 14px; }

    .boton { min-width: 0; width: 100%; }

    .contraste-col,
    .cert { padding: 28px 24px; }

    .cert-cabecera { gap: 20px; }

    .cert-cabecera img { width: 90px; }

    .cert p,
    .cert ul { padding-left: 0; }

    .recursos { padding-left: 0; }

    .recursos li { gap: 18px; align-items: flex-start; }

    .recursos .icono { width: 52px; height: 52px; }

    .faq summary { padding: 18px 18px; font-size: 1.05rem; }

    .faq details p { padding: 0 18px 18px; }
}
