
/* =========================================================
   FIX IT VALENCIA
   REUSABLE SERVICE PAGE
   ========================================================= */

.service-page {
    color: #0f172a;
    background: #fff;
}


/* HERO */

.service-hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #f8fafc;
}

.service-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        var(--service-hero-background,
            url("/assets/images/furniture-assembly-hero.png"));
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

.service-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(248,250,252,1) 0%,
            rgba(248,250,252,.99) 29%,
            rgba(248,250,252,.92) 42%,
            rgba(248,250,252,.52) 57%,
            rgba(248,250,252,.06) 76%
        );
    z-index: 1;
}

.service-hero-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
}

.service-hero-content {
    max-width: 680px;
    padding: 82px 0 88px;
}

.service-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 28px;
    color: #64748b;
    font-size: 13px;
}

.service-breadcrumb a {
    color: #475569;
    text-decoration: none;
}

.service-breadcrumb a:hover {
    color: #2563eb;
}

.service-eyebrow {
    margin-bottom: 17px;
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
}

.service-hero h1 {
    max-width: 670px;
    margin: 0;
    color: #0f172a;
    font-size: clamp(43px, 5vw, 69px);
    line-height: .99;
    letter-spacing: -.048em;
}

.service-hero h1 span {
    color: #2563eb;
}

.service-hero-lead {
    max-width: 620px;
    margin: 27px 0 0;
    color: #475569;
    font-size: 18px;
    line-height: 1.72;
}

.service-scope-line {
    display: flex;
    flex-wrap: wrap;
    margin-top: 25px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.service-scope-line span {
    display: inline-flex;
    align-items: center;
}

.service-scope-line span:not(:last-child)::after {
    content: "·";
    margin: 0 9px;
    color: #94a3b8;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-top: 32px;
}

.service-primary-btn {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 11px 28px rgba(37,99,235,.20);
}

.service-primary-btn:hover {
    transform: translateY(-2px);
}

.service-secondary-link,
.service-inline-link {
    color: #0f172a;
    font-weight: 800;
    text-decoration: none;
}

.service-secondary-link:hover,
.service-inline-link:hover {
    color: #2563eb;
}

.service-area-note {
    margin-top: 22px;
    color: #64748b;
    font-size: 13px;
}


/* GENERAL */

.service-section {
    padding: 96px 0;
}

.service-section-head {
    max-width: 760px;
    margin-bottom: 45px;
}

.service-section-head h2,
.service-before-layout h2 {
    margin: 8px 0 16px;
    color: #0f172a;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.service-section-head > p,
.service-before-lead {
    max-width: 690px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.75;
}


/* SERVICE CARDS */

.service-scope-section {
    background:
        radial-gradient(circle at 92% 8%, rgba(37,99,235,.045), transparent 23%),
        #fff;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-detail-card {
    position: relative;
    min-height: 230px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fbfcfe;
    box-shadow: 0 7px 23px rgba(15,23,42,.035);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-detail-card::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    right: -50px;
    top: -50px;
    border-radius: 50%;
    background: rgba(37,99,235,.035);
}

.service-detail-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37,99,235,.18);
    box-shadow: 0 17px 38px rgba(15,23,42,.07);
}

.service-detail-number {
    margin-bottom: 30px;
    color: #0f766e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.service-detail-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.25;
}

.service-detail-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.65;
}


/* QUALITY */

.service-quality-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(37,99,235,.18), transparent 27%),
        #0f172a;
    color: #fff;
}

.service-quality-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
    align-items: center;
}

.service-quality-copy h2 {
    margin: 10px 0 24px;
    font-size: clamp(37px, 4vw, 55px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.service-quality-copy p {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.75;
}

.service-quality-points {
    display: grid;
    gap: 12px;
}

.service-quality-points article {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 21px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    background: rgba(255,255,255,.045);
}

.service-quality-points article > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(94,234,212,.09);
    color: #5eead4;
    font-size: 11px;
    font-weight: 900;
}

.service-quality-points h3 {
    margin: 1px 0 5px;
    font-size: 17px;
}

.service-quality-points p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.6;
}


/* BEFORE VISIT */

.service-before-section {
    background: #f8fafc;
}

.service-before-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
}

.service-before-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.service-before-list article {
    padding: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #fff;
}

.service-before-list strong {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
}

.service-before-list p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

.service-inline-link {
    display: inline-block;
    margin-top: 16px;
}


/* PROCESS */

.service-section-head-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.service-process-grid {
    display: grid;
    grid-template-columns: 1fr 42px 1fr 42px 1fr;
    align-items: center;
}

.service-process-grid article {
    min-height: 230px;
    padding: 33px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
}

.service-process-number {
    margin-bottom: 35px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
}

.service-process-grid h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.service-process-grid p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.service-process-arrow {
    text-align: center;
    color: #94a3b8;
    font-size: 25px;
}


/* PRICING */

.service-pricing-section {
    background:
        radial-gradient(circle at 87% 10%, rgba(15,118,110,.05), transparent 25%),
        #f8fafc;
}

.service-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.service-price-card {
    padding: 31px;
    border: 1px solid #e2e8f0;
    border-radius: 17px;
    background: #fff;
}

