/* =================================================================
   HITO: los fundadores a lo grande, la oposición en cifras, la página
   /quienes-somos, la guía /oposicion-guardia-civil, las redes del pie
   y los ajustes para móviles pequeños y pantallas grandes.
   Mismos tokens, mismas fuentes.
   ================================================================= */

/* ---------- Hero: tira de los fundadores ---------- */

.hero-fd {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: var(--opogc-space-16);
    padding: 6px 14px 6px 6px;
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius-pill);
    box-shadow: var(--opogc-shadow-xs);
    color: var(--opogc-text);
    font-size: 0.84rem;
    font-weight: 600;
    transition: border-color var(--opogc-transition), box-shadow var(--opogc-transition), transform var(--opogc-transition);
}

.hero-fd:hover,
.hero-fd:focus {
    border-color: var(--opogc-green-border);
    box-shadow: var(--opogc-shadow-sm);
    transform: translateY(-1px);
    color: var(--opogc-green-deep);
}

.hero-fd__avs {
    display: inline-flex;
    flex-shrink: 0;
}

.hero-fd__av {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--opogc-green-deep);
    color: #fff;
    font-family: var(--opogc-font-title);
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    box-shadow: var(--opogc-shadow-xs);
}

.hero-fd__av + .hero-fd__av {
    margin-left: -10px;
    background: var(--opogc-green-pastel);
}

.hero-fd__tx {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hero-fd__tx svg {
    width: 14px;
    height: 14px;
    color: var(--opogc-green-pastel);
}

@media (max-width: 1024px) {
    .opogc-hero-content .hero-fd {
        margin-inline: auto;
    }
}

/* ---------- La oposición en cifras ---------- */

.cf-sec {
    padding-top: var(--opogc-space-48);
    padding-bottom: var(--opogc-space-64);
    background: var(--opogc-white);
}

.cf-sec .opogc-section__eyebrow {
    margin-bottom: var(--opogc-space-8);
}

.cf-sec .opogc-section__title {
    font-size: clamp(1.55rem, 2.5vw, 1.95rem);
    margin-bottom: 0;
}

.cf-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--opogc-space-24);
    margin-top: var(--opogc-space-24);
    align-items: stretch;
}

.cf-item {
    position: relative;
    padding: var(--opogc-space-24) var(--opogc-space-16);
    background: var(--opogc-white-off);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    overflow: hidden;
    box-shadow: var(--opogc-shadow-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) {
    .cf-item:hover {
        transform: translateY(-2px);
        box-shadow: var(--opogc-shadow-sm);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cf-item {
        transition: none;
    }
    .cf-item:hover {
        transform: none;
    }
}

.cf-item::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: rgba(76, 175, 125, 0.45);
}

.cf-num {
    font-family: var(--opogc-font-title);
    font-size: clamp(2rem, 3.8vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--opogc-green-deep);
    font-variant-numeric: tabular-nums;
}

.cf-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--opogc-text);
    line-height: 1.35;
}

.cf-sub {
    font-size: 0.82rem;
    color: var(--opogc-text-muted);
    line-height: 1.35;
    margin-top: auto;
    padding-top: 6px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Énfasis sutil: los aspirantes (dato clave de competencia) */
.cf-item--featured {
    background: var(--opogc-white);
    border-color: rgba(76, 175, 125, 0.38);
    box-shadow: 0 4px 18px rgba(26, 107, 64, 0.08);
}

.cf-item--featured::before {
    height: 3px;
    background: var(--opogc-green-deep);
}

.cf-item--featured .cf-sub {
    color: var(--opogc-green-deep);
    font-weight: 600;
    font-size: 0.78rem;
    background: rgba(76, 175, 125, 0.12);
    border: 1px solid rgba(76, 175, 125, 0.22);
    padding: 0.2rem 0.65rem;
    border-radius: var(--opogc-radius-pill);
    min-height: 0;
}

/* Diferenciación: Academia tradicional vs OpoVinco (alternativa accesible, sobria sin competir como CTA) */
.cf-item--compare {
    background: var(--opogc-white);
    border-color: rgba(76, 175, 125, 0.18);
    box-shadow: var(--opogc-shadow-xs);
    padding-top: 1.15rem;
}

.cf-item--compare::before {
    height: 3px;
    background: rgba(76, 175, 125, 0.35);
}

.cf-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--opogc-text-muted);
    line-height: 1.2;
    margin-bottom: 2px;
}

