/* =========================================================
   Cleaner Network — Landing Page Styles
   ========================================================= */

:root {
    --color-green: #1f7a3d;
    --color-green-dark: #0f3d20;
    --color-green-darker: #0a2916;
    --color-navy: #0c1d2e;
    --color-navy-light: #14283b;
    --color-text: #16221c;
    --color-text-muted: #5c6b64;
    --color-border: #e7ebe8;
    --color-bg-soft: #f4f7f5;
    --color-white: #ffffff;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 999px;

    --shadow-sm: 0 1px 2px rgba(16, 24, 20, 0.06);
    --shadow-md: 0 8px 24px rgba(16, 24, 20, 0.08);
    --shadow-lg: 0 20px 45px rgba(16, 24, 20, 0.12);

    --container-width: 1200px;

    font-size: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1180px;
    /* max-width: var(--container-width); */
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */


.card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 28px 24px;
}

.card__eyebrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.card__eyebrow span:first-child {
    font-weight: 700;
    color: var(--green-700);
    font-size: 15px;
}

.card__eyebrow span:last-child {
    font-size: 13px;
    color: var(--ink-soft);
}

.card__sub {
    color: var(--ink-soft);
    font-size: 14px;
    margin: 0 0 22px;
}

/* Stepper */
.stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
    position: relative;
}

.stepper::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: var(--line);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

.step__dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--line);
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    transition: all .2s ease;
}

.step__label {
    margin-top: 8px;
    font-size: 12px;
    color: var(--ink-soft);
    font-weight: 600;
    max-width: 70px;
}

.step.is-active .step__dot {
    background: var(--green-700);
    border-color: var(--green-700);
    color: var(--white);
}

.step.is-active .step__label {
    color: var(--green-900);
}

.step.is-done .step__dot {
    background: var(--green-600);
    border-color: var(--green-600);
    color: var(--white);
}

.step.is-done .step__dot i {
    font-size: 12px;
}

.terms.has-error input {
    outline: 2px solid #dc3545;
}

.terms+.field-error {
    display: none;
    color: #dc3545;
    font-size: 14px;
    margin-top: 6px;
}

.terms.has-error+.field-error {
    display: block;
}

.server-errors {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #dc3545;
    background: #fff5f5;
    border-radius: 6px;
}

.server-errors .server-error {
    color: #dc3545;
    margin: 5px 0;
    font-size: 14px;
}

/* Panels */
.panel {
    display: none;
}

.panel.is-active {
    display: block;
    animation: fade .25s ease;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel h2 {
    font-size: 19px;
    margin: 0 0 4px;
    color: var(--green-900);
}

.panel>p.hint {
    margin: 0 0 18px;
    font-size: 13.5px;
    color: var(--ink-soft);
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrap i.icon-left {
    position: absolute;
    left: 14px;
    color: var(--green-700);
    font-size: 14px;
    pointer-events: none;
}

input#terms {
    appearance: revert;
}

.input-wrap i.icon-right {
    position: absolute;
    right: 14px;
    color: var(--ink-soft);
    font-size: 14px;
    pointer-events: none;
}

input,
select {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14.5px;
    color: var(--ink);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    font-family: inherit;
    appearance: none;
}

input.has-icon-left {
    padding-left: 40px;
}

input.has-icon-right,
input[type="date"],
input[type="time"] {
    padding-right: 40px;
}

select {
    padding-right: 36px;
}

input:focus,
select:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px var(--green-100);
}

input::placeholder {
    color: #9aa39d;
}

.field-note {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    color: var(--green-900);
    font-size: 12.5px;
    padding: 9px 12px;
    border-radius: 9px;
}

.field-note i {
    color: var(--green-700);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Review */
.review-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.review-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    font-size: 13.5px;
    border-bottom: 1px solid var(--line);
}

.review-list li:last-child {
    border-bottom: none;
}

.review-list span:first-child {
    color: var(--ink-soft);
}

.review-list span:last-child {
    font-weight: 600;
    text-align: right;
}

