/* =========================================================
   DOMUS PRO — SERVICES PAGE
   Clean page-specific styles
   Global layout / header / footer remain in style.css
   ========================================================= */

/* =========================
   HERO
   ========================= */
#hero {
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    padding: 80px 8%;
    background:
        linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
        url("images/Hero2.png") center center / cover no-repeat;
}

#hero h5 {
    color: #b9852b;
    letter-spacing: 3px;
    font-size: 15px;
    margin-bottom: 10px;
}

#hero h1 {
    font-size: 70px;
    margin: 0;
    text-transform: uppercase;
}

#hero p {
    max-width: 420px;
    font-size: 20px;
    color: #ddd;
    margin-top: 25px;
}

/* =========================
   QUICK SERVICES NAV
   ========================= */
.services-quick-nav {
    background: #fff;
    padding: 42px 0 48px;
    border-bottom: 1px solid #eee9df;
}

.services-quick-header {
    text-align: center;
    margin-bottom: 24px;
}

.services-quick-header small {
    display: block;
    color: #b9852b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.services-quick-header p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

.services-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.service-quick-card {
    min-width: 0;
    min-height: 142px;
    padding: 18px 12px 16px;
    background: #fff;
    border: 1px solid #eee8dc;
    border-radius: 16px;
    box-shadow: 0 7px 20px rgba(0,0,0,.055);
    text-decoration: none;
    color: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-quick-card img {
    width: 52px;
    height: 52px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 9px;
}

.service-quick-card span {
    color: #b9852b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.service-quick-card strong {
    font-size: 12px;
    line-height: 1.3;
    text-transform: uppercase;
    max-width: 170px;
}

.service-quick-card:hover {
    transform: translateY(-4px);
    border-color: rgba(185,133,43,.45);
    box-shadow: 0 14px 28px rgba(0,0,0,.10);
}

.service-quick-card:hover strong {
    color: #b9852b;
}

.service-quick-card:focus-visible {
    outline: 2px solid #b9852b;
    outline-offset: 3px;
}

/* =========================
   INTRO
   ========================= */
#intro {
    padding: 50px 0;
    background: #f4f1eb;
    text-align: center;
}

#intro h2 {
    font-size: 40px;
    margin-bottom: 18px;
}

#intro p {
    width: min(800px, 90%);
    margin: auto;
    color: #666;
}

/* =========================
   SERVICE BLOCKS
   ========================= */
.service-section {
    width: min(1200px, 100%);
    margin: 40px auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 70px;
    align-items: center;
    border: 0;
}

.service-section > * {
    min-width: 0;
}

.service-image {
    min-width: 0;
}

.service-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

.service-content {
    min-width: 0;
}

.service-content h2 {
    font-size: 34px !important;
    line-height: 1.15;
    margin-bottom: 20px;
}

.service-content h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #c89a3d;
    margin-top: 18px;
}

.service-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
}

.service-content h3 {
    color: #b9852b;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.service-content ul {
    columns: 2;
    column-gap: 60px;
    padding-left: 20px;
}

.service-content li {
    margin-bottom: 15px;
}

/* =========================
   WHY CHOOSE US
   ========================= */
#why-choose-us {
    background: #fff;
    text-align: center;
    padding: 90px 0;
}

#why-choose-us h2 {
    font-size: 42px;
    margin-bottom: 40px;
}

#why-choose-us ul {
    list-style: none;
    padding: 0;
    width: 800px;
    max-width: 90%;
    margin: auto;
}

#why-choose-us li {
    padding: 14px;
    font-size: 19px;
}

/* =========================
   DESKTOP SAFETY
   Prevent page-specific children from creating
   a wider layout than the viewport.
   ========================= */
@media (min-width: 769px) {
    #hero,
    .services-quick-nav,
    #intro,
    .service-section,
    #why-choose-us {
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-section,
    .services-quick-grid {
        min-width: 0;
    }

    .service-section img,
    .services-quick-grid img {
        max-width: 100%;
    }
}

/* =========================
   TABLET
   ========================= */
@media (max-width: 900px) {
    #hero h1 {
        font-size: 50px;
    }

    .services-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 30px;
    }

    .service-image {
        order: 1;
    }

    .service-content {
        order: 2;
    }

    .service-content ul {
        columns: 1;
    }
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 600px) {
    #hero {
        min-height: 500px;
        padding: 70px 30px;
    }

    #hero h1 {
        font-size: 38px;
    }

    .services-quick-nav {
        padding: 34px 0 38px;
    }

    .services-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .service-quick-card {
        min-height: 125px;
        padding: 14px 8px;
    }

    .service-quick-card img {
        width: 46px;
        height: 46px;
    }

    .service-quick-card strong {
        font-size: 10.5px;
    }

    #intro {
        padding: 50px 0;
    }

    #intro h2 {
        font-size: 32px;
    }

    .service-section {
        width: 100%;
        max-width: 100%;
        margin: 40px 0;
        padding: 0 20px;
        grid-template-columns: 1fr;
    }

    .service-image img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    #why-choose-us {
        padding: 70px 0;
    }

    #why-choose-us h2 {
        font-size: 34px;
    }
}

/* =========================
   SMALL PHONES
   ========================= */
@media (max-width: 400px) {
    .service-section {
        padding: 0 16px;
    }

    .service-content h2 {
        font-size: 30px !important;
    }
}
