/* ==============================
   INDEX PAGE
   ClearShine Auto Care
============================== */

.home-hero {
    position: relative;
    min-height: calc(100svh - var(--header-height, 78px));
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background-image: url("../images/hero-car-cleaning.webp");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(2, 5, 9, 0.98) 0%,
            rgba(2, 5, 9, 0.88) 34%,
            rgba(2, 5, 9, 0.54) 62%,
            rgba(2, 5, 9, 0.74) 100%),
        radial-gradient(circle at 25% 35%, rgba(217, 180, 95, 0.20), transparent 34%);
    z-index: 1;
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
}

.home-hero__content {
    max-width: 760px;
}

.home-hero__label,
.home-section-label {
    margin: 0 0 16px;
    color: #d8b86a;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

.home-hero h1 {
    margin: 0;
    max-width: 850px;
    color: #ffffff;
    font-size: clamp(48px, 7vw, 104px);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.075em;
}

.home-hero h1 span {
    display: block;
    color: #d8b86a;
}

.home-hero__text {
    max-width: 620px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 20px;
    line-height: 1.55;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
}

.home-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}

.home-hero__trust li {
    position: relative;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    font-weight: 800;
}

.home-hero__trust li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d8b86a;
}

/* Detail block */

.home-detail {
    padding: 96px 0;
    background: #f7f3ed;
}

.home-detail__head {
    max-width: 760px;
    margin-bottom: 54px;
}

.home-detail__head h2 {
    margin: 0;
    color: #11151b;
    font-size: clamp(54px, 7vw, 98px);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.075em;
}

.home-detail__head h2 span {
    color: #caa85c;
}

.home-detail__head p {
    max-width: 720px;
    margin: 28px 0 0;
    color: #67615a;
    font-size: 21px;
    line-height: 1.55;
}

.home-detail__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-detail-card {
    min-height: 248px;
    padding: 34px;
    border: 1px solid rgba(202, 168, 92, 0.28);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 44px rgba(17, 21, 27, 0.06);
}

.home-detail-card--wide {
    grid-column: span 2;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.68)),
        radial-gradient(circle at 70% 20%, rgba(202, 168, 92, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(17, 21, 27, 0.06), rgba(255, 255, 255, 0.92));
}

.home-detail-card__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 30px;
    border: 1px solid rgba(202, 168, 92, 0.34);
    border-radius: 14px;
    color: #b17f25;
    background: #f1eadf;
}

.home-detail-card__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-detail-card h3 {
    margin: 0 0 12px;
    color: #11151b;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.home-detail-card p {
    max-width: 720px;
    margin: 0;
    color: #66605a;
    font-size: 17px;
    line-height: 1.58;
}

/* Services */

.home-services {
    padding: 96px 0;
    background: #ffffff;
}

.home-section-head {
    max-width: 780px;
    margin-bottom: 34px;
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-service-card {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border-radius: 26px;
    border: 1px solid rgba(7, 16, 24, 0.10);
    background:
        linear-gradient(180deg, rgba(245, 240, 231, 0.88), #ffffff);
    box-shadow: 0 20px 50px rgba(7, 16, 24, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(7, 16, 24, 0.12);
}

.home-service-card span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 42px;
    border-radius: 50%;
    color: #071018;
    background: #d8b86a;
    font-size: 13px;
    font-weight: 900;
}

.home-service-card h3 {
    margin: 0 0 12px;
    color: #071018;
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.home-service-card p {
    margin: 0;
    color: #686d72;
    line-height: 1.65;
}

.home-service-card a {
    margin-top: auto;
    padding-top: 24px;
    color: #071018;
    font-weight: 900;
}

/* Steps */

.home-steps {
    padding: 96px 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 20%, rgba(216, 184, 106, 0.17), transparent 32%),
        #071018;
}

.home-steps__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 54px;
    align-items: start;
}

.home-steps h2 {
    color: #ffffff;
}

.home-steps__content p:not(.home-section-label) {
    margin: 24px 0 0;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 18px;
    line-height: 1.7;
}

.home-step-list {
    display: grid;
    gap: 16px;
}

.home-step {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.06);
}

