:root {
    --brand-dark: #1a3469;
    --brand-blue: #0056b3;
    --brand-light: #f4f7fc;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #333;
    padding-top: 100px;
}

/* ── Top bar ─────────────────────────────── */
.topbar {
    background: var(--brand-dark);
    color: #fff;
    font-size: 13px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}
.topbar a { color: #ccd9ef; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .btn-callback {
    background: #fff;
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 3px;
    border: none;
}
.topbar .btn-callback:hover { background: #e0e8f8; }

/* ── Main nav ────────────────────────────── */
.main-nav {
    background: #fff;
    border-bottom: 2px solid var(--brand-dark);
    position: fixed;
    top: 42px;
    left: 0;
    right: 0;
    z-index: 1029;
}
.main-nav .navbar-brand { display: none; }
.main-nav .nav-link {
    color: var(--brand-dark) !important;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 8px !important;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--brand-blue) !important;
    border-bottom: 2px solid var(--brand-blue);
}
.main-nav .navbar-toggler { border-color: var(--brand-dark); }
.main-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a3469' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    body { padding-top: 58px; }
    .topbar { display: none; }
    .main-nav { top: 0; border-bottom: 3px solid var(--brand-dark); }
    .main-nav .navbar-brand { display: block; color: var(--brand-dark); font-weight: 700; font-size: 14px; }
    .main-nav .nav-link { font-size: 13px; white-space: normal; }
    .main-nav .navbar-collapse { background: #fff; padding: 10px 0; }
}

/* ── Page hero ───────────────────────────── */
.page-hero {
    background: var(--brand-dark);
    color: #fff;
    padding: 30px 0 24px;
    margin-bottom: 36px;
}
.page-hero h1 { font-size: 1.5rem; font-weight: 600; margin: 0; }

/* ── Index hero ──────────────────────────── */
.index-hero {
    background: linear-gradient(135deg, #1a3469 60%, #0056b3);
    color: #fff;
    padding: 60px 0 50px;
    margin-bottom: 40px;
}
.index-hero h1 { font-size: 2rem; font-weight: 700; }
.index-hero .lead { font-size: 1rem; opacity: .9; }

/* ── Quick links ─────────────────────────── */
.quick-links .card {
    border: none;
    border-left: 4px solid var(--brand-blue);
    border-radius: 4px;
    background: var(--brand-light);
    transition: box-shadow .2s;
}
.quick-links .card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.quick-links .card a { color: var(--brand-dark); font-weight: 600; text-decoration: none; font-size: 14px; }
.quick-links .card a:hover { color: var(--brand-blue); }

/* ── Tables ──────────────────────────────── */
.table-price th { background: var(--brand-dark); color: #fff; font-size: 13px; }
.table-price td { font-size: 13px; }
.table-price .total-row { font-weight: 700; background: #e8eefd; }

.table-docs th { background: #2c4a8a; color: #fff; font-size: 13px; }
.table-docs td { font-size: 13px; vertical-align: top; }

/* ── Content sections ────────────────────── */
.content-section { margin-bottom: 50px; }
.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-dark);
    border-bottom: 2px solid var(--brand-dark);
    padding-bottom: 8px;
    margin-bottom: 20px;
}

/* ── Callback section ────────────────────── */
.callback-section {
    background: var(--brand-light);
    padding: 40px 0;
    margin-top: 50px;
}
.callback-section h2 { font-size: 1.3rem; color: var(--brand-dark); }

/* ── Footer ──────────────────────────────── */
footer {
    background: var(--brand-dark);
    color: #ccd9ef;
    padding: 36px 0 20px;
    margin-top: 0;
    font-size: 13px;
}
footer h6 { color: #fff; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; font-size: 11px; letter-spacing: 1px; }
footer a { color: #ccd9ef; text-decoration: none; display: block; margin-bottom: 4px; }
footer a:hover { color: #fff; }
footer .copy { border-top: 1px solid #2c4a8a; margin-top: 24px; padding-top: 16px; font-size: 12px; color: #8a9bbf; }

/* ── Map ─────────────────────────────────── */
#map { height: 350px; border-radius: 6px; }

/* ── Misc ────────────────────────────────── */
.scheme-item { border-left: 3px solid var(--brand-blue); padding-left: 16px; margin-bottom: 24px; }
.scheme-item h6 { color: var(--brand-dark); font-weight: 700; }
.alert-success-custom { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; border-radius: 4px; padding: 12px 16px; display: none; }
