/* =========================================================
   SMARTLINK FLORIDA - SERVICES PAGE
   Uses reusable header.php and global footer.php.
========================================================= */

.slf-services-page {
    background:
        radial-gradient(circle at top left, rgba(0, 128, 128, 0.08), transparent 30%),
        #f4f4f4;
}

.slf-services-main {
    width: 100%;
    overflow: hidden;
}

/* ------------------------------
   Hero
------------------------------ */
.slf-services-hero {
    position: relative;
    min-height: 410px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.42)),
        var(--slf-media-services-hero, url('/Images/services-hero-home-tech.jpg')) var(--slf-media-services-hero-position, center center)/cover no-repeat,
        linear-gradient(145deg, #111b20, #2a3639);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}

.slf-services-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 10, 12, 0.58) 0%, rgba(3, 10, 12, 0.34) 50%, rgba(3, 10, 12, 0.16) 100%);
    z-index: 1;
}

.slf-services-hero-inner {
    position: relative;
    z-index: 2;
    width: min(92%, var(--slf-layout-container));
    margin: 0 auto;
    padding: 58px 0;
}

.slf-services-hero-copy {
    max-width: 620px;
}

.slf-services-hero h1 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1.2px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
}

.slf-services-hero p {
    max-width: 580px;
    margin: 0;
    color: #f2f6f7;
    font-size: 1.05rem;
    line-height: 1.55;
    font-weight: 500;
    text-shadow: 0 2px 9px rgba(0, 0, 0, 0.65);
}

.slf-services-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.slf-services-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 178px;
    min-height: var(--slf-button-height);
    padding: 0 24px;
    border-radius: var(--slf-button-radius);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: var(--slf-weight-button);
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.slf-services-btn:hover {
    transform: translateY(-2px);
}

.slf-services-btn-primary {
    background: linear-gradient(145deg, #006666, #008080);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.slf-services-btn-outline {
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.82);
    background: rgba(0, 0, 0, 0.18);
}

.slf-services-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ------------------------------
   Shared Sections
------------------------------ */
.slf-services-section {
    width: min(92%, var(--slf-layout-container));
    margin: var(--slf-section-gap) auto;
}

.slf-services-list-section {
    margin-top: 22px;
}

.slf-services-section-heading {
    max-width: 740px;
    margin: 0 auto 20px;
    text-align: center;
}

.slf-services-section-heading h2 {
    margin: 0 0 7px;
    color: #2c2f33;
    font-size: clamp(1.55rem, 3vw, 2rem);
    line-height: 1.15;
    font-weight: 800;
}

.slf-services-section-heading p {
    margin: 0 auto;
    color: #4d555b;
    font-size: 0.98rem;
    line-height: 1.45;
}

.slf-services-heading-tight {
    margin-bottom: 14px;
}

/* ------------------------------
   Service Cards
------------------------------ */
.slf-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.slf-service-tile {
    min-height: 268px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 18px 22px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--slf-card-radius);
    color: inherit;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--slf-card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.slf-service-tile:hover {
    transform: translateY(-3px);
    background: #faffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.slf-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    height: 98px;
    margin-bottom: 16px;
    color: #007878;
}

.slf-service-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.slf-service-icon text {
    fill: currentColor;
    stroke: none;
    font-family: 'Montserrat', sans-serif;
}

.slf-service-tile h3 {
    margin: 0 0 9px;
    color: #20252b;
    font-size: 1.02rem;
    line-height: 1.24;
    font-weight: 800;
}

.slf-service-tile p {
    margin: 0;
    color: #3f464c;
    font-size: 0.86rem;
    line-height: 1.48;
    font-weight: 500;
}

/* ------------------------------
   Benefits
------------------------------ */
.slf-benefits-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--slf-card-radius);
    box-shadow: var(--slf-card-shadow);
}

.slf-benefit-item {
    padding: 24px 20px 26px;
    text-align: center;
    border-right: 1px solid #e3e7e8;
}

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

.slf-benefit-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e6f7f8;
    color: #007878;
    font-size: 1.75rem;
}

.slf-benefit-item h3 {
    margin: 0 0 8px;
    color: #20252b;
    font-size: 0.98rem;
    line-height: 1.25;
    font-weight: 800;
}

.slf-benefit-item p {
    margin: 0;
    color: #3f464c;
    font-size: 0.84rem;
    line-height: 1.45;
}

/* ------------------------------
   Process
------------------------------ */
.slf-process-section {
    margin-top: 20px;
}

