/* =========================================================
   SMARTLINK FLORIDA - WHY SMARTLINK PAGE
   Page-specific styles for why-smartlink.php
========================================================= */

.slf-why-smartlink-page {
    background:
        radial-gradient(circle at top left, rgba(0, 128, 128, 0.07), transparent 34%),
        #f4f4f4;
}

.slf-why-page {
    width: 100%;
    background: #f4f4f4;
    color: #24272b;
}

.slf-why-hero {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.54) 40%,
            rgba(0, 0, 0, 0.20) 70%,
            rgba(0, 0, 0, 0.06) 100%
        ),
        var(--slf-media-why-hero, url('/Images/why-smartlink-hero.jpg')) var(--slf-media-why-hero-position, right center) / cover no-repeat,
        linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.slf-why-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 35%, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.18));
    z-index: 1;
    pointer-events: none;
}

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

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

.slf-why-hero h1 {
    max-width: 640px;
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(2.45rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.4px;
    text-shadow: 0 5px 18px rgba(0, 0, 0, 0.72);
}

.slf-why-hero p {
    max-width: 610px;
    margin: 0;
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.72);
}

/* Trust row */
.slf-why-trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff;
    border-bottom: 1px solid #e1e4e6;
}

.slf-why-trust-item {
    display: grid;
    place-items: center;
    gap: 7px;
    min-height: 88px;
    padding: 14px 8px;
    text-align: center;
    border-right: 1px solid #e1e4e6;
}

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

.slf-why-icon,
.slf-why-card-icon,
.slf-why-step-icon,
.slf-why-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #007878;
}

.slf-why-icon svg {
    width: 28px;
    height: 28px;
}

.slf-why-trust-item strong {
    color: #161a1d;
    font-size: 0.82rem;
    line-height: 1.2;
    font-weight: 800;
}

.slf-why-icon svg,
.slf-why-card-icon svg,
.slf-why-step-icon svg,
.slf-why-cta-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.slf-why-service-bar {
    padding: 16px 20px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(145deg, #006666, #008080);
    font-weight: 800;
    font-size: 0.96rem;
    line-height: 1.35;
}

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

.slf-why-difference-section {
    margin-top: 30px;
}

.slf-why-section-title {
    margin: 0 0 20px;
    color: #202326;
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.slf-why-difference-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.slf-why-benefit-card,
.slf-why-call-card,
.slf-why-feature-card,
.slf-why-process-card,
.slf-why-testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--slf-card-radius);
    box-shadow: var(--slf-card-shadow);
}

.slf-why-benefit-card {
    min-height: 235px;
    padding: 28px 22px 24px;
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.slf-why-benefit-card:hover,
.slf-why-call-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 128, 128, 0.28);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.slf-why-card-icon svg {
    width: 62px;
    height: 62px;
}

.slf-why-benefit-card h3 {
    margin: 16px 0 10px;
    color: #15191d;
    font-size: 1.04rem;
    font-weight: 800;
    line-height: 1.2;
}

.slf-why-benefit-card p,
.slf-why-call-card p,
.slf-why-feature-card p,
.slf-why-step p {
    margin: 0;
    color: #454b50;
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 500;
}

/* Feature card */
.slf-why-feature-card {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: 36px;
    padding: 24px;
    align-items: center;
}

.slf-why-feature-image {
    min-height: 260px;
    border-radius: 12px;
    background:
        linear-gradient(0deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.04)),
        var(--slf-media-why-room, url('/Images/why-smartlink-living-room.jpg')) var(--slf-media-why-room-position, center center) / cover no-repeat,
        linear-gradient(145deg, #e9eeee, #cfdada);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.slf-why-feature-copy {
    padding: 4px 10px 4px 0;
}

.slf-why-feature-copy h2 {
    margin: 0 0 12px;
    color: #1f2327;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.slf-why-check-list {
    display: grid;
    gap: 9px;
    margin: 18px 0 16px;
    padding: 0;
    list-style: none;
}

.slf-why-check-list li {
    position: relative;
    padding-left: 30px;
    color: #30363a;
    font-size: 0.96rem;
    line-height: 1.35;
    font-weight: 600;
}

.slf-why-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: #008080;
    font-size: 0.76rem;
    font-weight: 800;
}

.slf-why-feature-note {
    padding-top: 2px;
    color: #30363a !important;
}

/* Call cards */
.slf-why-call-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.slf-why-call-card {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 16px;
    align-items: center;
    min-height: 145px;
    padding: 24px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.slf-why-small-icon svg {
    width: 58px;
    height: 58px;
}

.slf-why-call-card h3 {
    margin: 0 0 8px;
    color: #161a1d;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.2;
}

/* Process */
.slf-why-process-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    padding: 26px 28px;
}

