:root {
    --ink: #14243d;
    --navy: #123f73;
    --blue: #1d78bd;
    --sky: #d8eef9;
    --gold: #c79255;
    --sand: #f6f1ea;
    --paper: #ffffff;
    --mist: #f5f8fb;
    --line: #dce5ed;
    --muted: #65758b;
    --green: #1d6f55;
    --shadow: 0 24px 70px rgba(20, 36, 61, 0.14);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: var(--paper);
    line-height: 1.6;
}

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

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

.container {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    max-width: 850px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.brand strong {
    display: block;
    color: var(--navy);
    font-size: 1.18rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand small {
    display: block;
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.primary-nav a {
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 16px;
}

.primary-nav a:hover,
.primary-nav a.active {
    color: var(--navy);
    background: var(--sky);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--navy);
}

.hero {
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    padding: 72px 0 42px;
    background:
        linear-gradient(120deg, rgba(216, 238, 249, 0.94), rgba(255, 255, 255, 0.76) 46%, rgba(246, 241, 234, 0.88)),
        url("../images/stepin-infra-logo.jpeg") center right 8% / min(520px, 58vw) no-repeat;
}

.hero-grid,
.split,
.story-grid,
.contact-grid,
.project-two-col {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
    align-items: start;
    gap: 42px;
}

.hero-grid {
    align-items: center;
    gap: 54px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p,
li,
td,
th {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.12;
}

h1 {
    max-width: 820px;
    color: var(--navy);
    font-size: clamp(3rem, 8vw, 6.8rem);
    letter-spacing: 0;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
    font-size: 1.15rem;
}

.hero-text,
.page-hero p,
.section-heading p {
    max-width: 720px;
    color: #3e516b;
    font-size: 1.14rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 12px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    color: var(--paper);
    background: var(--navy);
    box-shadow: 0 14px 30px rgba(18, 63, 115, 0.24);
}

.btn.secondary {
    color: var(--navy);
    background: var(--paper);
    border-color: var(--line);
}

.hero-logo-card,
.logo-tile,
.lead-form,
.document-card,
.legal-card,
.overview-grid article,
.amenity-grid article,
.plot-grid article,
.feature-grid article,
.value-grid article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.hero-logo-card {
    display: grid;
    gap: 20px;
    justify-items: center;
    padding: 30px;
    box-shadow: var(--shadow);
}

.hero-logo-card img {
    width: min(320px, 100%);
}

.hero-logo-card span {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-logo-card strong {
    display: block;
    color: var(--navy);
    font-size: 1.7rem;
}

.hero-logo-card p {
    margin: 8px 0 0;
    color: var(--muted);
}

.section {
    padding: 84px 0;
}

.video-band {
    background: linear-gradient(135deg, var(--mist), var(--paper));
}

.video-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    align-items: center;
    gap: 42px;
}

.video-grid p:not(.eyebrow) {
    max-width: 620px;
    color: var(--muted);
}

.video-grid .btn {
    margin-top: 18px;
}

.video-frame {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ink);
    box-shadow: var(--shadow);
}

.video-frame video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--ink);
    object-fit: cover;
}

.choose-band {
    background: var(--paper);
}

.lifestyle-band {
    background: var(--paper);
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    grid-template-rows: repeat(2, minmax(240px, 1fr));
    gap: 18px;
}

.lifestyle-card {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    border-radius: var(--radius);
    background: var(--ink);
    box-shadow: var(--shadow);
}

.lifestyle-card.large {
    grid-row: span 2;
    min-height: 520px;
}

.lifestyle-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.lifestyle-card:hover img {
    transform: scale(1.035);
}

.lifestyle-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 36, 61, 0.02), rgba(20, 36, 61, 0.72));
    content: "";
}

.lifestyle-card div {
    position: absolute;
    right: 22px;
    bottom: 20px;
    left: 22px;
    z-index: 1;
    color: var(--paper);
}