.home-step strong {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #071018;
    background: #d8b86a;
}

.home-step h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 22px;
}

.home-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

/* Shop preview */

.home-shop-preview {
    padding: 86px 0;
    background: #f5f0e7;
}

.home-shop-preview__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 44px;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(7, 16, 24, 0.08);
}

.home-shop-preview p:not(.home-section-label) {
    max-width: 720px;
    margin: 20px 0 0;
    color: #666b70;
    font-size: 18px;
    line-height: 1.7;
}

/* Areas */

.home-areas {
    padding: 86px 0;
    background: #ffffff;
}

.home-areas__box {
    padding: 44px;
    border-radius: 32px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(7, 16, 24, 0.96), rgba(7, 16, 24, 0.84)),
        radial-gradient(circle at 15% 15%, rgba(216, 184, 106, 0.25), transparent 35%);
}

.home-areas h2 {
    max-width: 840px;
    color: #ffffff;
}

.home-areas__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.home-areas__list span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.07);
    font-weight: 800;
}

/* Final CTA */

.home-final-cta {
    padding: 96px 0;
    text-align: center;
    background: #f5f0e7;
}

.home-final-cta__inner {
    max-width: 850px;
}

.home-final-cta h2 {
    margin-bottom: 30px;
}

/* Responsive */

@media (max-width: 1180px) {
    .home-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .home-hero {
        min-height: calc(100svh - var(--header-height, 78px));
        background-position: center;
    }

    .home-hero__overlay {
        background:
            linear-gradient(180deg,
                rgba(2, 5, 9, 0.86) 0%,
                rgba(2, 5, 9, 0.78) 45%,
                rgba(2, 5, 9, 0.94) 100%);
    }

    .home-hero__inner {
        padding: 62px 0;
    }

    .home-hero h1 {
        font-size: clamp(46px, 13vw, 76px);
    }

    .home-hero__text {
        font-size: 17px;
    }

    .home-intro__grid,
    .home-steps__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-intro,
    .home-services,
    .home-steps,
    .home-shop-preview,
    .home-areas,
    .home-final-cta {
        padding: 68px 0;
    }

    .home-shop-preview__inner {
        display: grid;
        padding: 30px;
    }
}

@media (max-width: 640px) {
    .home-hero {
        min-height: calc(100svh - var(--header-height, 78px));
    }

    .home-hero__content {
        max-width: 100%;
    }

    .home-hero__label,
    .home-section-label {
        font-size: 11px;
        letter-spacing: 0.18em;
    }

    .home-hero h1 {
        letter-spacing: -0.06em;
    }

    .home-hero__actions {
        display: grid;
    }

    .home-btn {
        width: 100%;
        min-height: 52px;
    }

    .home-hero__trust {
        display: grid;
        gap: 12px;
    }

    .home-service-grid {
        grid-template-columns: 1fr;
    }

    .home-service-card {
        min-height: auto;
    }

    .home-service-card span {
        margin-bottom: 28px;
    }

    .home-step {
        grid-template-columns: 1fr;
    }

    .home-shop-preview__inner,
    .home-areas__box {
        padding: 24px;
        border-radius: 24px;
    }

    .home-areas__list {
        display: grid;
    }

    .home-areas__list span {
        justify-content: center;
    }
}
/*  */
/* ==============================
   HOW IT WORKS
============================== */

.home-flow {
    padding: 110px 0;
    background: #f3efe7;
    border-top: 1px solid rgba(17, 21, 27, 0.08);
}

.home-flow__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: center;
}

