﻿:root {
    --navy-deep:#0B1F3A;
    --navy:#123059;
    --navy-light:#1B3B6F;
    --gold:#C9A227;
    --gold-light:#E8C766;
    --gold-pale:#F4E7C1;
    --ivory:#F7F5EF;
    --slate:#2A2E35;
    --slate-soft:#5B6472;
    --line:#E1DDD0;
    --ok:#2F7D5A;
    --wait:#B07A1E;
    --shadow: 0 20px 50px -20px rgba(11,31,58,0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    background: var(--ivory);
    color: var(--slate);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--navy-deep);
    margin: 0;
    letter-spacing: -0.01em;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
}

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

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

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.arc-divider {
    width: 100%;
    height: 34px;
    position: relative;
    overflow: hidden;
}

    .arc-divider svg {
        width: 100%;
        height: 100%;
        display: block;
    }

::selection {
    background: var(--gold-pale);
}

/* ---------- NAV ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(247,245,239,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: 1180px;
    margin: 0 auto;
}

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

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

.brand-text {
    line-height: 1.1;
}

    .brand-text .name {
        font-family: 'Playfair Display',serif;
        font-weight: 700;
        font-size: 1.02rem;
        color: var(--navy-deep);
    }

    .brand-text .sub {
        font-size: 0.62rem;
        letter-spacing: 0.14em;
        color: var(--gold);
        font-weight: 700;
        text-transform: uppercase;
    }

nav.links {
    display: flex;
    gap: 30px;
    align-items: center;
}

    nav.links a {
        font-size: 0.86rem;
        font-weight: 600;
        color: var(--slate-soft);
        transition: color .2s;
    }

        nav.links a:hover {
            color: var(--navy-deep);
        }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    border: none;
    transition: transform .18s ease, box-shadow .18s ease;
    letter-spacing: 0.02em;
}

.btn-gold {
    background: linear-gradient(135deg,var(--gold-light),var(--gold));
    color: var(--navy-deep);
}

    .btn-gold:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px -10px rgba(201,162,39,0.6);
    }

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--navy-deep);
    color: var(--navy-deep);
}

    .btn-outline:hover {
        background: var(--navy-deep);
        color: #fff;
    }

.btn-navy {
    background: var(--navy-deep);
    color: #fff;
}

    .btn-navy:hover {
        background: var(--navy-light);
        transform: translateY(-2px);
    }

.btn-ghost {
    background: transparent;
    color: var(--navy-deep);
    border: 1.5px solid var(--line);
}

    .btn-ghost:hover {
        border-color: var(--navy-deep);
    }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy-deep);
    cursor: pointer;
}

/* ---------- HERO with rising skyline ---------- */
.hero {
    position: relative;
    background: linear-gradient(180deg,var(--navy-deep) 0%, var(--navy) 62%, var(--navy-light) 100%);
    color: #fff;
    overflow: hidden;
    padding: 0 0;
}

.hero-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 40px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 700;
    margin-bottom: 18px;
}

    .eyebrow::before {
        content: "";
        width: 26px;
        height: 1px;
        background: var(--gold-light);
    }

.hero h1 {
    font-size: clamp(2.1rem, 4.3vw, 3.3rem);
    color: #fff;
    line-height: 1.08;
    font-weight: 700;
}

    .hero h1 em {
        font-style: normal;
        color: var(--gold-light);
    }

.hero p.lede {
    margin-top: 20px;
    font-size: 1.02rem;
    color: #C9D3E4;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 34px;
    margin-top: 52px;
    flex-wrap: wrap;
}

    .hero-stats .stat b {
        display: block;
        font-family: 'Playfair Display',serif;
        font-size: 1.7rem;
        color: var(--gold-light);
    }

    .hero-stats .stat span {
        font-size: 0.74rem;
        color: #9FADC4;
        letter-spacing: 0.04em;
    }

