:root {
    --sena-green: #035551;
    --sena-green-2: #073f3c;
    --sena-mint: #eaf4f1;
    --map-bg: #071111;
    --ink: #153431;
    --muted: #66807b;
    --soft: #f4f8f6;
    --line: #dfeae6;
    --shadow-soft: 0 22px 70px rgba(3, 85, 81, 0.13);
    --shadow-deep: 0 34px 95px rgba(0, 0, 0, 0.24);
}

* {
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Prompt", "Noto Sans Thai", sans-serif;
    color: var(--ink);
    background: #fbfdfc;
}

.site-nav {
    background: rgba(3, 85, 81, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar-brand,
.nav-link {
    color: #fff !important;
}

.btn {
    border-radius: 999px;
    font-weight: 600;
}

.btn-lg {
    padding: .86rem 1.35rem;
}

.btn-sena {
    background: var(--sena-green);
    border-color: var(--sena-green);
    color: #fff;
    box-shadow: 0 12px 30px rgba(3, 85, 81, .18);
}

.btn-sena:hover {
    background: #02413e;
    border-color: #02413e;
    color: #fff;
}

.btn-outline-sena {
    border-color: rgba(3, 85, 81, .24);
    color: var(--sena-green);
    background: #fff;
}

.btn-outline-sena:hover,
.btn-mint {
    background: var(--sena-mint);
    color: var(--sena-green);
    border-color: var(--sena-mint);
}

.hero-section {
    position: relative;
    min-height: 94vh;
    padding: 9rem 0 5.5rem;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 24%, rgba(108, 207, 184, 0.28), transparent 28%),
        linear-gradient(135deg, #023c39 0%, #035551 45%, #071111 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(0deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-kicker,
.section-heading span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #8dd8c6;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.hero-section h1 {
    font-size: clamp(2.7rem, 6vw, 5.9rem);
    font-weight: 700;
    max-width: 820px;
    line-height: .98;
}

.hero-copy {
    font-size: 1.28rem;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.84);
    margin: 1.4rem 0 2rem;
}

.hero-glass-card {
    padding: 1.25rem;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.18);
    background: linear-gradient(150deg, rgba(255,255,255,.2), rgba(255,255,255,.07));
    box-shadow: var(--shadow-deep);
    backdrop-filter: blur(24px);
}

.hero-card-top {
    padding: 1.1rem 1.1rem 1.25rem;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .78rem;
    border-radius: 999px;
    color: #073f3c;
    background: rgba(234,244,241,.92);
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-card-top strong {
    display: block;
    font-size: 1.55rem;
    line-height: 1.25;
}

.hero-card-top p {
    color: rgba(255,255,255,.74);
    margin: .65rem 0 0;
}

.hero-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .65rem;
}

.hero-stat {
    padding: 1rem;
    min-height: 138px;
    border-radius: 20px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.12);
}

.hero-stat i {
    color: #bce8dd;
    font-size: 1.25rem;
}

.hero-stat strong {
    display: block;
    font-size: 2rem;
    margin-top: .55rem;
}

.hero-stat span {
    color: rgba(255,255,255,.72);
    font-size: .86rem;
}

.hero-location-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    padding: 1rem .15rem .15rem;
}

.hero-location-strip span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .46rem .72rem;
    border-radius: 999px;
    background: rgba(7,17,17,.35);
    color: rgba(255,255,255,.82);
    font-size: .82rem;
}

.filter-section {
    top: 72px;
    z-index: 9;
    padding: 1rem 0;
    background: rgba(251, 253, 252, 0.84);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(223,234,230,.9);
}

.filter-bar {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
    padding: .75rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 16px 45px rgba(3, 85, 81, .08);
}

.filter-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--sena-green);
}

.form-control,
.form-select {
    border-radius: 14px;
    border-color: #d8e6e2;
    min-height: 46px;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: .95rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    z-index: 2;
}

.input-icon .form-control {
    padding-left: 2.55rem;
}

