/* ==========================================================================
   Frontier Marine Services — main stylesheet
   Brand: Navy (primary) · White (secondary) · Gold (accent) · Light blue (support)
   ========================================================================== */

:root {
    --navy: #0b2a66;
    --navy-900: #071d4a;
    --navy-700: #12367d;
    --blue: #0b66c3;
    --blue-600: #0a58a9;
    --sky: #eef4fc;
    --sky-2: #dbe8f8;
    --gold: #f2b530;
    --gold-600: #dc9c14;
    --gold-soft: #ffd978;
    --ink: #10234a;
    --text: #2b3b5c;
    --muted: #55678a;
    --line: #d9e3f1;
    --white: #ffffff;
    --bg: #ffffff;

    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-head: "Montserrat", "Inter", system-ui, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 6px rgba(11, 42, 102, .06);
    --shadow: 0 10px 30px rgba(11, 42, 102, .10);
    --shadow-lg: 0 18px 50px rgba(11, 42, 102, .18);

    --header-h: 80px;
    --container: 1200px;
    --gutter: 24px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
main { display: block; overflow-x: clip; } /* skewed decorative frames never cause sideways scroll */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.icon { width: 24px; height: 24px; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 14px; height: 14px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.text-gold { color: var(--gold); }
.mt-xl { margin-top: 48px; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 1000;
    background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 10px; border: 2px solid transparent;
    font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.2;
    transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
    white-space: nowrap; min-height: 46px;
}
.btn-lg { padding: 14px 28px; font-size: 16px; min-height: 52px; }
.btn-gold { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-600) 100%); color: var(--navy-900); box-shadow: 0 6px 16px rgba(220, 156, 20, .35); }
.btn-gold:hover { color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(220, 156, 20, .45); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255, 255, 255, .85); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: #fff; /* no backdrop-filter: it would trap the fixed mobile drawer inside the header */
    box-shadow: 0 1px 0 var(--line);
    transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 42, 102, .12); }