.lifestyle-card span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lifestyle-card h3 {
    max-width: 520px;
    color: var(--paper);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.section-note {
    max-width: 520px;
    color: var(--muted);
}

.stats-band {
    padding: 30px 0;
    color: var(--paper);
    background: var(--ink);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stats-grid div {
    padding: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-grid strong {
    display: block;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.stats-grid span {
    color: rgba(255, 255, 255, 0.72);
}

.feature-grid,
.choose-grid,
.value-grid,
.overview-grid,
.amenity-grid,
.plot-grid {
    display: grid;
    gap: 18px;
}

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

.feature-grid article,
.choose-grid article,
.value-grid article,
.plot-grid article {
    padding: 26px;
}

.feature-grid p,
.choose-grid p,
.value-grid p,
.story-grid p,
.plot-grid p,
.document-card p,
.legal-card p,
.detail-list,
.site-footer p {
    color: var(--muted);
}

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

.choose-grid article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(216, 238, 249, 0.46), rgba(255, 255, 255, 0)),
        var(--paper);
}

.choose-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 999px;
    color: var(--paper);
    background: var(--navy);
    font-size: 0.82rem;
    font-weight: 900;
}

.page-hero {
    padding: 86px 0 74px;
    background: linear-gradient(135deg, var(--mist), var(--sand));
}

.page-hero h1 {
    color: var(--ink);
    font-size: clamp(2.6rem, 6vw, 5.6rem);
}

.project-hero {
    background:
        linear-gradient(115deg, rgba(20, 36, 61, 0.92), rgba(18, 63, 115, 0.72)),
        url("../images/stepin-infra-logo.jpeg") right 8% center / min(430px, 44vw) no-repeat;
}

.project-hero h1,
.project-hero p:not(.eyebrow) {
    color: var(--paper);
}

.section-heading {
    margin-bottom: 30px;
}

.overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.overview-grid article,
.amenity-grid article {
    padding: 22px;
}

.overview-grid span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.overview-grid strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.amenities-band,
.plot-band,
.values-band {
    background: var(--mist);
}

.amenity-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.amenity-grid article {
    position: relative;
    min-height: 84px;
    display: flex;
    align-items: center;
    color: var(--ink);
    font-weight: 800;
}

.amenity-grid article::before {
    width: 10px;
    height: 10px;
    margin-right: 12px;
    border-radius: 999px;
    background: var(--gold);
    content: "";
    flex: 0 0 auto;
}

.detail-list {
    display: grid;
    gap: 14px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.detail-list li {
    position: relative;
    padding-left: 28px;
}

.detail-list li::before {
    position: absolute;
    top: 0.45em;
    left: 0;
    width: 12px;
    height: 7px;
    border-bottom: 3px solid var(--green);
    border-left: 3px solid var(--green);
    content: "";
    transform: rotate(-45deg);
}

.document-card,
.legal-card {
    padding: 30px;
    box-shadow: var(--shadow);
}

.visual-section {
    background: var(--paper);
}

.project-visual {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.project-visual img {
    width: 100%;
    height: auto;
}

.project-visual.wide img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.project-visual figcaption {
    padding: 14px 18px;
    color: var(--muted);
    font-size: 0.92rem;
}

.connectivity-visual-band {
    background: linear-gradient(135deg, var(--ink), var(--navy));
}

.connectivity-visual-band h2,
.connectivity-visual-band .connectivity-panel {
    color: var(--paper);
}

.connectivity-visual-band .project-two-col {
    align-items: center;
}

.connectivity-panel {
    padding: 18px 0;
}

.connectivity-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.connectivity-points span {
    display: flex;
    align-items: center;
    min-height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 800;
    padding: 14px 16px;
}

.plot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 26px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

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

th,
td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

th {
    color: var(--navy);
    background: var(--sky);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

tr:last-child td {
    border-bottom: 0;
}

.legal-card dl {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
}

.legal-card dl div {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.legal-card dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.legal-card dd {
    margin: 4px 0 0;
    color: var(--ink);
    font-weight: 800;
}

.logo-tile {
    display: grid;
    place-items: center;
    padding: 34px;
    box-shadow: var(--shadow);
}

.logo-tile img {
    width: min(330px, 100%);
}

.value-grid {
    grid-template-columns: repeat(3, 1fr);
}

.value-grid span {
    color: var(--gold);
    font-weight: 900;
}

.contact-band {
    background: var(--sand);
}

.lead-form {
    display: grid;
    gap: 16px;
    padding: 26px;
    box-shadow: var(--shadow);
}

.lead-form label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 800;
}

.lead-form input,
.lead-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    font: inherit;
    padding: 13px 14px;
}

.lead-form textarea {
    resize: vertical;
}

.form-message {
    margin: 0;
    border-radius: var(--radius);
    padding: 12px 14px;
    font-weight: 800;
}

.form-message.success {
    color: #196346;
    background: #dff5eb;
}

.form-message.error {
    color: #8a2d2d;
    background: #fde3e3;
}

.site-footer {
    padding: 54px 0 24px;
    color: rgba(255, 255, 255, 0.76);
    background: var(--ink);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.9fr;
    gap: 36px;
}

.footer-logo {
    width: 130px;
    margin-bottom: 18px;
    border-radius: var(--radius);
}

.site-footer h2 {
    margin-bottom: 14px;
    color: var(--paper);
    font-size: 1rem;
}

.site-footer a,
.site-footer span {
    display: block;
    margin: 9px 0;
}

.copyright {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.9rem;
}

@media (max-width: 920px) {
    .menu-toggle {
        display: block;
    }

    .primary-nav {
        position: absolute;
        top: 70px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--paper);
        box-shadow: var(--shadow);
    }

    .primary-nav.open {
        display: flex;
    }

    .primary-nav a {
        border-radius: var(--radius);
    }

    .header-inner {
        min-height: 70px;
    }

    .brand img {
        width: 54px;
        height: 54px;
    }

    .brand strong {
        font-size: 0.98rem;
    }

    .brand small {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 54px;
        background:
            linear-gradient(120deg, rgba(216, 238, 249, 0.96), rgba(255, 255, 255, 0.84), rgba(246, 241, 234, 0.9)),
            url("../images/stepin-infra-logo.jpeg") center top 32px / 280px no-repeat;
    }

    .hero-grid,
    .video-grid,
    .split,
    .story-grid,
    .contact-grid,
    .project-two-col,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid > div:first-child {
        padding-top: 210px;
    }

    .stats-grid,
    .overview-grid,
    .amenity-grid,
    .feature-grid,
    .choose-grid,
    .value-grid,
    .plot-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lifestyle-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .lifestyle-card.large,
    .lifestyle-card {
        min-height: 320px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, 1140px);
    }

    h1 {
        font-size: 3rem;
    }

    .hero-actions,
    .btn {
        width: 100%;
    }

    .stats-grid,
    .overview-grid,
    .amenity-grid,
    .feature-grid,
    .choose-grid,
    .value-grid,
    .plot-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 58px 0;
    }

    .lifestyle-card.large,
    .lifestyle-card {
        min-height: 260px;
    }

    .hero-logo-card,
    .lead-form,
    .document-card,
    .legal-card {
        padding: 20px;
    }

    .connectivity-points {
        grid-template-columns: 1fr;
    }

    .project-hero {
        background:
            linear-gradient(115deg, rgba(20, 36, 61, 0.92), rgba(18, 63, 115, 0.8)),
            url("../images/stepin-infra-logo.jpeg") center bottom 28px / 230px no-repeat;
    }
}
