:root{--navy:#06172d;--navy2:#0b2748;--red:#c72632;--cream:#f4f1ea;--white:#fff;--ink:#102136;--muted:#667487;--line:#dce2e8;--green:#71a984}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Manrope,Arial,sans-serif;color:var(--ink);background:#fff}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.header{height:88px;padding:0 clamp(24px,5vw,76px);background:rgba(5,21,42,.97);color:white;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:20;border-bottom:1px solid rgba(255,255,255,.1)}.brand{display:flex;align-items:center;gap:12px;font-size:12px;line-height:1.25;letter-spacing:.04em}.brand-mark{width:49px;height:49px;border:1px solid rgba(255,255,255,.5);border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:10px}.nav{display:flex;align-items:center;gap:25px;font-size:13px;font-weight:600}.nav>a,.dropdown>button{color:#fff;background:none;border:0;padding:12px 0;cursor:pointer}.dropdown{position:relative}.dropdown-menu{display:none;position:absolute;top:100%;left:-18px;min-width:190px;background:white;color:var(--ink);padding:10px;border-radius:8px;box-shadow:0 20px 50px #0003}.dropdown:hover .dropdown-menu,.dropdown.open .dropdown-menu{display:grid}.dropdown-menu a{padding:10px;border-radius:5px}.dropdown-menu a:hover{background:#f1f4f7}.nav .nav-join{border:1px solid #ffffff70;padding:11px 17px}.nav .nav-donate{background:var(--red);padding:12px 17px}.nav-toggle{display:none;background:none;border:0;color:#fff;font-size:25px}.hero{min-height:700px;background:radial-gradient(circle at 77% 40%,#204b6e 0,transparent 26%),linear-gradient(120deg,#051427,#08213d 65%,#0d3151);color:#fff;display:grid;grid-template-columns:1.25fr .75fr;align-items:center;padding:80px clamp(24px,8vw,130px);position:relative;overflow:hidden}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 49.8%,#ffffff12 50%,transparent 50.2%);opacity:.5}.hero-content{position:relative;z-index:2;max-width:760px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.24em;color:#a8c9dc}.eyebrow.dark{color:#8d2731}.hero h1,.page-hero h1{font-family:"Playfair Display",serif;font-size:clamp(48px,6vw,82px);line-height:1.02;margin:24px 0}.hero h1 em{color:#cf9ca0;font-style:normal}.hero p{font-size:18px;line-height:1.75;max-width:630px;color:#c9d3df}.hero-actions{display:flex;gap:14px;margin:34px 0 54px}.button{display:inline-flex;align-items:center;justify-content:center;padding:15px 22px;border:0;cursor:pointer;font-weight:800;font-size:13px}.button.primary{background:var(--red);color:#fff}.button.ghost{border:1px solid #ffffff59;color:#fff}.button.light{background:white;color:var(--navy)}.hero-stats{display:flex;gap:45px;border-top:1px solid #ffffff21;padding-top:25px}.hero-stats div{display:grid;gap:4px}.hero-stats strong{font-family:"Playfair Display",serif;font-size:18px}.hero-stats span{font-size:11px;color:#9eb0c1}.hero-symbol{z-index:2;text-align:center;display:grid;gap:18px;color:#d3e0e7}.hero-symbol span{font-size:150px;line-height:1;color:#ffffff0c;text-shadow:0 0 1px #ffffffaa}.hero-symbol small{letter-spacing:.25em}.section{padding:100px clamp(24px,9vw,150px)}.intro{display:grid;grid-template-columns:1fr 1fr;gap:100px;background:var(--cream)}h2{font-family:"Playfair Display",serif;font-size:clamp(36px,4vw,56px);line-height:1.08;margin:18px 0 26px}.lead{font-size:21px;line-height:1.6}.intro p:not(.lead),.article p{line-height:1.8;color:var(--muted)}.text-link{display:inline-block;margin-top:20px;color:var(--red);font-weight:800}.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;padding-top:0;background:var(--cream)}.pillars article{background:white;padding:42px}.pillars article>span{color:var(--red);font-weight:800}.pillars h3{font-family:"Playfair Display",serif;font-size:25px}.pillars p{color:var(--muted);line-height:1.7}.congress-banner{background:var(--red);color:#fff;padding:90px clamp(24px,9vw,150px);display:grid;grid-template-columns:1fr 1fr;align-items:center;overflow:hidden}.congress-banner p{max-width:650px;line-height:1.7;color:#ffe7e7}.big-year{font:800 clamp(110px,16vw,250px)/1 Manrope;color:#ffffff0d;letter-spacing:-.1em}.join-call{text-align:center;background:#f7f8fa}.join-call p{max-width:650px;margin:0 auto 28px;color:var(--muted);line-height:1.7}.page-hero{padding:105px clamp(24px,9vw,150px);background:linear-gradient(135deg,var(--navy),#113a5a);color:#fff}.page-hero h1{font-size:clamp(48px,6vw,76px);margin-bottom:8px}.page-hero p{color:#c6d3df;font-size:18px}.page-hero.congress{background:linear-gradient(135deg,#06172d,#642331)}.article{max-width:1040px}.topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:45px}.topic-grid div{background:var(--cream);padding:25px;font-weight:700;border-left:3px solid var(--red)}.join-layout{display:grid;grid-template-columns:340px 1fr;gap:70px;align-items:start}.join-layout aside{background:var(--navy);color:#fff;padding:36px}.join-layout aside>strong{font-family:"Playfair Display",serif;font-size:66px;display:block;margin:15px 0}.join-layout aside p,.join-layout aside li{color:#c5d0dc;line-height:1.6}.join-layout aside ul{padding-left:20px}.demo-note{background:#ffffff10;padding:15px;font-size:12px;margin-top:25px}.steps{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:16px;font-size:12px;color:var(--muted)}.steps .active{color:var(--red);font-weight:800}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid .wide{grid-column:1/-1}label{display:grid;gap:7px;font-size:13px;font-weight:700}input,select,textarea{width:100%;border:1px solid var(--line);padding:13px;background:#fff;border-radius:2px}input:focus,select:focus,textarea:focus{outline:2px solid #c7263240;border-color:var(--red)}.check{display:flex;grid-template-columns:auto 1fr;align-items:start;margin:24px 0;font-weight:500;line-height:1.5}.check input{width:auto;margin-top:4px}.check a{color:var(--red);text-decoration:underline}.form-result{color:#287646;font-weight:700;line-height:1.5}.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:80px}.contact-layout form{display:grid;gap:18px}.footer{background:#041226;color:#b9c4cf;padding:70px clamp(24px,7vw,110px) 30px;display:grid;grid-template-columns:1.4fr .7fr .7fr 1fr;gap:50px;font-size:13px}.footer h3{color:white}.footer>div>a:not(.brand){display:block;margin:12px 0}.footer small{grid-column:1/-1;border-top:1px solid #ffffff1c;padding-top:25px}.cookie-banner{position:fixed;z-index:40;left:20px;right:20px;bottom:20px;background:#fff;box-shadow:0 15px 60px #0005;border-left:5px solid var(--red);padding:20px 25px;display:flex;align-items:center;justify-content:space-between;gap:30px}.cookie-banner[hidden]{display:none}.cookie-banner p{margin:5px 0;font-size:13px;color:var(--muted)}.cookie-actions{display:flex;align-items:center;gap:12px;white-space:nowrap}.cookie-actions button{border:1px solid var(--line);background:#fff;padding:11px;cursor:pointer}.cookie-actions .primary{background:var(--red);color:#fff;border-color:var(--red)}@media(max-width:980px){.header{height:72px}.nav-toggle{display:block}.nav{display:none;position:absolute;top:72px;left:0;right:0;background:var(--navy);padding:20px 28px;align-items:stretch;flex-direction:column;gap:3px}.nav.open{display:flex}.dropdown-menu{position:static;box-shadow:none;margin-left:10px}.hero{grid-template-columns:1fr;min-height:auto;padding-top:100px}.hero-symbol{display:none}.intro,.congress-banner,.join-layout,.contact-layout{grid-template-columns:1fr;gap:40px}.pillars{grid-template-columns:1fr}.topic-grid{grid-template-columns:1fr 1fr}.footer{grid-template-columns:1fr 1fr}.hero-stats{gap:20px}.cookie-banner{align-items:stretch;flex-direction:column}.cookie-actions{flex-wrap:wrap}}@media(max-width:600px){.hero h1{font-size:45px}.hero-actions,.hero-stats{flex-direction:column}.hero-stats{gap:15px}.section{padding:70px 22px}.form-grid,.topic-grid,.footer{grid-template-columns:1fr}.steps{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cookie-actions{white-space:normal}.cookie-actions>*{flex:1}.footer small{grid-column:1}.congress-banner{padding:70px 22px}.big-year{font-size:100px}}
/* ===== REDISEÑO NUESTRO CORAZÓN POR BANDERA ===== */

:root {
    --navy: #07152d;
    --navy-light: #10284b;
    --blue: #1672b8;
    --green: #15966f;
    --gold: #d7b65d;
    --white: #ffffff;
    --soft-white: #f5f7fa;
    --text: #1a2940;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--soft-white);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(7, 21, 45, 0.97);
    border-bottom: 1px solid rgba(215, 182, 93, 0.35);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
}

.nav-container {
    width: min(96%, 1500px);
    min-height: 86px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4));
}

