* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .skip-link {
            position: absolute;
            left: -9999px;
            top: auto;
            width: 1px;
            height: 1px;
            overflow: hidden;
            z-index: 10000;
            background: #fff;
            color: #222;
            padding: 8px;
            outline: 2px solid #005fcc;
            transition: left 0.2s;
        }

        .skip-link:focus {
            left: 0;
            width: auto;
            height: auto;
        }

        header {
            background: linear-gradient(138deg, #fff 0%, #fff 100%);
            padding: 40px 0;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            gap: 30px;
            padding: 0 20px;
        }

        /* Sección izquierda - Logo PSOE */
        .header-left {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .header-left img {
            width: 200px;
            height: auto;
        }

        .header-logo {
            width: 200px;
            height: auto;
        }

        .header-text {
            color: #000;
            font-family: 'Segoe UI', 'Rounded', 'Arial Rounded MT Bold', sans-serif;
        }

        .header-text h1 {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
            line-height: 1.2;
        }

        .header-text p {
            font-size: 13px;
            font-style: italic;
            opacity: 0.95;
            font-weight: bold;
        }

        /* Sección central - Título */
        .header-center {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .header-center .header-text {
            text-align: center;
        }

        .header-center .header-text h1 {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 10px;
            line-height: 1.2;
            font-family: 'Segoe UI', 'Rounded', 'Arial Rounded MT Bold', sans-serif;
        }

        .header-center .header-text p {
            font-size: 16px;
            font-style: italic;
            opacity: 0.95;
            font-family: 'Segoe UI', 'Rounded', 'Arial Rounded MT Bold', sans-serif;
            font-weight: bold;
        }

        /* Sección derecha - Redes sociales */
        .header-right {
            display: flex;
            justify-content: flex-end;
            background: none;
            align-items: center;
            gap: 12px;
        }

        .social-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 60px;
            background: #000;
            border-radius: 50% / 60%;
            color: white;
            font-size: 18px;
            text-decoration: none;
            transition: all 0.3s;
        }

        .social-icon:hover {
            background: #f25252;
            transform: scale(1.1);
        }

        .social-icon-hidden {
            display: none;
        }

        /* Foco visual accesible y discreto para enlaces de redes sociales en el header */
        .header-right a:focus {
            outline: 2px solid #005fcc;
            outline-offset: 2px;
            background: #f5faff;
            border-radius: 6px;
            transition: background 0.2s;
        }

        /* Responsive - Tablet */
        @media (max-width: 1024px) {
            .header-container {
                gap: 20px;
                padding: 0 15px;
            }

            .header-left img {
                width: 160px;
            }

            .header-center .header-text h1 {
                font-size: 20px;
            }

            .header-center .header-text p {
                font-size: 13px;
            }

            .social-icon {
                width: 36px;
                height: 36px;
                font-size: 16px;
            }

            .header-right {
                gap: 8px;
            }
        }

        /* Responsive - Móvil */
        @media (max-width: 768px) {
            .header-container {
                grid-template-columns: 1fr;
                grid-template-rows: auto auto auto;
                text-align: center;
                gap: 15px;
            }

            .header-left {
                justify-content: center;
            }

            .header-left img {
                width: 170px;
            }

            .header-center .header-text h1 {
                font-size: 19px;
            }

            .header-center .header-text p {
                font-size: 13px;
            }

            .header-right {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            header {
                padding: 15px 0;
            }

            .header-left img {
                width: 120px;
            }

            .header-center .header-text h1 {
                font-size: 17px;
            }

            .header-center .header-text p {
                font-size: 12px;
            }

            .social-icon {
                width: 34px;
                height: 34px;
                font-size: 15px;
            }

            .header-right {
                gap: 6px;
                flex-wrap: wrap;
            }
        }
        /* WCAG: Verifica contraste de #dd1515 sobre fondo claro, y blanco sobre rojo en iconos. */