.skyline {
    position: relative;
    height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
}

    .skyline .bldg {
        background: linear-gradient(180deg, rgba(232,199,102,0.95), rgba(201,162,39,0.75));
        border-radius: 2px 2px 0 0;
        transform-origin: bottom;
        animation: rise 1.1s cubic-bezier(.2,.8,.2,1) both;
        position: relative;
    }

        .skyline .bldg.glass {
            background: repeating-linear-gradient(90deg, rgba(255,255,255,0.16) 0 6px, rgba(27,59,111,0.9) 6px 14px);
        }

@keyframes rise {
    from {
        transform: scaleY(0);
        opacity: 0;
    }

    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .skyline .bldg {
        animation: none;
    }
}

.horizon-glow {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
    filter: blur(1px);
}

/* ---------- SECTION HEADERS ---------- */
.section {
    padding: 88px 0;
}

    .section.tight {
        padding: 64px 0;
    }

.kicker {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

    .kicker::before {
        content: "";
        width: 26px;
        height: 1px;
        background: var(--gold);
    }

.section h2 {
    font-size: clamp(1.6rem,3vw,2.0rem);
    max-width: 640px;
}

.section p.desc {
    max-width: 560px;
    color: var(--slate-soft);
    margin-top: 14px;
    font-size: 0.98rem;
}

/* ---------- ABOUT ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-points {
    margin-top: 26px;
    display: grid;
    gap: 16px;
}

    .about-points .pt {
        display: flex;
        gap: 14px;
        align-items: flex-start;
    }

        .about-points .pt .mark {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--gold-pale);
            color: var(--gold);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 0.8rem;
            flex: none;
        }

.about-panel {
    background:url(infrawebimg/side.jpg) center center var(--navy-deep);
    border-radius: 6px;
    padding: 36px;
    color: #fff;
    position: relative;
}

    .about-panel .arc-top {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg,var(--gold),var(--gold-light));
    }

    .about-panel h3 {
        color: #fff;
        font-size: 1.15rem;
        margin-bottom: 18px;
    }

    .about-panel .row {
        display: flex;
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        font-size: 0.9rem;
    }

        .about-panel .row:last-child {
            border-bottom: none;
        }

        .about-panel .row span:last-child {
            color: var(--gold-light);
            font-weight: 700;
        }

/* ---------- PROJECTS ---------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 26px;
    margin-top: 44px;
}

.p-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .p-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow);
    }

    .p-card .p-visual {
        /*height: 150px;*/
        position: relative;
        background: linear-gradient(160deg,var(--navy-light),var(--navy-deep));
        display: flex;
        align-items: flex-end;
        padding: 14px;
    }

        .p-card .p-visual .badge {
            font-size: 0.66rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            padding: 5px 11px;
            border-radius: 20px;
            background: rgba(255,255,255,0.94);
            position:absolute;
        }

.badge.ongoing {
    color: var(--wait);
}

.badge.completed {
    color: var(--ok);
}

.badge.upcoming {
    color: var(--navy-light);
}

.p-card .p-body {
    padding: 20px 22px 24px;
}

    .p-card .p-body h4 {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }

    .p-card .p-body .loc {
        font-size: 0.78rem;
        color: var(--slate-soft);
        margin-bottom: 12px;
    }

.progress-track {
    height: 6px;
    background: var(--line);
    border-radius: 10px;
    overflow: hidden;
    margin: 12px 0 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg,var(--gold),var(--gold-light));
}

.p-card .p-foot {
    display: flex;
    justify-content: space-between;
    font-size: 0.74rem;
    color: var(--slate-soft);
}

/* ---------- PARTNER PROGRAM ---------- */
.partner-section {
    background: var(--navy-deep);
    color: #fff;
}

    .partner-section .kicker {
        color: var(--gold-light);
    }

        .partner-section .kicker::before {
            background: var(--gold-light);
        }

    .partner-section h2 {
        color: #fff;
    }

    .partner-section p.desc {
        color: #B7C2D6;
    }

.tier-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
    margin-top: 44px;
}

