﻿/* ===== Helpers ===== */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home .section {
    padding: 3.25rem 0;
}

.section-desc {
    margin: .5rem 0 0;
    color: var(--muted);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-bg {
    position: absolute;
    inset: -10% -5% auto -5%;
    height: 520px;
    background:
        radial-gradient(60% 60% at 10% 10%, var(--green-100), transparent 60%),
        radial-gradient(50% 50% at 100% 0%, rgba(230, 251, 242, .55), transparent 55%),
        radial-gradient(35% 35% at 85% 80%, var(--mint-100), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 2rem;
    align-items: center;
    padding: 4rem 0 2.75rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.08;
    margin: .75rem 0 1rem;
    color: var(--green-900);
}

.hero p {
    font-size: 1.05rem;
    color: var(--muted);
    margin: 0 0 1.25rem;
}

/* Booking */
.booking {
    margin-top: 1.25rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    padding: .6rem;
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(31, 77, 58, .06);
}

.booking input,
.booking select {
    flex: 1;
    min-width: 200px;
    padding: .85rem 1rem;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 12px;
    font: inherit;
    background: #fff;
}

.booking input:focus,
.booking select:focus {
    outline: none;
    border-color: var(--green-500);
    box-shadow: 0 0 0 4px var(--ring);
}

.booking .btn {
    min-width: 210px;
    white-space: nowrap;
}

.quick-list {
    margin-top: 1.25rem;
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    color: var(--green-700);
}

.quick-list span {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 999px;
    padding: .45rem .75rem;
}

.hero-illustration {
    align-self: stretch;
    background: linear-gradient(180deg, var(--green-100), #ffffff);
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, .06);
    padding: 1rem;
    display: flex;
    align-items: end;
    justify-content: center;
}

.illu {
    width: 100%;
    height: 360px;
    border-radius: 18px;
    background: conic-gradient(from 180deg at 50% 50%,
            #c9f0df 0 25%,
            #e6fbf2 25% 50%,
            #edf9f3 50% 75%,
            #ffffff 75% 100%);
    position: relative;
    overflow: hidden;
}

.illu::after {
    content: "";
    position: absolute;
    inset: 22px;
    border-radius: 14px;
    background: url('../../assets/home/hero-illustration.png') no-repeat center / cover;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

/* ===== Section head ===== */
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-head h2 {
    margin: 0;
    color: var(--green-900);
}

/* ===== Services cards ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.card {
    background: var(--card);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius);
    padding: 1.1rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: .98rem;
}

.card h3 {
    margin: .25rem 0 .35rem;
    color: var(--green-700);
}

.svc-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, var(--mint-100), #ffffff);
    border: 1px solid rgba(0, 0, 0, .06);
    margin-bottom: .75rem;
}

/* ===== Pricing ===== */
.pricing {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.price-table {
    overflow: auto;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, .06);
    background: #fff;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

th,
td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    text-align: left;
}

th {
    background: var(--green-100);
    color: var(--green-900);
}

.deal {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius);
    padding: 1rem;
}

.deal h3 {
    margin: 0 0 .75rem;
    color: var(--green-900);
}

.deal ul {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
    color: var(--muted);
}

/* ===== Coverage ===== */
.coverage {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 1rem;
}

.map {
    background: linear-gradient(180deg, var(--green-100), #ffffff);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius);
    height: 320px;
    display: grid;
    place-items: center;
}

.map svg {
    max-width: 320px;
    opacity: .9;
}

.areas {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius);
    padding: 1rem;
}

.areas h3 {
    margin: 0 0 .75rem;
    color: var(--green-900);
}

.areas ul {
    columns: 2;
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

/* ===== Testimonials ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.quote {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius);
    padding: 1rem;
}

.quote-head {
    display: flex;
    gap: .75rem;
    align-items: center;
    margin-bottom: .75rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--green-100), #ffffff);
    border: 1px solid rgba(0, 0, 0, .06);
}

.stars {
    color: #f7b500;
    font-size: 1.05rem;
}

/* ===== Blog ===== */
.blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.post {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius);
    overflow: hidden;
}

.thumb {
    height: 160px;
    background: linear-gradient(180deg, var(--green-100), #ffffff);
}

.post .content {
    padding: 1rem;
}

.post h3 {
    margin: 0 0 .35rem;
    color: var(--green-700);
}

.post p {
    margin: 0;
    color: var(--muted);
}

/* ===== FAQs ===== */
details {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
    padding: 1rem;
}

details+details {
    margin-top: .75rem;
}

summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--green-900);
}

/* ===== Contact ===== */
.contact {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 1rem;
}

.contact form {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius);
    padding: 1rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin: .65rem 0;
}

.field label {
    font-weight: 700;
    color: var(--green-900);
}

.field input,
.field textarea {
    padding: .85rem 1rem;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 12px;
    font: inherit;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--green-500);
    box-shadow: 0 0 0 4px var(--ring);
}

.field textarea {
    min-height: 120px;
}

.info {
    background: linear-gradient(180deg, var(--green-100), #ffffff);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius);
    padding: 1rem;
}

.info h3 {
    margin: 0 0 .75rem;
    color: var(--green-900);
}

.info p {
    margin: .5rem 0;
    color: var(--muted);
}

.info a {
    color: var(--green-900);
    font-weight: 700;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-illustration {
        order: -1;
    }

    .illu {
        height: 320px;
    }

    .pricing {
        grid-template-columns: 1fr;
    }

    table {
        min-width: 560px;
    }

    .coverage {
        grid-template-columns: 1fr;
    }

    .areas ul {
        columns: 2;
    }
}

@media (max-width: 768px) {
    .home .section {
        padding: 2.75rem 0;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .cards {
        grid-template-columns: 1fr 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .blog {
        grid-template-columns: 1fr;
    }

    .contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .hero-grid {
        padding: 3.25rem 0 2.25rem;
    }

    .booking input,
    .booking select {
        min-width: 100%;
    }

    .booking .btn {
        width: 100%;
        min-width: 100%;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .areas ul {
        columns: 1;
    }
}