:root {
    --navy: #082347;
    --blue: #014AAD;
    --bg: #ffffff;
    --soft: #f6f8fc;
    --text: #0b1220;
    --muted: #4b5565;
    --border: rgba(8, 35, 71, .14);
    --shadow: 0 18px 45px rgba(8, 35, 71, .12);
}

main,
header,
footer {
    width: 100%;
    overflow-x: hidden;
}

section {
    overflow-x: hidden;
}


* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    color: var(--text);
    background: var(--bg);
}

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

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 18px
}

.topbar {
    background: #f1f4fb;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 12px;
}

.mini {
    color: var(--muted)
}

.topbar a {
    color: var(--navy);
    font-weight: 800
}

.sep {
    opacity: .6
}

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

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 14px;
}

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

.brand-logo {
    width: 76px;
    height: 76px;
    object-fit: contain;
    border-radius: 14px;
}

.brand-name {
    font-weight: 1000;
    color: var(--navy);
    letter-spacing: .2px
}

.brand-tag {
    font-size: 12px;
    color: var(--muted)
}

.menu {
    display: flex;
    gap: 18px;
    align-items: center
}

.menu a {
    color: var(--navy);
    font-weight: 900;
    opacity: .92
}

.menu a:hover {
    opacity: 1
}

.menu a.active {
    color: var(--blue)
}

.menu .btn {
    background: linear-gradient(90deg, var(--blue), var(--navy));
    border: 1px solid rgba(1, 74, 173, .25);
    color: #fff !important;
    opacity: 1;
    transition: background .25s ease, box-shadow .25s ease, transform .25s ease;

}

.menu .btn:hover {
    background: linear-gradient(90deg, #0a63d8, #0a2f66);
    /* brighter blue */
    box-shadow: 0 12px 30px rgba(1, 74, 173, .35);
    transform: translateY(-1px);
    color: #fff !important;
}


.burger {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(8, 35, 71, .12);
    background: rgba(255, 255, 255, .95);
    color: var(--navy);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(8, 35, 71, .12);
}

.burger svg {
    width: 22px;
    height: 22px;
}

.burger:hover {
    background: rgba(255, 255, 255, 1);
}

.burger:active {
    transform: scale(.96);
}


.mobile-menu {
    display: none;
    padding: 10px 18px 16px;
    border-top: 1px solid var(--border);
    background: white;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--navy);
    font-weight: 1000;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--navy);
    color: white;
    font-weight: 1000;
    border: 1px solid rgba(8, 35, 71, .08);
    box-shadow: 0 12px 30px rgba(8, 35, 71, .12);
}

.btn:hover {
    filter: brightness(.98)
}

/* Hero ghost button – high contrast */
.hero .btn-ghost {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(6px);
}

.hero .btn-ghost:hover {
    background: rgba(255, 255, 255, .18);
    border-color: #fff;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}


.btn-small {
    padding: 10px 12px;
    border-radius: 12px;
}

.hero {
    position: relative;
    min-height: 64vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Compact hero – used on Contact (and similar pages) */
.hero-compact {
    min-height: 42vh;
    /* instead of 64vh */
}

.hero-compact .hero-grid {
    padding-top: 48px;
    padding-bottom: 48px;
}


.hero-title {
    max-width: 900px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 35, 71, .82) 0%, rgba(8, 35, 71, .55) 55%, rgba(8, 35, 71, .25) 100%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 72px 0;
    align-items: stretch;
    padding-bottom: 92px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(1, 74, 173, .18);
    border: 1px solid rgba(1, 74, 173, .35);
    color: #fff;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.pill svg {
    width: 18px;
    height: 18px;
    opacity: .9;
}


.hero-title {
    margin: 0 0 12px;
    color: white;
    font-size: clamp(34px, 4.8vw, 56px);
    line-height: 1.05;
    letter-spacing: .2px;
}

.hero-sub {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .88);
    font-size: 18px;
    max-width: 820px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px
}

