    /* Esta página no carga la hoja general, así que trae su propio reinicio:
       sin él, el cuerpo conserva el margen de 8px del navegador y el relleno
       se suma al ancho de la rejilla. */
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    body {
        margin: 0;
    }

    .timeline-container {
        display: grid;
        grid-template-columns: 400px 60px 500px 220px;
        /* nueva columna */
        gap: 0px;
        align-items: flex-start;

    }

    /* IZQUIERDA */
    .phases {
        display: flex;
        flex-direction: column;
        gap: 80px;
        text-align: right;
        width: 300px;
    }

    .phase {
        padding: 20px 0;
        cursor: pointer;
        color: #999;
        width: 400px;
        transition: color 0.3s ease, transform 0.3s ease;
        /* color + transform */
    }

    .phase span {
        display: inline-block;
        /* permite que el texto haga wrap */
        width: 100%
    }

    .phase.active {
        color: #0b3a66ff;
        transform: scale(1.05);
        /* ligeramente más grande */
        font-weight: bold;
        /* no se transiciona pero se refuerza */
    }




    /* CENTRO */
    .timeline {
        position: relative;
        width: 2px;
        background: #ccc;
        height: 100%;
        min-height: 300px;
        margin: 0 auto;
        text-align: right;
    }

    .dot {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 22px;
        /* más grande que la bolita */
        height: 22px;
        background: #123352;
        border-radius: 50%;
        z-index: 2;
        /* HALO AZUL */
        box-shadow: 0 0 0 8px rgba(18, 51, 82, 0.2);
        transition: top 0.3s ease;
    }

    /* DERECHA */
    .content h2 {
        font-size: 28px;
        margin-bottom: 10px;
        text-align: justify;
        font-family: "Raleway", Sans-serif;
        padding-top: 50px;
        padding-left: 70px;

    }

    .content p {
        font-size: 16px;
        line-height: 1.8;
        text-align: justify;
        padding-right: 50px;
        font-family: "Raleway", Sans-serif;
        white-space: pre-line;
        /* respeta los saltos de línea (\n) *
        line-height: 2;
        /* Altura de línea 2 veces el tamaño de fuente */
        padding-left: 70px;

    }

    /* CONTENEDOR DE PUNTOS GRISES */
    .gray-dots {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 100%;
    }

    /* PUNTO GRIS */
    .gray-dot {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 22px;
        /* más grande que la bolita */
        height: 22px;
        background: #ddd;
        border-radius: 50%;
        z-index: 1;
    }

    /* BOLITA AZUL */
    .dot {
        z-index: 2;
    }

    .timeline_img {
        display: flex;
        align-items: center;
    }

    .timeline_img img {
        width: 600px;
        height: 500px;
        border-radius: 20px;
    }

    /* La rejilla mide 1180px fijos y la página no tenía ninguna adaptación:
       por debajo de esa anchura se salía de la pantalla. */
    @media (max-width: 1200px) {
        /* style_metodo.css impone las columnas con !important porque gobierna
           el mismo componente dentro de «método». Aquí hace falta la misma
           fuerza para reordenarlo sin tocar aquella página. */
        .timeline-container {
            grid-template-columns: minmax(0, 1fr) !important;
            gap: 24px;
            padding: 0 20px;
        }

        .phases,
        .phase {
            width: 100% !important;
            text-align: left !important;
        }

        .content,
        .timeline_img {
            width: 100%;
            min-width: 0;
        }

        /* La línea vertical solo tiene sentido junto a las dos columnas */
        .timeline {
            display: none;
        }

        .content h2 {
            padding-top: 0;
            padding-left: 0;
        }

        .content p {
            padding-right: 0;
        }

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

    @media (max-width: 600px) {
        .content h2 {
            font-size: 22px;
        }

        .content p,
        .content h2 {
            text-align: left;
        }
    }
