/* ============================================
   Site-wide newsletter band & footer styles
   Used by: _newsletter.blade.php, _footer.blade.php
   ============================================ */

/* ---- Newsletter card ---- */
.newsletter-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(6, 44, 80, .08);
    border-radius: 1rem;
    padding: 2.5rem 2.75rem;
    box-shadow: 0 1.5rem 3.5rem rgba(6, 44, 80, .18);
    overflow: hidden;
}

.newsletter-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff7029 0%, #ff9a5c 55%, #054886 100%);
}

.newsletter-eyebrow {
    display: inline-block;
    color: #ff7029;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: .4rem;
}

.newsletter-title {
    color: #1c2434;
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: .4rem;
}

.newsletter-sub {
    color: #64748b;
    margin: 0;
    font-size: .95rem;
}

.newsletter-form .form-control {
    height: 3.25rem;
    border: 1.5px solid #e2e8f0;
    border-radius: .65rem;
    padding: .65rem 1.15rem;
    font-size: .95rem;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.newsletter-form .form-control:focus {
    border-color: #054886;
    box-shadow: 0 0 0 .2rem rgba(5, 72, 134, .12);
}

.btn-newsletter {
    height: 3.25rem;
    background: #ff7029;
    border: 2px solid #ff7029;
    color: #fff;
    font-weight: 700;
    padding: 0 1.6rem;
    border-radius: .65rem;
    white-space: nowrap;
    transition: all .25s ease;
}

.btn-newsletter:hover,
.btn-newsletter:focus {
    background: #e85d17;
    border-color: #e85d17;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 .6rem 1.25rem rgba(255, 112, 41, .35);
}

.newsletter-privacy {
    margin: .75rem 0 0;
    font-size: .8rem;
    color: #94a3b8;
}

.newsletter-privacy a {
    color: #054886;
    font-weight: 600;
    text-decoration: underline;
}

.newsletter-privacy a:hover {
    color: #ff7029;
}

@media (max-width: 991.98px) {
    .newsletter-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
}

/* ---- Footer ---- */
.site-footer {
    background: linear-gradient(170deg, #062c50 0%, #054886 130%);
    border-radius: 1.25rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -140px;
    right: -140px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 112, 41, .16), transparent 70%);
    pointer-events: none;
}

.site-footer .footer-inner {
    position: relative;
    padding: 9.5rem 0 2.5rem;
}

.footer-brand-intro {
    color: rgba(255, 255, 255, .72);
    font-size: .92rem;
    line-height: 1.75;
    margin: 1.1rem 0 0;
}

/* CMS content inside the intro: inherit the footer color unless the
   editor sets an explicit inline color, and keep paragraph rhythm */
.footer-brand-intro p,
.footer-brand-intro span {
    color: inherit;
}

.footer-brand-intro p {
    margin: 0 0 .6rem;
}

.footer-brand-intro p:last-child {
    margin-bottom: 0;
}

.footer-heading {
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.footer-heading::after {
    content: "";
    display: block;
    width: 2rem;
    height: 2px;
    margin-top: .5rem;
    background: #ff7029;
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .55rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255, 255, 255, .72);
    font-size: .92rem;
    text-decoration: none;
    transition: color .2s ease, gap .2s ease;
}

.footer-links a i {
    font-size: .6rem;
    color: #ff7029;
}

.footer-links a:hover {
    color: #fff;
    gap: .7rem;
}

.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .8rem;
}

.footer-contact li,
.footer-contact a {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: rgba(255, 255, 255, .72);
    font-size: .92rem;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-contact i {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
    background: rgba(255, 255, 255, .08);
    color: #ff7029;
    font-size: .8rem;
    margin-top: -.2rem;
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin: 2.25rem 0 1.5rem;
    opacity: 1;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: rgba(255, 255, 255, .55);
    font-size: .85rem;
}

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

.footer-bottom a:hover {
    color: #ff7029;
}

.footer-bottom .footer-brand-name {
    color: #ff7029;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .site-footer .footer-inner {
        padding-top: 8.5rem;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}