.iconmini a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
}

.iconmini svg {
    width: 16px;
    height: 16px;
}


.trust {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.trust-item {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    color: rgba(255, 255, 255, .92);
    padding: 10px 12px;
    border-radius: 14px;
    font-weight: 900;
}

.section {
    padding: 64px 0;
    position: relative;

}

.section+.section {
    border-top: 1px solid rgba(8, 35, 71, .06);
}

.section:not(.section-soft)+.section:not(.section-soft) {
    border-top: 1px solid rgba(8, 35, 71, .06);
}


.section-soft {
    background: var(--soft);
    border-top: 1px solid rgba(8, 35, 71, .08);
    border-bottom: 1px solid rgba(8, 35, 71, .08);
}

.section-title {
    font-size: 32px;
    margin: 0 0 10px;
    color: var(--navy)
}

.section-lead {
    color: var(--muted);
    margin: 0 0 24px;
    max-width: 860px
}

.affiliations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: stretch;
}

.affiliation-card {
    background: linear-gradient(180deg,
            rgba(8, 35, 71, 0.95),
            rgba(1, 74, 173, 0.90));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    display: grid;
    place-items: center;
    min-height: 96px;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
}

.affiliation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(8, 35, 71, .14);
    border-color: rgba(255, 255, 255, 0.22);
}

.affiliation-card img {
    max-height: 44px;
    /* position: absolute; */

    inset: 0;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .85;
    transition: filter .2s ease, opacity .2s ease;
}

.affiliation-card:hover img {
    filter: none;
    opacity: 1;
}

/* Light logo override (single card only) */
/* Light-logo card (darker, on-brand) */
.affiliation-card.affiliation-light {
    background: linear-gradient(180deg,
            rgba(8, 35, 71, 0.08),
            rgba(8, 35, 71, 0.14));
    border: 1px solid rgba(8, 35, 71, 0.22);
    box-shadow: 0 16px 40px rgba(8, 35, 71, 0.25);
}


.affiliation-card.affiliation-light img {
    filter: drop-shadow(0 2px 6px rgba(8, 35, 71, 0.15));
    filter: brightness(1.05) contrast(1.05);

}

/* Text-based affiliation */
.affiliation-text {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg,
            rgba(8, 35, 71, .85),
            rgba(1, 74, 173, .85));
    text-align: center;
}

/* Text styling */
.affiliation-name {
    font-weight: 1000;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 18px;
    color: #fff;
    padding: 0 12px;
    font-size: 17px;
    border: 2px solid rgba(255, 255, 255, .25);
    padding: 10px 16px;
    border-radius: 999px;
}

/* Hover polish */
.affiliation-text:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}



.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 18px;
    align-items: stretch;
}

.image-card {
    position: relative;
    border-radius: 22px;
    border: 1px solid var(--border);
    background-size: cover;
    background-position: center;
    min-height: 320px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 74, 173, .10), rgba(8, 35, 71, .50));
}

.image-caption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .90);
    border: 1px solid rgba(8, 35, 71, .14);
    color: var(--navy);
    font-weight: 1000;
}

.bullets {
    margin: 0 0 18px;
    padding-left: 18px;
    color: var(--muted)
}

.bullets li {
    margin: 8px 0
}

/* -------- NEW: Services as “Image Tiles” (no repeated icons) -------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-tile {
    position: relative;
    border-radius: 22px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 260px;
    background-size: cover;
    background-position: center;
    transform: translateY(0);
    transition: transform .25s ease;
}

.service-tile:hover {
    transform: translateY(-4px)
}

.service-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(8, 35, 71, .72));
}

.service-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    gap: 8px;
    color: white;
}

.service-chip {
    position: absolute;
    left: 14px;
    top: 14px;
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    border: 1px solid rgba(8, 35, 71, .14);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 1000;
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.service-chip .num {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--blue);
    color: white;
    display: grid;
    place-items: center;
    font-size: 13px;
}

.service-title {
    margin: 0;
    font-size: 18px;
    font-weight: 1000
}

.service-desc {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    line-height: 1.55
}

.service-link {
    margin-top: 6px;
    font-weight: 1000;
    text-decoration: underline;
    text-underline-offset: 3px;
    width: fit-content;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* -------- NEW: Tree timeline -------- */