.service-price-card > span {
    display: block;
    margin-bottom: 22px;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.service-price-card strong {
    display: block;
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 32px;
    letter-spacing: -.035em;
}

.service-price-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.65;
}

.service-price-featured {
    border-color: rgba(37,99,235,.22);
    box-shadow: 0 15px 35px rgba(37,99,235,.08);
}

.service-price-featured strong {
    color: #2563eb;
}

.service-pricing-note {
    max-width: 740px;
    margin: 27px 0 0;
    color: #64748b;
    line-height: 1.7;
}


/* FAQ */

.service-faq-section {
    background: #fff;
}

.service-faq-wrap {
    max-width: 900px;
}

.service-faq-section details {
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fbfcfe;
}

.service-faq-section summary {
    padding: 21px 23px;
    cursor: pointer;
    color: #0f172a;
    font-weight: 800;
}

.service-faq-section details p {
    margin: 0;
    padding: 0 23px 23px;
    color: #64748b;
    line-height: 1.7;
}


/* RELATED */

.service-related-section {
    padding: 88px 0;
    background: #f8fafc;
}

.service-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.service-related-grid a {
    display: block;
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 17px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease;
}

.service-related-grid a:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(15,23,42,.065);
}

.service-related-grid > a > span {
    color: #0f766e;
    font-size: 11px;
    font-weight: 900;
}

.service-related-grid h3 {
    margin: 21px 0 10px;
    font-size: 20px;
}

.service-related-grid p {
    color: #64748b;
    line-height: 1.65;
}

.service-related-grid strong {
    color: #2563eb;
    font-size: 13px;
}


/* FINAL CTA */

.service-final-cta {
    padding: 75px 0;
    background:
        radial-gradient(circle at 82% 45%, rgba(37,99,235,.18), transparent 29%),
        #0f172a;
    color: #fff;
}

.service-final-box {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: space-between;
}

.service-final-box h2 {
    margin: 9px 0 13px;
    font-size: clamp(33px, 4vw, 49px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.service-final-box p {
    max-width: 660px;
    margin: 0;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.7;
}

.service-final-actions {
    min-width: 210px;
    text-align: center;
}

.service-final-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 12px 28px rgba(37,211,102,.18);
}

.service-final-actions span {
    display: block;
    max-width: 220px;
    margin-top: 13px;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.45;
}


/* TABLET */

@media (max-width: 1000px) {

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

    .service-quality-layout,
    .service-before-layout {
        gap: 45px;
    }

}


/* MOBILE */

@media (max-width: 700px) {

    .service-hero {
        min-height: auto;
        padding-bottom: 235px;
        background: #f8fafc;
    }

    .service-hero::before {
        inset: auto 0 0;
        height: 285px;
        background-size: cover;
        background-position: 68% center;
    }

    .service-hero::after {
        background:
            linear-gradient(
                180deg,
                #f8fafc 0%,
                #f8fafc 59%,
                rgba(248,250,252,.98) 66%,
                rgba(248,250,252,.30) 84%,
                rgba(248,250,252,0) 100%
            );
    }

    .service-hero-content {
        padding: 52px 0 38px;
    }

    .service-breadcrumb {
        display: none;
    }

    .service-hero h1 {
        font-size: 42px;
        line-height: 1.02;
    }

    .service-hero-lead {
        font-size: 16px;
    }

    .service-scope-line {
        line-height: 1.9;
    }

    .service-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .service-section,
    .service-quality-section {
        padding: 68px 0;
    }

    .service-section-head {
        margin-bottom: 30px;
    }

    .service-card-grid,
    .service-before-list,
    .service-pricing-grid,
    .service-related-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-card {
        min-height: auto;
    }

    .service-quality-layout,
    .service-before-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

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

    .service-process-grid article {
        min-height: auto;
    }

    .service-process-arrow {
        transform: rotate(90deg);
    }

    .service-final-box {
        align-items: flex-start;
        flex-direction: column;
        gap: 30px;
    }

    .service-final-actions {
        width: 100%;
        text-align: left;
    }

    .service-final-actions span {
        max-width: 280px;
    }

}

/* ===== FIX: dark quality section headings ===== */

.service-quality-copy h2,
.service-quality-points h3 {
    color: #ffffff;
}


@media (min-width: 1001px) {
    .service-hero h1 {
        font-size: clamp(43px, 4.4vw, 62px);
    }
}

/* ===== FIX: final CTA heading ===== */

.service-final-box h2 {
    color: #ffffff;
}


/* ===== SERVICE 03 HERO TITLE SIZE ===== */

@media (min-width: 1001px) {
    .service-hero-appliances h1 {
        font-size: 54px;
        line-height: 1.02;
        max-width: 650px;
    }
}


/* ===== SERVICE PAGE TYPOGRAPHY REFINEMENT ===== */

@media (min-width: 1001px) {

    .service-hero h1 {
        font-size: 58px;
        line-height: 1.02;
    }

    .service-section-head h2,
    .service-before-layout h2 {
        font-size: 44px;
    }

    .service-quality-copy h2 {
        font-size: 46px;
    }

    .service-final-box h2 {
        font-size: 42px;
    }

}