.slf-process-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.slf-process-row::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 16%;
    right: 16%;
    border-top: 2px dashed #aeb5b8;
    z-index: 0;
}

.slf-process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.slf-process-step span {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #006666, #008080);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 8px 18px rgba(0, 102, 102, 0.24);
}

.slf-process-step h3 {
    margin: 0 0 6px;
    color: #20252b;
    font-size: 0.98rem;
    font-weight: 800;
}

.slf-process-step p {
    max-width: 230px;
    margin: 0 auto;
    color: #40484e;
    font-size: 0.82rem;
    line-height: 1.45;
}

/* ------------------------------
   Testimonials
------------------------------ */
.slf-testimonials-section {
    margin-bottom: 0;
}

.slf-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.slf-testimonial-card {
    position: relative;
    min-height: 150px;
    padding: 26px 26px 22px 72px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--slf-card-radius);
    box-shadow: var(--slf-card-shadow);
}

.slf-quote {
    position: absolute;
    left: 28px;
    top: 20px;
    color: #008080;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.slf-testimonial-card p {
    margin: 0 0 10px;
    color: #3f464c;
    font-size: 0.9rem;
    line-height: 1.5;
}

.slf-stars {
    display: inline-block;
    margin-right: 12px;
    color: #f4b400;
    letter-spacing: 2px;
    font-size: 1rem;
}

.slf-testimonial-card strong {
    color: #2e3439;
    font-size: 0.9rem;
    font-weight: 700;
}

.slf-service-area-note {
    margin: 18px auto 16px;
    color: #364047;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ------------------------------
   CTA Band
------------------------------ */
.slf-services-cta-band {
    width: 100%;
    margin: 0;
    background: linear-gradient(145deg, #006666, #008080);
    color: #ffffff;
}

.slf-services-cta-inner {
    width: min(92%, var(--slf-layout-container));
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.slf-services-cta-inner h2 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.15;
    font-weight: 800;
}

.slf-services-cta-inner p {
    margin: 0;
    color: #eaffff;
    font-size: 0.98rem;
    line-height: 1.35;
}

.slf-services-cta-inner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 205px;
    min-height: var(--slf-button-height);
    padding: 0 26px;
    border-radius: var(--slf-button-radius);
    background: #ffffff;
    color: #006666;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: var(--slf-weight-button);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

/* ------------------------------
   Responsive
------------------------------ */
@media (max-width: 1100px) {
    .slf-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .slf-services-hero {
        min-height: 390px;
    }

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

    .slf-benefit-item:nth-child(2) {
        border-right: none;
    }

    .slf-benefit-item:nth-child(-n + 2) {
        border-bottom: 1px solid #e3e7e8;
    }

    .slf-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .slf-services-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .slf-services-section {
        width: 90%;
        margin: 24px auto;
    }

    .slf-services-hero {
        min-height: 430px;
        text-align: center;
        background-position: center, var(--slf-media-services-hero-position, center center), center;
    }

    .slf-services-hero-overlay {
        background: rgba(3, 10, 12, 0.62);
    }

    .slf-services-hero-inner {
        width: 90%;
        padding: 42px 0;
    }

    .slf-services-hero-copy {
        max-width: none;
    }

    .slf-services-hero h1 {
        font-size: 2.35rem;
    }

    .slf-services-hero p {
        margin: 0 auto;
        font-size: 0.98rem;
    }

    .slf-services-hero-actions {
        justify-content: center;
        gap: 12px;
    }

    .slf-services-btn {
        width: min(100%, 310px);
    }

    .slf-services-grid,
    .slf-benefits-card,
    .slf-process-row {
        grid-template-columns: 1fr;
    }

    .slf-service-tile {
        min-height: 0;
    }

    .slf-benefit-item,
    .slf-benefit-item:nth-child(2) {
        border-right: none;
        border-bottom: 1px solid #e3e7e8;
    }

    .slf-benefit-item:last-child {
        border-bottom: none;
    }

    .slf-process-row {
        gap: 24px;
    }

    .slf-process-row::before {
        display: none;
    }

    .slf-testimonial-card {
        padding: 24px 20px 20px 58px;
    }

    .slf-quote {
        left: 20px;
        font-size: 3.2rem;
    }

    .slf-services-cta-inner {
        width: 90%;
        padding: 28px 0;
        text-align: center;
        align-items: center;
    }

    .slf-services-cta-inner a {
        width: min(100%, 310px);
    }
}