.header__bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); flex-shrink: 0; }
.brand:hover { color: var(--navy); }
.brand__logo { width: 56px; height: 56px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); }
.brand__name { font-size: 26px; font-weight: 800; letter-spacing: .02em; }
.brand__sub { font-size: 13.5px; font-weight: 700; letter-spacing: .06em; margin-top: 4px; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__logo { width: 64px; height: 64px; }

.main-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.main-nav__mobile-head { display: none; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 16px; border-radius: 10px; border: 0; background: none;
    font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--navy);
    transition: background .2s, color .2s;
}
.nav-link__icon { display: none; }
.nav-link:hover { background: var(--sky); color: var(--navy); }
.nav-link.is-active { background: var(--navy); color: #fff; }
.nav-link .caret { transition: transform .25s var(--ease); }
.has-dropdown.is-open > .nav-link .caret { transform: rotate(180deg); }

.dropdown {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 340px;
    background: #fff; border-radius: 14px; padding: 8px;
    box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown::before { /* hover bridge */
    content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
.has-dropdown.is-open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__link {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 12px; border-radius: 10px;
    font-weight: 600; font-size: 14.5px; color: var(--ink); line-height: 1.3;
}
.dropdown li + li .dropdown__link { border-top: 1px solid transparent; }
.dropdown__icon {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px;
    background: var(--sky); color: var(--navy); flex-shrink: 0; transition: background .2s, color .2s;
}
.dropdown__icon .icon { width: 18px; height: 18px; }
.dropdown__link:hover { background: var(--sky); color: var(--navy); }
.dropdown__link:hover .dropdown__icon { background: var(--navy); color: var(--gold); }
.dropdown__link.is-current { background: var(--sky); color: var(--navy); box-shadow: inset 3px 0 0 var(--gold); }
.dropdown__link.is-current .dropdown__icon { background: var(--navy); color: var(--gold); }

.nav-burger, .nav-close {
    display: none; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line);
    background: #fff; color: var(--navy);
}
.nav-backdrop { display: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; background: var(--navy-900); }
.hero__media { position: absolute; inset: 0 0 0 30%; background-size: cover; background-position: 40% center; }
.hero__panel {
    position: absolute; inset: 0 auto 0 0; width: 64%;
    background: var(--gold);
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}
.hero__panel::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(11, 102, 195, .55) 0%, rgba(11, 102, 195, 0) 60%),
        linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-700) 100%);
    clip-path: polygon(0 0, 97.5% 0, 75.5% 100%, 0 100%);
}
.hero__inner { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; }
.hero__inner > * { max-width: 600px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #dbe6ff; font-weight: 500; font-size: 16px; margin-bottom: 14px; }
.eyebrow__bar { width: 46px; height: 5px; border-radius: 4px; background: var(--gold); }
.hero__title { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 18px; }
.hero__lead { color: #e6eeff; font-size: 18px; max-width: 520px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Strengths strip ---------- */
.strengths { position: relative; z-index: 3; margin-top: -48px; }
.strengths__list {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    border: 1px solid var(--line); padding: 22px 12px;
}
.strength {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
    padding: 6px 16px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 16px; line-height: 1.25;
}
.strength + .strength { border-left: 3px solid var(--gold); }
.strength__icon { width: 46px; height: 46px; color: var(--navy); stroke-width: 1.5; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner { position: relative; min-height: 220px; display: flex; align-items: center; overflow: hidden; background: var(--navy-900); }
.page-banner__media { position: absolute; inset: 0 0 0 35%; background-size: cover; background-position: center 55%; }
.page-banner__panel {
    position: absolute; inset: 0 auto 0 0; width: 62%; background: var(--gold);
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}
.page-banner__panel::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(110deg, var(--navy-900) 0%, var(--navy) 60%, var(--navy-700) 100%);
    clip-path: polygon(0 0, 98.6% 0, 86.6% 100%, 0 100%);
}
.page-banner__inner { position: relative; z-index: 2; padding-top: 36px; padding-bottom: 34px; }
.page-banner__title { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 12px; max-width: 640px; }
.accent-bar { display: block; width: 84px; height: 6px; border-radius: 4px; background: var(--gold); margin-bottom: 16px; }

.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: #dbe6ff; font-size: 15px; }
.breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: .7; }
.breadcrumb [aria-current] { color: var(--gold-soft); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--tint { background: linear-gradient(180deg, var(--sky) 0%, #f7faff 100%); }
.section--navy { background: radial-gradient(90% 120% at 100% 0%, var(--navy-700) 0%, var(--navy) 45%, var(--navy-900) 100%); color: #dfe8fb; }
.strengths + .section { padding-top: 72px; }

.section-title {
    position: relative; padding-left: 20px;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--navy); margin-bottom: 18px;
}
.section-title::before {
    content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 6px; border-radius: 4px; background: var(--gold);
}
.section-title--light { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head .section-title { margin-bottom: 8px; }
.section-intro { color: var(--muted); max-width: 720px; margin-bottom: 36px; font-size: 17px; }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-head); font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.link-more:hover { color: var(--blue); gap: 8px; }
.lead { font-size: 18px; color: var(--ink); font-weight: 500; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split--top { grid-template-columns: 1.45fr 1fr; align-items: start; gap: 40px; }
.split--message { grid-template-columns: 1.25fr 1fr; align-items: start; }
.split__text > p { font-size: 17px; }

/* ---------- Feature image (skewed frame with gold accent) ---------- */
.feature-img { position: relative; margin: 0; padding: 0 20px 20px 10px; }
.feature-img::before, .feature-img::after {
    content: ""; position: absolute; border-radius: 30px; transform: skewX(-8deg);
}
.feature-img::before { inset: 26px 2px 0 40px; background: var(--gold); }
.feature-img::after { inset: -12px 40px 30px -4px; background: var(--sky-2); z-index: 0; }
.feature-img__frame {
    position: relative; z-index: 1; display: block; overflow: hidden;
    border-radius: 30px; transform: skewX(-8deg); box-shadow: var(--shadow-lg);
    aspect-ratio: 3 / 2; background: var(--sky-2);
}
.feature-img__frame img {
    width: 100%; height: 100%; object-fit: cover;
    transform: skewX(8deg) scale(1.18); transition: transform .8s var(--ease);
}
.feature-img:hover .feature-img__frame img { transform: skewX(8deg) scale(1.24); }
.feature-img--wide .feature-img__frame { aspect-ratio: 2 / 1; }
.feature-img--wide .feature-img__frame img { transform: skewX(8deg) scale(1.1); object-position: 70% center; }
.feature-img--wide:hover .feature-img__frame img { transform: skewX(8deg) scale(1.15); }
.feature-img--tall .feature-img__frame { aspect-ratio: 4 / 5; }

/* ---------- Highlights row ---------- */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
.highlight {
    display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
    padding: 0 10px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 14.5px; line-height: 1.25;
}
.highlight + .highlight { border-left: 3px solid var(--gold); }
.highlight__icon {
    display: grid; place-items: center; width: 68px; height: 56px; border-radius: 14px;
    background: var(--sky); color: var(--navy); transition: background .25s, color .25s, transform .25s var(--ease);
}
.highlight__icon .icon { width: 32px; height: 32px; }
.highlight:hover .highlight__icon { background: var(--navy); color: var(--gold); transform: translateY(-3px); }

/* ---------- Service cards ---------- */
.service-card {
    display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); color: var(--text);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.service-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky-2); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 34px 18px 18px; background: linear-gradient(180deg, #fff 0%, #fbfdff 100%); }
.service-card__icon {
    position: absolute; top: -26px; left: 18px; display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: var(--gold);
    box-shadow: 0 6px 16px rgba(11, 42, 102, .3); border: 3px solid #fff;
}
.service-card__title { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.service-card__text { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.service-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--blue); transition: gap .2s; }
.service-card:hover .service-card__more { gap: 10px; color: var(--navy); }

/* ---------- Info cards ---------- */
.info-card {
    position: relative; background: var(--sky); border-radius: var(--radius); padding: 24px 22px;
    border: 1px solid transparent; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background .3s;
}
.section--tint .info-card:not(.navy):not(.blue) { background: #fff; border-color: var(--line); }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky-2); }
.info-card__icon {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 14px;
    background: var(--navy); color: var(--gold);
}
.info-card__title { font-size: 17.5px; font-weight: 800; margin-bottom: 6px; }
.info-card__text { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.6; }
.info-card.navy { background: var(--navy); }
.info-card.blue { background: var(--blue); }
.info-card.navy .info-card__title, .info-card.blue .info-card__title { color: var(--gold-soft); }
.info-card.blue .info-card__title { color: #fff; }
.info-card.navy .info-card__text, .info-card.blue .info-card__text { color: #e3ecff; }
.info-card.navy .info-card__icon, .info-card.blue .info-card__icon { background: rgba(255, 255, 255, .12); color: var(--gold); }
.why-grid .info-card { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }

/* ---------- Photo cards ---------- */
.photo-card {
    display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.photo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.photo-card__media { aspect-ratio: 21 / 9; overflow: hidden; background: var(--sky-2); }
.photo-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo-card:hover .photo-card__media img { transform: scale(1.06); }
.photo-card__body { padding: 16px 18px 20px; }
.photo-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.photo-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff; flex-shrink: 0; }
.photo-card__icon .icon { width: 20px; height: 20px; }
.photo-card__title { font-size: 16.5px; font-weight: 800; margin: 0; }
.photo-card__text { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- Why choose box ---------- */
.why-box {
    position: relative; overflow: hidden; background: linear-gradient(160deg, #f4f8fe 0%, var(--sky) 100%);
    border: 1px solid var(--sky-2); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.why-box .section-title { font-size: 1.6rem; }
.why-box__watermark { position: absolute; right: -24px; top: 18px; width: 150px; height: 150px; color: var(--navy); opacity: .07; stroke-width: 1.2; pointer-events: none; }
.check-list { display: grid; gap: 12px; position: relative; z-index: 1; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list .icon { color: #fff; fill: var(--navy); stroke: #fff; width: 24px; height: 24px; margin-top: 1px; }

/* ---------- Notice ---------- */
.notice-card { display: flex; gap: 16px; margin-top: 22px; padding: 22px; border-radius: var(--radius); background: var(--navy); color: #e3ecff; }
.notice-card h3 { color: var(--gold-soft); font-size: 17px; margin-bottom: 6px; }
.notice-card p { margin: 0; font-size: 15px; }
.notice-card__icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--gold); }

/* ---------- Process steps ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.process__step {
    position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--navy); color: #e3ecff;
    transition: transform .3s var(--ease), box-shadow .3s;
}
.process__step:nth-child(n+4) { background: var(--blue); }
.process__step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.process__num { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-weight: 800; font-size: 34px; color: var(--gold); line-height: 1; }
.process__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; margin-bottom: 14px; }
.process__step h3 { color: #fff; font-size: 17.5px; margin-bottom: 6px; }
.process__step p { margin: 0; font-size: 15px; }

.tag-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 8px; }
.tag-grid li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--sky); color: var(--ink); font-weight: 500; font-size: 15px; }
.tag-grid li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ---------- Home: highlights band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 16px 0 40px; }
.stat {
    display: flex; flex-direction: column; gap: 8px; padding: 26px 22px; border-radius: var(--radius);
    background: linear-gradient(150deg, var(--navy-700) 0%, var(--navy) 55%, var(--navy-900) 100%);
    box-shadow: var(--shadow); border-bottom: 4px solid var(--gold);
    transition: box-shadow .3s, transform .3s var(--ease);
}
.stat:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.stat__value { font-family: var(--font-head); font-weight: 800; font-size: 30px; color: var(--gold); line-height: 1.1; }
.stat__label { font-size: 15px; color: #d5e1f8; line-height: 1.5; }

.commitment { display: flex; align-items: stretch; border-radius: var(--radius); overflow: hidden; background: #fff; border: 2px solid var(--gold); }
.commitment__label { display: flex; align-items: center; padding: 16px 28px; background: var(--navy-900); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 20px; border-right: 6px solid var(--gold); white-space: nowrap; }
.commitment__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 10px 22px; padding: 14px 22px; flex: 1; }
.commitment__list li { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; }

/* ---------- About ---------- */
.mv-card { padding: 34px 32px; border-radius: var(--radius-lg); color: #e6eeff; box-shadow: var(--shadow); }
.mv-card--navy { background: var(--navy); }
.mv-card--blue { background: var(--blue); }
.mv-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(255, 255, 255, .12); color: var(--gold); margin-bottom: 16px; }
.mv-card__title { color: var(--gold-soft); font-size: 1.5rem; }
.mv-card--blue .mv-card__title { color: #fff; }
.mv-card p { margin: 0; font-size: 17px; }

.focus-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.focus-list li {
    padding: 22px 18px; border-radius: var(--radius); background: var(--sky); font-family: var(--font-head);
    font-weight: 700; color: var(--navy); line-height: 1.3; transition: transform .3s var(--ease), background .3s, color .3s;
}
.focus-list li:hover { transform: translateY(-4px); background: var(--navy); color: #fff; }
.focus-list__num { display: block; font-size: 28px; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.focus-list li:hover .focus-list__num { color: var(--gold); }

.pill-list { display: flex; flex-wrap: wrap; gap: 12px; }
.pill-list li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--blue); color: var(--navy); font-weight: 600; background: #fff; transition: background .2s, color .2s; }
.pill-list li:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.commit-row { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; align-items: stretch; }
.commit-row__img { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 280px; }
.commit-row__img img { width: 100%; height: 100%; object-fit: cover; }
.commit-row__box { background: var(--navy); color: #e3ecff; border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.commit-row__box h2 { color: var(--gold-soft); font-size: 1.6rem; }
.commit-row__box h3 { color: #fff; font-size: 1.15rem; margin-top: 8px; }
.commit-row__box p { font-size: 16.5px; }
.commit-row__box p:last-child { margin: 0; }

/* ---------- People ---------- */
.person-card {
    display: flex; flex-direction: column; gap: 4px; padding: 26px 22px; border-radius: var(--radius);
    background: var(--sky); border-top: 4px solid var(--gold); transition: transform .3s var(--ease), box-shadow .3s;
}
.person-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.person-card--team { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); }
.person-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold); margin-bottom: 10px; }
.person-card__name { font-size: 17px; font-weight: 800; margin: 0; }
.person-card__role { font-size: 14.5px; color: var(--muted); margin: 0; }
.quote-band { background: radial-gradient(90% 140% at 100% 0%, var(--navy-700) 0%, var(--navy) 50%, var(--navy-900) 100%); border-radius: var(--radius-lg); padding: 44px 40px; }
.quote-band__title { margin: 0; font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.3; color: var(--gold-soft); }

/* ---------- Messages ---------- */
.message p { font-size: 17px; color: var(--ink); }
.message__quote {
    margin: 26px 0; padding: 20px 24px; border-left: 5px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--sky); font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.5;
}
.signature .accent-bar { margin-bottom: 18px; }
.signature__name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; color: var(--navy); margin: 0 0 2px; }
.signature__role { color: var(--muted); margin: 0; }

/* ---------- Privacy policy ---------- */
.policy { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.policy__toc { position: sticky; top: calc(var(--header-h) + 24px); background: var(--sky); border-radius: var(--radius); padding: 22px; }
.policy__toc-title { font-family: var(--font-head); font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.policy__toc ol { display: grid; gap: 4px; counter-reset: toc; }
.policy__toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--text); font-size: 15px; }
.policy__toc a:hover { background: #fff; color: var(--navy); }
.policy__body h2 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-top: 36px; padding-top: 4px; }
.policy__body h2 .icon { color: var(--gold-600); }
.policy__body p { font-size: 16.5px; }
.policy__body .check-list { margin-bottom: 1em; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(80% 140% at 100% 0%, var(--navy-700) 0%, var(--navy) 45%, var(--navy-900) 100%); padding: 56px 0; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; border: 2px solid rgba(242, 181, 48, .5); box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .02); }
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band__title { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; margin-bottom: 8px; }
.cta-band__text { color: #d5e1f8; margin: 0; max-width: 640px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; align-items: start; }
.contact__info > p { font-size: 17px; }
.contact-list { display: grid; gap: 16px; margin-top: 26px; }
.contact-list li { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--sky); transition: transform .3s var(--ease), box-shadow .3s; }
.contact-list li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact-list h3 { font-size: 16px; margin-bottom: 4px; }
.contact-list p, .contact-list address { margin: 0; color: var(--text); }
.contact-list a { color: var(--text); font-weight: 500; }
.contact-list a:hover { color: var(--blue); }
.contact-list__icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--navy); color: var(--gold); }

.contact__form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); border-top: 6px solid var(--gold); }
.form-title { font-size: 1.6rem; margin-bottom: 4px; }
.form-note { color: var(--muted); font-size: 14.5px; }
.req { color: #c0392b; }
.opt { color: var(--muted); font-weight: 400; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--ink); font-size: 15px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fbfdff;
    font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(11, 102, 195, .14); }
.field [aria-invalid="true"] { border-color: #c0392b; background: #fff8f7; }
.field__error { margin: 0; color: #b42318; font-size: 13.5px; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-size: 15px; background: #fff7e6; border: 1px solid #f6d58b; color: #5c4200; }
.form-alert[hidden] { display: none; }
.form-alert .icon { color: var(--gold-600); }
.form-alert--success { background: #ecfdf3; border-color: #a6e9c1; color: #05603a; }
.form-alert--success .icon { color: #12b76a; }
.form-alert--error { background: #fff7e6; }
.form-alert a { font-weight: 600; color: var(--navy); text-decoration: underline; }
.form-alert .btn { margin-top: 10px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; max-width: 760px; }
.notfound__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--sky); color: var(--navy); }
.notfound__icon .icon { width: 44px; height: 44px; animation: spin 14s linear infinite; }
.notfound__code { font-family: var(--font-head); font-size: 88px; font-weight: 800; color: var(--gold); line-height: 1; margin: 16px 0 4px; }
.notfound__title { font-size: 1.8rem; }
.notfound__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 26px 0 36px; }
.notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.notfound__links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 600; font-size: 14.5px; }
.notfound__links a:hover { background: var(--navy); color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #d5e1f8; padding-top: 52px; border-top: 5px solid var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr 1.1fr; gap: 28px; padding-bottom: 36px; }
.footer__grid > * + * { border-left: 1px solid rgba(255, 255, 255, .15); padding-left: 28px; }
.footer__tagline { margin: 12px 0 0; color: #c5d3ee; font-size: 15px; }
.footer__col { display: flex; gap: 14px; }
.footer__icon { color: var(--gold); padding-top: 2px; }
.footer__icon .icon { width: 26px; height: 26px; }
.footer__label { color: #fff; font-family: var(--font-head); font-size: 17px; margin-bottom: 6px; }
.footer__text { margin: 0; font-size: 15px; line-height: 1.7; color: #d5e1f8; }
.footer__text a { color: #d5e1f8; }
.footer__text a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 18px; padding-bottom: 22px; }
.footer__bottom p { margin: 0; font-size: 14px; color: #aebfe0; }

/* ---------- V2: banner subtitle, CTA phone list, partners ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.page-banner__subtitle { color: #e6eeff; font-size: 17px; max-width: 560px; margin: -4px 0 14px; }

.cta-band__phones { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; color: var(--gold); }
.cta-band__phone {
    display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; font-weight: 600; font-size: 15px;
    transition: background .2s, color .2s, border-color .2s;
}
.cta-band__phone:hover { background: #fff; color: var(--navy); border-color: #fff; }

.partners-intro > p { font-size: 17px; max-width: 860px; }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.partner-card__inner {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 100%;
    padding: 26px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); color: var(--ink); text-align: center;
    transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
a.partner-card__inner:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); color: var(--navy); }
.partner-card__logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 96px; }
.partner-card__logo img { max-width: 100%; max-height: 96px; width: auto; height: auto; object-fit: contain; }
.partner-card__name { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--navy); line-height: 1.3; }

.partners-empty {
    display: flex; gap: 22px; align-items: flex-start; max-width: 820px; padding: 30px 32px;
    background: #fff; border: 1px dashed var(--sky-2); border-left: 5px solid var(--gold); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.partners-empty h3 { font-size: 1.25rem; margin-bottom: 6px; }
.partners-empty p { color: var(--muted); }
.partners-empty__icon { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px; background: var(--navy); color: var(--gold); }

@media (max-width: 992px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .partner-card__inner { padding: 18px 12px; }
    .partner-card__logo { height: 72px; }
    .partner-card__logo img { max-height: 72px; }
    .partners-empty { flex-direction: column; padding: 24px 20px; }
    .page-banner__subtitle { font-size: 15.5px; }
    .cta-band__phone { flex: 1 1 100%; justify-content: center; }
    .cta-band__phones > .icon { display: none; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .nav-link { padding: 10px 12px; }
}
@media (min-width: 1081px) and (max-width: 1200px) {
    /* 5 main menu items: keep the desktop bar on one line */
    .header__bar { gap: 16px; }
    .main-nav { gap: 12px; }
    .nav-list { gap: 2px; }
    .nav-link { padding: 10px 10px; font-size: 14.5px; }
    .nav-cta { padding: 12px 16px; }
}

/* Tablet & mobile navigation */
@media (max-width: 1080px) {
    :root { --header-h: 72px; }
    .brand__logo { width: 50px; height: 50px; }
    .brand__name { font-size: 22px; }
    .brand__sub { font-size: 12px; }

    .nav-burger { display: inline-flex; margin-left: auto; }
    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
        width: min(380px, 88vw); margin: 0; padding: 0 0 24px;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; box-shadow: -10px 0 40px rgba(7, 29, 74, .25);
        transform: translateX(100%); visibility: hidden;
        transition: transform .35s var(--ease), visibility .35s;
        overflow-y: auto; overscroll-behavior: contain;
    }
    .nav-open .main-nav { transform: none; visibility: visible; }
    .main-nav__mobile-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
    .main-nav__mobile-title { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 18px; }
    .nav-close { display: inline-flex; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-item { border-bottom: 1px solid var(--line); }
    .nav-link {
        width: 100%; justify-content: flex-start; gap: 12px; padding: 16px 20px; border-radius: 0;
        font-size: 16px; text-align: left; min-height: 56px;
    }
    .nav-link__icon { display: inline-grid; color: var(--blue); }
    .nav-link.is-active { background: var(--sky); color: var(--navy); box-shadow: inset 4px 0 0 var(--gold); }
    .nav-link.is-active .nav-link__icon { color: var(--navy); }
    .nav-link .caret { margin-left: auto; }

    .dropdown {
        position: static; min-width: 0; padding: 0 0 8px; border: 0; border-radius: 0; box-shadow: none;
        opacity: 1; visibility: visible; transform: none; background: #f7faff;
        display: none;
    }
    .dropdown::before { display: none; }
    .has-dropdown.is-open > .dropdown { display: block; animation: drop .25s var(--ease); }
    .dropdown__link { padding: 10px 20px 10px 28px; border-radius: 0; font-size: 15px; min-height: 48px; }
    .dropdown__link.is-current { box-shadow: inset 4px 0 0 var(--gold); }
    .nav-cta { margin: 20px 20px 0; }

    .nav-backdrop {
        display: block; position: fixed; inset: 0; z-index: 110; background: rgba(7, 29, 74, .5);
        opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
    }
    .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
    body.nav-open { overflow: hidden; }

    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__grid > * + * { border-left: 0; padding-left: 0; }
    .footer__grid > :nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .15); padding-left: 28px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 992px) {
    .section { padding: 64px 0; }
    .split, .split--top, .split--message { grid-template-columns: 1fr; gap: 40px; }
    .split--message .split__media { max-width: 520px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .focus-list { grid-template-columns: repeat(3, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); }
    .contact { grid-template-columns: 1fr; }
    .policy { grid-template-columns: 1fr; gap: 24px; }
    .policy__toc { position: static; }
    .commit-row { grid-template-columns: 1fr; }
    .commit-row__img { max-height: 340px; }
    .commitment { flex-direction: column; }
    .commitment__label { border-right: 0; border-bottom: 5px solid var(--gold); justify-content: center; }
    .hero__panel { width: 78%; }
    .hero__media { left: 40%; }
}

@media (max-width: 768px) {
    :root { --gutter: 16px; }
    body { font-size: 15.5px; }

    .hero { min-height: 0; flex-direction: column; align-items: stretch; }
    .hero__media { position: relative; inset: auto; height: 240px; background-position: 70% center; }
    .hero__panel { display: none; }
    .hero__inner {
        background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
        padding-top: 34px; padding-bottom: 84px; max-width: none; border-top: 5px solid var(--gold);
    }
    .hero__lead { font-size: 16.5px; }
    .hero__actions .btn { flex: 1 1 160px; }

    .strengths__list { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
    .strength:nth-child(3) { border-left: 0; }
    .strength { font-size: 15px; }

    .page-banner { min-height: 0; }
    .page-banner__media { inset: 0; }
    .page-banner__panel { width: 100%; clip-path: none; background: none; }
    .page-banner__panel::before { clip-path: none; background: linear-gradient(100deg, rgba(7, 29, 74, .96) 0%, rgba(11, 42, 102, .9) 55%, rgba(11, 42, 102, .6) 100%); }
    .page-banner__inner { padding-top: 30px; padding-bottom: 28px; }
    .breadcrumb li { font-size: 14px; }

    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .grid-5.grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .highlights { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
    .highlight:nth-child(3) { border-left: 0; }
    .process { grid-template-columns: 1fr; }
    .focus-list { grid-template-columns: 1fr 1fr; }
    .tag-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .contact__form-wrap { padding: 24px 18px; }
    .commit-row__box { padding: 28px 22px; }
    .quote-band { padding: 30px 22px; }
    .mv-card { padding: 26px 22px; }
    .feature-img { padding: 0 12px 14px 4px; }
    .feature-img::before, .feature-img::after, .feature-img__frame { border-radius: 22px; }
    .cta-band__actions { width: 100%; }
    .cta-band__actions .btn { flex: 1 1 200px; }

    .footer__grid { grid-template-columns: 1fr; gap: 24px; }
    .footer__grid > :nth-child(even) { border-left: 0; padding-left: 0; }
    .footer__grid > * + * { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; }
}

@media (max-width: 480px) {
    .brand__logo { width: 44px; height: 44px; }
    .brand__name { font-size: 19px; }
    .brand__sub { font-size: 10.5px; }
    .header__bar { gap: 12px; }
    .grid-5.grid, .grid-4 { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .focus-list { grid-template-columns: 1fr; }
    .people-grid { grid-template-columns: 1fr; }
    .section { padding: 52px 0; }
    .commitment__list { justify-content: flex-start; }
}
