/* ============================================================
   Spatial Living Design — Home Renovation | Shared Stylesheet
   ============================================================ */

:root {
    --blue: #8BCF91;
    --blue-dark: #267A45;
    --cream: #F1F7EF;
    --white: #ffffff;
    --black: #102016;
    --gray: #68796C;
    --card: rgba(255, 255, 255, .88);
    --border: rgba(139, 207, 145, .25);
    --shadow: 0 35px 90px rgba(32, 91, 53, .15);
    --radius: 38px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(
    180deg,
    #DDF5E5 0%,
    #EDF8EF 42%,
    #FFFFFF 100%
);
    color: var(--black);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* ---------------- COMMON ---------------- */
.section-padding {
    padding: 100px 0;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 50px;
    background: rgba(11, 47, 61, .08);
    color: var(--blue-dark);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(2.4rem, 5vw, 3rem);
    line-height: .9;
    letter-spacing: -4px;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-title span {
    color: #6faeca;
}

.section-desc {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1rem;
}

.btn-main {
    border: 0;
    background: var(--black);
    color: #fff;
    padding: 13px 24px;
    border-radius: 50px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .3s;
}

.btn-main:hover {
    background: var(--blue-dark);
    color: #fff;
    transform: translateY(-3px);
}

.btn-white {
    border: 0;
    background: #fff;
    color: var(--black);
    padding: 13px 24px;
    border-radius: 50px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .3s;
}

.btn-white:hover {
    background: var(--black);
    color: #fff;
    transform: translateY(-3px);
}

/* ---------------- SITE HEADER (inner pages) ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(11, 47, 61, .08);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand {
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(14px);
    display: grid;
    place-items: center;
}

.brand.dark {
    color: var(--black);
}

.brand.dark span {
    background: rgba(11, 47, 61, .08);
    color: var(--blue-dark);
    backdrop-filter: none;
}

.nav-pill {
    background: rgba(137, 137, 137, .18);
    backdrop-filter: blur(18px);
    padding: 3px 12px;
    border-radius: 50px;
    display: flex;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .3);
}

.nav-pill a {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 15px;
    border-radius: 50px;
    transition: .3s;
    white-space: nowrap;
}

.nav-pill a:hover,
.nav-pill a.active {
    background: #fff;
    color: var(--black);
}

.nav-pill.dark {
    background: rgba(11, 47, 61, .06);
    border: 1px solid rgba(11, 47, 61, .1);
    backdrop-filter: none;
}

.nav-pill.dark a {
    color: var(--blue-dark);
}

.nav-pill.dark a:hover {
    background: var(--blue-dark);
    color: #fff;
}

.nav-pill.dark a.active {
    background: var(--black);
    color: #fff;
}

.nav-action {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}

.nav-action .btn-white {
    padding: 5px 22px;
}

.site-header .nav-action .btn-main {
    padding: 10px 22px;
    font-size: 14px;
}

/* ---------------- PAGE HERO (inner pages) ---------------- */
.page-hero {
    background: linear-gradient(120deg, #0c2d3b 0%, #124257 55%, #1a5674 100%);
    color: #fff;
    padding: 85px 0 65px;
}

.page-hero .section-badge {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.page-hero .section-title {
    color: #fff;
}

.page-hero .section-title span {
    color: var(--blue);
}

.page-hero .section-desc {
    color: rgba(255, 255, 255, .78);
    max-width: 640px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-weight: 700;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, .7);
    transition: .3s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb .sep {
    color: rgba(255, 255, 255, .35);
    font-size: 11px;
}

.breadcrumb b {
    color: #fff;
}

/* ---------------- HERO (home) ---------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-frame {
    width: 100%;
    height: calc(120vh - 68px);
    background:
        linear-gradient(90deg, rgba(8, 36, 50, .52), rgba(8, 36, 50, .2), rgba(255, 255, 255, .15)),
        url('/assets/hero.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.hero-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(0, 0, 0, .15));
    pointer-events: none;
}

.top-nav {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 20px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 58px 45px;
    min-height: 470px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-large-title {
    font-size: clamp(4rem, 11vw, 7.5rem);
    line-height: .78;
    letter-spacing: -8px;
    color: rgba(255, 255, 255, .84);
    font-weight: 500;
    max-width: 1000px;
    margin-left: auto;
    text-align: right;
}

.hero-large-title strong {
    display: block;
    font-weight: 800;
    color: #fff;
}

.hero-left-text {
    max-width: 520px;
    color: #fff;
    margin-top: -40px;
}

.hero-left-text h1 {
    font-size: clamp(2.4rem, 5vw, 5.7rem);
    line-height: .9;
    letter-spacing: -4px;
    font-weight: 800;
    margin-bottom: 18px;
}

.hero-left-text p {
    color: rgba(255, 255, 255, .84);
    line-height: 1.8;
}

.hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-float {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(18px);
    border-radius: 26px;
    padding: 18px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .16);
    color: var(--black);
}

.down-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-left: auto;
}

/* ---------------- ABOUT ---------------- */
.about-card {
    background: #fff;
    border-radius: 42px;
    padding: 18px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .1);
}

.about-img {
    min-height: 660px;
    border-radius: 32px;
    background: linear-gradient(rgba(0, 0, 0, .05), rgba(0, 0, 0, .35)), url('/assets/about.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.about-img h3 {
    position: absolute;
    left: 30px;
    bottom: 30px;
    color: #fff;
    font-size: 3rem;
    line-height: .95;
    letter-spacing: -2px;
    font-weight: 800;
    max-width: 450px;
}

.about-info-card {
    background: #0c2d3b;
    color: #fff;
    border-radius: 32px;
    padding: 34px;
    height: 100%;
}

.about-info-card .about-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .14);
    display: grid;
    place-items: center;
    font-size: 25px;
    margin-bottom: 20px;
}

.about-info-card p {
    color: rgba(255, 255, 255, .75);
    line-height: 1.8;
}

/* ---------------- SERVICES ---------------- */
.service-card {
    background: #fff;
    border-radius: 32px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .07);
    transition: .35s;
    border: 1px solid rgba(0, 0, 0, .05);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    background: #0c2d3b;
    color: #fff;
}

.service-card:hover p {
    color: rgba(255, 255, 255, .75);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    background: #e4f3fa;
    color: var(--blue-dark);
    display: grid;
    place-items: center;
    font-size: 25px;
    margin-bottom: 22px;
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

.service-card h5 {
    font-weight: 800;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 14px;
    margin: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-weight: 800;
    font-size: 14px;
    color: var(--blue-dark);
    transition: .3s;
}

.service-link:hover {
    gap: 12px;
}

.service-card:hover .service-link {
    color: #fff;
}

/* ---------------- PROCESS (services page) ---------------- */
.process-card {
    background: #fff;
    border-radius: 28px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .07);
}

.process-card .step-num {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #e4f3fa;
    color: var(--blue-dark);
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 18px;
}

.process-card h5 {
    font-weight: 800;
    margin-bottom: 10px;
}

.process-card p {
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
    font-size: 14px;
}

/* ---------------- STATS (about page) ---------------- */
.stat-card {
    background: #fff;
    border-radius: 28px;
    padding: 30px;
    text-align: center;
    height: 100%;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .07);
}

