:root {
    --navy: #153b73;
    --navy-dark: #0e2a52;
    --navy-soft: #5b84c4;
    --bg-soft: #f3f6fa;
    --bg-page: #ffffff;
    --text: #203040;
    --muted: #5a6b7d;
    --line: #d9e1ea;
    --radius: 26px;
    --shadow: 0 18px 45px rgba(18, 42, 82, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg-page);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1360px, calc(100% - 32px)); margin: 0 auto; }
h1, h2, h3, h4, h5 { margin: 0 0 12px; font-family: 'Manrope', sans-serif; color: #152435; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 5vw, 4.35rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 18px; color: var(--muted); }
ul { margin: 0; padding: 0; list-style: none; }
.button {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 52px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent;
    font-weight: 700; transition: .25s ease; cursor: pointer;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--navy); color: #fff; }
.button-primary:hover { background: var(--navy-dark); }
.button-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.button-outline:hover { background: var(--navy); color: #fff; }
.button-light { background: #fff; color: var(--navy); }
.button-light:hover { background: #eef3f8; }
.button-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.button-outline-light:hover { background: #fff; color: var(--navy); }
.topbar { background: var(--navy-dark); color: rgba(255,255,255,.92); font-size: 14px; }
.topbar-inner, .header-inner, .footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-inner { min-height: 44px; }
.topbar-group { display: flex; flex-wrap: wrap; gap: 22px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(217,225,234,.8); }
.header-inner { min-height: 92px; }
.brand-logo { width: auto; height: 54px; }
.main-navigation .menu { display: flex; flex-wrap: wrap; gap: 28px; font-weight: 600; color: #56697b; }
.main-navigation .menu a:hover { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 0; width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px auto; transition: .25s ease; }
.hero {
    background: linear-gradient(135deg, #f8fbff 0%, #eef4fb 52%, #e4ecf6 100%);
    position: relative; overflow: hidden;
}
.hero:before, .hero:after {
    content: ''; position: absolute; border-radius: 999px; filter: blur(6px);
}
.hero:before { width: 480px; height: 480px; background: rgba(21,59,115,.12); right: -120px; top: -160px; }
.hero:after { width: 340px; height: 340px; background: rgba(91,132,196,.14); left: -80px; bottom: -120px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 84px 0 72px; }
.eyebrow, .section-label {
    display: inline-flex; align-items: center; min-height: 38px; padding: 8px 16px; border-radius: 999px;
    border: 1px solid var(--line); color: var(--navy); background: rgba(255,255,255,.82); font-size: 12px;
    text-transform: uppercase; letter-spacing: .22em; font-weight: 800; margin-bottom: 20px;
}
.section-label { background: transparent; border: 0; padding: 0; min-height: auto; }
.section-label.light { color: rgba(255,255,255,.74); }
.hero-copy p { font-size: 1.1rem; max-width: 740px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.hero-pills span, .feature-list li {
    display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 14px 18px; border-radius: 18px;
    background: rgba(255,255,255,.84); border: 1px solid rgba(255,255,255,.85); box-shadow: 0 10px 24px rgba(22,43,65,.08);
    font-weight: 600; color: #354658;
}
.hero-pills span:before, .feature-list li:before {
    content: ''; width: 10px; height: 10px; border-radius: 999px; background: var(--navy);
    box-shadow: 0 0 0 7px rgba(21,59,115,.08);
}
.hero-media { position: relative; }
.hero-media img {
    width: 100%; border-radius: 34px; border: 10px solid rgba(255,255,255,.86); box-shadow: 0 25px 55px rgba(28,42,64,.16);
    object-fit: cover; min-height: 560px;
}
.section { padding: 96px 0; }
.compact-top { padding-top: 0; }
.surface { background: var(--bg-soft); }
.cards { display: grid; gap: 24px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px rgba(18, 42, 82, 0.12); }
.soft-card { background: #fff; }
.highlights { padding: 8px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 32px; }
.section-head p { max-width: 520px; }
.single-head { justify-content: flex-start; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 56px; align-items: center; }
.media-card, .placeholder-block {
    background: linear-gradient(160deg, #e9f0f7 0%, #ffffff 50%, #dce6f0 100%); border-radius: 32px; padding: 18px; box-shadow: var(--shadow);
}
.media-card img { border-radius: 24px; width: 100%; min-height: 460px; object-fit: cover; }
.gradient-block { min-height: 460px; border: 1px solid rgba(255,255,255,.75); background: linear-gradient(180deg, #f6f9fc 0%, #d7e3ef 100%); }
.feature-list { display: grid; gap: 14px; margin: 30px 0; }
.card-link { color: var(--navy); font-weight: 700; }
.card-link:hover { color: var(--navy-dark); }
.sector-card { min-height: 240px; background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%); }
.sector-index { display: inline-block; margin-bottom: 14px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #7c8b99; font-weight: 700; }
.dark-band { background: var(--navy-dark); color: #fff; }
.dark-band h2, .dark-band p { color: #fff; }
.dark-cards .dark-card { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.12); box-shadow: none; }
.project-thumb, .blog-thumb {
    height: 220px; border-radius: 20px; background: linear-gradient(180deg, #e8eef5 0%, #d5e0ec 100%); margin-bottom: 18px;
}
.cert-list { display: grid; gap: 18px; }
.cert-item {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 24px 28px; box-shadow: var(--shadow);
}
.cert-item a { color: var(--navy); font-weight: 700; }
.contact-cta-wrap { padding-top: 24px; }
.contact-cta {
    display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 42px 46px; border-radius: 34px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; box-shadow: 0 28px 54px rgba(18,42,82,.18);
}
.contact-cta h2, .contact-cta p { color: #fff; }
.cta-meta { display: flex; flex-wrap: wrap; gap: 24px; color: rgba(255,255,255,.86); font-weight: 600; }
.site-footer { background: #f8fafc; border-top: 1px solid var(--line); margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 30px; padding: 72px 0; }
.footer-logo { height: 52px; width: auto; margin-bottom: 16px; }
.site-footer h3 { font-size: 1.1rem; margin-bottom: 12px; }
.footer-menu, .footer-contact { display: grid; gap: 12px; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner { min-height: 62px; font-size: 14px; color: #697988; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.page-shell { background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); }
.narrow-content { width: min(920px, calc(100% - 32px)); }
.content-card {
    background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 42px; box-shadow: var(--shadow);
}
.entry-title { margin-bottom: 18px; }
.featured-image img { border-radius: 22px; margin-bottom: 24px; }
.post-card img { border-radius: 20px; margin-bottom: 18px; }
.not-found { text-align: center; }
.menu-item-has-children > a:after { content: '▾'; margin-left: 8px; font-size: .75em; }
@media (max-width: 1199px) {
    .cards-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
    .main-navigation {
        position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
        padding: 14px 16px 22px; display: none;
    }
    .main-navigation.is-open { display: block; }
    .main-navigation .menu { display: grid; gap: 14px; }
    .nav-toggle { display: inline-block; }
    .header-cta { display: none; }
    .two-col, .contact-cta, .cards-2, .cards-3 { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
    .topbar-inner, .header-inner, .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
    .hero-grid { padding: 56px 0 50px; }
    .hero-pills { grid-template-columns: 1fr; }
    .hero-media img, .media-card img, .gradient-block { min-height: 320px; }
    .section { padding: 72px 0; }
    .cards-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; padding: 56px 0; }
    .contact-cta { padding: 34px 24px; }
    .content-card { padding: 28px; }
}


.card-media { display: block; margin: -28px -28px 18px; overflow: hidden; border-radius: 28px 28px 18px 18px; }
.card-media img { width: 100%; height: 220px; object-fit: cover; display: block; }
.placeholder-thumb { height: 220px; background: linear-gradient(180deg, #e8eef5 0%, #d5e0ec 100%); }
.service-card h3, .document-card h3, .project-card h3, .blog-card h3 { margin-top: 4px; }
.team-surface { background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%); }
.cert-item p { margin: 6px 0 0; font-size: 0.95rem; }
.custom-logo-link img { width: auto; height: 54px; }
.footer-widget ul { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.footer-widget p, .footer-widget li, .footer-widget a { color: var(--muted); }
.footer-widget a:hover { color: var(--navy); }
@media (max-width: 991px) {
    .card-media { margin-left: -24px; margin-right: -24px; }
}


.team-layout { align-items: start; }
.team-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 22px;
}
.media-card-tall img {
    min-height: 520px;
    object-position: center top;
}
.team-note {
    margin-top: 22px;
    border-radius: 24px;
    padding: 24px 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.team-note h3 { margin-bottom: 10px; }
@media (max-width: 991px) {
    .team-media-grid { grid-template-columns: 1fr; }
}


.brand-page-hero {
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
}
.brand-page-hero .narrow-content { padding: 58px 0 60px; }
.brand-page-hero h1, .brand-page-hero p { color: #fff; }
.page-template-shell { display: grid; gap: 30px; }
.template-intro-card { margin-bottom: 6px; }
.catalog-grid .card, .document-grid .card { min-height: 100%; }
.eyebrow-copy { color: var(--navy); font-weight: 700; margin-top: 10px; }
.doc-meta-row {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #6f7f8f; font-weight: 700;
}
.detail-layout { align-items: start; }
.meta-panels-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 26px;
}
.meta-panel {
    background: linear-gradient(180deg,#ffffff 0%,#f7fbff 100%); border: 1px solid var(--line); border-radius: 24px; padding: 24px 24px 20px; box-shadow: var(--shadow);
}
.meta-panel.full { margin-top: 18px; }
.meta-panel h3 { margin-bottom: 10px; font-size: 1.05rem; }
.sidebar-stack { display: grid; gap: 20px; }
.media-card-small img { min-height: 280px; }
.brand-banner { overflow: hidden; border-radius: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.brand-banner img { width: 100%; display: block; height: auto; }
.page-dark-cards .dark-card { background: linear-gradient(180deg, rgba(21,59,115,.96), rgba(14,42,82,.96)); }
.rich-doc-card { background: linear-gradient(180deg,#ffffff 0%,#f9fbff 100%); }
.product-card, .document-card, .project-card, .sector-card { overflow: hidden; }
.product-card .card-media img, .document-card .card-media img, .project-card .card-media img, .sector-card .card-media img { height: 238px; }
.archive .page-header, .single .page-header { margin-bottom: 30px; }
@media (max-width: 991px) {
  .meta-panels-grid { grid-template-columns: 1fr; }
}
