:root {
    --home-green: #1f5b48;
    --home-green-dark: #153f33;
    --home-green-soft: #eef6f2;
    --home-ink: #17211d;
    --home-muted: #66746d;
    --home-line: #dfe8e3;
    --home-bg: #f4f7f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

body {
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--home-bg);
    color: var(--home-ink)
}

main {
    display: block
}

.hero {
    min-height: calc(100vh - 82px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    background: #0f1d18;
    overflow: hidden;
}

.hero-left {
    position: relative;
    min-height: 560px;
    overflow: hidden
}

.hero-left img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(.9) contrast(1.03)
}

.hero-left::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 29, 23, .06), rgba(12, 29, 23, .12) 55%, #000000 100%)
}

.hero-right {
    padding: clamp(52px, 6vw, 96px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    background: linear-gradient(145deg, #000000, #000);
}

.small-title {
    margin: 0 0 13px;
    color: #91c0ac;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .2em;
    text-transform: uppercase
}

.hero-right h1 {
    max-width: 650px;
    margin: 0 0 18px;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.02;
    letter-spacing: -.05em
}

.subtitle {
    max-width: 590px;
    margin: 0 0 30px;
    color: #c7d8d0;
    font-size: 17px;
    line-height: 1.65
}

.service-box {
    width: min(100%, 520px);
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 18px;
    background: #fff;
    color: var(--home-ink);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .23);
}

.service-box>p {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 850;
    color: #3c4b44
}

.service-box .service-box-title {
    margin-bottom: 7px;
    font-size: 15px;
    color: #20312a
}

.service-box .service-box-copy {
    margin: 0 0 16px;
    color: #66746d;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.55
}

.service-box form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px
}

.service-box select {
    min-width: 0;
    height: 48px;
    padding: 0 13px;
    border: 1px solid #cfdad4;
    border-radius: 10px;
    background: #fff;
    color: #25332d;
    outline: none;
    font-size: 14px
}

.service-box select:focus {
    border-color: #5b8b78;
    box-shadow: 0 0 0 4px rgba(31, 91, 72, .08)
}

.service-box button,
.message-btn {
    min-height: 48px;
    padding: 0 17px;
    border: 1px solid var(--home-green);
    border-radius: 10px;
    background: var(--home-green);
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 850;
    transition: .18s ease
}

.service-box button:hover,
.message-btn:hover {
    background: var(--home-green-dark);
    transform: translateY(-1px)
}

.flash {
    max-width: 1120px;
    margin: 24px auto 0;
    padding: 13px 16px;
    border-radius: 11px;
    font-size: 13px
}

.flash.success {
    border: 1px solid #cbe4d6;
    background: #edf8f1;
    color: #256044
}

.flash.error {
    border: 1px solid #efcccc;
    background: #fff0f0;
    color: #9d3434
}

.services-section {
    padding: clamp(64px, 7vw, 96px) clamp(20px, 5vw, 72px);
    background: linear-gradient(180deg, #f7faf8, #fff)
}

.section-header {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center
}

.section-label {
    margin: 0 0 10px;
    color: var(--home-green);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .19em;
    text-transform: uppercase
}

.section-header h2 {
    margin: 0 0 13px;
    color: var(--home-ink);
    font-size: clamp(31px, 3.5vw, 46px);
    line-height: 1.1;
    letter-spacing: -.035em
}

.section-text {
    margin: 0;
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.7
}

.service-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start
}

.service-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--home-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(25, 62, 48, .055);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: #cbdcd3;
    box-shadow: 0 18px 42px rgba(25, 62, 48, .10)
}

.provider-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px
}

.provider-top img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 15px;
    object-fit: cover;
    background: #eef3f0;
    border: 1px solid #e0e8e4
}

.provider-info {
    min-width: 0
}

.provider-info h3 {
    margin: 0 0 4px;
    color: var(--home-ink);
    font-size: 18px;
    line-height: 1.25
}

.provider-info p {
    margin: 0 0 5px;
    color: var(--home-muted);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.rating {
    color: #a66f09;
    font-size: 12px;
    font-weight: 850
}

.service-details {
    padding: 12px 13px;
    border: 1px solid #e8eeeb;
    border-radius: 10px;
    background: #fafcfb
}

.service-details p {
    margin: 0;
    color: #4f5d56;
    font-size: 13px;
    line-height: 1.55
}

.message-form {
    display: grid;
    gap: 9px;
    margin-top: 14px
}

.guest-contact-note {
    display: block;
    margin-top: -3px;
    color: #718079;
    font-size: 10.5px;
    line-height: 1.4
}

.message-form input,
.message-form textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d4dfd9;
    border-radius: 9px;
    background: #fff;
    color: #25332d;
    outline: none;
    font: inherit;
    font-size: 13px
}