.stat-card h3 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--blue-dark);
}

.stat-card p {
    color: var(--gray);
    margin: 0;
    font-weight: 700;
    font-size: 14px;
}

/* ---------------- SUBSCRIBE ---------------- */
.subscribe-box {
    border-radius: 46px;
    padding: 60px;
    background: linear-gradient(90deg, rgba(12, 45, 59, .92), rgba(12, 45, 59, .7)), url('/assets/test.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    box-shadow: var(--shadow);
}

.subscribe-box .section-desc {
    color: rgba(255, 255, 255, .78);
}

.form-control,
.form-select {
    border-radius: 18px;
    padding: 15px 18px;
    box-shadow: none !important;
}

.form-check-input:checked {
    background-color: var(--blue-dark);
    border-color: var(--blue-dark);
}

.text-link {
    color: #fff;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
}

.benefit-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.benefit-item i {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 18px;
}

.benefit-item strong {
    display: block;
    margin-bottom: 4px;
}

.benefit-item p {
    color: rgba(255, 255, 255, .7);
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.white-box {
    background: #fff;
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .07);
}

.alert-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #e8f6ee;
    border: 1px solid #bfe5cf;
    color: #1c6b3a;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
    margin-top: 18px;
    font-size: 14px;
}

.alert-box i {
    font-size: 18px;
}

/* ---------------- UNSUBSCRIBE ---------------- */
.unsub-box {
    max-width: 620px;
    margin: 0 auto;
    background: #fff;
    border-radius: 42px;
    padding: 50px;
    box-shadow: var(--shadow);
}

.unsub-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #e4f3fa;
    color: var(--blue-dark);
    display: grid;
    place-items: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.unsub-box h3 {
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.unsub-box>p {
    color: var(--gray);
    line-height: 1.8;
}

.unsub-note {
    color: var(--gray);
    font-size: 13px;
    margin: 18px 0 0;
    line-height: 1.7;
}

.unsub-note a {
    color: var(--blue-dark);
    font-weight: 800;
    text-decoration: underline;
}

/* ---------------- WHY ---------------- */
.why-card {
    border-radius: 32px;
    padding: 34px;
    background: #fff;
    height: 100%;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .07);
}

.why-card i {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: #e4f3fa;
    color: var(--blue-dark);
    display: grid;
    place-items: center;
    font-size: 24px;
    margin-bottom: 22px;
}

.why-card h5 {
    font-weight: 800;
}

