:root {
    --ink: #0B1F4D;
    --muted: #5f6f8a;
    --muted-light: #9ca3af;
    --accent: #1E4FD8;
    --accent-light: #3a68e6;
    --btn: #1a3f9c;
    --btn-hover: #14337f;
    --gold: #b8873a;
    --border: #e1e7f0;
    --bg: #f5f8fc;
    --danger: #b42318;
    --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 20;
    background: rgba(245, 248, 252, .85); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 30px; width: auto; display: block; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px; font-family: inherit;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 6px 16px rgba(26,63,156,.22); }
.btn-primary:hover { background: var(--btn-hover); transform: translateY(-1px); box-shadow: 0 10px 20px rgba(26,63,156,.28); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: #fbfbfc; border-color: #c9cdd4; }

/* ---------- Hero banner ---------- */
.hero-banner {
    position: relative; overflow: hidden; color: #fff;
    padding: 84px 0 160px;
    background:
        linear-gradient(105deg, rgba(11,31,77,.94) 0%, rgba(16,52,140,.84) 42%, rgba(30,79,216,.3) 100%),
        url("https://images.pexels.com/photos/18193138/pexels-photo-18193138.jpeg?auto=compress&cs=tinysrgb&w=1600") center / cover no-repeat;
}
.hero-banner::after {
    content: ""; position: absolute; right: 6%; top: -90px; width: 340px; height: 340px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 0 46px rgba(255,255,255,.04), 0 0 0 92px rgba(255,255,255,.03);
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(6px); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero-banner h1 { position: relative; font-size: 44px; line-height: 1.15; font-weight: 800; margin: 0 0 16px; letter-spacing: -.015em; max-width: 560px; }
.hero-banner h1 span { color: #7dd3fc; }
.hero-banner p { position: relative; color: #c5d6f2; font-size: 17px; line-height: 1.65; margin: 0; max-width: 480px; }

/* ---------- Contact layout ---------- */
.contact { padding: 0 0 90px; margin-top: -96px; position: relative; z-index: 2; }
.contact .container { display: grid; grid-template-columns: .75fr 1.25fr; gap: 24px; align-items: start; }

.info-stack { display: flex; flex-direction: column; gap: 16px; padding-top: 112px; }
.info-card {
    display: flex; align-items: center; gap: 16px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px 22px; transition: transform .15s ease, box-shadow .15s ease;
}
a.info-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(17,24,39,.08); }
.info-card .icon {
    width: 46px; height: 46px; border-radius: 12px; background: #eaf1fd; color: var(--accent);
    display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.info-card:nth-child(2) .icon { background: #f6ecdc; color: var(--gold); }
.info-card .label { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.info-card .value { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.info-card .sub { font-size: 13px; color: var(--muted-light); }

.info-note {
    background: var(--accent); border-radius: var(--radius); padding: 24px 24px;
    color: #c5d6f2; font-size: 14.5px; line-height: 1.65;
}
.info-note h3 { color: #fff; font-size: 17px; font-weight: 800; margin: 0 0 8px; display: flex; align-items: center; gap: 9px; }

.form-card {
    background: #fff; border: 1px solid var(--border); border-radius: 20px;
    box-shadow: 0 20px 45px rgba(17,24,39,.08); padding: 36px 36px 32px;
}
.form-card h2 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.form-card .intro { color: var(--muted); font-size: 14.5px; margin: 0 0 26px; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field label .opt { color: var(--muted-light); font-weight: 500; }
.input-wrap { position: relative; }
.input-wrap > i { position: absolute; left: 15px; top: 15px; color: var(--muted-light); font-size: 14px; pointer-events: none; }
.field input, .field select, .field textarea {
    width: 100%; font-family: inherit; font-size: 14.5px; color: var(--ink);
    background: #fbfbfc; border: 1px solid var(--border); border-radius: 10px;
    padding: 12px 14px 12px 40px; transition: border-color .15s, box-shadow .15s, background .15s;
    appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,79,216,.14);
}
.field .input-validation-error { border-color: var(--danger); background: #fffafa; }
.field-error { display: block; color: var(--danger); font-size: 12.5px; margin-top: 6px; min-height: 0; }
.field-error:empty { display: none; }
.counter { text-align: right; font-size: 12px; color: var(--muted-light); margin-top: 5px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-footer .privacy { font-size: 12.5px; color: var(--muted-light); display: flex; align-items: center; gap: 7px; max-width: 280px; line-height: 1.5; }

.alert { display: flex; align-items: flex-start; gap: 12px; border-radius: 10px; padding: 14px 16px; font-size: 14px; line-height: 1.55; margin-bottom: 22px; }
.alert[hidden] { display: none; }
.alert i { margin-top: 2px; }
.alert-success { background: #ecf7f0; border: 1px solid #bfe3cb; color: #14653a; }
.alert-error { background: #fdf0ef; border: 1px solid #f3c6c2; color: var(--danger); }
.alert ul { margin: 0; padding-left: 18px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer .brand img { height: 24px; }

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .nav .container { height: 62px; gap: 12px; }
    .brand img { height: 24px; max-width: 100%; }
    .nav-actions { flex-shrink: 0; }
    .nav .btn { padding: 8px 15px; font-size: 13.5px; gap: 7px; box-shadow: none; }
}

@media (max-width: 900px) {
    .hero-banner { padding: 48px 0 130px; }
    .hero-banner h1 { font-size: 30px; }
    .contact .container { grid-template-columns: 1fr; }
    .info-stack { padding-top: 0; order: 2; }
    .form-card { padding: 28px 22px 24px; }
    .row { grid-template-columns: 1fr; gap: 0; }
}
