/* ==========================================================================
   Eco Shield Public Adjusters — estilos personalizados
   Se carga DESPUÉS de assets/sass/style.css, por eso sus reglas ganan sin
   necesidad de tocar la hoja de estilos del tema.

   Prefijo .esh- para no chocar con nada del tema.
   ========================================================================== */

:root {
    --esh-green: #15402f;          /* verde de marca, el mismo de los inline styles */
    --esh-green-dark: #0d2a1e;
    --esh-line: rgba(21, 64, 47, .18);
    --esh-muted: rgba(21, 64, 47, .72);
}

/* Columna del CTA ---------------------------------------------------------- */

.wpo-site-footer-s2 .esh-cta-widget {
    max-width: 320px;
    color: var(--esh-green);
}

/* El escudo: contorno de shield con el tejado dentro.
   Distinto del ícono de Goldfinch a propósito. */
.wpo-site-footer-s2 .esh-cta-widget .esh-cta__mark {
    display: block;
    width: 62px;
    height: auto;
    margin: 0 auto 20px;
    color: var(--esh-green);
    opacity: .9;
}

.wpo-site-footer-s2 .esh-cta-widget .esh-cta__headline {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--esh-green);
}

.wpo-site-footer-s2 .esh-cta-widget .esh-cta__sub {
    margin: 0 0 26px;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--esh-muted);
}

.wpo-site-footer-s2 .esh-cta-widget .esh-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px;
    background: var(--esh-green);
    border: 1px solid var(--esh-green);
    color: #fff !important;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .3s ease, border-color .3s ease;
}

.wpo-site-footer-s2 .esh-cta-widget .esh-cta__btn svg {
    width: 18px;
    height: 18px;
    flex: none;
    transition: transform .3s ease;
}

.wpo-site-footer-s2 .esh-cta-widget .esh-cta__btn:hover,
.wpo-site-footer-s2 .esh-cta-widget .esh-cta__btn:focus {
    background: var(--esh-green-dark);
    border-color: var(--esh-green-dark);
    color: #fff !important;
    text-decoration: none;
}

.wpo-site-footer-s2 .esh-cta-widget .esh-cta__btn:hover svg {
    transform: translateX(5px);
}

.wpo-site-footer-s2 .esh-cta-widget .esh-cta__btn:focus-visible {
    outline: 2px solid var(--esh-green);
    outline-offset: 3px;
}

.wpo-site-footer-s2 .esh-cta-widget .esh-cta__phone {
    display: block;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--esh-line);
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--esh-muted);
}

.wpo-site-footer-s2 .esh-cta-widget .esh-cta__phone a {
    display: block;
    margin-top: 5px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: var(--esh-green) !important;
    text-decoration: none;
    transition: opacity .25s ease;
}

.wpo-site-footer-s2 .esh-cta-widget .esh-cta__phone a:hover,
.wpo-site-footer-s2 .esh-cta-widget .esh-cta__phone a:focus {
    opacity: .72;
    text-decoration: none;
}

/* Teléfono y email de la columna Contact, ahora que son enlaces -------------- */

.wpo-site-footer-s2 .contact-ft ul li a {
    color: inherit;
    text-decoration: none;
    transition: opacity .25s ease;
}

.wpo-site-footer-s2 .contact-ft ul li a:hover,
.wpo-site-footer-s2 .contact-ft ul li a:focus {
    opacity: .72;
    text-decoration: none;
}

/* Responsive ---------------------------------------------------------------- */

@media (max-width: 1199px) {
    .wpo-site-footer-s2 .esh-col {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .wpo-site-footer-s2 .esh-cta-widget {
        max-width: 100%;
    }

    .wpo-site-footer-s2 .esh-cta-widget .esh-cta__headline {
        font-size: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wpo-site-footer-s2 .esh-cta-widget .esh-cta__btn,
    .wpo-site-footer-s2 .esh-cta-widget .esh-cta__btn svg {
        transition: none;
    }

    .wpo-site-footer-s2 .esh-cta-widget .esh-cta__btn:hover svg {
        transform: none;
    }
}

/* ==========================================================================
   Banda CTA de ancho completo (va entre los servicios y "Areas Of Operation")
   ========================================================================== */

.esh-cta-band {
    --esh-band-bg: #15402f;        /* verde de marca */
    --esh-band-accent: #7ABA0C;    /* verde claro del logo */
    background: var(--esh-band-bg);
    padding: 46px 0;
    margin: 70px 0;
}

.esh-cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.esh-cta-band__title {
    margin: 0;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
}

.esh-cta-band__btn {
    display: inline-block;
    flex: none;
    padding: 16px 42px;
    background: var(--esh-band-accent);
    border: 1px solid var(--esh-band-accent);
    border-radius: 40px;
    color: #10301f !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    transition: background .3s ease, color .3s ease;
}

.esh-cta-band__btn:hover,
.esh-cta-band__btn:focus {
    background: transparent;
    color: var(--esh-band-accent) !important;
    text-decoration: none;
}

.esh-cta-band__btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .esh-cta-band {
        padding: 38px 0;
        margin: 50px 0;
    }

    .esh-cta-band__inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .esh-cta-band__title {
        font-size: 24px;
    }

    .esh-cta-band__title br {
        display: none;
    }

    .esh-cta-band__btn {
        width: 100%;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .esh-cta-band__btn {
        transition: none;
    }
}