.cf-item--compare .cf-num {
    color: var(--opogc-text);
}

.cf-item--compare .cf-label {
    color: var(--opogc-text-soft);
    font-size: 0.92rem;
    font-weight: 600;
}

.cf-item--compare .cf-sub {
    padding: 0.32rem 0.85rem;
    background: var(--opogc-green-soft);
    border: 1px solid var(--opogc-green-border);
    border-radius: var(--opogc-radius-pill);
    color: var(--opogc-green-deep);
    font-size: 0.82rem;
    font-weight: 700;
    min-height: 0;
}

.cf-fuente {
    margin: var(--opogc-space-24) auto 0;
    max-width: 540px;
    font-size: 0.8rem;
    color: var(--opogc-text-muted);
    line-height: 1.55;
    text-align: center;
    text-wrap: balance;
}

.cf-fuente a {
    display: block;
    width: fit-content;
    margin: 10px auto 0;
    white-space: nowrap;
    font-weight: 700;
    color: var(--opogc-green-deep);
    text-decoration: underline;
    text-decoration-color: rgba(26, 107, 64, 0.35);
    text-underline-offset: 3px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.cf-fuente a:hover {
    color: var(--opogc-green-mid);
    text-decoration-color: var(--opogc-green-mid);
}

.cf-fuente a:focus-visible {
    outline: 2px solid var(--opogc-green-pastel);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ---------- Quiénes somos: fichas ---------- */

.fd-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--opogc-space-24);
    max-width: 920px;
    margin: 0 auto var(--opogc-space-32);
}

.fd-pro {
    position: relative;
    display: flex;
    gap: var(--opogc-space-24);
    align-items: flex-start;
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-24);
    box-shadow: var(--opogc-shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--opogc-transition), transform var(--opogc-transition);
}

.fd-pro:hover {
    box-shadow: var(--opogc-shadow-md);
    transform: translateY(-2px);
}

.fd-pro::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--opogc-green-deep), var(--opogc-green-pastel));
}

.fd-pro__media {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 124px;
}

.fd-pro__foto {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--opogc-white);
    box-shadow: 0 0 0 3px var(--opogc-green-border), var(--opogc-shadow-sm);
    background: var(--opogc-green-soft);
}

.fd-pro__foto--ini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--opogc-green-deep), var(--opogc-green-mid));
    color: #fff;
    font-family: var(--opogc-font-title);
    font-weight: 800;
    font-size: 2.4rem;
}

.fd-pro__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.25rem 0.6rem;
    background: var(--opogc-green-deep);
    color: #fff;
    border-radius: var(--opogc-radius-pill);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.3;
}

.fd-pro__badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.fd-pro__body {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.fd-pro__name {
    font-size: 1.35rem;
    margin: 0 0 2px;
}

.fd-pro__extra {
    margin: 0 0 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--opogc-gold-deep);
}

.fd-pro__rol {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--opogc-green-deep);
}

.fd-pro__rol svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.fd-pro__bio {
    margin: 0;
    font-size: 0.9rem;
    color: var(--opogc-text-soft);
    line-height: 1.6;
}

.fd-pro__link {
    margin: 10px 0 0;
    font-size: 0.84rem;
    font-weight: 700;
}

.fd-sellos {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: var(--opogc-space-24) 0 0;
}

.fd-sellos li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.8rem;
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--opogc-text-soft);
}

.fd-sellos li svg {
    width: 13px;
    height: 13px;
    color: var(--opogc-green-pastel);
}