.tree {
    position: relative;
    margin-top: 10px;
    padding: 10px 0 10px;
}

.tree::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(1, 74, 173, .25), rgba(8, 35, 71, .35));
    border-radius: 999px;
}

.tree-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
}

.tree-node {
    grid-column: 2;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    font-weight: 1000;
    color: var(--navy);
    position: relative;
}

.tree-node::before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--blue);
    box-shadow: 0 10px 22px rgba(1, 74, 173, .22);
}

.tree-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.tree-card h3 {
    margin: 0 0 6px;
    color: var(--navy)
}

.tree-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55
}

.branch {
    position: absolute;
    top: 50%;
    width: 55px;
    height: 3px;
    background: rgba(8, 35, 71, .18);
    z-index: -1;
}

.tree-item.left .branch {
    left: 50%;
    transform: translateX(-100%);
}

.tree-item.right .branch {
    left: 50%;
    transform: translateX(0%);
}

.tree-item.left .tree-card {
    grid-column: 1;
    z-index: 3;
}

.tree-item.right .tree-card {
    grid-column: 3;
    z-index: 3;
}

.tree-item.left .empty {
    grid-column: 3
}

.tree-item.right .empty {
    grid-column: 1
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 16px;
}

.contact-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.contact-card h3 {
    margin: 0 0 8px;
    color: var(--navy)
}

.muted {
    color: var(--muted);
    line-height: 1.65
}

.form {
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 1000;
    color: var(--navy)
}

input,
select,
textarea {
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(8, 35, 71, .18);
    background: #fbfcff;
    color: var(--text);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(1, 74, 173, .55)
}

.span-2 {
    grid-column: span 2
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap
}

.fineprint {
    color: var(--muted);
    font-size: 13px
}

.hidden {
    display: none
}

.form-msg {
    display: inline-block;
    /* key fix */

    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(8, 35, 71, .14);
    background: #fff;
    box-shadow: var(--shadow);
    font-weight: 900;
    color: var(--navy);
}

.form-msg.success {
    border-color: rgba(34, 197, 94, .35);
    background: rgba(34, 197, 94, .08);
}

.form-msg.error {
    border-color: rgba(239, 68, 68, .35);
    background: rgba(239, 68, 68, .08);
}

.hidden {
    display: none;
}

.map-wrap {
    width: 100%;
    height: 420px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: #fff;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
/* Footer (Dark) */
/* Footer (Dark) */
.footer {
    position: relative;
    padding: 44px 0 22px;
    background: linear-gradient(180deg, #071a34 0%, #06162c 100%);
    border-top: 1px solid rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .92);
}

.footer::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, rgba(1, 74, 173, .95), rgba(8, 35, 71, .35));
}

.footer h4 {
    margin: 0 0 10px;
    color: #fff
}

.footer .mini,
.footer .muted {
    color: rgba(255, 255, 255, .78)
}

.footer a {
    color: rgba(255, 255, 255, .92)
}

.footer a:hover {
    text-decoration: underline;
    text-underline-offset: 3px
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.footer-links a {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .08em;
}


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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .70);
    font-size: 14px;
}

.powered {
    color: rgba(255, 255, 255, .65);
    font-size: 12px;
    /* smaller than copyright */
    font-weight: 500;
    letter-spacing: .04em;
}

.powered a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.powered strong {
    font-size: 13px;
    /* slightly bigger for brand */
    font-weight: 800;
    color: rgba(255, 255, 255, .9);
}