.brand-name {
    max-width: 150px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.main-navigation a {
    padding: 11px 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 6px;
    transition: 0.25s ease;
}

.main-navigation a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.main-navigation .join-button {
    margin-left: 8px;
    padding: 12px 20px;
    color: #07152d;
    background: linear-gradient(135deg, #f2da8c, #c49a35);
    border: 1px solid #f5df98;
    box-shadow: 0 0 18px rgba(215, 182, 93, 0.28);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.main-navigation .join-button:hover {
    color: #07152d;
    background: linear-gradient(135deg, #ffe7a0, #d5ab42);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 42px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: white;
}

.site-main {
    min-height: 60vh;
}

.home-hero {
    position: relative;
    min-height: calc(100vh - 86px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
    background:
        radial-gradient(circle at 20% 30%, rgba(22, 114, 184, 0.28), transparent 35%),
        radial-gradient(circle at 80% 65%, rgba(21, 150, 111, 0.24), transparent 34%),
        linear-gradient(145deg, #030914 0%, #07152d 50%, #0c2240 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 45px 45px;
}

.hero-light {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}

.hero-light-blue {
    top: -160px;
    left: -100px;
    background: #1b83ce;
}

.hero-light-green {
    right: -100px;
    bottom: -160px;
    background: #16a577;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(92%, 900px);
    padding: 60px 20px 100px;
}

.hero-logo {
    width: clamp(170px, 23vw, 285px);
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.48));
}

.hero-eyebrow,
.section-label {
    margin: 0 0 15px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.home-hero h1 {
    margin: 0;
    color: white;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: -2px;
}

.hero-description {
    max-width: 720px;
    margin: 25px auto 32px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.primary-action,
.secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s ease;
}

.primary-action {
    color: #07152d;
    background: linear-gradient(135deg, #f0d987, #c49a35);
    box-shadow: 0 10px 30px rgba(215, 182, 93, 0.2);
}

.secondary-action {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

.primary-action:hover,
.secondary-action:hover {
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    z-index: 3;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 28px;
    margin: 0 auto 8px;
    background: var(--gold);
}

.home-introduction {
    max-width: 1000px;
    margin: auto;
    padding: 100px 25px 65px;
    text-align: center;
}

.section-heading h2,
.home-cta h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(30px, 4vw, 49px);
    line-height: 1.12;
}

.heading-line {
    width: 75px;
    height: 3px;
    margin: 23px auto;
    background: linear-gradient(90deg, var(--blue), var(--gold), var(--green));
}

.introduction-text {
    max-width: 850px;
    margin: auto;
    color: #526178;
    font-size: 19px;
    line-height: 1.8;
}

.values-section {
    width: min(92%, 1180px);
    margin: 0 auto 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.value-card {
    position: relative;
    padding: 38px 30px;
    overflow: hidden;
    background: white;
    border-top: 4px solid var(--navy);
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(7, 21, 45, 0.09);
}

.value-number {
    position: absolute;
    top: 12px;
    right: 18px;
    color: rgba(7, 21, 45, 0.08);
    font-size: 55px;
    font-weight: 800;
}

.value-card h3 {
    position: relative;
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 25px;
}

.value-card p {
    position: relative;
    margin: 0;
    color: #617087;
    line-height: 1.7;
}

.home-cta {
    width: min(92%, 1180px);
    margin: 0 auto 100px;
    padding: 55px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: white;
    background: linear-gradient(135deg, #07152d, #12365d);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(7, 21, 45, 0.22);
}

.home-cta h2 {
    color: white;
}

.home-cta p:not(.section-label) {
    max-width: 700px;
    margin-bottom: 0;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

.site-footer {
    padding: 48px 25px 22px;
    color: rgba(255,255,255,0.75);
    background: #040c1b;
}

.footer-content {
    width: min(100%, 1180px);
    margin: auto;
    display: flex;
    align-items: center;
    gap: 25px;
}

.footer-logo {
    width: 85px;
    height: 85px;
    object-fit: contain;
}

.footer-text p {
    margin: 4px 0;
}

.footer-text strong {
    color: white;
}

.footer-links {
    margin-left: auto;
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.copyright {
    width: min(100%, 1180px);
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    text-align: center;
}

/* Intro animada */

.intro-screen {
    position: fixed;
    z-index: 5000;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    background: #030a17;
    animation: introDisappear 0.9s ease 3.2s forwards;
}

.intro-glow {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(25,124,183,0.34), rgba(21,150,111,0.12) 45%, transparent 70%);
    animation: introGlow 2s ease-in-out infinite alternate;
}

.intro-logo {
    position: relative;
    width: min(65vw, 390px);
    opacity: 0;
    transform: scale(0.55);
    filter: drop-shadow(0 15px 38px rgba(0,0,0,0.65));
    animation:
        logoEntrance 1.2s ease forwards,
        heartbeat 0.8s ease 1.25s 2;
}

.intro-motto {
    position: relative;
    margin-top: 28px;
    opacity: 0;
    color: white;
    font-size: clamp(16px, 2.5vw, 25px);
    letter-spacing: 1.5px;
    animation: mottoEntrance 0.8s ease 1.35s forwards;
}

@keyframes logoEntrance {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    35% { transform: scale(1.06); }
    60% { transform: scale(0.98); }
}

@keyframes mottoEntrance {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes introGlow {
    from { transform: scale(0.85); opacity: 0.55; }
    to { transform: scale(1.18); opacity: 1; }
}

@keyframes introDisappear {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@media (max-width: 1180px) {
    .brand-name {
        display: none;
    }

    .main-navigation a {
        padding: 10px 7px;
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    .nav-container {
        min-height: 76px;
    }

    .header-logo {
        width: 58px;
        height: 58px;
    }

    .brand-name {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        padding: 18px;
        flex-direction: column;
        align-items: stretch;
        background: #07152d;
        border-top: 1px solid rgba(255,255,255,0.12);
        box-shadow: 0 15px 25px rgba(0,0,0,0.3);
    }

    .main-navigation.is-open {
        display: flex;
    }

    .main-navigation a {
        padding: 13px 15px;
        font-size: 15px;
    }

    .main-navigation .join-button {
        margin: 7px 0 0;
        text-align: center;
    }

    .home-hero {
        min-height: calc(100vh - 76px);
    }

    .values-section {
        grid-template-columns: 1fr;
    }

    .home-cta {
        padding: 40px 28px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-left: 0;
    }
}

@media (max-width: 520px) {
    .brand-name {
        max-width: 130px;
        font-size: 12px;
    }

    .hero-content {
        padding-top: 40px;
    }

    .home-hero h1 {
        letter-spacing: -1px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .primary-action,
    .secondary-action {
        width: 100%;
        box-sizing: border-box;
    }

    .home-introduction {
        padding-top: 75px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .intro-screen {
        display: none;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* Imagen principal después de la animación */

.home-hero {
    background-image:
        linear-gradient(
            90deg,
            rgba(3, 9, 20, 0.92) 0%,
            rgba(7, 21, 45, 0.70) 45%,
            rgba(7, 21, 45, 0.38) 100%
        ),
        url("/static/img/eventos/2025/cabecera-policia-y-guardia-civil.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(3, 9, 20, 0.16),
        transparent 55%,
        rgba(3, 9, 20, 0.72)
    );
}

.hero-overlay {
    z-index: 1;
    opacity: 0.28;
}

.hero-content,
.scroll-indicator {
    position: relative;
    z-index: 2;
}

@media (max-width: 700px) {
    .home-hero {
        background-position: 58% center;
    }
}
/* Corrección definitiva del menú móvil */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
        position: relative;
        z-index: 1002;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 16px;
        right: 16px;
        z-index: 1001;
        padding: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        background: rgba(7, 21, 45, 0.98);
        border: 1px solid rgba(215, 182, 93, 0.45);
        border-radius: 14px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        display: block;
        width: 100%;
        padding: 12px 14px;
        text-align: center;
    }
}

/* Mejor centrado del contenido de portada */
.hero-content {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    text-align: center;
    align-items: center;
}

.hero-content h1 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions,
.hero-stats {
    justify-content: center;
}
/* Centrado real de la portada */
.home-hero {
    background-position: center center;
}

.hero-inner {
    width: min(920px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    align-items: center;
}

.hero-logo {
    margin-left: auto;
    margin-right: auto;
}

.hero-eyebrow,
.hero-description {
    margin-left: auto;
    margin-right: auto;
}

.hero-actions,
.hero-stats {
    justify-content: center;
}

@media (max-width: 700px) {
    .hero-inner {
        width: calc(100% - 28px);
    }
}
/* Ajuste definitivo de la portada en ordenador */
@media (min-width: 901px) {
    .home-hero {
        background-image:
            linear-gradient(
                90deg,
                rgba(3, 9, 20, 0.72) 0%,
                rgba(7, 21, 45, 0.44) 48%,
                rgba(7, 21, 45, 0.20) 100%
            ),
            url("/static/img/eventos/2025/cabecera-policia-y-guardia-civil.webp");
        background-position: 55% center;
    }
}

/* Portada centrada respecto a toda la pantalla */
@media (min-width: 901px) {
    .home-hero {
        position: relative;
        padding-left: 0;
        padding-right: 0;
    }

    .home-hero .hero-inner {
        position: absolute;
        left: 50%;
        right: auto;
        width: calc(100vw - 80px);
        max-width: none;
        margin: 0;
        transform: translateX(-50%);
        text-align: center;
        align-items: center;
    }

    .home-hero .hero-logo,
    .home-hero .hero-eyebrow,
    .home-hero .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero .hero-actions,
    .home-hero .hero-stats {
        width: 100%;
        justify-content: center;
    }
}
/* =========================================================
   PÁGINA ¿QUIÉNES SOMOS?
   ========================================================= */

.about-page {
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(24, 78, 130, 0.10), transparent 32%),
        radial-gradient(circle at 85% 70%, rgba(45, 116, 78, 0.09), transparent 30%),
        #f6f8fb;
    color: #172033;
}

/* Cabecera de la página */
.about-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 24px 70px;
    text-align: center;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(4, 18, 38, 0.97), rgba(11, 48, 82, 0.92)),
        linear-gradient(90deg, #071426, #123d63);
}

.about-hero::before,
.about-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.about-hero::before {
    width: 300px;
    height: 300px;
    top: -170px;
    left: -80px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-hero::after {
    width: 400px;
    height: 400px;
    right: -180px;
    bottom: -280px;
    border: 1px solid rgba(94, 190, 132, 0.18);
}

.about-hero-content {
    position: relative;
    z-index: 1;
    width: min(850px, 100%);
    margin: 0 auto;
}

.about-label {
    display: inline-block;
    margin-bottom: 18px;
    color: #80c99b;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.about-hero h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.about-hero p {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
}

/* Secciones principales */
.about-section {
    padding: 100px 24px;
}

.about-section:nth-of-type(even) {
    background: rgba(255, 255, 255, 0.72);
}

.about-layout {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: clamp(45px, 7vw, 95px);
    align-items: center;
}

.about-layout.reverse .about-text {
    order: 2;
}

.about-layout.reverse .mission-card {
    order: 1;
}

.about-text {
    position: relative;
}

.section-number {
    display: block;
    margin-bottom: 10px;
    color: #2d744e;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.2em;
}

.about-text h2 {
    position: relative;
    margin: 0 0 32px;
    padding-bottom: 19px;
    color: #0b2847;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.about-text h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 76px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2d744e 0 50%, #1c5e9c 50%);
}

.about-text p {
    margin: 0 0 20px;
    color: #4b5668;
    font-size: 1.04rem;
    line-height: 1.85;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: #173c60;
}

/* Fotografías */
.about-image {
    position: relative;
    margin: 0;
    min-height: 470px;
}

.about-image::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 76%;
    height: 76%;
    right: -18px;
    bottom: -18px;
    border-radius: 28px;
    background: linear-gradient(135deg, #2d744e, #174e7e);
    opacity: 0.9;
}

.about-image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 470px;
    object-fit: cover;
    object-position: center;
    border-radius: 28px;
    box-shadow: 0 24px 55px rgba(8, 30, 54, 0.24);
}

/* Misión */
.mission-section {
    background:
        linear-gradient(135deg, rgba(8, 32, 57, 0.98), rgba(12, 58, 89, 0.96));
}

.mission-section .about-text h2 {
    color: #ffffff;
}

.mission-section .about-text p {
    color: rgba(255, 255, 255, 0.78);
}

.mission-section .section-number {
    color: #80c99b;
}

.mission-card {
    position: relative;
    padding: clamp(48px, 7vw, 78px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 32px;
    text-align: center;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.23);
    backdrop-filter: blur(10px);
}

.mission-card::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -100px;
    bottom: -100px;
    border-radius: 50%;
    background: rgba(70, 151, 101, 0.25);
}

.mission-icon {
    display: flex;
    width: 82px;
    height: 82px;
    margin: 0 auto 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 2rem;
    background: linear-gradient(135deg, #3f9663, #276d4a);
    box-shadow: 0 12px 28px rgba(35, 112, 72, 0.38);
}

.mission-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.45;
}

/* Bloque final */
.about-closing {
    padding: 85px 24px;
    text-align: center;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(38, 108, 71, 0.96), rgba(20, 73, 118, 0.96));
}

.about-closing-content {
    width: min(800px, 100%);
    margin: 0 auto;
}

.about-closing span {
    display: block;
    margin-bottom: 18px;
    font-size: 2rem;
}

.about-closing h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.about-closing p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
    letter-spacing: 0.04em;
}

/* Adaptación para móvil */
@media (max-width: 900px) {
    .about-hero {
        min-height: 300px;
        padding: 75px 20px 60px;
    }

    .about-section {
        padding: 70px 20px;
    }

    .about-layout,
    .about-layout.reverse {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-layout.reverse .about-text,
    .about-layout.reverse .mission-card {
        order: initial;
    }

    .about-image {
        min-height: auto;
    }

    .about-image img {
        height: auto;
        min-height: 320px;
        max-height: 500px;
    }

    .mission-card {
        padding: 48px 28px;
    }
}

@media (max-width: 520px) {
    .about-hero h1 {
        font-size: 2.55rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .about-image::before {
        right: -10px;
        bottom: -10px;
    }

    .about-image img {
        min-height: 270px;
        border-radius: 22px;
    }

    .mission-card {
        border-radius: 24px;
    }
}
/* =========================================================
   PÁGINA MANIFIESTO
   ========================================================= */

.manifesto-page {
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 25%, rgba(31, 92, 148, 0.09), transparent 30%),
        radial-gradient(circle at 85% 65%, rgba(45, 116, 78, 0.08), transparent 30%),
        #f5f7fa;
    color: #172033;
}

/* Cabecera */
.manifesto-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 24px 70px;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(4, 18, 38, 0.98), rgba(11, 50, 83, 0.94)),
        #071426;
}

.manifesto-hero::before,
.manifesto-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.manifesto-hero::before {
    width: 330px;
    height: 330px;
    top: -190px;
    left: -90px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.manifesto-hero::after {
    width: 420px;
    height: 420px;
    right: -200px;
    bottom: -300px;
    border: 1px solid rgba(81, 177, 118, 0.22);
}

.manifesto-hero-content {
    position: relative;
    z-index: 1;
    width: min(850px, 100%);
    margin: 0 auto;
}

.manifesto-label {
    display: inline-block;
    margin-bottom: 17px;
    color: #83cda0;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.manifesto-hero h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.manifesto-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.7;
}

/* Documento escrito */
.manifesto-content-section {
    padding: 95px 24px;
}

.manifesto-document {
    width: min(1000px, 100%);
    margin: 0 auto;
    padding: clamp(35px, 7vw, 80px);
    border: 1px solid rgba(11, 40, 71, 0.09);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 60px rgba(10, 35, 60, 0.12);
}

.manifesto-heading {
    margin-bottom: 35px;
    text-align: center;
}

.manifesto-heading span {
    display: block;
    margin-bottom: 15px;
    font-size: 2rem;
}

.manifesto-heading h2 {
    position: relative;
    margin: 0;
    padding-bottom: 22px;
    color: #0b2847;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
}

.manifesto-heading h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 84px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2d744e 0 50%, #1c5e9c 50%);
    transform: translateX(-50%);
}

.manifesto-introduction {
    margin: 0 0 48px;
    color: #3e4a5c;
    font-size: 1.09rem;
    font-weight: 500;
    line-height: 1.9;
    text-align: justify;
}

/* Puntos del manifiesto */
.manifesto-points {
    display: grid;
    gap: 20px;
}

.manifesto-point {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 28px;
    border: 1px solid rgba(20, 73, 118, 0.09);
    border-radius: 20px;
    background: #f7f9fc;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.manifesto-point:hover {
    transform: translateY(-3px);
    border-color: rgba(45, 116, 78, 0.25);
    box-shadow: 0 12px 30px rgba(12, 44, 73, 0.09);
}

.manifesto-point-number {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, #2d744e, #174e7e);
    box-shadow: 0 8px 20px rgba(21, 74, 112, 0.22);
}

.manifesto-point p {
    margin: 0;
    color: #4b5668;
    font-size: 1.02rem;
    line-height: 1.8;
}

.manifesto-signature {
    margin-top: 55px;
    padding-top: 34px;
    border-top: 1px solid rgba(11, 40, 71, 0.13);
    text-align: center;
}

.manifesto-signature p {
    margin: 0 0 8px;
    color: #536073;
    font-style: italic;
}

.manifesto-signature strong {
    color: #123c60;
    font-size: 1.1rem;
}

/* Zona del PDF */
.manifesto-pdf-section {
    padding: 95px 24px 110px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(7, 29, 53, 0.99), rgba(12, 58, 89, 0.97));
}

.manifesto-pdf-heading {
    width: min(900px, 100%);
    margin: 0 auto 48px;
    text-align: center;
}

.manifesto-pdf-heading h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.12;
}

.manifesto-pdf-heading > p {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.77);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* Botones */
.manifesto-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 34px;
}

.manifesto-button {
    display: inline-flex;
    min-width: 190px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.manifesto-button:hover {
    transform: translateY(-2px);
}

.manifesto-button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #3d9260, #2b754e);
    box-shadow: 0 10px 25px rgba(39, 120, 75, 0.34);
}

.manifesto-button-primary:hover {
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(39, 120, 75, 0.44);
}

.manifesto-button-secondary {
    border-color: rgba(255, 255, 255, 0.65);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.manifesto-button-secondary:hover {
    color: #0b2847;
    background: #ffffff;
}

/* Visor */
.manifesto-pdf-viewer {
    width: min(1100px, 100%);
    height: 760px;
    margin: 0 auto;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.12);
    border-radius: 25px;
    background: #ffffff;
    box-shadow: 0 26px 65px rgba(0, 0, 0, 0.34);
}

.manifesto-pdf-viewer object {
    display: block;
    width: 100%;
    height: 100%;
}

/* Adaptación para móvil */
@media (max-width: 760px) {
    .manifesto-hero {
        min-height: 300px;
        padding: 75px 20px 60px;
    }

    .manifesto-content-section {
        padding: 65px 18px;
    }

    .manifesto-document {
        padding: 35px 22px;
        border-radius: 23px;
    }

    .manifesto-introduction {
        margin-bottom: 35px;
        font-size: 1rem;
        line-height: 1.78;
        text-align: left;
    }

    .manifesto-point {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 23px 20px;
    }

    .manifesto-point-number {
        width: 50px;
        height: 50px;
    }

    .manifesto-point p {
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .manifesto-pdf-section {
        padding: 70px 18px 80px;
    }

    .manifesto-pdf-viewer {
        height: 600px;
        border-width: 5px;
        border-radius: 18px;
    }
}

@media (max-width: 520px) {
    .manifesto-hero h1 {
        font-size: 2.55rem;
    }

    .manifesto-heading h2,
    .manifesto-pdf-heading h2 {
        font-size: 2rem;
    }

    .manifesto-actions {
        flex-direction: column;
    }

    .manifesto-button {
        width: 100%;
    }

    .manifesto-pdf-viewer {
        height: 500px;
    }
}

/* =========================================================
   RESPONSIVE MÓVIL - NUESTRO CORAZÓN POR BANDERA
   Este bloque solo afecta a pantallas de hasta 900px.
   No modifica la versión de ordenador.
   ========================================================= */

@media (max-width: 900px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* ---------- HERO INICIO ---------- */

    .home-hero {
        width: 100%;
        min-height: 100svh;
        overflow: hidden;
        background-size: cover;
        background-position: center center;
    }

    .home-hero .hero-inner {
        position: relative;
        left: auto;
        right: auto;
        width: calc(100% - 32px);
        max-width: none;
        margin: 0 auto;
        padding: 110px 0 50px;
        transform: none;
        text-align: center;
    }

    .home-hero .hero-logo {
        width: min(145px, 38vw);
        max-width: 145px;
        height: auto;
        margin: 0 auto 20px;
    }

    .home-hero .hero-eyebrow {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.75rem;
        line-height: 1.4;
        letter-spacing: 0.16em;
    }

    .home-hero h1 {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(2.35rem, 11vw, 4rem);
        line-height: 0.98;
        overflow-wrap: break-word;
    }

    .home-hero .hero-description {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.98rem;
        line-height: 1.5;
    }

    .home-hero .hero-actions {
        width: 100%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .home-hero .hero-actions a {
        width: 100%;
        max-width: 100%;
        margin: 0;
        text-align: center;
    }

    /* ---------- INTRODUCCIÓN ---------- */

    .home-introduction {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-introduction .section-heading {
        width: 100%;
        max-width: 100%;
    }

    .home-introduction h2 {
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.08;
    }

    .home-introduction .introduction-text {
        width: 100%;
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.65;
    }

    /* ---------- TARJETAS DE VALORES ---------- */

    .values-section {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .value-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .value-card h3 {
        font-size: 1.35rem;
        line-height: 1.2;
    }

    .value-card p {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    /* ---------- CTA ---------- */

    .home-cta {
        width: calc(100% - 32px);
        margin-left: auto;
        margin-right: auto;
    }

    .home-cta > div {
        width: 100%;
        max-width: 100%;
    }

    .home-cta h2 {
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.08;
    }

    .home-cta .primary-action {
        max-width: 100%;
    }

    /* ---------- SECCIONES GENERALES ---------- */

    .section-heading,
    .section-heading h2,
    .section-heading p {
        max-width: 100%;
    }

    /* Evita que elementos anchos provoquen scroll horizontal */
    table,
    iframe,
    video {
        max-width: 100%;
    }

}

/* ---------- MÓVILES PEQUEÑOS ---------- */

@media (max-width: 520px) {

    .home-hero .hero-inner {
        width: calc(100% - 28px);
        padding-top: 95px;
        padding-bottom: 40px;
    }

    .home-hero .hero-logo {
        width: 125px;
        max-width: 125px;
        margin-bottom: 16px;
    }

    .home-hero h1 {
        font-size: clamp(2.15rem, 12vw, 3.2rem);
    }

    .home-hero .hero-description {
        font-size: 0.94rem;
    }

    .home-introduction,
    .values-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .home-cta {
        width: calc(100% - 28px);
    }

}


/* AJUSTE MOVIL SEGURO */
@media (max-width: 900px) {

    html, body {
        overflow-x: hidden !important;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
    }

    .about-page {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .about-page section,
    .about-page article {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .about-page p,
    .about-page h1,
    .about-page h2,
    .about-page h3 {
        max-width: 100% !important;
        overflow-wrap: break-word !important;
    }

}

@media (max-width: 520px) {

    .about-page {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .about-page h1 {
        font-size: 2.4rem !important;
        line-height: 1.08 !important;
    }

    .about-page h2 {
        font-size: 2.15rem !important;
        line-height: 1.1 !important;
    }

    .about-page p {
        font-size: 1rem !important;
        line-height: 1.55 !important;
    }

}


/* =========================================================
   CORRECCIÓN MÓVIL DEFINITIVA - NUESTRO CORAZÓN POR BANDERA
   Solo afecta a pantallas de hasta 900px
   ========================================================= */

@media (max-width: 900px) {

    /* ---------- BASE ---------- */

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    img,
    video,
    iframe {
        max-width: 100% !important;
    }

    /* ---------- PÁGINA QUIÉNES SOMOS ---------- */

    .about-page {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .about-page section,
    .about-page article {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .about-page h1,
    .about-page h2,
    .about-page h3,
    .about-page p {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }

    .about-page h1 {
        font-size: clamp(2rem, 9vw, 2.8rem) !important;
        line-height: 1.05 !important;
        margin-top: 0 !important;
    }

    .about-page h2 {
        font-size: clamp(1.9rem, 8vw, 2.5rem) !important;
        line-height: 1.1 !important;
    }

    .about-page p {
        font-size: 1rem !important;
        line-height: 1.55 !important;
    }

    /* ---------- IMÁGENES DE QUIÉNES SOMOS ---------- */

    .about-image {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 24px 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .about-image img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        object-fit: contain !important;
    }

    /* ---------- CONTENEDORES GENERALES ---------- */

    .section-heading,
    .section-heading h2,
    .section-heading p {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* ---------- HOME ---------- */

    .home-introduction,
    .values-section,
    .home-cta {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .home-introduction,
    .values-section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .home-cta {
        width: calc(100% - 32px) !important;
        margin-left: 16px !important;
        margin-right: 16px !important;
    }

    /* ---------- HERO ---------- */

    .home-hero {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .home-hero .hero-inner {
        width: calc(100% - 32px) !important;
        max-width: 100% !important;
        margin-left: 16px !important;
        margin-right: 16px !important;
    }

    .home-hero h1 {
        max-width: 100% !important;
        overflow-wrap: break-word !important;
    }

    .home-hero .hero-description {
        max-width: 100% !important;
        overflow-wrap: break-word !important;
    }

    .home-hero .hero-actions,
    .home-hero .hero-stats {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* ---------- MANIFIESTO ---------- */

    .manifesto-page,
    .manifesto-page section,
    .manifesto-page article {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .manifesto-page {
        padding-left: 16px !important;
        padding-right: 16px !important;
        overflow-x: hidden !important;
    }

    .manifesto-page h1,
    .manifesto-page h2,
    .manifesto-page h3,
    .manifesto-page p {
        max-width: 100% !important;
        overflow-wrap: break-word !important;
    }

    /* ---------- EVITAR ELEMENTOS QUE PROVOQUEN DESBORDAMIENTO ---------- */

    table {
        max-width: 100% !important;
    }

    iframe {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* ---------- BOTONES ---------- */

    .primary-action,
    .secondary-action,
    .manifesto-button {
        max-width: 100% !important;
    }

}

/* =========================================================
   MÓVILES PEQUEÑOS
   ========================================================= */

@media (max-width: 520px) {

    .about-page {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .about-page h1 {
        font-size: clamp(2rem, 10vw, 2.5rem) !important;
    }

    .about-page h2 {
        font-size: clamp(1.8rem, 9vw, 2.25rem) !important;
    }

    .about-page p {
        font-size: 1rem !important;
        line-height: 1.55 !important;
    }

    .about-image {
        margin-top: 20px !important;
        margin-bottom: 28px !important;
    }

    .home-introduction,
    .values-section {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

}


/* =========================================================
   CORRECCIÓN REAL DE ANCHO MÓVIL
   Evita que contenedores e imágenes hereden el ancho desktop
   ========================================================= */

@media (max-width: 900px) {

    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    /* Todo debe calcularse respecto al ancho de la pantalla */
    .about-page {
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        overflow-x: hidden !important;
    }

    /* Secciones sin anchuras heredadas del escritorio */
    .about-page section,
    .about-page article,
    .about-page div {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* =====================================================
       IMÁGENES
       ===================================================== */

    .about-image {
        display: block !important;
        position: relative !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding-left: 0 !important;
        padding-right: 0 !important;

        overflow: hidden !important;
    }

    .about-image img {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: auto !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding: 0 !important;

        object-fit: contain !important;
    }

    /* Nada dentro de la página puede ser más ancho que ella */
    .about-page img,
    .about-page video,
    .about-page iframe {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* Texto siempre dentro del margen móvil */
    .about-page h1,
    .about-page h2,
    .about-page h3,
    .about-page p {
        max-width: 100% !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        overflow-wrap: break-word !important;
        word-break: normal !important;
    }
}

/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 520px) {

    .about-page {
        width: 100% !important;
        max-width: 100vw !important;

        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .about-image {
        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .about-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}


/* ==========================================================
   QUIÉNES SOMOS — CORRECCIÓN REAL PARA MÓVIL
   No modifica escritorio ni HOME
   ========================================================== */

@media (max-width: 900px) {

    /* La página debe ocupar EXACTAMENTE el ancho del móvil */
    .about-page {
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
    }

    /* Todas las secciones de Quiénes somos */
    .about-page > section,
    .about-page section,
    .about-page article,
    .about-page .about-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
    }

    /* El texto sí lleva margen interior */
    .about-page section > div:not(.about-image),
    .about-page .about-content {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    /* ------------------------------------------------------
       IMÁGENES
       La imagen ocupa el ancho REAL de la pantalla
       y queda perfectamente centrada.
       ------------------------------------------------------ */

    .about-page .about-image {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        transform: none !important;
        overflow: hidden !important;
    }

    .about-page .about-image img,
    .about-page img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
        object-fit: cover !important;
    }

    /* ------------------------------------------------------
       TÍTULOS
       ------------------------------------------------------ */

    .about-page h1,
    .about-page h2,
    .about-page h3 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    .about-page h1 {
        font-size: clamp(2.15rem, 9vw, 3rem) !important;
        line-height: 1.08 !important;
    }

    .about-page h2 {
        font-size: clamp(2rem, 8.5vw, 2.8rem) !important;
        line-height: 1.08 !important;
    }

    /* ------------------------------------------------------
       PÁRRAFOS
       ------------------------------------------------------ */

    .about-page p {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        font-size: 1rem !important;
        line-height: 1.55 !important;
    }

    /* ------------------------------------------------------
       ELEMENTOS QUE PUEDAN EMPUJAR LA PÁGINA
       ------------------------------------------------------ */

    .about-page table,
    .about-page iframe,
    .about-page video,
    .about-page figure {
        max-width: 100% !important;
    }

    /* Nada dentro de Quiénes somos puede generar
       una anchura mayor que la pantalla */
    .about-page * {
        max-width: 100% !important;
    }

    .about-page .about-image,
    .about-page .about-image img {
        max-width: 100vw !important;
    }
}

/* Ajuste específico para iPhone / móviles pequeños */
@media (max-width: 520px) {

    .about-page {
        width: 100vw !important;
        max-width: 100vw !important;
    }

    .about-page section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .about-page .about-image {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .about-page .about-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

}


/* =========================================================
   CORRECCIÓN DEFINITIVA MÓVIL - QUIÉNES SOMOS
   ========================================================= */

@media (max-width: 520px) {

    /* Nunca permitir que la página sea más ancha que el móvil */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    /* Todo calcula padding y borde dentro del ancho disponible */
    .about-page,
    .about-page *,
    .about-page *::before,
    .about-page *::after {
        box-sizing: border-box !important;
    }

    /* Contenedor principal */
    .about-page {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    /* Secciones de Quiénes somos */
    .about-page section {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        overflow: hidden !important;
    }

    /* Texto */
    .about-page p,
    .about-page h1,
    .about-page h2,
    .about-page h3,
    .about-page .section-heading,
    .about-page .section-heading * {
        max-width: 100% !important;
        width: auto !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    /* Contenedor de las fotografías */
    .about-page .about-image {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* Fotografías */
    .about-page .about-image img,
    .about-page figure img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        object-fit: contain !important;
    }

    /* Evita que tablas, iframes o vídeos creen scroll */
    .about-page table,
    .about-page iframe,
    .about-page video {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Títulos grandes: que nunca provoquen desbordamiento */
    .about-page h1,
    .about-page h2 {
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }
}


/* ==========================================================
   FIX MÓVIL - QUIÉNES SOMOS
   ========================================================== */

@media (max-width: 520px) {

    .about-page {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .about-page section {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .about-page .about-image {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .about-page .about-image img,
    .about-page figure img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        object-fit: contain !important;
    }

    .about-page figure {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .about-page p,
    .about-page h1,
    .about-page h2,
    .about-page h3,
    .about-page .section-heading {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    html,
    body {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}


/* ==========================================================
   FIX DEFINITIVO MÓVIL — QUIÉNES SOMOS
   ========================================================== */

@media (max-width: 520px) {

    /* La página nunca puede ser más ancha que el móvil */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    /* Contenedor principal */
    .about-page {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* Todas las secciones */
    .about-page section {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Layout de cada bloque */
    .about-page .about-layout {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Texto */
    .about-page .about-text {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }

    /* Contenedor de la foto */
    .about-page .about-image {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 24px 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* La foto ocupa exactamente el ancho disponible */
    .about-page .about-image img,
    .about-page figure img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        object-fit: contain !important;
    }

    /* Textos: nunca pueden provocar ancho horizontal */
    .about-page p,
    .about-page h1,
    .about-page h2,
    .about-page h3,
    .about-page span {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    /* Títulos grandes */
    .about-page h1,
    .about-page h2 {
        font-size: clamp(2rem, 9vw, 3rem) !important;
        line-height: 1.08 !important;
    }

    /* Evita elementos internos que puedan crear scroll */
    .about-page table,
    .about-page iframe,
    .about-page video {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}


/* =========================================================
   CORRECCIÓN FINAL MÓVIL - QUIÉNES SOMOS
   ========================================================= */

@media (max-width: 520px) {

    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    .about-page {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .about-page *,
    .about-page *::before,
    .about-page *::after {
        box-sizing: border-box !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    /* Contenido */
    .about-page section,
    .about-page .about-section {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        overflow-x: hidden !important;
    }

    /* Evita que el layout de escritorio fuerce anchura */
    .about-page .about-layout {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .about-page .about-text {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* FOTOGRAFÍAS */
    .about-page .about-image,
    .about-page figure.about-image {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 30px 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .about-page .about-image img,
    .about-page figure.about-image img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        object-fit: contain !important;
    }

    /* Texto */
    .about-page p,
    .about-page h1,
    .about-page h2,
    .about-page h3,
    .about-page .section-heading {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    .about-page h2 {
        font-size: clamp(2rem, 10vw, 3rem) !important;
        line-height: 1.05 !important;
    }

    .about-page p {
        font-size: 1rem !important;
        line-height: 1.55 !important;
    }

    /* Nada puede crear scroll horizontal */
    .about-page table,
    .about-page iframe,
    .about-page video {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* =========================================================
   FIX DEFINITIVO MÓVIL - GRID QUIÉNES SOMOS
   La versión escritorio NO se modifica
   ========================================================= */

@media (max-width: 900px) {

    /* El layout de dos columnas pasa a una sola */
    .about-page .about-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        gap: 35px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* Cada elemento de la sección ocupa el ancho disponible */
    .about-page .about-layout > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* El texto no puede empujar el layout */
    .about-page .about-text {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* La fotografía queda centrada dentro de la pantalla */
    .about-page .about-layout > .about-image,
    .about-page .about-layout > figure.about-image {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .about-page .about-image img,
    .about-page figure.about-image img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        object-fit: contain !important;
        box-sizing: border-box !important;
    }
}


/* =========================================================
   CORRECCIÓN DEFINITIVA MÓVIL - QUIÉNES SOMOS
   Elimina el ancho mínimo de la cuadrícula de escritorio
   y adapta completamente las secciones a una sola columna.
   ========================================================= */

@media (max-width: 900px) {

    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    .about-page {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    .about-page .about-section {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 70px 16px !important;
        box-sizing: border-box !important;
    }

    .about-page .about-layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 35px !important;
        box-sizing: border-box !important;
    }

    .about-page .about-layout > .about-text,
    .about-page .about-layout > .about-image,
    .about-page .about-layout > figure.about-image,
    .about-page .about-layout > .mission-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .about-page .about-image,
    .about-page figure.about-image {
        min-height: 0 !important;
        height: auto !important;
        overflow: visible !important;
    }

    .about-page .about-image::before {
        width: 76% !important;
        max-width: 76% !important;
        right: -8px !important;
        bottom: -8px !important;
    }

    .about-page .about-image img,
    .about-page figure.about-image img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center !important;
        box-sizing: border-box !important;
    }

    .about-page .about-text {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
    }

    .about-page .about-text h2,
    .about-page .about-text p {
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
    }

    .about-page .about-layout.reverse .about-text {
        order: 1 !important;
    }

    .about-page .about-layout.reverse .about-image,
    .about-page .about-layout.reverse .mission-card {
        order: 2 !important;
    }
}

/* =========================================================
   QUIÉNES SOMOS - ESCRITORIO
   Quitar únicamente la tarjeta decorativa que aparece
   detrás de las fotografías.
   No afecta al móvil.
   ========================================================= */

@media (min-width: 901px) {
    .about-page .about-image::before {
        display: none !important;
    }
}

/* =========================================================
   PORTADA: indicador abajo y centrado, texto centrado (nov 2026)
   La regla «.hero-content, .scroll-indicator { position: relative }»
   convertía el indicador en un elemento más de la fila flex de
   .home-hero: le quitaba sitio a .hero-content, lo desplazaba a la
   izquierda y dejaba el indicador fuera de la pantalla (en móvil y en
   escritorio). El indicador vuelve a ir fuera del flujo, abajo y
   centrado, como en la regla original de .scroll-indicator.
   ========================================================= */
.home-hero .scroll-indicator {
  position: absolute;
}

/* Menú de escritorio con «Donaciones»: más compacto para que quepa sin salirse. */
@media (min-width: 901px) and (max-width: 1399px) {
    .main-navigation {
        gap: 0;
    }

    .main-navigation a {
        padding: 10px 7px;
        font-size: 13px;
    }

    .main-navigation .join-button {
        margin-left: 6px;
        padding: 10px 14px;
    }
}

@media (min-width: 901px) and (max-width: 1099px) {
    .main-navigation a {
        padding: 9px 5px;
        font-size: 12.5px;
    }

    .main-navigation .join-button {
        margin-left: 4px;
        padding: 9px 10px;
    }

    .brand-name {
        display: none;
    }
}

@media (min-width: 901px) and (max-width: 999px) {
    .main-navigation a {
        padding: 9px 3px;
        font-size: 12px;
    }

    .main-navigation .join-button {
        padding: 8px;
    }
}