.fd-sellos--left {
    justify-content: flex-start;
    margin-top: var(--opogc-space-24);
}

/* ---------- /quienes-somos ---------- */

.qs-hero {
    background: var(--opogc-white-off);
    position: relative;
    overflow: hidden;
}

.qs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(76, 175, 125, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 175, 125, 0.055) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.qs-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--opogc-space-48);
    align-items: center;
}

.qs-hero .opogc-hero__subtitle {
    margin-bottom: 0;
}

.fd-grid--hero {
    grid-template-columns: 1fr;
    margin: 0;
    max-width: none;
}

.qs-def {
    display: flex;
    gap: var(--opogc-space-16);
    align-items: flex-start;
    max-width: 880px;
    margin-inline: auto;
    padding: var(--opogc-space-24) var(--opogc-space-32);
    background: var(--opogc-white);
    border: 1px solid var(--opogc-green-border);
    border-left: 5px solid var(--opogc-green-pastel);
    border-radius: var(--opogc-radius);
    box-shadow: var(--opogc-shadow-sm);
}

.qs-def__ic {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--opogc-green-soft);
    color: var(--opogc-green-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qs-def__ic img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
}

.qs-def__ic svg {
    width: 22px;
    height: 22px;
}

.qs-def__h {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--opogc-green-pastel);
    margin: 0 0 6px;
}

.qs-def__p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--opogc-text);
}

.mf-grid {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--opogc-space-24);
    text-align: left;
    margin-top: var(--opogc-space-16);
}

.mf-item {
    flex: 1 1 280px;
    max-width: calc(33.333% - var(--opogc-space-16));
    position: relative;
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-32) var(--opogc-space-24) var(--opogc-space-24);
    box-shadow: var(--opogc-shadow-xs);
}

.mf-item__n {
    display: inline-block;
    font-family: var(--opogc-font-title);
    font-size: 2rem;
    font-weight: 800;
    color: var(--opogc-green-border);
    line-height: 1;
    margin-bottom: var(--opogc-space-12);
}

.mf-item__t {
    font-size: 1.05rem;
    margin: 0 0 8px;
}

.mf-item__d {
    margin: 0;
    font-size: 0.9rem;
    color: var(--opogc-text-soft);
    line-height: 1.6;
}

.pr-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--opogc-space-48);
    align-items: start;
}

.pr-steps {
    list-style: none;
    display: grid;
    gap: var(--opogc-space-16);
    position: relative;
}

.pr-step {
    display: flex;
    gap: var(--opogc-space-16);
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-16) var(--opogc-space-24);
    box-shadow: var(--opogc-shadow-xs);
}

.pr-step__n {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--opogc-green-deep);
    color: #fff;
    font-family: var(--opogc-font-title);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pr-step__t {
    font-size: 1rem;
    margin: 6px 0 4px;
}

.pr-step__d {
    margin: 0;
    font-size: 0.88rem;
    color: var(--opogc-text-soft);
    line-height: 1.55;
}

/* ---------- Guía de la oposición ---------- */

.gu-hero {
    background: var(--opogc-white-off);
    position: relative;
    overflow: hidden;
    padding-bottom: var(--opogc-space-48);
}

.gu-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 0% 0%, rgba(76, 175, 125, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse 40% 50% at 100% 10%, rgba(201, 168, 76, 0.10) 0%, transparent 50%);
    pointer-events: none;
}

.gu-hero > .opogc-wrap {
    position: relative;
    max-width: 880px;
}

.gu-hero__h1 {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
}

.gu-hero__sub {
    max-width: 760px;
}

.gu-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 var(--opogc-space-24);
    font-size: 0.86rem;
    color: var(--opogc-text-soft);
}

.gu-meta a {
    font-weight: 700;
}

.gu-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--opogc-space-32);
}

.gu-toc a {
    padding: 0.4rem 0.9rem;
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--opogc-text-soft);
    transition: all var(--opogc-transition);
}