.map-section {
    padding: 5.5rem 0;
    background:
        linear-gradient(180deg, #071111 0%, #0c201e 100%);
    color: #fff;
    overflow: hidden;
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: clamp(1.9rem, 4vw, 3.25rem);
    font-weight: 700;
    margin: 0;
}

.section-heading p {
    color: var(--muted);
}

.map-card {
    max-width: 1580px;
    margin: 0 auto;
    padding: 1.2rem;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.12);
    background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
    box-shadow: var(--shadow-deep);
}

.map-card-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.25rem 1rem;
}

.map-toolbar {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

.map-toolbar .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-width: 46px;
    min-height: 42px;
    border: 0;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.map-scroll {
    overflow: auto;
    padding: .65rem;
    border-radius: 24px;
    background: rgba(7,17,17,.58);
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    scrollbar-color: rgba(141, 216, 198, .9) rgba(255, 255, 255, .12);
    scrollbar-width: thin;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
}

.map-scroll::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.map-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,.12);
    border-radius: 999px;
}

.map-scroll::-webkit-scrollbar-thumb {
    background: rgba(141,216,198,.9);
    border-radius: 999px;
}

.map-canvas {
    position: relative;
    width: min(1480px, 100%);
    min-width: 860px;
    margin: 0 auto;
    transition: width .2s ease;
}

.metro-map {
    display: block;
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 24px 65px rgba(0,0,0,.28);
}

.map-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 48%, rgba(7,17,17,.22));
    border-radius: 22px;
    z-index: 2;
}

.train-line-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.train-line-overlay.is-active {
    opacity: 1;
}

.project-marker {
    position: absolute;
    border: 0;
    background: transparent;
    padding: 0;
    line-height: 1;
    transform: translate(-50%, -100%);
    z-index: 3;
}

.marker-icon {
    display: block;
    color: var(--marker-color, #32bbac);
    font-size: 42px;
    font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 48;
    text-shadow: 0 2px 0 #fff, 0 -2px 0 #fff, 2px 0 0 #fff, -2px 0 0 #fff, 0 10px 22px rgba(0,0,0,.35);
    animation: marker-bounce 1.35s ease-in-out infinite;
    transform-origin: center bottom;
    transition: transform .2s ease;
}

.project-marker:hover .marker-icon {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.18);
}

.marker-label {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .36rem;
    min-width: 118px;
    max-width: 180px;
    transform: translate(-50%, 6px);
    padding: .5rem .68rem .58rem;
    background: #307470;
    color:#ffffff;
    border-radius: 12px;
    font-size: .76rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    transition: opacity .18s ease, transform .18s ease;
}

.marker-label::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: translateX(-50%) rotate(45deg);
    box-shadow: 7px 7px 16px rgba(0,0,0,.08);
}

.marker-label-name {
    position: relative;
    z-index: 1;
    max-width: 100%;
    line-height: 1.22;
    overflow-wrap: anywhere;
    text-align: center;
}

.marker-label-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    max-width: 112px;
    max-height: 42px;
    object-fit: contain;
}

.project-marker:hover .marker-label {
    opacity: 1;
    transform: translate(-50%, 0);
}

.project-marker.is-hidden {
    display: none;
}

