﻿:root {
    --bg: #0a0d12;
    --panel: #0f141b;
    --border: #1f2a37;
    --text: #e6eef7;
    --muted: #b8c4d3;
    --brand: #3aa0ff;
    --brand2: #66e0c2;
    --maxw: 1120px;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Base */
* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
    color: var(--text);
    background: radial-gradient(1200px 800px at 90% -10%, rgba(58,160,255,.15), transparent 60%), radial-gradient(1200px 800px at -10% 10%, rgba(102,224,194,.12), transparent 60%), var(--bg);
    line-height: 1.6;
}

a {
    color: var(--brand);
    text-decoration: none
}

    a:hover {
        text-decoration: underline
    }

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px
}

/* Header */
.skip {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

    .skip:focus {
        left: 16px;
        top: 16px;
        width: auto;
        height: auto;
        background: #111;
        color: #fff;
        padding: .5rem .75rem;
        border-radius: 8px
    }

header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: saturate(140%) blur(8px);
    background: rgba(10,13,18,.6);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700
}

    .brand img {
        height: 32px;
        width: auto
    }

.menu {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 11px; /* requested top margin */
}

    .menu a {
        color: var(--text);
        padding: 8px 10px;
        border-radius: 10px
    }

        .menu a[aria-current="page"] {
            background: rgba(255,255,255,.08)
        }

        .menu a:hover {
            background: rgba(255,255,255,.06);
            text-decoration: none
        }

.cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg,var(--brand),var(--brand2));
    color: #001018;
    border: none;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: var(--shadow);
    cursor: pointer
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 32px;
    padding: 72px 0 28px;
    align-items: center
}

@media (max-width:900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 56px 0 18px
    }
}

.kicker {
    font-size: .9rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand2)
}

h1 {
    font-size: clamp(28px,5vw,44px);
    line-height: 1.15;
    margin: .35rem 0 1rem
}

.lead {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 1.2rem
}

.panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    background: rgba(255,255,255,.02)
}

.hero figure img {
    width: 100%;
    height: auto;
    border-radius: 12px
}

/* Content */
.section {
    padding: 22px 0
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

@media (max-width:900px) {
    .two-col {
        grid-template-columns: 1fr
    }
}

h2 {
    font-size: clamp(22px,3.5vw,28px);
    margin: 0 0 10px
}

h3 {
    margin: .3rem 0 .4rem;
    font-size: 1.05rem
}

ul {
    margin: 0 0 .5rem 1.1rem
}

li {
    margin: .25rem 0
}

.note {
    font-size: .95rem;
    color: var(--muted)
}

/* Footer */
footer {
    margin-top: 34px;
    border-top: 1px solid var(--border);
    background: rgba(0,0,0,.3)
}

.footgrid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 18px;
    padding: 18px 0
}

@media (max-width:820px) {
    .footgrid {
        grid-template-columns: 1fr
    }
}

small, address {
    color: var(--muted)
}

/* Utilities */
.btnrow {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

/* ────────────────────────────────────────────────────────────── */
/* Aligned contact form (scoped, grid ensures perfect columns)   */
/* ────────────────────────────────────────────────────────────── */

#contact-form form {
    --label-w: 80px; /* adjust as desired */
    --gap: 12px;
}

    /* Each field row is a 2-column grid: [label | field] */
    #contact-form form .row {
        display: grid;
        grid-template-columns: var(--label-w) 1fr;
        align-items: start; /* top-align (helps textarea) */
        column-gap: var(--gap);
        row-gap: 6px;
        margin-bottom: 14px;
    }

    /* Label column — LEFT aligned, fixed width */
    #contact-form form .label-col {
        grid-column: 1;
        justify-self: start; /* ← left-align the label column */
        text-align: left; /* ensure label text aligns left */
        padding-top: 4px; /* small optical tweak */
        padding-right: var(--gap); /* gutter between label and field */
    }

        #contact-form form .label-col label {
            display: inline-block; /* stable metrics */
            white-space: nowrap;
            font-weight: 700;
            color: var(--text);
        }

    /* Field column */
    #contact-form form .field-col {
        grid-column: 2;
        min-width: 0; /* allow contents to shrink properly */
    }

    #contact-form form input[type="text"],
    #contact-form form input[type="email"],
    #contact-form form input[type="tel"],
    #contact-form form textarea {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: rgba(255,255,255,.02);
        color: var(--text);
        outline: none;
    }

    #contact-form form textarea {
        min-height: 120px;
        resize: vertical;
    }

    #contact-form form .error {
        color: #ff8a8a; /* readable on dark background */
        margin-top: 6px;
        font-size: .95rem;
    }

    /* Phone: input + hint inline; hint wraps under on narrow widths */
    #contact-form form .phone-field {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

        #contact-form form .phone-field input[type="tel"] {
            flex: 1 1 auto;
            min-width: 240px;
        }

        #contact-form form .phone-field .hint {
            white-space: nowrap;
            font-size: .9rem;
            color: var(--muted);
        }

/* Responsive: stack label above field, allow hint to wrap */
@media (max-width:640px) {
    #contact-form form .row {
        grid-template-columns: 1fr;
    }

    #contact-form form .label-col {
        justify-self: start;
        padding-top: 0;
    }

    #contact-form form .phone-field .hint {
        white-space: normal;
    }
}