.slf-why-step {
    position: relative;
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 16px;
    align-items: center;
}

.slf-why-step-number {
    position: absolute;
    top: -12px;
    left: -5px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(145deg, #006666, #008080);
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 7px 14px rgba(0, 102, 102, 0.22);
}

.slf-why-step-icon svg {
    width: 68px;
    height: 68px;
}

.slf-why-step h3 {
    margin: 0 0 6px;
    color: #15191d;
    font-size: 1.05rem;
    font-weight: 800;
}

.slf-why-process-arrow {
    color: rgba(0, 102, 102, 0.45);
    font-size: 3.1rem;
    line-height: 1;
    font-weight: 800;
}

/* Testimonial */
.slf-why-testimonial-card {
    display: grid;
    grid-template-columns: 125px 1fr;
    gap: 8px 22px;
    align-items: center;
    padding: 34px 44px;
}

.slf-why-testimonial-card > span {
    grid-row: 1 / span 2;
    color: #008080;
    font-size: 7rem;
    line-height: 0.8;
    font-weight: 800;
    text-align: center;
}

.slf-why-testimonial-card blockquote {
    margin: 0;
    color: #161a1d;
    font-size: 1.22rem;
    line-height: 1.45;
    font-weight: 800;
}

.slf-why-testimonial-card p {
    margin: 0;
    color: #007878;
    font-size: 1rem;
    font-weight: 800;
}

/* Bottom CTA */
.slf-why-bottom-cta {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    align-items: center;
    gap: 24px;
    width: 100%;
    margin: 36px 0 0;
    padding: 32px min(8%, 130px);
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 50%, rgba(255, 255, 255, 0.16), transparent 18%),
        linear-gradient(145deg, #006666, #008080);
}

.slf-why-cta-icon {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: #ffffff;
    color: #008080;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.slf-why-cta-icon svg {
    width: 38px;
    height: 38px;
}

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

.slf-why-bottom-cta p {
    margin: 0;
    color: #f0ffff;
    font-size: 1rem;
    font-weight: 600;
}

.slf-why-bottom-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 285px;
    min-height: var(--slf-button-height);
    padding: 0 28px;
    border-radius: var(--slf-button-radius);
    background: #ffffff;
    color: #006666;
    text-decoration: none;
    font-weight: var(--slf-weight-button);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.17);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.slf-why-bottom-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

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

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

    .slf-why-process-card {
        grid-template-columns: 1fr;
    }

    .slf-why-process-arrow {
        display: none;
    }
}

@media (max-width: 900px) {
    .slf-why-hero {
        min-height: 430px;
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.62),
                rgba(0, 0, 0, 0.48)
            ),
            var(--slf-media-why-hero, url('/Images/why-smartlink-hero.jpg')) var(--slf-media-why-hero-position, center center) / cover no-repeat,
            linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    }

    .slf-why-hero-inner {
        width: 90%;
        text-align: center;
    }

    .slf-why-hero p {
        margin: 0 auto;
    }

    .slf-why-feature-card {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .slf-why-feature-copy {
        padding: 0;
    }

    .slf-why-bottom-cta {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 30px 22px;
    }
}

@media (max-width: 700px) {
    .slf-why-trust-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .slf-why-trust-item:nth-child(2) {
        border-right: 0;
    }

    .slf-why-trust-item:nth-child(1),
    .slf-why-trust-item:nth-child(2) {
        border-bottom: 1px solid #e1e4e6;
    }

    .slf-why-difference-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .slf-why-benefit-card {
        min-height: 0;
        padding: 24px 18px;
    }

    .slf-why-feature-card,
    .slf-why-process-card,
    .slf-why-testimonial-card,
    .slf-why-call-card {
        padding: 22px 18px;
    }

    .slf-why-call-card,
    .slf-why-step {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .slf-why-step-number {
        left: 50%;
        transform: translateX(-50%);
    }

    .slf-why-testimonial-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .slf-why-testimonial-card > span {
        grid-row: auto;
        font-size: 5.4rem;
    }

    .slf-why-testimonial-card blockquote {
        font-size: 1.05rem;
    }
}

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

    .slf-why-hero-inner {
        padding: 46px 0;
    }

    .slf-why-hero h1 {
        font-size: 2.2rem;
    }

    .slf-why-hero p {
        font-size: 0.98rem;
        line-height: 1.52;
    }

    .slf-why-section {
        width: 90%;
        margin: 22px auto;
    }

    .slf-why-feature-image {
        min-height: 215px;
    }

    .slf-why-bottom-cta a {
        width: 100%;
        min-width: 0;
    }
}