.message-form input:focus,
.message-form textarea:focus {
    border-color: #6c9886;
    box-shadow: 0 0 0 3px rgba(31, 91, 72, .07)
}

.message-form textarea {
    min-height: 82px;
    resize: vertical
}

.message-btn {
    width: 100%
}

.card-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 11px
}

.review-link {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid #d7e2dc;
    border-radius: 9px;
    background: #f6f9f7;
    color: #35453e;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800
}

.review-link:hover,
.review-link.active {
    border-color: var(--home-green);
    background: var(--home-green);
    color: #fff
}

.empty-note {
    grid-column: 1/-1;
    padding: 42px 24px;
    border: 1px dashed #cbd8d1;
    border-radius: 15px;
    background: #fff;
    color: var(--home-muted);
    text-align: center;
    font-size: 14px
}

.review-panel {
    display: none;
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid #dfe8e3;
    border-radius: 12px;
    background: #fff
}

.review-panel.active {
    display: block
}

.review-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid #e8eeeb;
    background: #f8fbf9
}

.review-header h3 {
    margin: 0 0 3px;
    font-size: 16px;
    color: var(--home-ink)
}

.modal-subtitle {
    margin: 0;
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.45
}

.review-close {
    padding: 6px 8px;
    border: 0;
    border-radius: 7px;
    background: #eaf2ee;
    color: var(--home-green);
    cursor: pointer;
    font-size: 11px;
    font-weight: 850
}

.review-close:hover {
    background: var(--home-green);
    color: #fff
}

.review-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #edf2ef
}

.review-score {
    font-size: 26px;
    font-weight: 900;
    color: var(--home-ink)
}

.review-score small {
    font-size: 12px;
    color: var(--home-muted)
}

.review-stars {
    color: #e0a126;
    font-size: 13px
}

.review-count {
    margin-top: 2px;
    color: var(--home-muted);
    font-size: 11px
}

.review-list {
    display: grid;
    gap: 9px;
    max-height: 280px;
    padding: 12px;
    overflow: auto
}

.review-item {
    padding: 11px;
    border: 1px solid #e4ebe7;
    border-radius: 9px;
    background: #fff
}

.review-item strong {
    display: block;
    margin-bottom: 3px;
    color: var(--home-ink);
    font-size: 12px
}

.review-item p {
    margin: 6px 0;
    color: #52615a;
    font-size: 12px;
    line-height: 1.5
}

.review-item small {
    color: #819089;
    font-size: 10px
}

.review-rating {
    margin-bottom: 4px;
    color: #936811;
    font-size: 11px;
    font-weight: 800
}

.notif-badge {
    float: right;
    min-width: 20px;
    height: 20px;
    margin-left: 8px;
    padding: 0 6px;
    border-radius: 999px;
    background: #c63d3d;
    color: #fff;
    font-size: 11px;
    line-height: 20px;
    text-align: center
}

@media(max-width:1080px) {
    .hero {
        grid-template-columns: 1fr 1fr
    }

    .hero-right {
        padding: 50px 42px
    }

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

@media(max-width:820px) {
    .hero {
        min-height: auto;
        grid-template-columns: 1fr
    }

    .hero-left {
        min-height: 330px;
        height: 38vh
    }

    .hero-left::after {
        background: linear-gradient(180deg, rgba(12, 29, 23, .04), rgba(12, 29, 23, .35))
    }

    .hero-right {
        padding: 46px 24px
    }

    .service-box form {
        grid-template-columns: 1fr
    }

    .services-section {
        padding: 58px 20px
    }

    .service-grid {
        grid-template-columns: 1fr;
        max-width: 650px
    }
}

@media(max-width:520px) {
    .hero-left {
        min-height: 250px
    }

    .hero-right {
        padding: 34px 18px
    }

    .hero-right h1 {
        font-size: 38px
    }

    .subtitle {
        font-size: 15px
    }

    .service-box {
        padding: 16px;
        border-radius: 14px
    }

    .services-section {
        padding: 48px 14px
    }

    .service-card {
        padding: 17px;
        border-radius: 14px
    }

    .section-header {
        margin-bottom: 30px
    }

    .provider-top img {
        width: 58px;
        height: 58px;
        flex-basis: 58px
    }
}