.gu-toc a:hover,
.gu-toc a:focus {
    background: var(--opogc-green-soft);
    border-color: var(--opogc-green-pastel);
    color: var(--opogc-green-deep);
}

.gu-def {
    margin-inline: 0;
    max-width: none;
}

.gu-split {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: var(--opogc-space-48);
    align-items: start;
}

.gu-check {
    list-style: none;
    display: grid;
    gap: 10px;
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-24);
    box-shadow: var(--opogc-shadow-xs);
}

.gu-check li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.94rem;
    line-height: 1.5;
    color: var(--opogc-text);
}

.gu-check svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    padding: 3px;
    border-radius: 50%;
    background: var(--opogc-green-soft);
    color: var(--opogc-green-deep);
    margin-top: 1px;
}

.gu-pruebas {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--opogc-space-16);
    text-align: left;
    margin-top: var(--opogc-space-16);
}

.gu-prueba {
    position: relative;
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-24) var(--opogc-space-16) var(--opogc-space-16);
    box-shadow: var(--opogc-shadow-xs);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gu-prueba__n {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--opogc-green-deep);
    color: #fff;
    font-family: var(--opogc-font-title);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.gu-prueba__k {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.18rem 0.55rem;
    background: var(--opogc-gold-soft);
    border: 1px solid var(--opogc-gold-border);
    color: var(--opogc-gold-deep);
    border-radius: var(--opogc-radius-pill);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gu-prueba__t {
    font-size: 0.98rem;
    margin: 0;
}

.gu-prueba__d {
    margin: 0;
    font-size: 0.84rem;
    color: var(--opogc-text-soft);
    line-height: 1.5;
}

.gu-cal {
    list-style: none;
    position: relative;
    display: grid;
    gap: 0;
    padding-left: 0;
}

.gu-cal__item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: var(--opogc-space-16);
    padding: 14px 0;
    border-top: 1px solid var(--opogc-border);
    position: relative;
}

.gu-cal__item:first-child {
    border-top: 0;
}

.gu-cal__c {
    font-family: var(--opogc-font-title);
    font-weight: 700;
    color: var(--opogc-green-deep);
    font-size: 0.92rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.gu-cal__c::before {
    content: '';
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--opogc-green-pastel);
    margin-top: 6px;
    box-shadow: 0 0 0 4px var(--opogc-green-soft);
}

.gu-cal__q {
    font-size: 0.92rem;
    color: var(--opogc-text-soft);
    line-height: 1.55;
}

.gu-bloques {
    display: grid;
    gap: var(--opogc-space-16);
}

.gu-bloque {
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-16) var(--opogc-space-24);
    box-shadow: var(--opogc-shadow-xs);
}

.gu-bloque__tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--opogc-green-pastel);
}

.gu-bloque__t {
    font-size: 1rem;
    margin: 4px 0 4px;
}

.gu-bloque__d {
    margin: 0;
    font-size: 0.86rem;
    color: var(--opogc-text-soft);
    line-height: 1.5;
}

.gu-consejos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--opogc-space-16);
    text-align: left;
    margin-top: var(--opogc-space-16);
}

.gu-consejo {
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-24);
    box-shadow: var(--opogc-shadow-xs);
}

.gu-consejo__n {
    font-family: var(--opogc-font-title);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--opogc-green-border);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.gu-consejo__t {
    font-size: 1rem;
    margin: 0 0 6px;
}

.gu-consejo__d {
    margin: 0;
    font-size: 0.88rem;
    color: var(--opogc-text-soft);
    line-height: 1.55;
}

.gu-fuentes__h {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--opogc-text-muted);
    margin-bottom: var(--opogc-space-12);
}

.gu-fuentes {
    list-style: none;
    display: grid;
    gap: 6px;
    font-size: 0.86rem;
}

