/* ==========================================================================
   SANALEXA — Design system & site styles
   Navy #09264B · Red #D71920 · Grey #929292 · Light #F5F6F8 · Text #343E4C
   ========================================================================== */

:root {
    --navy: #09264B;
    --navy-deep: #061B37;
    --red: #D71920;
    --red-dark: #B3141A;
    --grey: #929292;
    --light: #F5F6F8;
    --white: #FFFFFF;
    --text: #343E4C;
    --muted: #5A6575;
    --border: #E2E6EC;
    --border-strong: #CBD2DC;
    --on-navy: #C8D1DD;

    --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(9, 38, 75, .06), 0 2px 8px rgba(9, 38, 75, .05);
    --shadow-md: 0 10px 30px rgba(9, 38, 75, .10);
    --container: 1240px;
    --gutter: 24px;
    --header-h: 84px;
    --section-y: clamp(64px, 8vw, 104px);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.22; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-weight: 700; }
h2 { font-weight: 600; }
h3 { font-weight: 500; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(215, 25, 32, .55); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 1000;
    background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--light); }
.section--tight { padding-block: calc(var(--section-y) * .7); }
.dot { color: var(--red); }
.text-red { color: var(--red); }

.icon { width: 24px; height: 24px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 12px 24px;
    border-radius: var(--radius); border: 1.5px solid transparent;
    font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none;
    cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn__icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.text-link {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy);
    text-decoration: none; border-bottom: 1.5px solid var(--red); padding-bottom: 2px;
}
.text-link .icon { width: 18px; height: 18px; color: var(--red); transition: transform .2s var(--ease); }
.text-link:hover { color: var(--red); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Section headings ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--navy);
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--red); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 32px; height: 2px; background: var(--red); }
.section-title { font-size: clamp(28px, 3.3vw, 40px); font-weight: 600; margin-bottom: 0; }
.section-intro { margin-top: 16px; font-size: 17px; color: var(--muted); }
.lead { font-size: 18px; color: var(--text); }