.terms {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-bottom: 8px;
}

.terms input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Nav buttons */
.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 22px;
    gap: 12px;
    margin-bottom: 41px;
}

button#nextBtn {
    margin-bottom: 40px;
    margin: 14px 28px 45px 0px;
}


.btn {
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .05s ease, background .15s ease, opacity .15s ease;
}

.btn:active {
    transform: scale(.98);
}

.btn--primary {
    background: var(--green-700);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.btn--primary:hover {
    background: var(--green-900);
}

.btn--ghost {
    background: transparent;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn--ghost:hover {
    border-color: var(--green-600);
    color: var(--green-700);
}

.btn--ghost.is-hidden {
    visibility: hidden;
}

.trust-banner {
    max-width: 640px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--green-100);
    color: var(--green-900);
    font-size: 13.5px;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 10px;
}

.field-error {
    font-size: 12px;
    color: #c0392b;
    margin-top: 6px;
    display: none;
}

.field.has-error input,
.field.has-error select {
    border-color: #c0392b;
}

.field.has-error .field-error {
    display: block;
}

/* Mobile */
@media (max-width:560px) {
    body {
        padding: 16px 10px 40px;
    }

    .card {
        padding: 20px 16px 18px;
        border-radius: 12px;
    }

    .stepper::before {
        left: 5%;
        right: 5%;
    }

    .step__label {
        display: none;
    }

    .step.is-active .step__label {
        display: block;
        position: absolute;
        top: 34px;
        font-size: 11px;
        white-space: nowrap;
    }

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

    .review-list li {
        flex-direction: column;
        gap: 2px;
    }

    .review-list span:last-child {
        text-align: left;
    }

    .actions {
        flex-direction: column-reverse;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .btn--primary {
        margin-left: 0;
    }

    .trust-banner {
        font-size: 12.5px;
        text-align: center;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-green);
    color: var(--color-white);
}

.btn--primary:hover {
    background: #185f30;
}

.btn--outline {
    background: transparent;
    border-color: var(--color-green);
    color: var(--color-green);
}

.btn--outline:hover {
    background: var(--color-green);
    color: var(--color-white);
}

.btn--white {
    background: var(--color-white);
    color: var(--color-green-darker);
}

.btn--white:hover {
    background: #eef3ee;
}

.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-green);
    color: var(--color-white);
    font-size: 11px;
    flex-shrink: 0;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    border-bottom: 1px solid var(--color-border);
    background: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo__icon {
    color: var(--color-green);
    font-size: 1.4rem;
}

.logo__title {
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.05;
    color: var(--color-text);
}

.logo__tagline {
    display: block;
    font-size: 0.65rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-top: 2px;
    margin-left: -35px
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.9rem;
    font-weight: bold;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--color-text);
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--color-green);
}

.chevron {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;

}

.link-login {
    font-size: 0.9rem;
    font-weight: bold;
}

.header__actions .btn {
    padding: 11px 20px;
    font-size: 0.9rem;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    background: var(--color-white);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 40px; */
    padding-top: 56px;
    padding-bottom: 56px;
    align-items: flex-start;
    margin-top: 20px;
}

.hero__title {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.text-accent {
    color: var(--color-green);
}

.hero__subtitle {
    margin-top: 18px;
    font-size: 1rem;
    color: #16221c;
    max-width: 463px;
    line-height: 1.6;
    font-weight: 600;
}

.hero__checklist {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 22px;
}

.hero__checklist li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ---- Search card ---- */

.search-card {
    margin-top: 28px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 31px 20px;
    display: grid;
    grid-template-columns: 1.2fr 1.1fr 1fr auto;
    gap: 14px;
    align-items: end;
    width: 725px;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1 !important;
    /* min-width: 0; */
}

.search-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text);
}

.search-input {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 9px 0px;
    height: 44px;
    background: var(--color-white);
    width: 142px;
}

.search-input input,
.search-input select {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--color-text);
    width: 100%;
    appearance: none;
}

.field-icon {
    margin-right: 8px;
    font-size: 0.85rem;
}

