:root {
    color-scheme: light;
    --blue: #0649b8;
    --blue-dark: #082c66;
    --gold: #d6a53c;
    --gold-light: #f0d995;
    --ink: #17212f;
    --muted: #657185;
    --paper: #f7f8fa;
    --line: #e3e7ed;
    font-family: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "DM Sans", sans-serif;
    line-height: 1.55;
}

a { color: inherit; }

.site-header {
    position: relative;
    z-index: 2;
    background: #fff;
    border-bottom: 1px solid #eceff3;
}

.header-inner {
    width: min(100% - 48px, 1240px);
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
    text-decoration: none;
}

.brand-logo { width: min(230px, 42vw); height: 50px; display: block; object-fit: contain; object-position: left center; }

.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { color: var(--blue-dark); font-size: 15px; font-weight: 800; }
.brand-copy small { margin-top: 4px; color: #96742e; font-size: 9px; font-weight: 600; }
.brand-copy small b { margin-left: 5px; letter-spacing: 2px; }

.services-section {
    width: min(100% - 48px, 1040px);
    margin: 0 auto;
    padding: 82px 0 88px;
}

.section-heading { max-width: 730px; margin: 0 auto 38px; text-align: center; }
.eyebrow {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid #d6b45e;
    border-radius: 999px;
    background: #f4e3b2;
    color: var(--blue-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.section-heading h1 {
    margin: 9px 0 0;
    color: #17212f;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}
.heading-rule { width: 42px; height: 3px; display: block; margin: 20px auto 13px; background: var(--gold); }
.section-heading p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 14px; }

.group-title {
    min-height: 34px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #d7dfe9;
}
.group-title > span { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--gold); }
.group-title h2 { margin: 0 0 8px; font-size: 16px; font-weight: 800; }

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card {
    min-height: 214px;
    padding: 21px 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #e8ebef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(20, 38, 66, .035);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-3px); border-color: #d8c17d; box-shadow: 0 12px 26px rgba(20, 38, 66, .09); }
.card-top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eaf1ff;
    color: var(--blue);
    font-size: 17px;
}
.card-label { padding: 4px 9px; border: 1px solid #d5e0f3; border-radius: 999px; background: #f3f7ff; color: var(--blue); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.service-card h3 { margin: 16px 0 4px; color: var(--blue-dark); font-size: 17px; font-weight: 800; }
.service-card p { margin: 0 0 17px; color: var(--muted); font-size: 12px; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 12px; font-weight: 800; text-decoration: none; }
.card-link i { font-size: 11px; transition: transform .2s ease; }
.card-link:hover i { transform: translateX(3px); }

.coming-soon .card-icon { background: #f8f0db; color: #9c7623; }
.coming-soon .card-label { border-color: #ead9aa; background: #fbf6e8; color: #8b6a1e; }
.status-badge { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; color: #8b6a1e; font-size: 11px; font-weight: 700; }

.site-footer { background: #102b55; color: #fff; }
.footer-inner {
    width: min(100% - 48px, 1040px);
    margin: 0 auto;
    padding: 44px 0 36px;
    display: grid;
    grid-template-columns: 1.4fr 1fr .7fr;
    gap: 44px;
}
.footer-brand .brand-copy strong { color: #fff; }
.footer-brand .brand-copy small { color: #e3c56f; }
.footer-logo { width: min(230px, 100%); height: auto; display: block; }
.footer-about > p { max-width: 330px; margin: 15px 0 0; color: #c5d0df; font-size: 12px; }
.footer-inner h2 { margin: 0 0 14px; color: #f0d995; font-size: 13px; font-weight: 800; }
.footer-contact p, .footer-contact a, .footer-links a { display: block; margin: 0 0 9px; color: #d6deea; font-size: 11px; text-decoration: none; }
.footer-contact i { width: 18px; color: #e0bd61; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom { padding: 13px 24px; border-top: 1px solid rgba(255,255,255,.13); text-align: center; }
.footer-bottom p { margin: 0; color: #c5d0df; font-size: 10px; }

a:focus-visible { outline: 3px solid #e6bd52; outline-offset: 3px; }

@media (max-width: 850px) {
    .header-inner { width: min(100% - 32px, 1240px); gap: 16px; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .header-inner { min-height: 66px; flex-wrap: wrap; padding: 10px 0; }
    .services-section { width: min(100% - 32px, 1040px); padding: 55px 0 60px; }
    .section-heading { margin-bottom: 30px; }
    .section-heading h1 { font-size: 25px; }
    .section-heading p { font-size: 12px; }
    .group-title h2 { font-size: 14px; }
    .services-grid { grid-template-columns: 1fr; gap: 11px; }
    .service-card { min-height: 190px; padding: 18px; }
    .footer-inner { width: min(100% - 32px, 1040px); grid-template-columns: 1fr; gap: 24px; padding: 34px 0 28px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}