/* =========================================================
   SMARTLINK FLORIDA - GLOBAL STYLES
   Main stylesheet for header, footer, global layout,
   homepage video hero, service lists, contact forms, and pages.
========================================================= */


:root {
    --slf-teal: #008080;
    --slf-teal-dark: #006666;
    --slf-teal-light: #0A9396;
    --slf-bg: #f4f4f4;
    --slf-text: #20252b;
    --slf-muted: #4d555b;
    --slf-card: #ffffff;
    --slf-layout-container: 1200px;
    --slf-layout-wide: 1420px;
    --slf-section-spacing: 56px;
    --slf-section-gap: 28px;
    --slf-section-spacing-mobile: 40px;
    --slf-card-radius: 14px;
    --slf-card-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    --slf-button-height: 52px;
    --slf-button-radius: 9px;
    --slf-weight-heading: 800;
    --slf-weight-button: 800;
    --slf-focus-color: #0A9396;
    --slf-mobile-actions-height: 68px;

    /* Backward-compatible aliases for existing page components. */
    --slf-radius: var(--slf-card-radius);
    --slf-shadow: var(--slf-card-shadow);
}

/* =========================================================
   1. RESET / BASE
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    background-color: #f4f4f4;
    line-height: 1.6;
    overflow-x: hidden;
    margin-top: var(--slf-header-height, 82px);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

a {
    color: inherit;
}

/* Keyboard access and persistent mobile actions shared by every page. */
.slf-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10000;
    padding: 11px 16px;
    border-radius: var(--slf-button-radius);
    background: #ffffff;
    color: var(--slf-teal-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
    font-weight: var(--slf-weight-button);
    text-decoration: none;
    transform: translateY(calc(-100% - 20px));
    transition: transform 0.16s ease;
}

.slf-skip-link:focus,
.slf-skip-link:focus-visible {
    transform: translateY(0);
}

.slf-mobile-quick-actions {
    display: none;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--slf-focus-color) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 5px rgba(10, 147, 150, 0.24) !important;
}

:where(.slf-site-header, .site-footer, [class*="hero"], .slf-mobile-quick-actions)
    :where(a, button, [tabindex]):focus-visible {
    outline-color: #72e5e6 !important;
    box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.48) !important;
}

@media (max-width: 768px) {
    .slf-mobile-quick-actions {
        position: fixed;
        inset: auto 0 0;
        z-index: 4900;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        min-height: var(--slf-mobile-actions-height);
        padding: 8px max(12px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(8, 21, 23, 0.97);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .slf-mobile-quick-actions :where(a, button) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-width: 0;
        min-height: 46px;
        padding: 0 12px;
        border: 1px solid rgba(255, 255, 255, 0.68);
        border-radius: var(--slf-button-radius);
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        font: inherit;
        font-size: 0.86rem;
        font-weight: var(--slf-weight-button);
        line-height: 1.1;
        text-align: center;
        text-decoration: none;
    }

    .slf-mobile-quick-actions :where(a, button):last-child {
        border-color: transparent;
        background: linear-gradient(145deg, var(--slf-teal-dark), var(--slf-teal));
    }

    .site-footer-mobile {
        padding-bottom: calc(16px + var(--slf-mobile-actions-height) + env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .slf-home-hero {
        background: #081517 var(--slf-media-home-hero, url('/Images/home-hero-poster.jpg')) var(--slf-media-home-hero-position, center center) / cover no-repeat;
    }

    .slf-hero-video {
        display: none;
    }

    :where(a, button, [class*="card"]):hover {
        transform: none !important;
    }
}

/* Contact form popup */
/* Popup overlay */
#popupContainer {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(24, 24, 24, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}

/* Popup box */
#popupMessage {
    background: #ffffff;
    color: #333;
    width: min(92%, 520px);
    padding: 28px 26px;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    position: relative;
    border-top: 6px solid #006666;
    animation: popupFadeIn 0.25s ease;
}

/* Optional status colors */
#popupMessage.sending {
    color: #006666;
    border-top-color: #008080;
}

#popupMessage.success {
    color: #1f2937;
    border-top-color: #0A9396;
}

#popupMessage.error {
    color: #b42318;
    border-top-color: #d92d20;
}

/* Optional spinner for sending state */
#popupMessage.sending::before {
    content: "";
    display: block;
    width: 34px;
    height: 34px;
    margin: 0 auto 16px auto;
    border: 4px solid rgba(0, 102, 102, 0.18);
    border-top: 4px solid #006666;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Animation */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile */
@media (max-width: 600px) {
    #popupMessage {
        width: 92%;
        padding: 24px 20px;
        font-size: 1.1rem;
        border-radius: 16px;
    }
}

/* =========================================================
   9. FOOTER
========================================================= */
footer {
    background-color: rgba(24, 24, 24, 0.8);
    color: #fff;
    padding: 12px 16px;
    font-size: 0.9rem;
    text-align: center;
    margin-top: auto;
}

.footer-service-area {
    font-size: 0.9rem;
    margin-top: 2px;
    color: #ccc;
}

.footer-links {
    margin-top: 6px;
}

.footer-links a {
    color: #aaa;
    margin: 0 8px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

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

.footer-phone {
    margin-top: 4px;
}

.footer-phone a {
    color: #f2f2f2;
    font-size: 0.82rem;
    text-decoration: none;
    font-weight: 500;
}

.footer-phone a:hover {
    text-decoration: underline;
}

/* =========================================================
   10. TABLET / MOBILE RESPONSIVE STYLES
========================================================= */
@media (max-width: 768px) {
    footer {
        padding: 14px 12px;
    }

    .footer-service-area {
        font-size: 0.9rem;
        margin-top: 3px;
    }

    .footer-links {
        margin-top: 8px;
    }

    .footer-links a {
        font-size: 0.85rem;
        margin: 0 8px;
    }
}


/* =========================================================
   11. SMARTLINK FLORIDA - NEW HOMEPAGE
   Mobile-first homepage layout for index.php
========================================================= */

.slf-home-page {
    background: #f4f4f4;
}

/* ------------------------------
   Homepage Hero
------------------------------ */
.slf-home-hero {
    position: relative;
    width: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    color: #fff;
    text-align: center;
}

.slf-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    display: block;
}

.slf-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.68),
            rgba(0, 0, 0, 0.58),
            rgba(0, 0, 0, 0.78)
        );
    z-index: 1;
}

.slf-hero-content {
    position: relative;
    z-index: 2;
    width: min(92%, 720px);
    padding: 60px 14px;
}

.slf-hero-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #e9ffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    background: rgba(0, 102, 102, 0.38);
}

.slf-hero-content h1 {
    font-size: clamp(2rem, 8vw, 3.4rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.75);
}

.slf-hero-content p {
    font-size: 1.02rem;
    line-height: 1.5;
    color: #f1f1f1;
    max-width: 620px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.slf-home-page .slf-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 26px auto 0;
    width: min(100%, 340px);
}