.project-marker.is-line-match .marker-icon {
    animation: marker-line-pulse 1.35s ease-in-out infinite;
    color: var(--marker-color, #32bbac);
    text-shadow:
        0 2px 0 #fff,
        0 -2px 0 #fff,
        2px 0 0 #fff,
        -2px 0 0 #fff,
        0 0 18px rgba(50,187,172,.75),
        0 14px 30px rgba(0,0,0,.4);
}

@keyframes marker-bounce {
    0%, 100% { transform: translateY(0); }
    45% { transform: translateY(-10px); }
    65% { transform: translateY(0); }
    82% { transform: translateY(-4px); }
}

@keyframes marker-line-pulse {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    42% {
        transform: translateY(-10px) scale(1.18);
    }
    68% {
        transform: translateY(-2px) scale(1.05);
    }
}

.projects-section,
.contact-section {
    padding: 5.5rem 0;
}

.projects-section {
    background:
        linear-gradient(180deg, #fbfdfc 0%, var(--soft) 100%);
}

.project-card {
    background: #fff;
    border: 1px solid rgba(223,234,230,.88);
    border-radius: 22px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    box-shadow: 0 14px 40px rgba(3, 85, 81, 0.06);
}

.project-card:hover {
    transform: translateY(-7px);
    border-color: rgba(3,85,81,.2);
    box-shadow: var(--shadow-soft);
}

.project-card-media {
    position: relative;
}

.project-card-media > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.project-logo-badge {
    position: absolute;
    left: 0.5rem;
    bottom: 0.5rem;
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    padding: .55rem;
    border-radius: 14px;
    background: rgba(7, 7, 7, 0.53);
    box-shadow: 0 12px 32px rgba(0,0,0,.16);
}

.modal-project-logo,
.detail-project-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.project-logo-badge img{
    width:100% ;
    height: 100%;
}

.project-card-body {
    padding: 1.15rem;
}

.project-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    min-height: 2.7rem;
    margin-bottom: .65rem;
}

.project-card p {
    margin-bottom: .45rem;
    color: #5e7470;
}

.price {
    color: var(--sena-green) !important;
    font-weight: 700;
}

.badge {
    border-radius: 999px;
    padding: .42rem .62rem;
    font-weight: 600;
}

.badge-mint,
.badge-row span {
    background: var(--sena-mint);
    color: var(--sena-green);
}

.badge-soft {
    background: #f1f4f3;
    color: #536c67;
}

.badge-dark-green {
    background: var(--sena-green);
    color: #fff;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: .42rem;
    min-height: 2rem;
}

.badge-row span {
    border-radius: 999px;
    padding: .32rem .58rem;
    font-size: .75rem;
}

.contact-section {
    background: #fff;
}

.lead-form {
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(223,234,230,.96);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.contact-mini-card {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    margin-top: 1.2rem;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--sena-green), #071111);
    box-shadow: 0 18px 45px rgba(3,85,81,.16);
}

.contact-mini-card i {
    font-size: 1.65rem;
}

.contact-mini-card span,
.contact-mini-card strong {
    display: block;
}

.contact-mini-card span {
    color: rgba(255,255,255,.72);
    font-size: .82rem;
}

.contact-mini-card strong {
    font-size: 1.45rem;
}

.modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-deep);
}

.modal-project-img {
    display: block;
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.modal-project-media {
    position: relative;
}

.modal-project-media .modal-project-logo {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    margin: 0 !important;
    border-color: rgba(255, 255, 255, .18);
    background: rgba(0, 0, 0, .8);
}

.modal-project-summary {
    margin: 1rem 0;
}

.modal-project-desktop-title {
    display: none;
}

.modal-project-logo {
    display: block;
    width: 90px;
    height: 72px;
    padding: .55rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #035551;
}

@media (min-width: 992px) {
    .modal-project-layout {
        display: grid;
        grid-template-columns: 300px minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        align-items: start;
        column-gap: 2rem;
        row-gap: 1.25rem;
        margin-bottom: 0;
    }

    #projectModal .modal-header #modalTitle {
        display: none;
    }

    .modal-project-layout > .modal-project-media {
        position: relative;
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .modal-project-media .modal-project-logo {
        position: absolute;
        left: 1rem;
        bottom: 1rem;
        width: 70px;
        height: 72px;
        margin: 0 !important;
        border-color: rgba(255, 255, 255, .18);
        background: rgba(0, 0, 0, .8);
    }

    .modal-project-summary {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        padding-top: .25rem;
    }

    .modal-project-desktop-title {
        display: block;
        margin: 0 0 1rem;
        color: var(--ink);
        font-size: 1.35rem;
        font-weight: 600;
        line-height: 1.3;
    }

    .modal-project-layout > .project-facts {
        grid-column: 2;
        grid-row: 2;
    }

    .modal-project-layout > #modalDescription {
        grid-column: 1 / -1;
        grid-row: 3;
        margin-bottom: 0;
    }

    .modal-project-summary .modal-badges .badge,
    .modal-project-layout > .project-facts strong,
    .modal-project-layout > .project-facts span,
    .modal-project-layout > #modalDescription {
        font-size: 1rem;
    }
}