/* ---------- Photos & placeholder labels ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--light); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-tag {
    position: absolute; left: 12px; bottom: 12px;
    background: rgba(6, 27, 55, .78); color: #fff;
    font-size: 11px; font-weight: 500; letter-spacing: .02em; line-height: 1.3;
    padding: 5px 9px; border-radius: 4px; pointer-events: none;
}

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--navy); color: var(--on-navy); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar__links { display: flex; gap: 28px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--on-navy); text-decoration: none; white-space: nowrap; }
.topbar__item .icon { width: 15px; height: 15px; color: #fff; }
a.topbar__item:hover { color: #fff; }
.topbar__address span { overflow: hidden; text-overflow: ellipsis; }

.site-header {
    position: sticky; top: 0; z-index: 100; background: #fff;
    border-bottom: 1px solid var(--border);
    transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(9, 38, 75, .08); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 54px; width: auto; }

.site-nav { flex: 1; display: flex; justify-content: center; }
.nav { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__row { display: flex; align-items: center; }
.nav__link {
    position: relative; display: block; padding: 10px 12px;
    font-size: 15px; font-weight: 500; color: var(--navy); text-decoration: none; white-space: nowrap;
}
.nav__link::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
    background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--red); }
.nav__item.is-active > .nav__link::after,
.nav__item.is-active > .nav__row > .nav__link::after { transform: scaleX(1); }
.has-sub .nav__link { padding-right: 2px; }
.nav__sub-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 32px; padding: 0; border: 0; background: none; color: var(--navy); cursor: pointer;
}
.nav__sub-toggle .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.has-sub.is-open .nav__sub-toggle .icon { transform: rotate(180deg); }

.subnav {
    list-style: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-md); padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.subnav a {
    display: block; padding: 9px 12px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 500; color: var(--navy); text-decoration: none;
}
.subnav a:hover, .subnav a:focus-visible { background: var(--light); color: var(--red); }
.subnav a[aria-current="page"] { color: var(--red); }
.nav__item--mobile-only, .site-nav__mobile-contact { display: none; }

.header-cta { flex: none; min-height: 46px; padding: 10px 20px; }

.nav-toggle {
    display: none; margin-left: auto; width: 46px; height: 46px; padding: 0;
    align-items: center; justify-content: center;
    border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--navy); cursor: pointer;
}
.nav-toggle__open { display: inline-flex; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

@media (min-width: 1181px) {
    .has-sub:hover > .subnav,
    .has-sub:focus-within > .subnav,
    .has-sub.is-open > .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
}

@media (max-width: 1280px) {
    .nav__link { padding-inline: 9px; font-size: 14.5px; }
    .nav__link::after { left: 9px; right: 9px; }
    .brand img { height: 48px; }
}

@media (max-width: 1180px) {
    :root { --header-h: 74px; }
    .nav-toggle { display: inline-flex; }
    .header-cta { order: 2; }
    .nav-toggle { order: 3; margin-left: 0; }
    .brand { margin-right: auto; }
    .site-nav {
        position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0;
        display: block; background: #fff; overflow-y: auto; overscroll-behavior: contain;
        border-top: 1px solid var(--border); padding: 12px var(--gutter) 32px;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    }
    .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__item { border-bottom: 1px solid var(--border); }
    .nav__row { justify-content: space-between; }
    .nav__link { padding: 15px 4px; font-size: 16px; }
    .nav__link::after { display: none; }
    .nav__item.is-active > .nav__link,
    .nav__item.is-active > .nav__row > .nav__link { color: var(--red); }
    .nav__sub-toggle { width: 44px; height: 44px; border-left: 1px solid var(--border); }
    .subnav {
        position: static; display: none; min-width: 0; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0; border-radius: 0; padding: 0 0 10px 12px; background: transparent;
    }
    .subnav::before { display: none; }
    .has-sub.is-open > .subnav { display: block; }
    .subnav a { padding: 10px 12px; border-left: 2px solid var(--border); border-radius: 0; }
    .nav__item--mobile-only { display: block; }
    .site-nav__mobile-contact { display: grid; gap: 12px; margin-top: 24px; font-size: 14px; }
    .site-nav__mobile-contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
    .site-nav__mobile-contact .icon { width: 18px; height: 18px; color: var(--red); }
    body.nav-open { overflow: hidden; }
}
@media (max-width: 1024px) { .topbar__address { display: none; } .topbar__inner { justify-content: flex-end; } }
@media (max-width: 640px) {
    .topbar { display: none; }
    .header-cta { display: none; }
    .brand img { height: 42px; }
}

/* ==========================================================================
   Home — hero
   ========================================================================== */