.tier {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 6px;
    padding: 30px 26px;
    position: relative;
    transition: transform .2s ease, border-color .2s ease;
}

    .tier:hover {
        transform: translateY(-6px);
        border-color: var(--gold-light);
    }

    .tier.featured {
        background: linear-gradient(160deg, rgba(201,162,39,0.16), rgba(255,255,255,0.03));
        border-color: var(--gold);
    }

    .tier .flag {
        position: absolute;
        top: -12px;
        right: 22px;
        background: var(--gold);
        color: var(--navy-deep);
        font-size: 0.65rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        padding: 5px 12px;
        border-radius: 20px;
        text-transform: uppercase;
    }

    .tier h4 {
        color: var(--gold-light);
        font-family: 'Playfair Display',serif;
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .tier .rate {
        font-size: 2rem;
        font-family: 'IBM Plex Mono',monospace;
        color: #fff;
        margin: 14px 0 6px;
    }

        .tier .rate span {
            font-size: 0.85rem;
            color: #9FADC4;
            font-family: 'Manrope',sans-serif;
        }

    .tier ul {
        list-style: none;
        padding: 0;
        margin: 20px 0 0;
        display: grid;
        gap: 11px;
    }

        .tier ul li {
            font-size: 0.86rem;
            color: #D5DCE8;
            padding-left: 20px;
            position: relative;
        }

            .tier ul li::before {
                content: "✓";
                position: absolute;
                left: 0;
                color: var(--gold-light);
                font-weight: 700;
            }

/* ---------- TESTIMONIALS ---------- */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
    margin-top: 44px;
}

.testi {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 28px;
}

    .testi p {
        font-size: 0.92rem;
        color: var(--slate-soft);
        font-style: italic;
    }

    .testi .who {
        margin-top: 16px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .testi .avatar {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--gold-pale);
        color: var(--gold);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-family: 'Playfair Display',serif;
    }

    .testi .who b {
        display: block;
        font-size: 0.86rem;
        color: var(--navy-deep);
    }

    .testi .who span {
        font-size: 0.72rem;
        color: var(--slate-soft);
    }

/* ---------- CTA STRIP ---------- */
.cta-strip {
    background: linear-gradient(135deg,var(--gold),var(--gold-light));
    padding: 56px 0;
    text-align: center;
}

    .cta-strip h3 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .cta-strip p {
        color: var(--navy);
        opacity: 0.85;
        margin-bottom: 26px;
    }

/* ---------- FOOTER ---------- */
footer {
    background: var(--navy-deep);
    color: #B7C2D6;
    padding: 56px 0 26px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
}

    .foot-grid h5 {
        color: #fff;
        font-size: 0.85rem;
        letter-spacing: 0.04em;
        margin-bottom: 16px;
        font-family: 'Manrope',sans-serif;
        font-weight: 700;
    }

    .foot-grid a {
        display: block;
        font-size: 0.84rem;
        color: #9FADC4;
        margin-bottom: 10px;
    }

        .foot-grid a:hover {
            color: var(--gold-light);
        }

.foot-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

    .foot-brand img {
        height: 38px;
        width: 38px;
    }

    .foot-brand .name {
        color: #fff;
        font-family: 'Playfair Display',serif;
        font-weight: 700;
        font-size: 0.98rem;
    }

.foot-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 40px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    font-size: 0.76rem;
    color: #7E8DA8;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------- MODAL / LOGIN ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11,31,58,0.55);
    backdrop-filter: blur(3px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

    .modal-overlay.open {
        display: flex;
    }

.modal {
    background: #fff;
    border-radius: 8px;
    max-width: 420px;
    width: 100%;
    padding: 36px 34px;
    position: relative;
    box-shadow: 0 30px 70px -20px rgba(11,31,58,0.5);
}

    .modal .close-x {
        position: absolute;
        top: 16px;
        right: 18px;
        background: none;
        border: none;
        font-size: 1.3rem;
        color: var(--slate-soft);
        cursor: pointer;
    }

    .modal h3 {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }

    .modal p.sub {
        color: var(--slate-soft);
        font-size: 0.85rem;
        margin-bottom: 22px;
    }

.tab-row {
    display: flex;
    background: var(--ivory);
    border-radius: 6px;
    padding: 4px;
    margin-bottom: 22px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--slate-soft);
    cursor: pointer;
    transition: all .18s ease;
}

    .tab-btn.active {
        background: var(--navy-deep);
        color: #fff;
    }