.field-icon--right {
    position: absolute;
    right: 12px;
    margin-right: 0;
}

.search-card__submit {
    height: 44px;
    padding-inline: 22px;
}

.search-card__note {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: 6px;
    font-weight: bold;
}

/* ---- Hero media ---- */

.hero__media {
    position: relative;
}

.hero__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3.6;
}

.hero__image-placeholder {
    width: 100%;
    /* height: 100%; */
    background: linear-gradient(160deg, #dfe7de 0%, #c7d4c5 40%, #8fae8b 100%);
    background-image:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.5), transparent 45%),
        linear-gradient(160deg, #dfe7de 0%, #c7d4c5 40%, #8fae8b 100%);
}

.floating-cards {
    position: absolute;
    top: 28px;
    right: 160px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 230px;
    transform: translateX(60%);
}

.floating-card {
    display: flex;
    gap: 10px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 14px;
    font-weight: bold;
}

.floating-card__icon {
    flex-shrink: 0;
    font-size: 1rem;
}

.floating-card h3 {
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.floating-card p {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* =========================================================
   STATS BAR
   ========================================================= */

.stats-bar {
    background: var(--color-navy);
    color: var(--color-white);
    margin-top: -113px;
}

.stats-bar__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr auto;
    align-items: center;
    gap: 32px;
    /* padding-top: 32px; */
    padding-bottom: 0;
    position: relative;
    height: 170px;
}

.stats-bar__stats {
    display: flex;
    gap: 40px;
    padding-bottom: 115px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat__icon {
    font-size: 1.3rem;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.stat span {
    font-size: 0.8rem;
    color: #b7c2cb;
}

.stats-bar__app {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 100px;
    padding-bottom: 146px;
    padding-bottom: 157px;
    margin-left: 153px;
}

.stats-bar__app p {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.4;
}

.app-badges {
    display: flex;
    gap: 10px;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0a1826;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 7px 14px;
    font-size: 0.62rem;
    color: #d7dee3;
    line-height: 1.3;
}

.app-badge strong {
    font-size: 0.82rem;
    color: var(--color-white);
}

.app-badge__icon {
    font-size: 1.1rem;
}

.stats-bar__phone {
    align-self: flex-end;
    justify-self: end;
    margin-bottom: 64px;
}

.phone-home {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 3px;
    border-radius: 10px;
    background: #fff;
}

.phone-mock {
    width: 170px;
    /* height:250px; */
    background: #121212;
    border: 5px solid #111;
    border-radius: 36px;
    padding: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
}



.phone-mock__notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 62px;
    height: 18px;
    background: #000;
    border-radius: 30px;
    z-index: 5;
}

.phone-mock__screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    padding: 16px 12px 12px;
}

.phone-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-weight: 600;
    /* margin-top:10px;
    margin-bottom:12px; */
}

.phone-mock__title {
    font-size: 11px;
    font-weight: 700;
}

.phone-mock__tabs {
    display: flex;
    gap: 14px;
    margin: 10px 0 14px;
    font-size: 10px;
}

.phone-mock__tabs span {
    color: #999;
}

.phone-mock__tabs .active {
    color: #15803d;
    border-bottom: 2px solid #15803d;
    padding-bottom: 4px;
}

.phone-mock__card {
    background: #f7f7f7;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 10px;
}

.phone-mock__card-title {
    font-size: 10px;
    font-weight: 500;
    color: black;
}

.phone-mock__card-sub {
    font-size: 8px;
    color: #777;
    margin-top: 5px;
}

.phone-mock__avatar-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.6rem;
    font-weight: 600;
}

.phone-mock__avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ddd;
}

.muted {
    color: var(--color-text-muted);
    font-weight: 400;
}

.home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    border-radius: 50px;
    background: #fff;
    opacity: .9;
}

.phone-mock__avatar-row p {
    color: black
}

.logo__icon {
    color: var(--color-green);
    font-size: 1.4rem;
    width: 190px;
    height: auto;
}