.why-card p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ---------------- FAQ ---------------- */
.accordion-item {
    border: 0;
    margin-bottom: 15px;
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .06);
}

.accordion-button {
    padding: 22px;
    font-weight: 800;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: var(--blue-dark);
    color: #fff;
}

.accordion-body {
    color: var(--gray);
    line-height: 1.8;
    padding: 24px;
}

/* ---------------- CONTACT ---------------- */
.contact-wrap {
    background: #fff;
    border-radius: 46px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info {
    height: 100%;
    padding: 50px;
    color: #fff;
    background: linear-gradient(rgba(12, 45, 59, .88), rgba(12, 45, 59, .88)), url('/assets/projects.jpg');
    background-size: cover;
    background-position: center;
}

.contact-info h3 {
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -2px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-top: 24px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .16);
    display: grid;
    place-items: center;
}

.contact-form {
    padding: 50px;
}

.info-card {
    background: #fff;
    border-radius: 32px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .07);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-card i {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 18px;
    background: #e4f3fa;
    color: var(--blue-dark);
    display: grid;
    place-items: center;
    font-size: 22px;
}

.info-card h5 {
    font-weight: 800;
    margin-bottom: 8px;
}

.info-card p {
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
    font-size: 14px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e4f3fa;
    color: var(--blue-dark);
    display: inline-grid;
    place-items: center;
    margin: 0 6px 6px 0;
    transition: .3s;
}

.social-link:hover {
    background: var(--blue-dark);
    color: #fff;
}

/* ---------------- CTA BAND ---------------- */
.cta-band {
    border-radius: 46px;
    padding: 55px;
    background: linear-gradient(90deg, rgba(12, 45, 59, .92), rgba(12, 45, 59, .7)), url('/assets/cta.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-band h3 {
    font-weight: 800;
    letter-spacing: -1px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 8px;
}

.cta-band p {
    color: rgba(255, 255, 255, .78);
    margin: 0;
}

/* ---------------- LEGAL (privacy / terms) ---------------- */
.legal-content {
    background: #fff;
    border-radius: 42px;
    padding: 50px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .08);
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 34px 0 10px;
    color: var(--black);
    letter-spacing: -.5px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    color: var(--gray);
    line-height: 1.85;
    margin-bottom: 12px;
}

.legal-content ul {
    color: var(--gray);
    line-height: 1.85;
    padding-left: 22px;
    margin-bottom: 12px;
}

.legal-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 50px;
    background: rgba(11, 47, 61, .07);
    color: var(--blue-dark);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 10px;
}

/* ---------------- FOOTER ---------------- */
footer {
    padding: 55px 0 25px;
    background: #071a22;
    color: #fff;
}

.footer-brand {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.footer-link {
    display: inline-block;
    margin: 8px 10px;
    color: rgba(255, 255, 255, .7);
    font-weight: 700;
    transition: .3s;
}

.footer-link:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .55);
}

/* ---------------- TOAST ---------------- */
.toast-wrap {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99999;
}

.custom-toast {
    background: #fff;
    min-width: 310px;
    padding: 16px 18px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 13px;
    transform: translateX(130%);
    transition: .4s;
    border-left: 5px solid var(--blue-dark);
}

.custom-toast.show {
    transform: translateX(0);
}

.custom-toast i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e4f3fa;
    color: var(--blue-dark);
    display: grid;
    place-items: center;
}

/* ---------------- RESPONSIVE ---------------- */
@media(max-width: 991px) {
    .hero {
        padding: 15px;
    }

    .hero-frame {
        min-height: auto;
    }

    .hero-content {
        padding: 60px 24px 30px;
        min-height: 720px;
    }

    .hero-large-title {
        text-align: left;
        letter-spacing: -4px;
    }

    .hero-left-text {
        margin-top: 20px;
    }

    .hero-float.customers {
        margin-left: 0;
    }

    .subscribe-box {
        padding: 35px 24px;
    }

    .contact-info,
    .contact-form {
        padding: 35px 24px;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .site-header .nav-pill {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
    }
}

@media(max-width: 576px) {
    .section-padding {
        padding: 70px 0;
    }

    .nav-action .btn-white,
    .site-header .nav-action .btn-main {
        display: none;
    }

    .hero-large-title {
        font-size: 4.2rem;
        letter-spacing: -3px;
    }

    .hero-left-text h1 {
        font-size: 3rem;
    }

    .hero-float,
    .hero-float.info {
        width: 100%;
    }

    .hero-float.info {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-float.info img {
        width: 100%;
        height: 150px;
    }

    .section-title {
        letter-spacing: -2px;
    }

    .page-hero {
        padding: 60px 0 45px;
    }

    .legal-content {
        padding: 30px 22px;
    }

    .unsub-box {
        padding: 34px 22px;
    }

    .white-box {
        padding: 30px 22px;
    }

    .cta-band {
        padding: 35px 24px;
    }

    .about-img {
        min-height: 420px;
    }
}