.field {
    margin-bottom: 16px;
}

    .field label {
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--navy-deep);
        display: block;
        margin-bottom: 6px;
    }

    .field input {
        width: 100%;
        padding: 12px 14px;
        border: 1.5px solid var(--line);
        border-radius: 5px;
        font-size: 0.9rem;
        font-family: 'Manrope',sans-serif;
    }

        .field input:focus {
            outline: none;
            border-color: var(--gold);
            box-shadow: 0 0 0 3px var(--gold-pale);
        }

.hint {
    font-size: 0.74rem;
    color: var(--slate-soft);
    background: var(--ivory);
    border-radius: 5px;
    padding: 10px 12px;
    margin-bottom: 18px;
    border: 1px dashed var(--line);
}

    .hint b {
        color: var(--navy-deep);
    }

.err {
    color: #B03434;
    font-size: 0.8rem;
    margin: -6px 0 14px;
    display: none;
}

/* ---------- DASHBOARD ---------- */
#dashboard {
    display: none;
    min-height: 100vh;
    background: var(--ivory);
}

.dash-top {
    background: var(--navy-deep);
    color: #fff;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 400;
}

    .dash-top .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

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

    .dash-user .av {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--gold);
        color: var(--navy-deep);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-family: 'Playfair Display',serif;
    }

    .dash-user .meta b {
        display: block;
        font-size: 0.9rem;
    }

    .dash-user .meta span {
        font-size: 0.72rem;
        color: #9FADC4;
    }

.dash-body {
    padding: 40px 0 80px;
}

.dash-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 14px;
}

    .dash-head h2 {
        font-size: 1.6rem;
    }

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.kpi {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 22px;
}

    .kpi span.label {
        font-size: 0.74rem;
        color: var(--slate-soft);
        letter-spacing: 0.03em;
        text-transform: uppercase;
    }

    .kpi b.value {
        display: block;
        font-family: 'IBM Plex Mono',monospace;
        font-size: 1.5rem;
        color: var(--navy-deep);
        margin-top: 8px;
    }

    .kpi .delta {
        font-size: 0.76rem;
        color: var(--ok);
        margin-top: 4px;
        display: block;
    }

.dash-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 26px;
}

    .panel h4 {
        font-size: 1.02rem;
        margin-bottom: 18px;
    }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

    table th {
        text-align: left;
        color: var(--slate-soft);
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        padding: 10px 8px;
        border-bottom: 1px solid var(--line);
    }

    table td {
        padding: 12px 8px;
        border-bottom: 1px solid var(--line);
    }

    table tr:last-child td {
        border-bottom: none;
    }

.status-chip {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

    .status-chip.paid {
        background: #E4F3EB;
        color: var(--ok);
    }

    .status-chip.due {
        background: #FBEEDD;
        color: var(--wait);
    }

    .status-chip.progress {
        background: #EAF0F8;
        color: var(--navy-light);
    }

.ref-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.86rem;
}

    .ref-item:last-child {
        border-bottom: none;
    }

    .ref-item .name {
        font-weight: 700;
        color: var(--navy-deep);
    }

    .ref-item .tag {
        font-size: 0.7rem;
        color: var(--slate-soft);
    }

.doc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.86rem;
}

    .doc-item:last-child {
        border-bottom: none;
    }

    .doc-item a {
        color: var(--navy-light);
        font-weight: 700;
        font-size: 0.78rem;
    }

.logout-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 9px 18px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

    .logout-btn:hover {
        background: rgba(255,255,255,0.1);
    }

@media (max-width:900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .skyline {
        height: 260px;
        order: -1;
    }

    nav.links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .about-grid, .dash-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid, .tier-grid, .testi-grid {
        grid-template-columns: 1fr;
    }

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

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