.home-flow__content h2 {
    margin: 0;
    color: #11151b;
    font-size: clamp(48px, 5.8vw, 82px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.home-flow__content h2 span {
    color: #caa85c;
}

.home-flow__content p:not(.home-section-label) {
    max-width: 480px;
    margin: 28px 0 34px;
    color: #67615a;
    font-size: 20px;
    line-height: 1.55;
}

.home-flow__steps {
    display: grid;
    gap: 20px;
}

.home-flow-step {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 20px;
    align-items: start;
    padding: 32px 34px;
    border: 1px solid rgba(202, 168, 92, 0.24);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 20px 46px rgba(17, 21, 27, 0.06);
}

.home-flow-step strong {
    color: #b98b35;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

.home-flow-step h3 {
    margin: 0 0 8px;
    color: #11151b;
    font-size: 20px;
    line-height: 1.2;
}

.home-flow-step p {
    margin: 0;
    color: #67615a;
    font-size: 17px;
    line-height: 1.55;
}

/* ==============================
   PROOF / BEADS SECTION
============================== */

.home-proof {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background-image: url("../images/proof-beads.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-proof__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(5, 7, 10, 0.94) 0%,
            rgba(5, 7, 10, 0.82) 35%,
            rgba(5, 7, 10, 0.42) 68%,
            rgba(5, 7, 10, 0.70) 100%);
}

.home-proof__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 90px 0;
}

.home-proof__content {
    max-width: 680px;
}

.home-proof__icon {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 22px;
    color: #d8b86a;
}

.home-proof__icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-proof h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(48px, 5.6vw, 76px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.07em;
}

.home-proof h2 span {
    color: #d8b86a;
}

.home-proof p {
    max-width: 640px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.55;
}

/* ==============================
   PRICING
============================== */

.home-prices {
    padding: 96px 0 110px;
    background: #ffffff;
}

.home-prices__head {
    max-width: 760px;
    margin-bottom: 58px;
}

.home-prices__head h2 {
    margin: 0;
    color: #11151b;
    font-size: clamp(52px, 6vw, 86px);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.075em;
}

.home-prices__head p {
    max-width: 760px;
    margin: 28px 0 0;
    color: #67615a;
    font-size: 20px;
    line-height: 1.55;
}

.home-prices__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.home-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 560px;
    padding: 42px 38px 38px;
    border: 1px solid rgba(202, 168, 92, 0.28);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 22px 54px rgba(17, 21, 27, 0.07);
}

.home-price-card--featured {
    color: #ffffff;
    background: #05080b;
    border-color: rgba(202, 168, 92, 0.42);
    transform: translateY(-18px);
}

.home-price-card__badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    border-radius: 999px;
    color: #11151b;
    background: #caa85c;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.home-price-card h3 {
    margin: 0 0 8px;
    color: #11151b;
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.home-price-card--featured h3 {
    color: #ffffff;
}

.home-price-card__note {
    margin: 0;
    color: #706a63;
    font-size: 16px;
    line-height: 1.4;
}

.home-price-card--featured .home-price-card__note {
    color: rgba(255, 255, 255, 0.62);
}

.home-price-card__price {
    margin: 34px 0 28px;
    color: #11151b;
    font-size: clamp(48px, 5vw, 62px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.07em;
}

.home-price-card--featured .home-price-card__price {
    color: #ffffff;
}

.home-price-card__price span {
    color: #706a63;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.home-price-card--featured .home-price-card__price span {
    color: rgba(255, 255, 255, 0.58);
}

.home-price-card ul {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-price-card li {
    position: relative;
    padding-left: 34px;
    color: #67615a;
    font-size: 17px;
    line-height: 1.35;
}

.home-price-card--featured li {
    color: rgba(255, 255, 255, 0.74);
}

.home-price-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #b98b35;
    background: #f1eadf;
    font-size: 12px;
    font-weight: 900;
}

.home-price-card--featured li::before {
    color: #f1d486;
    background: rgba(202, 168, 92, 0.20);
}

.home-price-card a {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    border: 2px solid #b98b35;
    border-radius: 999px;
    color: #b98b35;
    background: transparent;
    font-weight: 900;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-price-card a:hover {
    color: #11151b;
    background: #caa85c;
    transform: translateY(-2px);
}

.home-price-card--featured a {
    color: #11151b;
    border-color: transparent;
    background: linear-gradient(135deg, #c89b3c, #f0d486);
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 1080px) {
    .home-flow__grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .home-prices__grid {
        grid-template-columns: 1fr;
        max-width: 620px;
        margin: 0 auto;
    }

    .home-price-card--featured {
        transform: none;
    }
}

@media (max-width: 760px) {
    .home-flow,
    .home-prices {
        padding: 72px 0;
    }

    .home-flow__content h2,
    .home-prices__head h2,
    .home-proof h2 {
        letter-spacing: -0.06em;
    }

    .home-flow-step {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .home-proof {
        min-height: 430px;
        background-position: center;
    }

    .home-proof__overlay {
        background: linear-gradient(180deg, rgba(5, 7, 10, 0.78), rgba(5, 7, 10, 0.94));
    }

    .home-proof__inner {
        padding: 76px 0;
    }

    .home-proof p,
    .home-prices__head p {
        font-size: 18px;
    }

    .home-price-card {
        min-height: auto;
        padding: 34px 28px;
    }
}

@media (max-width: 520px) {
    .home-flow__content h2,
    .home-prices__head h2,
    .home-proof h2 {
        font-size: 46px;
    }

    .home-flow__content p:not(.home-section-label) {
        font-size: 18px;
    }

    .home-price-card__price {
        font-size: 48px;
    }
}
/* ==============================
   MOBILE / OVERFLOW FIXES
   Keep page inside viewport
============================== */

.home-hero,
.home-detail,
.home-flow,
.home-proof,
.home-prices {
    overflow-x: clip;
}

.home-hero__content,
.home-detail__head,
.home-detail__grid,
.home-detail-card,
.home-flow__content,
.home-flow__steps,
.home-flow-step,
.home-proof__content,
.home-prices__head,
.home-price-card {
    min-width: 0;
}

.home-detail__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-detail-card {
    overflow: hidden;
}

@media (max-width: 1020px) {
    .home-detail__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-detail-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 720px) {
    .home-detail {
        padding: 68px 0;
    }

    .home-detail__head {
        max-width: 100%;
        margin-bottom: 34px;
    }

    .home-detail__head h2 {
        max-width: 100%;
        font-size: clamp(42px, 14vw, 64px);
        line-height: 0.96;
        letter-spacing: -0.055em;
    }

    .home-detail__head p {
        max-width: 100%;
        margin-top: 22px;
        font-size: 17px;
        line-height: 1.58;
    }

    .home-detail__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .home-detail-card,
    .home-detail-card--wide {
        grid-column: auto;
    }

    .home-detail-card {
        min-height: auto;
        padding: 24px;
        border-radius: 16px;
    }

    .home-detail-card__icon {
        width: 46px;
        height: 46px;
        margin-bottom: 22px;
    }

    .home-detail-card h3 {
        font-size: 21px;
    }

    .home-detail-card p {
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .home-detail__head h2 {
        font-size: clamp(38px, 13.5vw, 54px);
        letter-spacing: -0.045em;
    }

    .home-detail-card {
        padding: 22px;
    }
}
/* ==============================
   FINAL INDEX ALIGNMENT FIX
   Hero + proof content gutters
============================== */

.home-hero,
.home-proof {
    padding-left: clamp(32px, 6vw, 112px);
    padding-right: clamp(32px, 6vw, 112px);
    box-sizing: border-box;
}

.home-hero__inner,
.home-proof__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.home-hero__inner {
    padding-top: 88px;
    padding-bottom: 88px;
}

.home-proof__inner {
    padding-top: 90px;
    padding-bottom: 90px;
}

.home-hero__content {
    width: 100%;
    max-width: 760px;
    min-width: 0;
}

.home-proof__content {
    width: 100%;
    max-width: 680px;
    min-width: 0;
}

.home-hero h1,
.home-hero__text,
.home-proof h2,
.home-proof p {
    overflow-wrap: break-word;
}

@media (max-width: 860px) {
    .home-hero,
    .home-proof {
        padding-left: 26px;
        padding-right: 26px;
    }

    .home-hero__inner {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .home-proof__inner {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .home-hero__content,
    .home-proof__content {
        max-width: 100%;
    }
}

@media (max-width: 420px) {
    .home-hero,
    .home-proof {
        padding-left: 20px;
        padding-right: 20px;
    }
}