.phone-home {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 3px;
    border-radius: 10px;
    background: #fff;
}

.terms span {
    line-height: 20px;
}

.terms a {
    color: #198754;
    text-decoration: underline;
    margin: 0 5px;
}

.phone-mock__btn {
    margin-top: 10px;
    width: 100%;
    height: 28px;
    border-radius: 20px;
    font-size: 10px;
}

/* =========================================================
   SECTION TITLES (shared)
   ========================================================= */

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.section-subtitle {

    margin-top: 8px;

    margin-bottom: 48px;

    color: #666;

    font-size: 20px;

    text-align: center
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */

.how-it-works {

    padding: 80px 0 90px;
}

/* .steps {
    display: flex;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    gap: 0;
    margin-top: 56px;
    position: relative;
} */

.steps {
    display: grid;
    grid-template-columns: 1fr 90px 1fr 90px 1fr 90px 1fr;
    align-items: start;
    margin-top: 55px;
}

.step {
    position: relative;
    text-align: center;
}

.step__badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-38px);

    width: 30px;
    height: 30px;

    border-radius: 50%;
    background: #198a43;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: 700;
}

.step__icon {

    width: 62px;
    height: 62px;

    margin: 0 auto 20px;

    background: #f5f7f4;

    border: 1px solid #edf1ed;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
}


.step__divider {

    margin-top: 32px;

    border-top: 2px dashed #8ed08f;

    width: 100%;
}

/* .step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
} */

.step h3 {

    font-size: 21px;

    font-weight: 700;

    margin-top: 18px;

    margin-bottom: 10px;
}

/* .step p {
    font-size: 0.86rem;
    color: var(--color-text-muted);
    line-height: 1.55;
} */

.step p {

    width: 210px;

    margin: auto;

    font-size: 15px;

    line-height: 1.7;

    color: #5f5f5f;
}

/* .step__divider {
    position: relative;
    top: 39px;
    border-top: 2px dashed #cfd9d2;
    align-self: start;
    height: 0;
} */

/* =========================================================
   POPULAR SERVICES
   ========================================================= */

.popular-services {
    /* padding: 72px 0; */
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    /* margin-top: 48px; */
}

.popular-services .container {

    max-width: 1200px;
}

.service-card {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-white);
    /* box-shadow: var(--shadow-sm); */
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}


/* .service-card{
    border-radius:16px;
    overflow:hidden;
} */
/* .service-card__image {
    height: 130px;
    width: 100%;
} */

