:root {
    --navy: #16324f;
    --navy-2: #1e4a6e;
    --copper: #2d7ab8;
    --copper-dark: #285880;
    --paper: #f3f6f8;
    --paper-2: #e8eef3;
    --ink: #1c2228;
    --muted: #5e6b76;
    --line: #d5dde3;
    --white: #ffffff;
    --shadow: 0 20px 48px rgba(22, 50, 79, .08);
    --radius: 20px;
    --max: 1200px;
    --header: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Manrope, system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.lead { font-size: 1.05rem; color: var(--muted); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; }
.btn-primary { background: var(--copper); color: #fff; box-shadow: 0 10px 24px rgba(45, 122, 184, .28); }
.btn-primary:hover { background: var(--copper-dark); }
.btn-light { background: #fff; color: var(--navy); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--copper);
    font-weight: 700;
}
.text-link i { font-size: 12px; transition: transform .2s ease; }
.text-link:hover i { transform: translateX(3px); }

.site-header { position: sticky; top: 0; z-index: 40; }
.topbar {
    background: var(--navy);
    color: #c9d3dc;
    font-size: 13px;
    font-weight: 500;
}
.topbar__inner, .navbar__inner, .cta-strip__inner, .copyright__inner, .section-head--row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.topbar__inner { min-height: 38px; }
.topbar__info, .topbar__social, .footer-social { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.topbar a:hover, .footer-social a:hover { color: #fff; }
.navbar { background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.navbar__inner { min-height: var(--header); }
.site-header.is-stuck .navbar { background: rgba(255,255,255,.97); box-shadow: var(--shadow); }
.brand img { height: 52px; width: auto; object-fit: contain; }
.brand--light {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    padding: 10px 14px;
}
.brand--light img { filter: none; height: 46px; }

.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; }
.site-nav a { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px; font-weight: 650; font-size: 15px; }
.site-nav a i { font-size: 10px; opacity: .6; }
.site-nav a:hover, .site-nav .is-active > a { color: var(--copper); }
.site-nav .has-sub { position: relative; }
.site-nav .has-sub > ul {
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    min-width: 230px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .18s ease;
}
.site-nav .has-sub:hover > ul,
.site-nav .has-sub:focus-within > ul,
.site-nav .has-sub.is-open > ul { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; position: relative; z-index: 60; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.nav-toggle span { display: block; height: 2px; margin: 6px 10px; background: var(--navy); transition: .2s ease; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(22,50,79,.45); z-index: 30; }

.hero, .hero-slide, .hero-fallback { min-height: min(78vh, 740px); position: relative; }
.hero-slide, .hero-fallback { background: var(--navy) center/cover no-repeat; display: none; }
.hero-slide.is-active, .hero-fallback { display: flex; align-items: center; }
.hero-fallback { background:
    linear-gradient(120deg, rgba(22,50,79,.2), rgba(45,122,184,.18)),
    radial-gradient(circle at 20% 20%, #2d7ab8, var(--navy) 60%);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,50,79,.82) 0%, rgba(22,50,79,.38) 70%, rgba(22,50,79,.2) 100%); }
.hero-content { position: relative; z-index: 1; color: #fff; padding: 90px 0 110px; max-width: 760px; }
.hero-content h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.05; margin: 10px 0 18px; letter-spacing: -.03em; }
.hero-lead { font-size: 1.12rem; color: #d7ddd8; max-width: 560px; margin-bottom: 28px; }
.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 800;
    color: var(--copper);
}
.hero .eyebrow { color: #8ec8ea; }
.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
}
.hero-controls button {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
}
.hero-dots { display: flex; gap: 8px; }
.hero-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
}
.hero-dots button.is-active { background: #fff; width: 22px; border-radius: 999px; }

.cta-strip { background: var(--navy); color: #fff; }
.cta-strip__inner { padding: 36px 0; }
.cta-strip__label { margin: 0 0 6px; color: #8ec8ea; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cta-strip h2 { margin: 0; font-size: clamp(20px, 3vw, 30px); max-width: 760px; }

.section { padding: 88px 0; }
.section-muted { background: var(--paper-2); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .eyebrow { color: #8ec8ea; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head--row { max-width: none; align-items: flex-end; }
.section-head h2, .page-hero h1 { margin: 8px 0 0; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; line-height: 1.15; }

.page-hero {
    background:
        linear-gradient(135deg, rgba(22,50,79,.92), rgba(30,74,110,.82)),
        radial-gradient(circle at 80% 20%, #285880, var(--navy));
    color: #fff;
    padding: 72px 0 48px;
}
.breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; color: #c9d3dc; margin: 14px 0 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 10px; opacity: .5; }

.card-grid, .logo-grid, .gallery-grid, .feature-grid { display: grid; gap: 22px; }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.logo-grid, .gallery-grid { grid-template-columns: repeat(4, 1fr); }
.feature-grid { grid-template-columns: 1fr 1fr; margin-top: 28px; }

.media-card, .quote-card, .form-card, .content-card, .side-card, .about-panel, .logo-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.media-card, .quote-card, .form-card, .content-card, .side-card, .about-panel { box-shadow: var(--shadow); }
.media-card { display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.media-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px rgba(22,50,79,.12); }
.media-card__image { display: block; overflow: hidden; }
.media-card__image img, .content-cover, .gallery-item img, .about-panel img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform .45s ease;
}
.media-card:hover .media-card__image img { transform: scale(1.05); }
.media-placeholder { height: 230px; display: grid; place-items: center; background: var(--navy); color: #8ec8ea; font-size: 34px; }
.media-card__body, .quote-card, .form-card, .content-card, .side-card, .about-panel__body { padding: 24px; }
.media-card__body h3, .quote-card strong, .side-card h2, .form-card h2 { margin: 0 0 10px; letter-spacing: -.02em; }
.media-card__body p, .quote-card p { color: var(--muted); }

.blog-row { display: grid; grid-template-columns: 240px 1fr; margin-bottom: 20px; }
.blog-row .media-card__image img, .blog-row .media-placeholder { height: 100%; min-height: 190px; }
.meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

.quote-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.08); color: #fff; box-shadow: none; }
.quote-card i { color: var(--copper); margin-bottom: 12px; }
.quote-card p { color: #d7ddd8; }
.quote-card footer { margin-top: 18px; display: grid; gap: 2px; }
.quote-card span { color: #9aa6b2; font-size: 14px; }

.about-grid, .split-layout, .contact-page, .contact-home__grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 36px;
    align-items: start;
}
.feature-item { display: flex; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.feature-icon {
    width: 44px; height: 44px; flex: 0 0 44px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: #e6f2f8;
    color: var(--copper);
}
.feature-item h3 { margin: 0 0 4px; font-size: 16px; }
.feature-item p { margin: 0; color: var(--muted); font-size: 14px; }
.about-panel img { height: 280px; }
.logo-item { min-height: 120px; display: grid; place-items: center; padding: 18px; background: #fff; }
.logo-item img { max-height: 64px; width: auto; filter: grayscale(.2); }

.side-list a, .footer-list a, .footer-list span, .info-list li {
    display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; color: inherit;
}
.side-list a { border-bottom: 1px solid var(--line); }
.side-list .is-active a, .side-list a:hover, .footer-list a:hover { color: var(--copper); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: #fff; }
.form-card input, .form-card textarea {
    width: 100%;
    margin: 0 0 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}
.form-card textarea { min-height: 130px; resize: vertical; }
.form-card input:focus, .form-card textarea:focus { outline: 2px solid rgba(45,122,184,.25); border-color: var(--copper); }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 12px; }
.alert-success { background: #e8f6ee; color: #146c43; }
.alert-danger { background: #fdecea; color: #9b1c1c; }
.map-box, .map-wide { overflow: hidden; border-radius: var(--radius); }
.map-box iframe, .map-wide iframe { width: 100%; min-height: 360px; border: 0; display: block; }
.map-wide { border-radius: 0; }
.gallery-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin: 16px 0; }
.gallery-mini img { height: 84px; object-fit: cover; border-radius: 10px; }
.rich-text p { color: var(--muted); margin: 0 0 1em; }
.rich-text p:last-child { margin-bottom: 0; }
.rich-text h2, .rich-text h3 { color: var(--navy); margin: 0 0 .7em; line-height: 1.3; }
.lead.rich-text p { font-size: 1.05rem; }
.empty-state { text-align: center; padding: 88px 16px; }
.empty-state i { font-size: 48px; color: var(--copper); }

.site-footer { background: var(--navy); color: #c9d3dc; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 36px; padding-bottom: 40px; align-items: start; }
.footer-title { color: #fff; font-weight: 800; margin: 0 0 16px; }
.footer-about, .footer-note { color: #aeb8c2; }
.footer-social a {
    width: 38px; height: 38px; display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.12); border-radius: 50%; color: #fff;
}
.copyright { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 14px; }
.copyright__inner a { color: #8ec8ea; }

.call-fab {
    display: none;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 35;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--copper);
    color: #fff;
    place-items: center;
    box-shadow: 0 12px 28px rgba(45,122,184,.35);
}

.cookie-bar {
    position: fixed;
    inset: auto 16px 16px 16px;
    z-index: 45;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 18px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: var(--shadow);
}
.cookie-bar.is-visible { display: flex; }
.modal-overlay { position: fixed; inset: 0; background: rgba(22,50,79,.55); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal-card { position: relative; max-width: 720px; width: 100%; background: #fff; border-radius: 18px; overflow: hidden; }
.modal-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; }
.pagination-wrap { margin-top: 28px; }
.maintenance-body { min-height: 100vh; display: grid; place-items: center; background: var(--paper); }

@media (max-width: 1100px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .logo-grid, .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .topbar { display: none; }
    .nav-toggle { display: inline-block; }
    .nav-cta { width: 100%; }
    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(360px, 88vw);
        height: 100vh;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 88px 22px 28px;
        background: #fff;
        z-index: 50;
        overflow: auto;
    }
    .site-nav.is-open { display: flex; }
    .site-nav > ul { display: grid; gap: 4px; }
    .site-nav .has-sub > ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 0 10px;
        background: transparent;
    }
    .site-nav .has-sub.is-open > ul { display: grid; }
    .about-grid, .split-layout, .contact-page, .contact-home__grid, .footer-grid, .form-grid, .feature-grid, .blog-row, .section-head--row, .cta-strip__inner, .cookie-bar {
        grid-template-columns: 1fr;
        display: grid;
    }
    .hero, .hero-slide, .hero-fallback { min-height: 560px; }
    .hero-content { padding: 72px 0 96px; }
    .section { padding: 64px 0; }
    .call-fab { display: grid; }
    .cookie-bar { bottom: 84px; }
}

@media (max-width: 640px) {
    .card-grid, .logo-grid, .gallery-grid { grid-template-columns: 1fr; }
    .navbar__inner { min-height: 72px; }
    .brand img { height: 40px; }
    .brand--light img { height: 36px; }
}