/* Footer grid layout fix */
.footer-grid {
    display: grid !important;
    grid-template-columns: 1.2fr .8fr .8fr !important;
    gap: 18px !important;
    align-items: start !important;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 12px 18px;
    border-radius: 14px;
    background: linear-gradient(90deg, #014AAD, #082347);
    color: #fff;
    font-weight: 1000;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.footer-cta:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}


.iconline {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
}

.iconline svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 2px;
    opacity: .95
}

.typing {
    display: inline-block;
    min-width: 22ch;
    /* keeps headline stable (no layout jump) */
    padding: 0 4px;
    white-space: nowrap;
    color: #fff;
}

/* Fade word rotator (professional) */
.fade-word {
    transition: opacity .35s ease, transform .35s ease;
    will-change: opacity, transform;
}

.fade-word.fade-out {
    opacity: 0;
    transform: translateY(2px);
}

/* If user prefers reduced motion, avoid animation */
@media (prefers-reduced-motion: reduce) {
    .fade-word {
        transition: none !important;
    }
}


.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* Included / deliverables grid */
.included-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.included-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.included-card h3 {
    margin: 0 0 8px;
    color: var(--navy);
}

.included-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

/* Timelines band */
.timeline-band {
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 20px;
    background: linear-gradient(90deg, rgba(1, 74, 173, .10), rgba(8, 35, 71, .04));
    box-shadow: var(--shadow);
}

.timeline-title {
    margin: 0 0 6px;
    color: var(--navy);
    font-size: 30px;
}