.slf-primary-btn,
.slf-secondary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--slf-button-height);
    border-radius: var(--slf-button-radius);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slf-primary-btn {
    background: linear-gradient(145deg, #006666, #008080);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.slf-secondary-btn {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.72);
    background: rgba(0, 0, 0, 0.22);
}

.slf-primary-btn:hover,
.slf-secondary-btn:hover {
    transform: translateY(-2px);
}

/* ------------------------------
   Trust Row
------------------------------ */
.slf-trust-row {
    background: #fff;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid #e4e4e4;
}

.slf-trust-item {
    text-align: center;
    padding: 15px 8px;
    border-right: 1px solid #e4e4e4;
}

.slf-trust-item:last-child {
    border-right: none;
}

.slf-trust-icon {
    width: 28px;
    height: 28px;
    margin: 0 auto 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slf-trust-icon svg {
    width: 26px;
    height: 26px;
    stroke: #007878;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.slf-trust-item strong {
    display: block;
    color: #222;
    font-size: 0.76rem;
    line-height: 1.2;
}

/* ------------------------------
   Service Area Bar
------------------------------ */
.slf-service-bar {
    background: linear-gradient(145deg, #006666, #008080);
    color: #fff;
    padding: 16px 18px;
    text-align: center;
    font-weight: 800;
    font-size: 0.92rem;
    line-height: 1.35;
}

/* ------------------------------
   Shared Homepage Sections
------------------------------ */
.slf-home-page .slf-section {
    width: min(94%, 980px);
    margin: 20px auto;
}

.slf-card {
    background: #fff;
    border-radius: var(--slf-card-radius);
    box-shadow: var(--slf-card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.slf-home-page .slf-section-title {
    text-align: center;
    font-size: 1.55rem;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #222;
}

/* ------------------------------
   Problems We Fix
------------------------------ */
.slf-problem-section {
    padding-top: 4px;
}

.slf-problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.slf-home-page .slf-problem-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e3e3e3;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.slf-home-page .slf-problem-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.slf-home-page .slf-problem-card strong {
    display: block;
    color: #111;
    font-size: 0.98rem;
    line-height: 1.25;
}

.slf-home-page .slf-problem-card span {
    display: block;
    color: #555;
    font-size: 0.86rem;
    line-height: 1.35;
    margin-top: 3px;
}

/* ------------------------------
   Intro Card
------------------------------ */
.slf-intro-card {
    padding: 28px 22px;
    text-align: center;
}

.slf-intro-icon-wrap {
    width: 104px;
    height: 104px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e6f7f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slf-intro-icon-wrap img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.slf-intro-card h2 {
    color: #222;
    font-size: 1.65rem;
    line-height: 1.25;
    margin-bottom: 14px;
}

.slf-intro-card p {
    color: #333;
    font-size: 0.98rem;
    line-height: 1.58;
}

/* ------------------------------
   Popular Services
------------------------------ */
.slf-services-card {
    padding: 22px 14px;
}

.slf-service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.slf-home-page .slf-service-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
}

.slf-home-page .slf-service-card:hover {
    background: #e6f7f8;
    transform: translateY(-2px);
}

.slf-home-page .slf-service-card img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex-shrink: 0;
}

.slf-home-page .slf-service-card h3 {
    margin: 0 0 4px;
    color: #111;
    font-size: 1rem;
    line-height: 1.25;
}

.slf-home-page .slf-service-card p {
    margin: 0;
    color: #444;
    font-size: 0.9rem;
    line-height: 1.4;
}

.slf-home-page .slf-service-card span {
    display: inline-block;
    margin-top: 8px;
    color: #006666;
    font-weight: 800;
    font-size: 0.86rem;
}

/* ------------------------------
   Why Choose
------------------------------ */
.slf-why-card {
    padding: 28px 22px;
    text-align: center;
}

.slf-why-card h2 {
    color: #222;
    font-size: 1.65rem;
    line-height: 1.25;
    margin-bottom: 10px;
}

.slf-why-card h3 {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 12px;
}

.slf-why-card p {
    color: #333;
    font-size: 0.98rem;
    line-height: 1.55;
}

.slf-why-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
    text-align: left;
}

.slf-why-point {
    padding: 12px 14px;
    border-radius: 10px;
    background: #f7fbfb;
    border: 1px solid #e1eeee;
}

.slf-why-point strong {
    color: #006666;
    display: block;
    margin-bottom: 3px;
}

.slf-why-point span {
    color: #444;
    font-size: 0.9rem;
    line-height: 1.35;
}

/* ------------------------------
   Bottom CTA
------------------------------ */
.slf-home-page .slf-bottom-cta {
    width: min(94%, 980px);
    margin: 24px auto 28px;
    padding: 26px 18px;
    border-radius: var(--slf-card-radius);
    background: linear-gradient(145deg, #006666, #008080);
    color: #fff;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}

.slf-home-page .slf-bottom-cta h2 {
    font-size: 1.55rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.slf-home-page .slf-bottom-cta p {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 18px;
    color: #f3ffff;
}

.slf-home-page .slf-bottom-cta a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: min(100%, 310px);
    min-height: var(--slf-button-height);
    background: #fff;
    color: #006666;
    border-radius: var(--slf-button-radius);
    text-decoration: none;
    font-weight: 800;
}

/* ------------------------------
   Homepage Tablet
------------------------------ */
@media (min-width: 700px) {
    .slf-home-page .slf-hero-actions {
        grid-template-columns: 1fr 1fr;
        width: min(100%, 500px);
    }

    .slf-problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slf-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slf-why-points {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ------------------------------
   Homepage Desktop
------------------------------ */
@media (min-width: 900px) {
    .slf-home-hero {
        min-height: 600px;
        text-align: left;
        justify-content: flex-start;
    }

    .slf-hero-video {
        object-position: center center;
    }

    .slf-home-hero::before {
        background:
            linear-gradient(
                to right,
                rgba(0, 0, 0, 0.82) 0%,
                rgba(0, 0, 0, 0.62) 38%,
                rgba(0, 0, 0, 0.28) 72%,
                rgba(0, 0, 0, 0.35) 100%
            );
    }

    .slf-hero-content {
        margin-left: 6%;
        padding-left: 0;
        max-width: 620px;
    }

    .slf-hero-content p {
        margin-left: 0;
    }

    .slf-home-page .slf-hero-actions {
        margin-left: 0;
    }

    .slf-home-page .slf-section {
        margin: 28px auto;
    }

    .slf-intro-card {
        display: grid;
        grid-template-columns: 180px 1fr;
        gap: 22px;
        text-align: left;
        align-items: center;
    }

    .slf-intro-icon-wrap {
        margin: 0 auto;
    }
}

/* ------------------------------
   Homepage Large Desktop
------------------------------ */
@media (min-width: 1100px) {
    .slf-home-page .slf-section {
        width: min(92%, var(--slf-layout-container));
    }

    .slf-problem-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .slf-home-page .slf-problem-card {
        flex-direction: column;
        align-items: flex-start;
        min-height: 180px;
    }

    .slf-service-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .slf-home-page .slf-service-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .slf-home-page .slf-bottom-cta {
        width: min(92%, var(--slf-layout-container));
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        gap: 30px;
        padding: 28px 36px;
    }

    .slf-home-page .slf-bottom-cta p {
        margin-bottom: 0;
    }

    .slf-home-page .slf-bottom-cta a {
        flex-shrink: 0;
    }
}

/* ------------------------------
   Homepage Mobile Refinements
------------------------------ */
@media (max-width: 768px) {
    .slf-home-hero {
        min-height: 610px;
    }

    .slf-hero-video {
        object-position: center center;
    }
}

@media (max-width: 480px) {
    .slf-home-hero {
        min-height: 600px;
    }

    .slf-hero-content {
        width: 94%;
        padding: 48px 10px;
    }

    .slf-hero-content h1 {
        font-size: 2.05rem;
    }

    .slf-hero-content p {
        font-size: 0.98rem;
    }

    .slf-hero-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 1px;
    }

    .slf-trust-item {
        padding: 13px 5px;
    }

    .slf-trust-item strong {
        font-size: 0.72rem;
    }

    .slf-home-page .slf-section-title {
        font-size: 1.45rem;
    }
}
/* =========================================================
   Homepage Mobile Hero Tightening
========================================================= */

@media (max-width: 768px) {
    .slf-home-hero {
        min-height: 500px;
    }

    .slf-hero-content {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .slf-hero-eyebrow {
        margin-bottom: 12px;
    }

    .slf-hero-content h1 {
        margin-bottom: 12px;
    }

    .slf-hero-content p {
        line-height: 1.42;
    }

    .slf-home-page .slf-hero-actions {
        margin-top: 20px;
        gap: 10px;
    }

}

@media (max-width: 480px) {
    .slf-home-hero {
        min-height: 485px;
    }

    .slf-hero-content {
        padding-top: 28px;
        padding-bottom: 28px;
    }
}

/* =========================================================
   Homepage Phone First View
   Keep the primary action and trust signals visible sooner.
========================================================= */
@media (max-width: 600px) {
    :root {
        --slf-mobile-actions-height: 60px;
    }

    .slf-home-hero {
        min-height: 405px;
    }

    .slf-home-hero::before {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.64),
            rgba(0, 0, 0, 0.58),
            rgba(0, 0, 0, 0.76)
        );
    }

    .slf-hero-content {
        width: min(92%, 430px);
        padding: 24px 8px;
    }

    .slf-hero-eyebrow {
        margin-bottom: 10px;
        padding: 6px 12px;
        font-size: 0.62rem;
        letter-spacing: 0.9px;
    }

    .slf-hero-content h1 {
        max-width: 360px;
        margin: 0 auto 10px;
        font-size: clamp(1.75rem, 8.2vw, 2.05rem);
        line-height: 1.05;
    }

    .slf-hero-content p {
        max-width: 390px;
        font-size: 0.88rem;
        line-height: 1.4;
    }

    .slf-home-page .slf-hero-actions {
        width: min(100%, 330px);
        margin-top: 16px;
    }

    .slf-home-page .slf-hero-actions .slf-secondary-btn {
        display: none !important;
    }

    .slf-home-page .slf-primary-btn {
        min-height: 48px !important;
        font-size: 0.95rem;
    }

    .slf-trust-item {
        padding: 10px 4px;
    }

    .slf-trust-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 5px;
    }

    .slf-trust-icon svg {
        width: 23px;
        height: 23px;
    }

    .slf-trust-item strong {
        font-size: 0.68rem;
    }

    .slf-mobile-quick-actions {
        gap: 7px;
        padding-top: 6px;
        padding-bottom: max(6px, env(safe-area-inset-bottom));
    }

    .slf-mobile-quick-actions :where(a, button) {
        min-height: 44px;
    }
}

/* =========================================================
   13. SMARTLINK FLORIDA - RESPONSIVE GLOBAL FOOTER
   Desktop gets the expanded footer. Mobile keeps the older compact footer.
========================================================= */
.site-footer-desktop {
    display: block;
    padding: 0;
    margin-top: auto;
    background: rgba(24, 24, 24, 0.80);
    /*background: linear-gradient(145deg, #121b22, #1d2a33);*/
    color: #ffffff;
    text-align: left;
}

.site-footer-mobile {
    display: none;
}

.footer-desktop-inner {
    width: min(96%, var(--slf-layout-wide));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.55fr 0.8fr 1.05fr 1.1fr;
    gap: clamp(42px, 6vw, 90px);
    align-items: start;
    padding: 28px 0 22px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 14px;
}

.footer-logo {
    display: block;
    width: 205px;
    max-width: 100%;
    height: auto;
}

.footer-logo-white {
    filter: none;
}

.footer-brand-col p {
    max-width: 360px;
}

.footer-brand-col p,
.footer-contact-col p {
    margin: 0;
    color: #e4edf1;
    line-height: 1.45;
    font-size: 0.93rem;
}

.footer-col h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1rem;
}

.footer-col a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #e4edf1;
    text-decoration: none;
    margin-bottom: 7px;
    font-size: 0.94rem;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.footer-col a::after {
    content: "›";
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact-col a,
.footer-contact-col p {
    justify-content: flex-start;
    gap: 10px;
}

.footer-contact-col a::after {
    content: "";
}

.footer-contact-col span {
    color: #008080;
    font-weight: 800;
    min-width: 18px;
}

.footer-contact-col small {
    color: #c7d2d8;
    font-size: 0.88rem;
}

.footer-col a:hover {
    color: #9ff1f1;
}

.footer-desktop-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    text-align: center;
    color: #ffffff;
    font-size: 0.88rem;
    background: rgba(0, 0, 0, 0.18);
}

@media (max-width: 900px) {
    .site-footer-desktop {
        display: none;
    }

    .site-footer-mobile {
        display: block;
    }
}


/* =========================================================
   SMARTLINK ACCENT / TYPOGRAPHY HOTFIX
   Restores teal accents and normalizes button/heading weights.
========================================================= */
.slf-primary-btn,
.slf-services-btn-primary,
.about-btn,
.slf-submit-btn {
    background: linear-gradient(145deg, var(--slf-teal-dark), var(--slf-teal)) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    font-weight: var(--slf-weight-button) !important;
}

.slf-primary-btn,
.slf-secondary-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: var(--slf-button-height) !important;
    border-radius: var(--slf-button-radius) !important;
    text-decoration: none !important;
}

.slf-secondary-btn,
.slf-services-btn-outline {
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.72) !important;
    background: rgba(0, 0, 0, 0.22) !important;
}

.slf-hero-eyebrow,
.slf-why-eyebrow {
    background: rgba(0, 102, 102, 0.42) !important;
    color: #e9ffff !important;
}

.slf-service-bar,
.about-promise-band,
.slf-services-cta-band,
.slf-why-service-bar,
.slf-why-bottom-cta {
    background: linear-gradient(145deg, var(--slf-teal-dark), var(--slf-teal)) !important;
    color: #ffffff !important;
}

.slf-trust-icon svg,
.slf-service-icon svg,
.about-icon-wrap svg,
.slf-why-icon svg,
.slf-why-card-icon svg,
.slf-why-step-icon svg {
    stroke: var(--slf-teal) !important;
}

.slf-home-page .slf-service-card span,
.slf-why-point strong,
.about-eyebrow,
.slf-contact-method strong,
.slf-contact-method:hover strong,
.slf-contact-method:hover em {
    color: var(--slf-teal-dark) !important;
}

:where(
    .slf-home-page,
    .about-page-main,
    .slf-contact-page,
    .slf-services-main,
    .slf-why-page,
    .slf-it-page,
    .slf-service-detail-page,
    .slf-network-page,
    .slf-intake-document-main
) :where(h1, h2, h3) {
    font-weight: var(--slf-weight-heading) !important;
}

.slf-all-services-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: var(--slf-button-height);
    padding: 14px 20px;
    border-radius: var(--slf-button-radius);
    background: linear-gradient(145deg, var(--slf-teal-dark), var(--slf-teal));
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 102, 102, 0.2);
}

.slf-all-services-bar span,
.slf-all-services-bar strong {
    color: #ffffff;
    font-weight: 800;
}

@media (max-width: 600px) {
    .slf-all-services-bar {
        flex-direction: column;
        gap: 2px;
        text-align: center;
    }
}
