/*--------------------------------------------------------------
  Candidatura Mario López — estilos propios sobre la plantilla Politian
----------------------------------------------------------------*/
:root {
    --navy: #0E1F3D;
    --navy-deep: #061024;
    --navy-soft: #1B355F;
    --gold: #C9A24B;
    --gold-dark: #9C7A2E;
    --gold-light: #E6CF94;
    --cream: #F7F3EA;
    --text: #4A4F5C;
    --gradient-gold: linear-gradient(90deg, #C9A24B 11.32%, #9C7A2E 95.28%);
    --gradient-navy: linear-gradient(286.02deg, #061024 38.02%, #0A1830 61.92%, #122649 74.32%, #1B355F 90.71%, #152D55 99.65%);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { color: var(--text); }
p { color: var(--text); }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100000;
    background: var(--gold); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 16px; top: 16px; }

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

/* ---------- Botones ---------- */
.theme-btn { border-radius: 2px; letter-spacing: .5px; }
.theme-btn-outline {
    display: inline-block;
    padding: 14px 34px;
    font-family: "Futura PT";
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(201, 162, 75, .7);
    border-radius: 2px;
    transition: all .3s;
}
.theme-btn-outline:hover, .theme-btn-outline:focus { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---------- Encabezado ---------- */
.marca {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    color: #fff !important;
}
.marca .emblema { width: 44px; height: 44px; color: var(--gold); flex-shrink: 0; }
.marca-texto { display: flex; flex-direction: column; line-height: 1.1; }
.marca-texto strong {
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 1px;
    color: #fff;
}
.marca-texto small {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 4px;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .wpo-site-header-s1 #navbar > ul { justify-content: center; }
    .wpo-site-header-s1 #navbar > ul > li > a { font-size: 17px; }
    .wpo-site-header-s1 #navbar > ul > li > a:hover,
    .wpo-site-header-s1 #navbar > ul > li > a.active { color: var(--gold); }
}
@media (max-width: 991px) {
    .marca .emblema { width: 36px; height: 36px; }
    .marca-texto strong { font-size: 18px; }
    .marca-texto small { font-size: 10px; letter-spacing: 1px; }
    .wpo-site-header #navbar > ul > li a { padding: 14px 30px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
    .wpo-site-header #navbar > ul > li a.active { color: var(--gold); }
    .wpo-site-header .header-right { display: flex; justify-content: flex-end; }
}
.wpo-site-header .header-right .close-form .theme-btn .mobile { display: none; }
@media (max-width: 991px) {
    /* La columna del menú queda vacía en móvil (el menú es un panel lateral) */
    .wpo-site-header .col-menu { width: 0; padding: 0; }
    .wpo-site-header .header-right .close-form .theme-btn .text { display: none; }
    .wpo-site-header .header-right .close-form .theme-btn .mobile { display: inline; white-space: nowrap; }
    .wpo-site-header-s1 .header-right { right: 0; margin-right: 6px; }
    .wpo-site-header-s1 .header-right .close-form .theme-btn {
        width: auto;
        height: auto;
        padding: 9px 14px;
        font-size: 14px;
        line-height: 1.2;
    }
    .wpo-site-header .navbar-header { text-align: left; }
}
@media (max-width: 575px) {
    .wpo-site-header .navigation .row { flex-wrap: nowrap; }
    .wpo-site-header .navigation .row > .col { min-width: 0; padding-left: 4px; padding-right: 4px; }
    .wpo-site-header .navbar-header .marca .emblema { display: none; }
    .marca-texto strong { font-size: 16px; }
    .marca-texto small { font-size: 9px; letter-spacing: .5px; }
    .wpo-site-header-s1 .header-right { margin-right: 4px; }
    .wpo-site-header-s1 .header-right .close-form .theme-btn { padding: 8px 10px; font-size: 12px; }
}
@media (max-width: 380px) {
    .wpo-site-header .mobail-menu button { width: 36px; }
    .marca-texto strong { font-size: 14px; letter-spacing: .5px; }
    .marca-texto small { font-size: 8px; letter-spacing: 0; }
    .wpo-site-header-s1 .header-right { margin-right: 0; }
    .wpo-site-header-s1 .header-right .close-form .theme-btn { padding: 7px 8px; font-size: 11px; }
    .wpo-site-header-s1 .header-right .close-form .theme-btn .fa { display: none; }
}

/* ---------- Portada ---------- */
.hero-candidato {
    position: relative;
    overflow: hidden;
    background: var(--gradient-navy);
    padding: 190px 0 170px;
    color: #fff;
    z-index: 0;
}
.hero-candidato::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../images/particale.png) center / cover no-repeat;
    opacity: .25;
    z-index: -1;
}
.hero-candidato::after {
    content: "";
    position: absolute;
    right: -10%;
    top: 10%;
    width: 760px;
    height: 760px;
    background: radial-gradient(circle, rgba(201, 162, 75, .22) 0%, rgba(201, 162, 75, 0) 65%);
    z-index: -1;
}
.hero-sub {
    display: inline-block;
    font-family: "Futura PT";
    font-size: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201, 162, 75, .5);
}
.hero-candidato h1 {
    font-size: 76px;
    line-height: 1.05;
    font-weight: 500;
    color: #fff;
    margin: 24px 0 22px;
}
.hero-texto { font-size: 22px; color: rgba(255, 255, 255, .85); max-width: 560px; margin-bottom: 10px; }
.hero-lema {
    font-family: "Cinzel", serif;
    font-size: 18px;
    color: var(--gold-light);
    letter-spacing: 1px;
    margin-bottom: 38px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-retrato {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}
.retrato {
    position: relative;
    z-index: 2;
    height: 560px;
    border-radius: 200px 200px 6px 6px;
    overflow: hidden;
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 10px rgba(201, 162, 75, .12), 0 30px 60px rgba(0, 0, 0, .45);
    /* Mismo gris del fondo de la foto, para dar aire sobre la cabeza */
    background: radial-gradient(ellipse at 50% 90%, #2E2F31 0%, #232426 55%, #1A1B1D 100%);
    --aire-retrato: 70px;
}
.retrato img {
    display: block;
    width: 100%;
    height: calc(100% - var(--aire-retrato));
    margin-top: var(--aire-retrato);
    object-fit: cover;
    object-position: center top;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16px);
            mask-image: linear-gradient(to bottom, transparent 0, #000 16px);
}
.retrato-cargo {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: -26px;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    padding: 12px 28px;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
}
.retrato-cargo span { display: block; font-family: "Futura PT"; font-size: 19px; color: #fff; }
.retrato-cargo small { font-size: 13px; color: rgba(255, 255, 255, .85); letter-spacing: 1px; }
.hero-aros span {
    position: absolute;
    left: 50%;
    top: 46%;
    border: 1px solid rgba(201, 162, 75, .35);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.hero-aros span:nth-child(1) { width: 520px; height: 520px; }
.hero-aros span:nth-child(2) { width: 640px; height: 640px; opacity: .6; }
.hero-aros span:nth-child(3) { width: 760px; height: 760px; opacity: .3; }

@media (max-width: 1399px) {
    .hero-candidato h1 { font-size: 64px; }
}
@media (max-width: 1199px) {
    .hero-candidato h1 { font-size: 54px; }
    .retrato { height: 500px; }
}
@media (max-width: 991px) {
    .hero-candidato { padding: 70px 0 150px; text-align: center; }
    .hero-texto { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-retrato { margin-top: 70px; max-width: 340px; }
    .retrato { height: 460px; }
    .hero-aros span:nth-child(1) { width: 420px; height: 420px; }
    .hero-aros span:nth-child(2) { width: 520px; height: 520px; }
    .hero-aros span:nth-child(3) { display: none; }
}
@media (max-width: 575px) {
    .hero-candidato h1 { font-size: 40px; }
    .hero-texto { font-size: 18px; }
    .hero-lema { font-size: 15px; }
    .hero-btns .theme-btn, .hero-btns .theme-btn-outline { width: 100%; text-align: center; font-size: 16px; }
    .retrato { height: 400px; --aire-retrato: 50px; }
    .hero-retrato { max-width: 280px; }
    .hero-aros span:nth-child(1) { width: 340px; height: 340px; }
    .hero-aros span:nth-child(2) { display: none; }
}

/* ---------- Resumen de ejes ---------- */
.ejes-resumen-section { position: relative; z-index: 5; }
.ejes-resumen-wrap {
    margin-top: -90px;
    background: var(--navy);
    box-shadow: 0 25px 50px rgba(14, 31, 61, .25);
}
.eje-resumen {
    display: block;
    height: 100%;
    padding: 44px 32px 40px;
    text-align: center;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, .08);
    transition: background .35s, transform .35s;
}
.col-lg-3:last-child .eje-resumen { border-right: 0; }
.eje-resumen::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform .35s;
}
.eje-resumen:hover { background: #13284B; }
.eje-resumen:hover::after { transform: scaleX(1); }
.eje-resumen-num { display: block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.eje-resumen .fa { font-size: 42px; color: var(--gold); margin-bottom: 18px; }
.eje-resumen h2 { font-size: 26px; color: #fff; margin-bottom: 10px; }
.eje-resumen p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .65); margin: 0; }
@media (max-width: 991px) {
    .eje-resumen { border-bottom: 1px solid rgba(255, 255, 255, .08); }
}

/* ---------- Títulos de sección ---------- */
.wpo-section-title { max-width: 720px; }
.wpo-section-title span { font-size: 17px; letter-spacing: 2px; }
.wpo-section-title.text-start { margin-left: 0; text-align: left; }
@media (max-width: 991px) {
    .wpo-section-title h2 { font-size: 40px; line-height: 50px; }
}

/* ---------- Mensaje ---------- */
.mensaje-img { position: relative; max-width: 440px; margin: 0 auto; }
.mensaje-img img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center top;
    position: relative;
    z-index: 1;
}
.mensaje-img::before {
    content: "";
    position: absolute;
    left: -24px; top: -24px;
    width: 70%; height: 70%;
    border: 2px solid var(--gold);
    z-index: 0;
}
.mensaje-sello {
    position: absolute;
    right: -30px;
    bottom: 40px;
    z-index: 2;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: var(--navy);
    border: 4px solid var(--gold);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 18px;
    box-shadow: 0 15px 30px rgba(14, 31, 61, .35);
}
.mensaje-sello strong { font-family: "Futura PT"; font-size: 26px; color: var(--gold); }
.mensaje-sello span { font-size: 12px; line-height: 1.4; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.mensaje-texto .saludo { font-family: "Cinzel", serif; font-size: 20px; color: var(--navy); }
.mensaje-cita {
    margin: 30px 0;
    padding: 26px 30px;
    background: var(--cream);
    border-left: 4px solid var(--gold);
}
.mensaje-cita p { font-size: 20px; font-style: italic; color: var(--navy); margin: 0; }
.firma h3 { font-size: 26px; margin-bottom: 4px; }
.firma span { color: var(--gold-dark); font-size: 16px; }
@media (max-width: 575px) {
    .mensaje-img img { height: 460px; }
    .mensaje-sello { right: -6px; width: 130px; height: 130px; }
    .mensaje-sello strong { font-size: 20px; }
    .mensaje-sello span { font-size: 10px; }
}

/* ---------- Datos ---------- */
.datos-section {
    background: var(--gradient-navy);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.datos-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../images/particale.png) center / cover;
    opacity: .15;
}
.dato { text-align: center; position: relative; padding: 10px; }
.dato h3 { font-size: 64px; line-height: 1; color: var(--gold); margin-bottom: 10px; }
.dato p { color: rgba(255, 255, 255, .8); font-size: 17px; margin: 0; }
@media (max-width: 991px) {
    .dato { margin: 20px 0; }
    .dato h3 { font-size: 48px; }
}

/* ---------- Trayectoria ---------- */
.trayectoria-section { background: var(--cream); }
.linea-tiempo { list-style: none; padding: 0; margin: 0; position: relative; }
.linea-tiempo::before {
    content: "";
    position: absolute;
    left: 44px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(var(--gold), rgba(201, 162, 75, .15));
}
.linea-tiempo li { display: flex; gap: 28px; position: relative; padding-bottom: 34px; }
.linea-tiempo li:last-child { padding-bottom: 0; }
.linea-anio {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    border: 3px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Futura PT";
    font-size: 22px;
    position: relative;
    z-index: 1;
}
.linea-contenido {
    background: #fff;
    padding: 22px 26px;
    flex: 1;
    box-shadow: 0 6px 20px rgba(14, 31, 61, .07);
}
.linea-contenido h3 { font-size: 24px; margin: 0 0 2px; }
.linea-contenido time { display: block; font-size: 14px; color: var(--gold-dark); letter-spacing: 1px; margin-bottom: 8px; }
.linea-contenido p { font-size: 16px; margin: 0; line-height: 1.6; }

.ficha { background: var(--navy); color: #fff; padding: 40px 36px; position: sticky; top: 110px; }
.ficha-bloque + .ficha-bloque { margin-top: 30px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ficha h3 { font-size: 20px; color: var(--gold); margin-bottom: 14px; letter-spacing: .5px; }
.ficha h3 .fa { width: 22px; }
.ficha-logia { font-family: "Cinzel", serif; font-size: 19px; color: #fff; margin: 0; line-height: 1.5; }
.ficha-cargos { counter-reset: cargo; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.ficha-cargos li { counter-increment: cargo; font-size: 16px; color: rgba(255, 255, 255, .85); display: flex; gap: 10px; align-items: baseline; }
.ficha-cargos li::before { content: counter(cargo); color: var(--gold); font-family: "Futura PT"; font-size: 15px; min-width: 14px; }
.ficha-gl li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .15);
    font-size: 17px;
}
.ficha-gl li:last-child { border-bottom: 0; }
.ficha-gl strong { color: #fff; font-weight: 600; }
.ficha-gl span { color: var(--gold); white-space: nowrap; }
@media (max-width: 575px) {
    .linea-tiempo::before { left: 32px; }
    .linea-anio { width: 64px; height: 64px; font-size: 17px; }
    .linea-tiempo li { gap: 16px; }
    .ficha { padding: 30px 22px; }
    .ficha-cargos { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
    .ficha { position: static; }
}

/* ---------- Marco jurídico ---------- */
.marco-section { padding: 110px 0 0; }
.marco-item {
    height: 100%;
    text-align: center;
    padding: 40px 26px;
    border: 1px solid #E8E1D0;
    background: #fff;
    transition: all .3s;
}
.marco-item .fa { font-size: 38px; color: var(--gold); margin-bottom: 18px; }
.marco-item h3 { font-size: 21px; line-height: 1.4; margin: 0; }
.marco-item:hover { border-color: var(--gold); box-shadow: 0 15px 35px rgba(14, 31, 61, .08); transform: translateY(-4px); }

/* ---------- Plan de trabajo ---------- */
.plan-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 50px;
    border: 0;
}
.plan-tab {
    background: #fff;
    border: 1px solid #E8E1D0;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all .3s;
    position: relative;
}
.plan-tab .fa { font-size: 30px; color: var(--gold); margin-bottom: 4px; }
.plan-tab-num { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); }
.plan-tab-titulo { font-family: "Futura PT"; font-size: 21px; color: var(--navy); }
.plan-tab:hover { border-color: var(--gold); }
.plan-tab.active { background: var(--navy); border-color: var(--navy); }
.plan-tab.active .plan-tab-titulo { color: #fff; }
.plan-tab.active .plan-tab-num { color: var(--gold-light); }
.plan-tab.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: var(--navy);
    border-bottom: 0;
}
@media (max-width: 767px) {
    .plan-tabs { grid-template-columns: repeat(2, 1fr); }
    .plan-tab.active::after { display: none; }
    .plan-tab-titulo { font-size: 18px; }
}

.eje-cabecera { display: flex; gap: 30px; align-items: flex-start; margin-bottom: 40px; }
.eje-numero {
    flex-shrink: 0;
    font-family: "Cinzel", serif;
    font-size: 96px;
    line-height: .9;
    color: transparent;
    -webkit-text-stroke: 2px var(--gold);
}
.eje-cabecera h3 { font-size: 34px; line-height: 1.25; margin-bottom: 6px; }
.eje-lema { font-style: italic; color: var(--gold-dark); font-weight: 600; margin-bottom: 8px; }
.eje-cabecera p:last-child { margin: 0; }
@media (max-width: 575px) {
    .eje-cabecera { flex-direction: column; gap: 10px; }
    .eje-numero { font-size: 64px; }
    .eje-cabecera h3 { font-size: 26px; }
}

.punto {
    height: 100%;
    background: #fff;
    padding: 34px 30px;
    border-top: 3px solid var(--gold);
    box-shadow: 0 8px 30px rgba(14, 31, 61, .08);
    position: relative;
}
.punto-num {
    display: inline-block;
    font-family: "Futura PT";
    font-size: 15px;
    color: #fff;
    background: var(--navy);
    padding: 3px 12px;
    margin-bottom: 14px;
}
.punto h4 { font-size: 23px; line-height: 1.3; margin-bottom: 16px; }
.punto-lista { margin: 0; padding: 0; }
.punto-lista > li {
    position: relative;
    padding-left: 26px;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 12px;
}
.punto-lista > li:last-child { margin-bottom: 0; }
.punto-lista > li::before {
    content: "∴";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-weight: 700;
    font-size: 18px;
}
.punto-lista ul { margin: 8px 0 0; padding: 0; }
.punto-lista ul li {
    position: relative;
    padding-left: 18px;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 6px;
    color: #5D6270;
}
.punto-lista ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 10px;
    width: 6px;
    height: 6px;
    border: 1px solid var(--gold-dark);
    transform: rotate(45deg);
}
.punto-lista strong { color: var(--navy); }
.plan-section { background: linear-gradient(#fff 0, var(--cream) 100%); }

/* ---------- Conclusión ---------- */
.conclusion-section {
    background: var(--gradient-navy);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.conclusion-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../images/particale.png) center / cover;
    opacity: .2;
}
.conclusion-inner { position: relative; text-align: center; }
.conclusion-inner .emblema { width: 72px; height: 72px; color: var(--gold); margin-bottom: 18px; }
.conclusion-sub { display: block; font-size: 16px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.conclusion-inner h2 { font-size: 50px; color: #fff; margin: 12px 0 30px; }
.conclusion-inner p { font-size: 20px; color: rgba(255, 255, 255, .82); max-width: 860px; margin: 0 auto 18px; }
.conclusion-inner p strong { color: var(--gold-light); }
.conclusion-firma { margin: 34px 0 40px; }
.conclusion-firma strong { display: block; font-family: "Cinzel", serif; font-size: 24px; color: #fff; }
.conclusion-firma span { color: var(--gold); font-size: 15px; letter-spacing: 1px; }
.conclusion-btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
@media (max-width: 767px) {
    .conclusion-section { padding: 90px 0; }
    .conclusion-inner h2 { font-size: 34px; }
    .conclusion-inner p { font-size: 17px; }
}

/* ---------- Contacto ---------- */
.contacto-puntos { margin-top: 24px; }
.contacto-puntos li { font-size: 17px; padding: 6px 0; color: var(--navy); }
.contacto-puntos .fa { color: var(--gold); margin-right: 10px; }
.contacto-form {
    background: #fff;
    padding: 44px 40px;
    box-shadow: 0 15px 50px rgba(14, 31, 61, .1);
    border-top: 3px solid var(--gold);
}
.contacto-form .form-label { font-size: 15px; font-weight: 600; color: var(--navy); }
.contacto-form .form-label small { font-weight: 400; color: #8A8F9C; }
.contacto-form .form-control {
    border-radius: 0;
    border-color: #DDD6C6;
    padding: 12px 14px;
    font-size: 16px;
}
.contacto-form .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 75, .2); }
.contacto-form .theme-btn { width: 100%; }
.contacto-form .theme-btn:disabled { opacity: .75; cursor: wait; }
.contacto-form .form-control.is-invalid { border-color: #B3261E; background-image: none; padding-right: 14px; }
.contacto-form .form-control.is-valid { border-color: #5C8D4E; background-image: none; padding-right: 14px; }
.contacto-form .form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, .15); }
.contacto-form .invalid-feedback { color: #B3261E; font-size: 14px; }
.contacto-form .invalid-feedback:empty { display: none !important; }
.contacto-form .contador { margin-top: .25rem; margin-left: auto; font-size: 13px; color: #8A8F9C; white-space: nowrap; }
.contacto-form .contador.excedido { color: #B3261E; }
.form-resumen {
    margin-bottom: 14px;
    padding: 12px 16px;
    background: #FBEDEC;
    border-left: 4px solid #B3261E;
    color: #8A1F18;
    font-size: 15px;
}
.recaptcha-aviso { margin: 12px 0 0; font-size: 12px; color: #8A8F9C; line-height: 1.5; }
.recaptcha-aviso a { color: var(--gold-dark); }
/* Con el aviso visible, Google permite ocultar el distintivo flotante */
.grecaptcha-badge { visibility: hidden; }
.swal-candidatura { font-family: "Nunito Sans", sans-serif; border-top: 4px solid var(--gold); }
.swal-candidatura .swal2-title { font-family: "Futura PT"; color: var(--navy); }
@media (max-width: 575px) {
    .contacto-form { padding: 30px 20px; }
}

/* ---------- Pie ---------- */
.marca-footer .emblema { width: 50px; height: 50px; }
.footer-lema { font-family: "Cinzel", serif; color: var(--gold-light) !important; font-size: 16px; }
.wpo-site-footer .newsletter-widget .theme-btn { font-size: 16px; padding: 12px 24px; }
.wpo-site-footer .link-widget ul li a:hover { color: var(--gold); }
.footer-sfu {
    margin: 0;
    text-align: right;
    font-family: "Cinzel", serif;
    font-size: 20px;
    letter-spacing: 6px;
    color: var(--gold) !important;
}
@media (max-width: 991px) {
    .footer-sfu { text-align: left; margin-top: 8px; }
    .wpo-site-footer .widget { margin-bottom: 40px; }
}

/* ---------- Volver arriba ---------- */
.ir-arriba {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    color: #fff;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}
.ir-arriba.visible { opacity: 1; visibility: visible; }
.ir-arriba:hover { color: #fff; }

/* ---------- Animación de entrada ---------- */
@media (prefers-reduced-motion: no-preference) {
    .revelar { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
    .revelar.visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