.timeline-sub {
    margin: 0;
    color: var(--muted);
    max-width: 760px;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.timeline-chip {
    background: #fff;
    border: 1px solid rgba(8, 35, 71, .12);
    border-radius: 18px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.timeline-chip strong {
    color: var(--navy);
}

.timeline-chip span {
    color: var(--muted);
    font-weight: 800;
}

/* FAQ */
.faq {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: var(--shadow);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 1000;
    color: var(--navy);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.hide-web {
    display: none !important;
}

.contact-title {
    margin: 0 0 4px;
    color: var(--navy);
    font-weight: 1000;
}

.contact-sub {
    margin: 0 0 14px;
}

.contact-list {
    display: grid;
    gap: 10px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 16px;
    border: 1px solid rgba(8, 35, 71, .12);
    background: #fbfcff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.contact-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 35px rgba(8, 35, 71, .10);
    border-color: rgba(1, 74, 173, .22);
}

.contact-ic {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: rgba(1, 74, 173, .10);
    color: var(--blue);
    display: grid;
    place-items: center;
    flex: 0 0 38px;
}

.contact-ic svg {
    width: 20px;
    height: 20px;
}

.contact-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.contact-label {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(8, 35, 71, .55);
    font-weight: 900;
}

.contact-value {
    color: var(--navy);
    font-weight: 1000;
    line-height: 1.25;
    word-break: break-word;
}

.contact-arrow {
    margin-left: auto;
    color: rgba(8, 35, 71, .45);
    font-weight: 1000;
}

.contact-meta {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(8, 35, 71, .10);
    display: grid;
    gap: 10px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(8, 35, 71, .04);
    border: 1px solid rgba(8, 35, 71, .10);
}

.meta-k {
    color: rgba(8, 35, 71, .60);
    font-weight: 900;
}

.meta-v {
    color: var(--navy);
    font-weight: 1000;
    text-align: right;
}

.form-header {
    margin-bottom: 14px;
}

.form-header h3 {
    margin: 0 0 4px;
    color: var(--navy);
    font-weight: 1000;
}

.form-header .muted {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}


/* ---------- Mobile polish (drop-in) ---------- */
@media (max-width: 980px) {


    .menu {
        display: none;
    }

    .burger {
        display: inline-flex;
    }

    .container {
        padding: 0 16px;
        /* slightly tighter but visible */
    }

    /* Header spacing */
    .nav {
        padding: 10px 10px 10px 10px;
        gap: 10px;
    }

    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 58px;
        height: 58px;
    }

    .brand-name {
        font-size: 16px;
        line-height: 1.1;
    }

    .brand-tag {
        font-size: 11px;
    }

    /* Topbar wrap + smaller text */
    .topbar-inner {
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
        padding: 10px 0;
    }

    .topbar-right {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        align-items: center;
        padding-right: 10px;
    }

    .sep {
        display: none;
    }

    .typing {
        min-width: 0;
        white-space: normal;
        /* allow wrap on phone */
        display: inline;
        /* prevents weird spacing */
    }


    .iconmini a {
        font-weight: 900;
        font-size: 13px;
    }

    .iconmini svg {
        width: 15px;
        height: 15px;
    }

    /* Hero spacing */
    .hero {
        min-height: auto;
    }

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

    .hero-compact .hero-grid {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .hero-grid {
        padding: 20px 10px 20px 10px;
    }

    .pill {
        padding: 8px 14px;
        font-size: 12px;
        letter-spacing: .05em;
    }

    .hero-title {
        margin-top: 10px;
        font-size: clamp(28px, 8vw, 40px);
        line-height: 1.15;
        min-height: 3.45em;
    }

    .hero-sub {
        font-size: 16px;
    }

    /* IMPORTANT: stop typing line overflow on mobile */
    .typing {
        min-width: 0;
        white-space: normal;
        /* allow wrapping */
        display: inline;
        /* prevents weird inline-block spacing */
    }

    /* Buttons full width where needed */
    .hero-cta {
        gap: 10px;
    }

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

    /* Sections tighter */
    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .service-carousel {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        position: relative;

    }

    .service-carousel::-webkit-scrollbar {
        display: none;
    }

    .service-carousel .service-tile {
        min-width: 85%;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .affiliations-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .affiliation-card {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        min-height: 96px;
        padding: 16px;

        border-radius: 16px;
        border: 1px solid rgba(8, 35, 71, .14);
        box-shadow: var(--shadow);
    }

    .affiliation-card img {
        max-width: 100%;
        max-height: 56px;
        object-fit: contain;
        display: block;
    }

    .affiliation-name {
        font-size: 14px;
        font-weight: 900;
        text-align: center;
        letter-spacing: .04em;
    }



    a.btn-ghost {
        margin: 10px 0 0 0;
    }

    .image-card {
        display: none;
    }

    /* Grids stack */
    .split {
        grid-template-columns: 1fr;
    }

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

    .service-tile {
        min-height: 240px;
    }

    .why-grid {
        grid-template-columns: 1fr !important;
    }

    /* Image card height */
    .image-card {
        min-height: 260px;
    }

    /* CTA band layout */
    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .cta-actions {
        width: 100%;
    }

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

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

    .prep-section {
        position: relative;
        overflow: hidden;
        padding: 56px 0;
        background: var(--soft);
    }

    /* background image */
    .prep-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url("images/permitsChecklist.avif") center/cover no-repeat;
        opacity: 0.40;
        /* ✅ start here */
        transform: scale(1.02);
        /* small polish */
        z-index: 0;
    }

    /* white readability layer */
    .prep-section::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,
                rgba(246, 248, 252, 0.55),
                rgba(246, 248, 252, 0.75));

        z-index: 1;
    }

    /* keep text above */
    .prep-section .container {
        position: relative;
        z-index: 2;
    }

    /* hide the image-card on mobile */
    .hide-mobile {
        display: none !important;
    }

    .prep-section .image-card {
        display: none !important;
    }

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

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

    /* ---------- Tree timeline (mobile) ---------- */

    .tree {
        padding: 6px 0;
        position: relative;
    }

    /* Spine */
    .tree::before {
        left: 34px;
        /* single source of truth */
        transform: none;
        width: 5px;
    }

    /* 2 columns: spine/node + card */
    .tree-item {
        display: grid;
        grid-template-columns: 70px 1fr;
        gap: 12px;
        align-items: center;
        padding: 14px 0;
        position: relative;
    }

    /* Node pinned to same row as card (fix “node below card”) */
    .tree-item .tree-node {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 46px;
        height: 46px;
        border-radius: 16px;
        justify-self: center;
        align-self: center;
        position: relative;
        z-index: 3;
        /* above branch */
    }

    .tree-item .tree-node::before {
        width: 18px;
        height: 18px;
    }

    /* Card always column 2 */
    .tree-item .tree-card {
        grid-column: 2 !important;
        grid-row: 1 !important;
        position: relative;
        z-index: 4;
        /* above branch */
    }

    .tree-item .empty {
        display: none !important;
    }

    /* Branch (visible for ALL items) */
    .tree-item .branch {
        display: block !important;
        position: absolute;
        left: 40px;
        /* match spine exactly */
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        /* make it noticeable */
        height: 3px;
        background: rgba(8, 35, 71, .22);
        border-radius: 999px;
        z-index: 10;
        /* behind node/card */
    }

    .tree-item .branch {
        display: none !important;
    }

    .tree-item .tree-node::after {
        content: "";
        position: absolute;
        left: 100%;
        /* start at the node edge */
        top: 50%;
        transform: translateY(-50%);
        height: 3px;
        width: 24px;
        /* connects to the card nicely */
        background: rgba(8, 35, 71, .22);
        border-radius: 999px;
        z-index: 2;
        /* behind node, but visible */
    }

    .service-area-section {
        position: relative;
        overflow: hidden;
    }

    .service-area-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url(images/serviceArea.avif) center / cover no-repeat;
        opacity: 0.30;
        transform: scale(1.02);
        z-index: 0;
    }

    .service-area-section::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,
                rgba(246, 248, 252, 0.55),
                rgba(246, 248, 252, 0.75));
        z-index: 1;
    }

    .service-area-section .container {
        position: relative;
        z-index: 2;
    }

    /* Hide the image card on mobile */
    .service-area-section .image-card {
        display: none !important;
    }

    .map-wrap {
        height: 320px;
        border-radius: 18px;
    }

    /* Contact layout */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Reduce padding so it feels tight + premium */
    .contact-card,
    .form {
        padding: 16px;
        border-radius: 18px;
    }

    /* Top info cards spacing */
    .contact-card .tree-card {
        border-radius: 18px;
    }

    /* Form actions stack */
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    /* Make emoji line readable */
    .contact-card .muted {
        line-height: 1.75;
    }

    /* Map sizing */
    .map-wrap {
        height: 320px;
        /* you can go 280 if you want */
        border-radius: 18px;
    }

    /* Center the “Open in Google Maps” button on mobile */
    .map-actions {
        display: flex;
        justify-content: stretch;
    }

    .map-actions .btn {
        width: 100%;
    }

    .meta-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .meta-v {
        text-align: left;
    }

    /* Footer */
    .footer {
        padding: 34px 0 18px;

    }

    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-bottom {
        margin-top: 10px;
        padding-top: 14px;
    }
}


/* Mini steps */
.mini-steps {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.mini-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(8, 35, 71, .04);
    border: 1px solid rgba(8, 35, 71, .10);
    font-weight: 900;
    color: var(--navy);
}

.badge {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    flex: 0 0 28px;
}

/* Why grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.why-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.why-card h3 {
    margin: 0 0 8px;
    color: var(--navy);
}

.why-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

/* CTA band */
.cta-band {
    background: linear-gradient(90deg, rgba(1, 74, 173, .12), rgba(8, 35, 71, .06));
    border-top: 1px solid rgba(8, 35, 71, .08);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
}

.cta-title {
    margin: 0 0 6px;
    color: var(--navy);
    font-size: 30px;
}

.cta-sub {
    margin: 0;
    color: var(--muted);
    max-width: 700px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}