.detail-image {
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.detail-project-logo {
    width: 150px;
    height: 82px;
    padding: .7rem;
    margin-bottom: 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 18px 45px rgba(0,0,0,.14);
}

.project-facts strong,
.project-facts span {
    display: block;
}

.project-facts strong {
    color: var(--sena-green);
    font-size: .82rem;
}

.empty-state {
    padding: 2rem;
    text-align: center;
    background: #fff;
    border: 1px dashed #b8cbc6;
    border-radius: 22px;
}

.project-detail-hero {
    min-height: 90vh;
    padding: 9rem 0 5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--sena-green), #082522);
}

.site-footer {
    padding: 3.5rem 0 1.25rem;
    background: #062d2a;
    color: rgba(255,255,255,.72);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr auto auto;
    gap: 2rem;
    align-items: start;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

.footer-main p {
    max-width: 430px;
    margin: 0;
}

.footer-links {
    display: grid;
    gap: .55rem;
}

.footer-links a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-call {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .8rem;
    align-items: center;
    min-width: 190px;
    padding: .9rem 1rem;
    border-radius: 20px;
    background: rgba(255,255,255,.1);
    color: #fff;
    text-decoration: none;
}

.footer-call i {
    grid-row: span 2;
    font-size: 1.5rem;
    color: #bce8dd;
}

.footer-call span {
    color: rgba(255,255,255,.68);
    font-size: .8rem;
}

.footer-call strong {
    font-size: 1.4rem;
    line-height: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: .9rem;
}

@media (max-width: 991.98px) {
    .filter-section {
        position: static !important;
    }

    .filter-bar,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        grid-template-columns: 1fr;
    }

    .map-card-header {
        align-items: start;
        flex-direction: column;
    }

    .map-section {
        padding: 4rem 0;
    }

    .map-card {
        padding: .85rem;
    }

    .map-scroll {
        max-height: min(72vh, 720px);
    }

    .map-canvas {
        width: 1040px;
        min-width: 1040px;
        max-width: none;
    }

    .project-marker {
        min-width: 44px;
        min-height: 44px;
    }

    .marker-icon {
        font-size: 48px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: auto;
        padding-top: 7rem;
    }

    .map-section {
        padding: 3rem 0;
    }

    .hero-glass-card,
    .lead-form,
    .map-card {
        border-radius: 22px;
    }

    .map-card {
        margin-inline: -.35rem;
        padding: .65rem;
    }

    .map-card-header {
        padding: .85rem .75rem .75rem;
    }

    .map-toolbar {
        position: sticky;
        top: 82px;
        z-index: 5;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: .15rem;
    }

    .map-toolbar .btn {
        min-width: 48px;
        min-height: 48px;
        padding-inline: .9rem;
    }

    .zoom-reset-text {
        display: none;
    }

    .map-scroll {
        min-height: 56vh;
        max-height: 70vh;
        padding: .5rem;
        border-radius: 18px;
    }

    .map-canvas {
        width: 980px;
        min-width: 980px;
    }

    .metro-map,
    .map-shade,
    .train-line-overlay {
        border-radius: 16px;
    }

    .marker-label {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* SENA minimalist visual system */
:root {
    --sena-green: #28b8ad;
    --sena-green-2: #1d948c;
    --sena-mint: #e9f7f5;
    --map-bg: #f5f8f8;
    --ink: #343a3d;
    --muted: #777d80;
    --soft: #f7faf9;
    --line: #e5ebea;
    --shadow-soft: 0 18px 50px rgba(47, 79, 77, .08);
    --shadow-deep: 0 24px 70px rgba(47, 79, 77, .12);
}

body {
    color: var(--ink);
    background: #fff;
}

.site-nav {
    min-height: 82px;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 24px rgba(43, 67, 65, .04);
    backdrop-filter: blur(18px);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    margin: 0;
    color: var(--ink) !important;
}

.site-logo {
    display: block;
    width: 118px;
    height: auto;
}

.brand-divider {
    width: 1px;
    height: 30px;
    background: #d8dedd;
}

.brand-label {
    color: #777b7e;
    font-size: .62rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: .12em;
}

.nav-link {
    position: relative;
    color: #62686a !important;
    font-size: .92rem;
    font-weight: 500;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: .5rem;
    bottom: .15rem;
    left: .5rem;
    height: 2px;
    background: var(--sena-green);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--sena-green-2) !important;
}

.nav-link:hover::after,
.nav-link:focus::after {
    transform: scaleX(1);
}

.nav-call-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-left: .35rem;
    padding: .6rem 1rem !important;
    color: #fff !important;
    background: var(--sena-green);
    border-radius: 10px;
}