.gu-fuentes a {
    color: var(--opogc-text-soft);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gu-fuentes a:hover {
    color: var(--opogc-green-deep);
}


/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .cf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qs-hero__inner,
    .pr-inner,
    .gu-split {
        grid-template-columns: 1fr;
        gap: var(--opogc-space-32);
    }

    .gu-consejos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mf-item {
        max-width: calc(50% - var(--opogc-space-12));
    }

    .gu-pruebas {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fd-sellos--left {
        justify-content: center;
    }

    .qs-hero__text {
        text-align: center;
    }
}

@media (max-width: 720px) {
    .fd-grid,
    .gu-consejos {
        grid-template-columns: 1fr;
    }

    .mf-item {
        max-width: none;
    }

    .gu-pruebas {
        grid-template-columns: 1fr 1fr;
    }

    .fd-pro {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: var(--opogc-space-32) var(--opogc-space-24) var(--opogc-space-24);
    }

    .fd-pro__body {
        text-align: center;
    }

    .fd-pro__rol {
        justify-content: center;
    }

    .qs-def {
        flex-direction: column;
        padding: var(--opogc-space-24) var(--opogc-space-16);
    }

    .gu-cal__item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .cf-sec {
        padding-top: var(--opogc-space-32);
        padding-bottom: var(--opogc-space-48);
    }

    .cf-sec .opogc-section__title {
        font-size: clamp(1.4rem, 5.5vw, 1.7rem);
    }

    .cf-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: var(--opogc-space-20);
    }

    .cf-item {
        padding: 1.25rem 1.4rem;
        gap: 6px;
    }

    .cf-num {
        font-size: clamp(2.1rem, 7vw, 2.5rem);
    }

    .cf-fuente {
        margin-top: var(--opogc-space-20);
        padding-inline: var(--opogc-space-12);
        font-size: 0.78rem;
    }
}

/* Móviles pequeños (320–360): menos aire, títulos un punto más cortos, nada se corta. */
@media (max-width: 380px) {
    .opogc-wrap,
    .opogc-hero-inner,
    .opogc-trust-bar-inner,
    .opogc-cta-final-inner {
        width: calc(100% - 1.5rem);
    }

    .entry-title,
    .opogc-hero h1 {
        font-size: 1.72rem;
    }

    .opogc-section__title {
        font-size: 1.4rem;
    }

    .opogc-kicker {
        font-size: 0.68rem;
        letter-spacing: 0.04em;
        padding: 0.25rem 0.7rem;
    }

    .opogc-hero__subtitle,
    .opogc-section__subtitle {
        font-size: 0.98rem;
    }

    .cf-grid,
    .gu-pruebas {
        grid-template-columns: 1fr;
    }

    .cf-num {
        font-size: 2rem;
    }

    .hero-fd {
        font-size: 0.78rem;
        white-space: normal;
        text-align: left;
    }

    .opogc-wl__form {
        padding: 6px;
    }

    .opogc-wl__ok {
        padding: var(--opogc-space-16) var(--opogc-space-12);
    }

    .opogc-wl__share .opogc-btn {
        width: 100%;
    }

    /* Ningún botón se sale de una pantalla de 320: los largos parten la línea. */
    .opogc-btn {
        max-width: 100%;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    .opogc-btn--lg {
        font-size: 0.95rem;
        padding: 0.72rem 1.3rem;
    }
}

/* Pantallas grandes: la rejilla crece un poco y el hero respira. */
@media (min-width: 1440px) {
    :root {
        --opogc-max-w: 1220px;
    }

    .opogc-hero {
        padding-top: calc(var(--opogc-space-80) + 1.5rem);
        padding-bottom: calc(var(--opogc-space-64) + 1rem);
    }

    .entry-title,
    .opogc-hero h1 {
        font-size: clamp(2.2rem, 2.7vw, 2.85rem);
    }

    .opogc-hero-content {
        max-width: 680px;
    }

    .opogc-hero__subtitle {
        font-size: 1.14rem;
    }
}

@media (min-width: 1920px) {
    :root {
        --opogc-max-w: 1280px;
    }
}