.hero { background: linear-gradient(180deg, #fff 0%, var(--light) 100%); overflow: hidden; }
.hero__grid {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center; gap: clamp(32px, 5vw, 72px);
    padding-block: clamp(48px, 7vw, 96px);
}
.hero__title { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.12; margin-bottom: 20px; letter-spacing: -.02em; }
.hero__tagline {
    font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; color: var(--navy);
    padding-left: 16px; border-left: 3px solid var(--red); margin-bottom: 18px; line-height: 1.4;
}
.hero__sub { font-size: 18px; color: var(--muted); max-width: 520px; }
.hero__media { aspect-ratio: 5 / 6; max-height: 620px; box-shadow: var(--shadow-md); }
.hero__media img { object-position: 60% 30%; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.split .section-head { margin-bottom: 24px; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.service-card {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.service-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--light); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.03); }
.service-card__body { padding: 22px 24px 26px; flex: 1; }
.service-card__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.service-card__title { font-size: 18px; font-weight: 600; margin: 0; line-height: 1.3; }
.service-card__title a { color: var(--navy); text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; }
.service-card { position: relative; }
.service-card__title a:hover { color: var(--red); }
.service-card p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.service-card__arrow {
    display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
    border-radius: 50%; border: 1.5px solid var(--red); color: var(--red); margin-top: 2px;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}
.service-card__arrow .icon { width: 16px; height: 16px; }
.service-card:hover .service-card__arrow { background: var(--red); color: #fff; }
.icon-box {
    display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
    border-radius: var(--radius); background: var(--light); color: var(--navy); border: 1px solid var(--border);
}
.icon-box .icon { width: 26px; height: 26px; }
.section-foot { margin-top: 44px; text-align: center; }

/* ---------- Why choose (navy) ---------- */
.why { background: var(--navy); color: var(--on-navy); }
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.why .eyebrow, .why .section-title { color: #fff; }
.why .section-intro { color: var(--on-navy); }
.why .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.why__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .14); border-left: 1px solid rgba(255, 255, 255, .14); }
.why__item { padding: 28px 24px; border-right: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.why__icon {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 18px;
    border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .22); color: #fff; position: relative;
}
.why__icon::after { content: ""; position: absolute; left: -1px; bottom: -1px; width: 16px; height: 2px; background: var(--red); }
.why__num { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--grey); margin-bottom: 6px; }
.why__title { color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.why__item p { font-size: 14.5px; line-height: 1.65; }

/* ---------- Practice areas (home: image + numbered list) ---------- */
.practice { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.practice__media { min-height: 420px; height: 100%; box-shadow: var(--shadow-sm); }
.practice .section-head { margin-bottom: 28px; }

.num-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.num-list__item {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start;
    padding: 22px 0; border-bottom: 1px solid var(--border);
}
.num-list__num {
    font-size: 26px; font-weight: 700; color: var(--red); line-height: 1; min-width: 44px;
    padding-right: 16px; border-right: 1px solid var(--border-strong); padding-block: 4px 6px;
}
.num-list__title { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.num-list__item p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.num-list--single { grid-template-columns: minmax(0, 1fr); }
.num-list--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Process ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.process__step { position: relative; padding-inline: 14px; text-align: left; }
.process__marker { position: relative; display: flex; align-items: center; margin-bottom: 24px; }
.process__step:not(:last-child) .process__marker::after {
    content: ""; position: absolute; left: 88px; right: -14px; top: 50%; height: 1px;
    background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
}
.process__step:not(:last-child) .process__marker::before {
    content: ""; position: absolute; right: -18px; top: calc(50% - 4px); width: 8px; height: 8px;
    border-radius: 50%; background: var(--red); z-index: 1;
}
.process__icon {
    display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px;
    border-radius: 50%; background: var(--light); border: 1px solid var(--border); color: var(--navy);
}
.section--alt .process__icon { background: #fff; }
.process__icon .icon { width: 30px; height: 30px; }
.process__num { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.process__title { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.process__body p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* Detailed (vertical) process on How We Work page */
.process--detailed { grid-template-columns: minmax(0, 1fr); max-width: 880px; }
.process--detailed .process__step { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 28px; padding: 0 0 44px; }
.process--detailed .process__marker { margin: 0; flex-direction: column; height: 100%; }
.process--detailed .process__step:not(:last-child) .process__marker::after {
    left: 50%; right: auto; top: 84px; bottom: -36px; width: 1px; height: auto;
    background: repeating-linear-gradient(180deg, var(--border-strong) 0 6px, transparent 6px 12px);
}
.process--detailed .process__step:not(:last-child) .process__marker::before { display: none; }
.process--detailed .process__title { font-size: 21px; }
.process--detailed .process__body { padding-top: 10px; }
.process--detailed .process__body p { font-size: 16px; color: var(--text); }

/* ---------- Team + FAQ preview ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); }
.duo__team { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-content: start; padding-right: clamp(0px, 3vw, 56px); border-right: 1px solid var(--border); }
.duo__team .section-head, .duo__faq .section-head { margin-bottom: 20px; }
.duo__team .photo { aspect-ratio: 16 / 8; order: -1; }
.duo__team .section-title, .duo__faq .section-title { font-size: clamp(26px, 2.6vw, 34px); }
.duo__faq .text-link { margin-top: 24px; }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 12px; }
.accordion__item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.accordion__item.is-open { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.accordion__heading { margin: 0; font-size: inherit; }
.accordion__trigger {
    display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 20px;
    background: none; border: 0; text-align: left; cursor: pointer;
    font-size: 16px; font-weight: 500; color: var(--navy); line-height: 1.45;
}
.accordion__trigger:hover .accordion__q { color: var(--red); }
.accordion__num { font-size: 13px; font-weight: 600; color: var(--red); letter-spacing: .06em; min-width: 24px; }
.accordion__q { flex: 1; transition: color .2s var(--ease); }
.accordion__sign { position: relative; width: 22px; height: 22px; flex: none; }
.accordion__sign::before, .accordion__sign::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px;
    background: var(--red); border-radius: 2px; transition: transform .25s var(--ease);
}
.accordion__sign::after { transform: rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__sign::after { transform: rotate(0deg); }
.accordion__panel { overflow: hidden; transition: height .25s var(--ease); }
.accordion__content { padding: 0 20px 20px; color: var(--text); font-size: 15px; }
.accordion--numbered .accordion__content { padding-left: 60px; }

/* ==========================================================================
   CTA banner (split) & footer
   ========================================================================== */
.cta-banner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--navy); min-height: 340px; }
.cta-banner__media { position: relative; background: var(--red); clip-path: polygon(0 0, 100% 0, calc(100% - 72px) 100%, 0 100%); }
.cta-banner__media img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    clip-path: polygon(0 0, calc(100% - 12px) 0, calc(100% - 84px) 100%, 0 100%);
}
.cta-banner__panel { display: flex; align-items: center; padding: clamp(40px, 5vw, 64px) var(--gutter) clamp(40px, 5vw, 64px) clamp(24px, 3vw, 40px); }
.cta-banner__inner { max-width: 640px; }
.cta-banner__title { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 600; margin-bottom: 14px; }
.cta-banner__text { color: var(--on-navy); font-size: 17px; }
.cta-banner .btn-row { margin-top: 28px; }
.cta-banner__contact { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 24px; }
.cta-banner__contact a { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 500; }
.cta-banner__contact .icon { color: var(--red); width: 20px; height: 20px; }

.site-footer { background: var(--navy-deep); color: var(--on-navy); font-size: 14.5px; padding-top: 64px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .85fr .75fr 1.5fr 1.45fr; gap: 0; }
.footer-col { padding-inline: 24px; border-left: 1px solid rgba(255, 255, 255, .1); }
.footer-links a { white-space: nowrap; }
.footer-col:first-child { padding-left: 0; border-left: 0; }
.footer-col:last-child { padding-right: 0; }
.footer-logo img { width: 210px; height: auto; margin-bottom: 18px; }
.footer-title { position: relative; color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 22px; padding-bottom: 10px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--red); }
.footer-links { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--red); margin-top: 3px; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-col--disclaimer p { font-size: 13px; line-height: 1.7; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    margin-top: 48px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px;
}
.footer-bottom ul { list-style: none; display: flex; gap: 12px; }
.footer-bottom li + li::before { content: "|"; margin-right: 12px; color: rgba(255, 255, 255, .3); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { background: var(--light); border-bottom: 1px solid var(--border); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); padding-block: clamp(48px, 6vw, 84px); }
.page-hero--media .page-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero__text { max-width: 760px; }
.page-hero__title { font-size: clamp(32px, 4vw, 50px); margin-bottom: 18px; letter-spacing: -.02em; }
.page-hero__subtitle { font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; color: var(--navy); line-height: 1.45; }
.page-hero__lead { font-size: 18px; color: var(--muted); }
.page-hero__media { aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }
.page-hero .btn-row { margin-top: 28px; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; margin-bottom: 22px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; color: var(--border-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 500; }

.prose { max-width: 760px; }
.prose p { font-size: 16.5px; }
.prose h2 { font-size: 24px; margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--red); }

/* About */
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.mv__card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--border); background: #fff; }
.mv__card--navy { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.mv__card--navy .h3-like, .mv__card--navy .mv__label { color: #fff; }
.mv__label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.mv__label::before { content: ""; width: 24px; height: 2px; background: var(--red); }
.mv__card .h3-like { font-size: 22px; font-weight: 600; margin-bottom: 12px; }

.values { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.values__item { padding: 28px 22px 8px 0; }
.values__item + .values__item { padding-left: 22px; border-left: 1px solid var(--border); }
.values__item .icon { color: var(--red); width: 28px; height: 28px; margin-bottom: 14px; }
.values__item h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.values__item p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

.approach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

/* Services page */
.service-index { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.service-index a {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px;
    border: 1px solid var(--border); background: #fff; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--navy);
}
.service-index a .icon { width: 18px; height: 18px; color: var(--red); }
.service-index a:hover { border-color: var(--navy); color: var(--navy); }

.service-detail { padding-block: clamp(56px, 7vw, 88px); border-top: 1px solid var(--border); }
.service-detail:nth-of-type(even) { background: var(--light); }
.service-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.service-detail:nth-of-type(even) .service-detail__grid > .service-detail__media { order: 2; }
.service-detail__media { aspect-ratio: 16 / 9; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 32px); }
.service-detail__kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.service-detail__kicker .icon-box { width: 48px; height: 48px; }
.service-detail__num { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.service-detail__name { display: block; font-size: 15px; font-weight: 500; color: var(--navy); letter-spacing: 0; text-transform: none; }
.service-detail h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 18px; }
.service-detail__lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.service-detail__lists--one { grid-template-columns: minmax(0, 1fr); }
.list-title { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.check-list { list-style: none; display: grid; gap: 9px; }
.check-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.55; }
.check-list .icon { width: 18px; height: 18px; color: var(--red); margin-top: 2px; }
.check-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.note {
    display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; margin-top: 28px;
    padding: 16px 18px; border-left: 3px solid var(--navy); background: rgba(9, 38, 75, .04);
    border-radius: 0 var(--radius) var(--radius) 0; font-size: 14.5px;
}
.note .icon { width: 20px; height: 20px; color: var(--navy); margin-top: 2px; }
.service-detail .btn-row { margin-top: 28px; }

/* Practice areas page */
.areas { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.areas__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.areas__item:nth-child(-n+2) { border-top: 1px solid var(--border); }
.areas__num { font-size: 34px; font-weight: 700; color: var(--red); line-height: 1; }
.areas__item h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.areas__item p { color: var(--muted); }

/* Team page */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.profile { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.profile__photo { position: relative; aspect-ratio: 4 / 3.4; background: var(--light); display: flex; align-items: center; justify-content: center; color: var(--border-strong); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__photo > .icon { width: 72px; height: 72px; stroke-width: 1.25; }
.profile__body { padding: 22px 22px 26px; }
.profile__name { font-size: 19px; font-weight: 600; margin-bottom: 2px; }
.profile__qual { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.profile__spec { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.profile__exp { font-size: 14.5px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.profile__bio { font-size: 14.5px; color: var(--muted); }
.profile--placeholder .profile__name, .profile--placeholder .profile__qual,
.profile--placeholder .profile__exp, .profile--placeholder .profile__bio { color: var(--grey); }
.notice {
    display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 16px 18px; margin-bottom: 32px;
    border: 1px dashed var(--border-strong); border-radius: var(--radius); background: #fff; font-size: 14.5px; color: var(--muted);
}
.notice .icon { width: 20px; height: 20px; color: var(--navy); margin-top: 2px; }

/* Turnaround */
.turnaround { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.turnaround__stat { display: flex; align-items: center; gap: 22px; padding: 32px; border-radius: var(--radius-lg); background: var(--navy); color: var(--on-navy); }
.turnaround__stat .icon { width: 48px; height: 48px; color: #fff; stroke-width: 1.5; }
.turnaround__value { display: block; font-size: clamp(34px, 4vw, 46px); font-weight: 700; color: #fff; line-height: 1.1; }
.turnaround__label { font-size: 15px; }

/* FAQ page */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.aside-card { padding: 28px; border-radius: var(--radius-lg); background: var(--navy); color: var(--on-navy); }
.aside-card h2 { color: #fff; font-size: 21px; }
.aside-card .btn { margin-top: 20px; width: 100%; }
.aside-card__contact { display: grid; gap: 10px; margin-top: 20px; font-size: 14.5px; }
.aside-card__contact a { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.aside-card__contact .icon { width: 18px; height: 18px; color: var(--red); flex: none; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--border); }
.contact-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-list .icon-box { width: 52px; height: 52px; }
.contact-list .icon-box .icon { color: var(--red); width: 22px; height: 22px; }
.contact-list__label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-list a, .contact-list address { color: var(--navy); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--red); }

.form-card { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: clamp(24px, 2.4vw, 30px); }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--navy); }
.field .req { color: var(--red); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 15px; color: var(--text);
    padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: #fff;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2309264B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(9, 38, 75, .12); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__error { font-size: 13px; color: var(--red); min-height: 0; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 420px; }
.form-status { margin-top: 20px; padding: 14px 16px; border-radius: var(--radius); font-size: 15px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.form-status[hidden] { display: none; }
.form-status .icon { width: 20px; height: 20px; margin-top: 2px; }
.form-status--success { background: rgba(9, 38, 75, .06); border: 1px solid rgba(9, 38, 75, .2); color: var(--navy); }
.form-status--error { background: rgba(215, 25, 32, .06); border: 1px solid rgba(215, 25, 32, .3); color: #8E1015; }
.btn[disabled] { opacity: .65; cursor: progress; }

.draft-note { margin-bottom: 32px; }

/* 404 */
.not-found { text-align: center; max-width: 620px; margin-inline: auto; }
.not-found .btn-row { justify-content: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .why__grid { grid-template-columns: minmax(0, 1fr); }
    .why .section-head { position: static; margin-bottom: 40px; }
    .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
    .process__step:nth-child(3) .process__marker::after, .process__step:nth-child(3) .process__marker::before { display: none; }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
    .footer-col:nth-child(4) { padding-left: 0; border-left: 0; }
    .footer-col--brand { grid-column: 1 / -1; padding-right: 0; }
    .footer-col--brand p { max-width: 520px; }
    .footer-col:nth-child(2) { padding-left: 0; border-left: 0; }
    .footer-col--disclaimer { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
    .footer-col--disclaimer p { max-width: 760px; }
    .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .values__item:nth-child(4) { padding-left: 0; border-left: 0; }
    .duo { grid-template-columns: minmax(0, 1fr); }
    .duo__team { border-right: 0; padding-right: 0; padding-bottom: 48px; border-bottom: 1px solid var(--border-strong); }
}

@media (max-width: 960px) {
    .hero__grid, .split, .practice, .page-hero--media .page-hero__grid, .approach,
    .service-detail__grid, .turnaround, .faq-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
    .split--reverse > :first-child { order: 0; }
    .hero__media { aspect-ratio: 4 / 3; max-height: none; }
    .practice__media { min-height: 0; aspect-ratio: 16 / 10; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-detail__media { position: static; }
    .service-detail:nth-of-type(even) .service-detail__grid > .service-detail__media { order: 0; }
    .faq-aside { position: static; }
    .cta-banner { grid-template-columns: minmax(0, 1fr); }
    .cta-banner__media { min-height: 220px; clip-path: none; }
    .cta-banner__media img { clip-path: none; }
    .cta-banner__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); }
    .cta-banner__panel { padding-left: var(--gutter); }
    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .areas { grid-template-columns: minmax(0, 1fr); }
    .areas__item:nth-child(2) { border-top: 0; }
    .num-list--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .process { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
    .process__step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 0 0 32px; }
    .process__marker { margin: 0; flex-direction: column; height: 100%; }
    .process__icon { width: 64px; height: 64px; }
    .process__icon .icon { width: 26px; height: 26px; }
    .process__step .process__marker::before { display: none !important; }
    .process__step:not(:last-child) .process__marker::after {
        display: block !important; left: 50%; right: auto; top: 72px; bottom: -24px; width: 1px; height: auto;
        background: repeating-linear-gradient(180deg, var(--border-strong) 0 6px, transparent 6px 12px);
    }
    .process--detailed .process__step { grid-template-columns: 64px minmax(0, 1fr); gap: 20px; }
    .process--detailed .process__step:not(:last-child) .process__marker::after { top: 72px; }
    .process__body { padding-top: 6px; }
    .duo__team { grid-template-columns: minmax(0, 1fr); }
    .duo__team .photo { aspect-ratio: 16 / 10; }
    .mv { grid-template-columns: minmax(0, 1fr); }
    .service-detail__lists, .check-list--cols { grid-template-columns: minmax(0, 1fr); }
    .values { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .values__item:nth-child(n) { padding-left: 0; border-left: 0; padding-right: 16px; }
    .values__item:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--border); }
}

@media (max-width: 640px) {
    :root { --gutter: 20px; }
    .service-grid, .why__list, .num-list, .num-list--three, .team-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-col, .footer-col:nth-child(n) { padding-inline: 0; border-left: 0; }
    .footer-col--disclaimer { grid-column: auto; }
    .btn-row .btn { width: 100%; }
    .hero__title { font-size: 34px; }
    .accordion--numbered .accordion__content { padding-left: 20px; }
    .footer-bottom { flex-direction: column; }
    .values { grid-template-columns: minmax(0, 1fr); }
    .values__item:nth-child(even) { padding-left: 0; border-left: 0; }
    .areas__item { grid-template-columns: 48px minmax(0, 1fr); }
    .areas__num { font-size: 28px; }
}

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

@media print {
    .topbar, .site-header, .cta-banner, .site-footer { display: none; }
}