.service-card__image {
    /* height:115px; */
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card__image--sofa {
    background: linear-gradient(135deg, #3f5c6b, #7ba0b0);
}

.service-card__image--kitchen {
    background: linear-gradient(135deg, #d9d3c7, #f2efe8);
}

.service-card__image--boxes {
    background: linear-gradient(135deg, #cbb493, #e8d9c0);
}

.service-card__image--office {
    background: linear-gradient(135deg, #cfd9dc, #eef2f3);
}

.service-card__image--bedroom {
    background: linear-gradient(135deg, #e4ddd0, #f5f1ea);
}

/* .service-card__icon {
    position: absolute;
    top: 108px;
    left: 16px;
    width: 34px;
    height: 34px;
    background: var(--color-green);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 3px solid var(--color-white);
} */

.service-card__icon {
    position: absolute;
    top: 92px;
    /* left: 50%; */
    transform: translateX(-50%);

    width: 42px;
    height: 42px;
    left: 92px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #198a43;
    color: #fff;

    border: 3px solid #fff;
    border-radius: 50%;

    font-size: 16px;
    line-height: 1;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

p.service-card__price {
    font-weight: bold !important;
    color: black !important;
    text-align: center !important;
}

/* .service-card__icon{
    position:absolute;
    top:92px;
    left:18px;

    width:36px;
    height:36px;

    border:3px solid #fff;
    background:#198a43;
} */

/* .service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 26px 16px 8px;
} */

.service-card h3 {
    margin: 22px 18px 8px;
    font-size: 19px;
    font-weight: 700;
    color: #17212b;
    text-align: center;
}

/* .service-card p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0 16px 12px;
    line-height: 1.5;
    min-height: 46px;
} */

.service-card p {

    margin: 0 18px;

    font-size: 13px;

    line-height: 1.6;

    color: #555;

    font-weight: 600;

    min-height: 58px;
}

/* .service-card__price {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 16px 10px !important;
    min-height: 0 !important;
    color: var(--color-text);
} */


/* .service-card__price{

    margin-top:18px;

    font-size:18px;

    font-weight:700;

    color:#111;
} */
/* .service-card__link {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-green);
    margin: 0 16px 18px;
} */


.service-card__link {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin: 0px 50px 0px;

    color: #198a43;

    font-weight: 600;

    text-decoration: none;
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */

.why-choose {
    background: var(--color-bg-soft);
    padding: 10px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.why-item {
    text-align: center;
}

.why-item__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #EAF7EE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-sm);
    color: green;
}

.why-item h3 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.why-item p {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* =========================================================
   ARE YOU A CLEANER CTA
   ========================================================= */

.cleaner-cta {
    /* padding: 56px 0; */
}

.cleaner-cta__inner {
    background: var(--color-green-darker);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 220px 1.4fr 1fr 1fr auto;
    align-items: center;
    gap: 24px;
    /* padding: 28px 36px; */
    color: var(--color-white);
    overflow: hidden;
}

.cleaner-cta__image {
    width: 170px;
    height: 190px;
    border-radius: var(--radius-md);
    background: linear-gradient(160deg, #4a7a56, #2c4e35);
    justify-self: start;
}

.cleaner-cta__content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.cleaner-cta__content p {
    font-size: 0.88rem;
    color: #cfe0d4;
    line-height: 1.5;
    max-width: 320px;
}

.cleaner-cta__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.88rem;
    font-weight: 500;
}

.cleaner-cta__list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--color-navy);
    color: #cbd4da;
    padding-top: 10px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding-bottom: 40px;
}

.footer__brand p {
    font-size: 0.82rem;
    color: #8b98a1;
    margin: 14px 0 18px;
    line-height: 1.5;
}

.logo--footer .logo__title {
    color: var(--color-white);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: black;
}

.footer__col h4 {
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.83rem;
}

.footer__contact p {
    color: #cbd4da;
    margin: 0;
}

.app-badges--footer {
    margin-top: 16px;
    flex-direction: column;
}

.app-badge--dark {
    justify-content: flex-start;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: #8b98a1;
    text-align: center;
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
}

/* =========================================================
   1200px – 1439px — DESKTOP
   Slightly narrower viewport than your design target.
   Shrink the hero title and search card so nothing clips,
   and rebalance the stats bar spacing which was tuned for
   1440px screens.
   ========================================================= */
@media (max-width: 1439px) {
    .hero__title {
        font-size: 2.6rem;
    }

    .search-card {
        width: 100%;
        max-width: 725px;
    }

    .stats-bar__app {
        margin-left: 80px;
    }
}

/* =========================================================
   992px – 1199px — LAPTOP
   Nav spacing gets tight here, and the fixed-width search
   fields start to overflow. Fluid-ize them.
   ========================================================= */
@media (max-width: 1199px) {
    .main-nav {
        gap: 18px;
        font-size: 0.85rem;
    }

    .hero__title {
        font-size: 2.3rem;
    }

    .hero__subtitle {
        max-width: 100%;
    }

    .search-input {
        width: auto;
    }

    .floating-cards {
        right: 40px;
    }

    .stats-bar__app {
        margin-left: 40px;
        padding-left: 20px;
    }

    .service-card__icon {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* =========================================================
   768px – 991px — TABLET
   Nav collapses (matches your existing 1024px breakpoint
   behavior), hero stacks to one column, and the stats bar's
   negative margin (which causes the overlap seen in your
   screenshot) is neutralized since the hero height changes
   once it stacks.
   ========================================================= */
@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 42px;
        height: 42px;
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .nav-toggle span {
        width: 24px;
        height: 3px;
        background: #0b1f3a;
        margin: 3px 0;
        border-radius: 3px;
        transition: .3s;
    }

    .header__actions .btn,
    .header__actions .link-login {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
        z-index: 999;
    }

    .main-nav a {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .mobile-login,
    .mobile-book-btn {
        display: block;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero__media {
        order: -1;
    }

    .hero__title {
        font-size: 2rem;
    }

    .search-card {
        width: 100%;
        grid-template-columns: 1fr 1fr;
        padding: 20px;
    }

    .search-card__submit {
        grid-column: 1 / -1;
        width: 100%;
    }

    .floating-cards {
        position: static;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        margin-top: 16px;
    }

    .floating-card {
        flex: 1 1 45%;
    }

    /* Neutralize the negative overlap margin — it was tuned
       for the fixed desktop hero height and causes the stats
       bar to sit on top of the "How it works" heading once
       the hero reflows at this width (see screenshot). */
    .stats-bar {
        margin-top: 0;
    }

    .stats-bar__inner {
        grid-template-columns: 1fr 1fr;
        height: auto;
        padding: 32px 0;
        row-gap: 24px;
    }

    .stats-bar__stats {
        padding-bottom: 0;
        flex-wrap: wrap;
    }

    .stats-bar__app {
        border-left: none;
        /* padding-left: 100px; */
        margin-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding-top: 20px;
        grid-column: 1 / -1;
    }

    .stats-bar__phone {
        display: none;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 48px;
    }

    .step__divider {
        display: none;
    }

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

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 28px;
    }

    .cleaner-cta {
        padding: 60px 0;
    }

    .cleaner-cta__inner {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 30px;
        text-align: center;
        border-radius: 20px;
    }

    .cleaner-cta__image {
        width: 100%;
        max-width: 420px;
        height: 280px;
        margin: 0 auto;
    }

    .cleaner-cta__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 18px;
    }

    .cleaner-cta__content {
        width: 100%;
    }

    .cleaner-cta__content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .cleaner-cta__content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .cleaner-cta__lists {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        text-align: left;
    }

    .cleaner-cta__list li {
        margin-bottom: 12px;
    }

    .cleaner-cta .btn {
        width: fit-content;
        margin: 25px auto 0;
    }

    .cleaner-cta__list:nth-of-type(1) {
        grid-area: list1;
    }

    .cleaner-cta__list:nth-of-type(2) {
        grid-area: list2;
    }

    /* .cleaner-cta__inner .btn { grid-area: btn; justify-self: start; } */

    .footer__grid {
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 28px;
    }
}

@media (min-width:992px) {

    .mobile-login,
    .mobile-book-btn,
    .nav-toggle {
        display: none;
    }

}

/* =========================================================
   576px – 767px — MOBILE
   Single-column stacking throughout, full-width buttons and
   inputs, and the search card fields go from a fixed 142px
   to fluid so they don't overflow the viewport.
   ========================================================= */
@media (max-width: 767px) {
    :root {
        font-size: 15px;
    }

    .header__inner {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .header__actions .link-login {
        display: none;
    }

    .logo__tagline {
        margin-left: 0;
    }

    .hero {
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .hero__grid {
        padding-top: 28px;
        padding-bottom: 28px;
        gap: 24px;
    }

    .hero__title {
        font-size: 1.8rem;
    }

    .hero__checklist {
        gap: 10px 18px;
    }

    .search-card {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .search-input {
        width: 100%;
    }

    .search-card__submit {
        width: 100%;
    }

    .hero__image {
        aspect-ratio: 4 / 3;
    }

    .floating-cards {
        flex-direction: column;
    }

    .floating-card {
        flex: 1 1 100%;
    }


    .hero__content {
        padding-top: 20px;
    }

    .stats-bar__inner {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 25px 0;
    }

    .stats-bar__stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 17px;
    }

    .stat {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .stat strong {
        font-size: 28px;
    }

    .stat span {
        font-size: 14px;
    }

    .stats-bar__app {
        margin: 0;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, .15);
        border-left: none;
        text-align: center;
    }

    .stats-bar__phone {
        display: none;
    }

    .app-badges {
        justify-content: center;
    }

    .how-it-works,
    .popular-services,
    .why-choose {
        padding: 48px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .steps {
        grid-template-columns: 1fr;
        row-gap: 32px;
    }

    .step p {
        width: 100%;
        max-width: 280px;
    }

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

    .service-card__icon {
        top: 88px;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .cleaner-cta {
        padding: 50px 0;
    }

    .cleaner-cta__content,
    .cleaner-cta__overlay {
        position: static;
        transform: none;
    }

    .cleaner-cta__inner {
        padding: 25px 20px;
        gap: 25px;
        border-radius: 18px;
    }

    .cleaner-cta__image {
        width: 100%;
        max-width: 100%;
        height: 533px;
    }

    .cleaner-cta__image img {
        border-radius: 16px;
    }

    .cleaner-cta__content h2 {
        font-size: 28px;
    }

    .cleaner-cta__content p {
        font-size: 15px;
    }

    .cleaner-cta__lists {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cleaner-cta__list {
        width: 100%;
    }

    .cleaner-cta__list li {
        font-size: 15px;
    }

    .cleaner-cta .btn {
        width: 100%;
    }

    .site-footer {
        padding: 50px 0 25px;
    }

    .footer__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        text-align: left;
    }

    /* Brand takes full width */
    .footer__brand {
        grid-column: 1/-1;
        text-align: center;
        margin-bottom: 15px;
    }

    .footer__brand img {
        max-width: 180px;
        margin: 0 auto 15px;
        display: block;
    }

    .footer__brand p {
        max-width: 280px;
        margin: 0 auto 20px;
        font-size: 14px;
        line-height: 1.7;
    }

    /* Social Icons */
    .social-links {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 14px;
        margin: 20px 0;
        width: 100%;
    }


    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        border-radius: 50%;
        background: #fff;
        color: #0d2239;
        font-size: 18px;
        flex: 0 0 42px;
        text-decoration: none;
    }

    .social-links a i {
        font-size: 18px;
        line-height: 1;
    }


    /* Footer headings */
    .footer__col h4 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    /* Footer links */
    .footer__col ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .footer__col li {
        margin-bottom: 10px;
    }

    .footer__col a {
        font-size: 15px;
        line-height: 1.6;
    }

    /* App badges */
    .app-badges--footer {
        align-items: flex-start;
        gap: 10px;
    }

    .app-badges--footer img {
        width: 140px;
    }

    /* Bottom copyright */
    .footer__bottom {
        margin-top: 35px;
        padding-top: 18px;
        text-align: center;
        font-size: 14px;
    }

    /* Footer Brand */
    .footer__brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    /* Logo */
    .footer__brand img {
        display: block;
        margin: 0 auto 20px;
        max-width: 180px;
        width: 100%;
        height: auto;
    }

    /* If your logo is inside an anchor */
    .footer__brand a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
}

/* =========================================================
   320px – 575px — SMALL MOBILE
   Tightest viewport: everything goes single column, all
   buttons/CTAs go full-width, and card widths/paddings are
   reduced so nothing forces horizontal scroll.
   ========================================================= */
@media (max-width: 575px) {
    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 12px 18px;
        font-size: 0.88rem;
    }

    .header__actions .btn {
        padding: 9px 16px;
        font-size: 0.85rem;
    }

    .hero__title {
        font-size: 1.5rem;
    }

    .hero__subtitle {
        font-size: 0.92rem;
    }

    .hero__checklist li {
        font-size: 0.82rem;
    }

    .search-card {
        margin-top: 20px;
        padding: 16px;
    }

    .stat strong {
        font-size: 1.25rem;
    }

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

    .service-card {
        max-width: 340px;
        margin: 0 auto;
    }

    .service-card__icon {
        left: 50%;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .app-badges--footer {
        align-items: center;
    }
}