.nav-call-link::after {
    display: none;
}

.nav-call-link:hover,
.nav-call-link:focus {
    color: #fff !important;
    background: var(--sena-green-2);
}

.navbar-toggler {
    border: 1px solid var(--line);
    border-radius: 12px;
}

.btn {
    border-radius: 10px;
    font-weight: 500;
    box-shadow: none;
}

.btn-sena {
    background: var(--sena-green);
    border-color: var(--sena-green);
    box-shadow: none;
}

.btn-sena:hover,
.btn-sena:focus {
    background: var(--sena-green-2);
    border-color: var(--sena-green-2);
}

.btn-mint,
.btn-outline-sena:hover {
    color: var(--sena-green-2);
    background: var(--sena-mint);
    border-color: #d8efec;
}

.hero-section {
    min-height: 82vh;
    padding: 9.5rem 0 5rem;
    color: var(--ink);
    background:
        linear-gradient(120deg, rgba(233, 247, 245, .78), rgba(255, 255, 255, 0) 46%),
        #fff;
}

.hero-section::before {
    inset: auto -7rem -12rem auto;
    width: 34rem;
    height: 34rem;
    border: 7rem solid rgba(40, 184, 173, .07);
    border-radius: 50%;
    background: transparent;
    mask-image: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 82px;
    right: 0;
    width: min(36vw, 520px);
    height: 5px;
    background: linear-gradient(90deg, #88cec8 0 50%, #28b8ad 50%);
}

.hero-kicker,
.section-heading span {
    color: var(--sena-green-2);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
}

.hero-section h1 {
    max-width: 760px;
    font-size: clamp(2.7rem, 5.5vw, 5.3rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.hero-copy {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.8;
}

.hero-section .btn-light {
    color: #fff;
    background: var(--sena-green);
    border-color: var(--sena-green);
}

.hero-section .btn-outline-light {
    color: #62686a;
    background: #fff;
    border-color: #d9e0df;
}

.hero-glass-card {
    padding: 1.4rem;
    color: var(--ink);
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.hero-card-top {
    padding: .7rem .7rem 1.35rem;
}

.platform-badge {
    color: var(--sena-green-2);
    background: var(--sena-mint);
}

.hero-card-top strong {
    font-size: 1.4rem;
    font-weight: 500;
}

.hero-card-top p,
.hero-stat span {
    color: var(--muted);
}

.hero-panel {
    gap: 1px;
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.hero-stat {
    min-height: 128px;
    border: 0;
    border-radius: 0;
    background: #fff;
}

.hero-stat i,
.hero-stat strong {
    color: var(--sena-green);
}

.hero-stat strong {
    font-weight: 500;
}

.hero-location-strip span {
    color: #646b6d;
    background: var(--soft);
    border: 1px solid var(--line);
}

.map-page-heading {
    padding: 82px 0 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.map-page-heading h1 {
    margin: 0;
    padding: 34px 15px;
    color: var(--ink);
    font-size: 3.5em;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.025em;
    text-align: center;
}

.filter-section {
    position: relative;
    top: auto;
    z-index: 2;
    padding: .8rem 0;
    background:rgb(247, 250, 249);
    border-bottom: 1px solid var(--line);
}

.filter-bar {
    padding: .65rem;
    border: 0;
    border-radius: 14px;
    background: var(--soft);
    box-shadow: none;
}

.filter-group label {
    color: #666d6f;
    font-weight: 500;
}

.form-control,
.form-select {
    border-color: #dfe6e5;
    border-radius: 9px;
    background-color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--sena-green);
    box-shadow: 0 0 0 .2rem rgba(40, 184, 173, .12);
}

.map-section {
    display: flex;
    height: calc(100vh - 82px);
    height: calc(100svh - 82px);
    min-height:1460px;
    padding: 0;
    color: var(--ink);
    background: var(--soft);
    overflow: hidden;
    scroll-margin-top: 82px;
}

.map-section > .container-fluid {
    display: flex;
    width: 100%;
    min-height: 0;
    padding-inline: 0 !important;
}

.section-heading h2 {
    font-weight: 500;
    letter-spacing: -.02em;
}

.map-card {
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.map-scroll-shell {
    position: relative;
    display: flex;
    flex: 1;
    min-height: 0;
}

.map-scroll {
    flex: 1;
    min-height: 0;
    max-height: none;
    /* Keep stations and project markers at the top edge clear of the filters
       and the floating zoom controls. */
    padding: 4.75rem 0 0;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    -ms-overflow-style: none;
    overscroll-behavior: auto;
    scrollbar-width: none;
}

.map-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

@media (hover: hover) and (pointer: fine) {
    .map-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        overscroll-behavior-y: auto;
    }
}

.map-pan-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 8;
    display: none;
    width: max-content;
    align-items: center;
    gap: .55rem;
    padding: .7rem 1rem;
    color: #fff;
    background: rgba(52, 58, 61, .9);
    border-radius: 999px;
    box-shadow: 0 12px 34px rgba(30, 51, 49, .18);
    pointer-events: none;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(8px);
}

.map-pan-indicator i {
    color: #88cec8;
    font-size: 1.25rem;
}

.map-pan-indicator span {
    font-size: .82rem;
    font-weight: 500;
}

@media (min-width: 992px) {
    .map-scroll.is-pan-ready {
        cursor: grab;
        user-select: none;
    }

    .map-scroll-shell.is-pan-ready .map-pan-indicator {
        display: inline-flex;
    }

    .map-scroll.is-panning {
        cursor: grabbing;
        scroll-behavior: auto;
    }

    .map-scroll-shell.is-panning .map-pan-indicator {
        transform: translate(-50%, -50%) scale(.96);
    }
}

.metro-map {
    border-radius: 10px;
    box-shadow: none;
}

.map-shade {
    background: transparent;
}

.map-toolbar .btn {
    min-width: 48px;
    min-height: 46px;
    color: #33413f;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(67, 91, 87, .14);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.map-toolbar {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 12;
    display: flex;
    width: auto;
    justify-content: flex-end;
    gap: .45rem;
    padding: .4rem;
    overflow: visible;
    background: rgba(247, 250, 249, .66);
    border: 1px solid rgba(67, 91, 87, .12);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(29, 55, 51, .12);
    backdrop-filter: blur(14px);
}

.map-toolbar .btn:hover,
.map-toolbar .btn:focus-visible {
    color: var(--sena-green-2);
    background: rgba(255, 255, 255, .96);
    border-color: rgba(40, 184, 173, .42);
}

.marker-label {
    color: #fff;
    background: #4c5557;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(30, 51, 49, .12);
}

.marker-label::after {
    background: #4c5557;
}

.projects-section,
.contact-section {
    padding: 5rem 0;
}

.projects-section {
    background: #fff;
}

.project-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: none;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: #bcded9;
    box-shadow: var(--shadow-soft);
}

.project-card-media > img {
    aspect-ratio: 4 / 3;
}

.project-logo-badge {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: rgba(8, 8, 8, 0.61);
    box-shadow: 0 7px 22px rgba(30, 51, 49, .12);
}

.project-card-body {
    padding: 1.3rem;
}

.project-card h3 {
    font-weight: 500;
}

.badge {
    font-weight: 500;
}

.badge-mint,
.badge-row span {
    color: var(--sena-green-2);
}

.contact-section {
    background: var(--soft);
    scroll-margin-top: 82px;
}

.lead-form {
    border-radius: 16px;
    box-shadow: none;
}

.required-label::after {
    content: " *";
    color: #d9363e;
}

.contact-mini-card {
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: none;
}

.contact-mini-card i,
.contact-mini-card strong {
    color: var(--sena-green-2);
}

.contact-mini-card span {
    color: var(--muted);
}

.modal-content {
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-deep);
}

.modal-project-logo {
    background: #084843;
}

.project-detail-hero {
    min-height: 90vh;
    padding: 9rem 0 5rem;
    color: var(--ink);
    background: linear-gradient(120deg, var(--sena-mint), #fff 58%);
}

.detail-image,
.detail-project-logo {
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
}

.site-footer {
    padding: 3.2rem 0 1.25rem;
    color: #707779;
    background: #fff;
    border-top: 1px solid var(--line);
}

.footer-brand {
    color: var(--ink);
}

.footer-logo {
    display: block;
    width: 150px;
    height: auto;
}

.footer-links a {
    color: #707779;
}

.footer-links a:hover {
    color: var(--sena-green-2);
}

.footer-call {
    color: var(--ink);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.footer-call i,
.footer-call strong {
    color: var(--sena-green-2);
}

.footer-call span {
    color: var(--muted);
}

.footer-bottom {
    border-color: var(--line);
}

@media (max-width: 991.98px) {
    .map-section {
        min-height: 560px;
    }

    .navbar-collapse {
        padding: 1rem 0 .3rem;
        background: #fff;
    }

    .nav-call-link {
        width: fit-content;
        margin: .35rem 0 0;
    }

    .nav-link::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .site-nav {
        min-height: 72px;
    }

    .site-logo {
        width: 98px;
    }

    .map-page-heading {
        padding: 72px 0 0;
    }

    .map-page-heading h1 {
        padding: 22px 12px;
        font-size: clamp(1.8rem, 9vw, 2.5rem);
    }

    .contact-section {
        scroll-margin-top: 72px;
    }

    .map-section {
        height: calc(100vh - 72px);
        height: calc(100svh - 72px);
        min-height: 520px;
        padding-top: 0;
        scroll-margin-top: 72px;
    }

    .map-card {
        margin: 0;
        padding: 0;
        border-radius: 0;
    }

    .map-scroll {
        margin: 0;
        padding: 4.25rem 0 0;
        border-radius: 0;
    }

    .map-card-header {
        padding: .85rem 1rem .75rem;
    }

    .map-toolbar {
        top: .75rem;
        right: .75rem;
        padding: .3rem;
    }

    .map-toolbar .btn {
        min-width: 44px;
        min-height: 44px;
        padding-inline: .75rem;
    }

    .brand-divider,
    .brand-label {
        display: none;
    }

    .hero-section {
        padding-top: 7.5rem;
    }

    .hero-section h1 {
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    .hero-section::after {
        top: 72px;
        width: 46vw;
    }

    .hero-glass-card,
    .lead-form,
    .map-card {
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

.thank-you-page {
    min-height: calc(100vh - 240px);
    background:
        radial-gradient(circle at 50% 15%, rgba(141, 216, 198, .25), transparent 32%),
        var(--soft);
}

.thank-you-section {
    display: flex;
    align-items: center;
    min-height: 78vh;
    padding: 8.5rem 0 5rem;
}

.thank-you-card {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 4.5rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.thank-you-icon {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 1.5rem;
    color: #fff;
    background: var(--sena-green);
    border: 9px solid var(--sena-mint);
    border-radius: 50%;
    font-size: 2.25rem;
}

.thank-you-kicker {
    display: block;
    margin-bottom: .75rem;
    color: var(--sena-green);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.thank-you-card h1 {
    margin-bottom: 1rem;
    color: var(--ink);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

.thank-you-card > p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .85rem;
    margin: 2rem 0 1.5rem;
}

.thank-you-home {
    color: var(--muted);
    font-weight: 500;
    text-decoration: none;
}

.thank-you-home:hover {
    color: var(--sena-green);
}

@media (max-width: 575.98px) {
    .thank-you-section {
        min-height: 72vh;
        padding: 7rem 0 3rem;
    }

    .thank-you-card {
        border-radius: 18px;
    }

    .thank-you-actions .btn {
        width: 100%;
    }
}
