/* ==========================================================================
   PILOT Law Co. — site styles
   Hand-written, token-driven, no framework.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/inter-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Libre Baskerville";
    src: url("/assets/fonts/libre-baskerville-latin.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
    --navy-950: #0b1725;
    --navy-900: #0f2033;
    --navy-800: #16293e;
    --navy-700: #1e344b;
    --gold: #e3a008;
    --gold-strong: #c98a00;
    --gold-ink: #8a5a00;
    --gold-soft: #fbf0d7;
    --ink: #101b29;
    --body: #46536a;
    --muted: #657083;
    --line: #e3e7ed;
    --line-strong: #d3d9e2;
    --paper: #ffffff;
    --paper-2: #f7f8fa;
    --paper-3: #eef1f5;
    --danger: #b42318;
    --success: #067647;

    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;

    --container: 1180px;
    --gutter: clamp(20px, 4vw, 40px);
    --section: clamp(64px, 8vw, 108px);
    --radius: 4px;
    --radius-lg: 8px;
    --shadow-sm: 0 1px 2px rgba(16, 27, 41, .06);
    --shadow-md: 0 18px 40px -22px rgba(16, 27, 41, .35);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--body);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main { flex: 1 0 auto; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5em;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.01em;
}

h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em; }
h3, h4, h5, h6 { font-family: var(--font-body); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-strong); }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

strong { color: var(--ink); font-weight: 600; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

::selection { background: var(--gold); color: var(--navy-950); }

/* ---------- Utilities ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow { max-width: 800px; }

.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;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--gold);
    color: var(--navy-950);
    font-weight: 600;
    border-radius: var(--radius);
}

.skip-link:focus { top: 12px; }

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

.icon--flip { transform: rotate(180deg); }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.eyebrow .icon { width: 16px; height: 16px; }
.eyebrow--light { color: var(--gold); }

.lead {
    font-size: clamp(1.02rem, 1.4vw, 1.15rem);
    line-height: 1.7;
    color: var(--body);
    max-width: 62ch;
}

.muted { color: var(--muted); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
    transition: gap .2s var(--ease), color .2s var(--ease);
}

.text-link .icon { width: 16px; height: 16px; color: var(--gold-strong); }
.text-link:hover { gap: 12px; color: var(--gold-strong); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.btn .icon { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }

.btn--gold { background: var(--gold); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-strong); color: var(--navy-950); }

.btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .7); color: #fff; }

.btn--lg { padding: 15px 26px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--navy-950);
    color: rgba(255, 255, 255, .68);
    font-size: 12.5px;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 38px;
}

.topbar__contact,
.topbar__meta {
    display: flex;
    align-items: center;
    gap: 22px;
}

.topbar a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .82);
}

.topbar a:hover { color: var(--gold); }
.topbar .icon { width: 14px; height: 14px; color: var(--gold); }

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 500;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s var(--ease);
}

.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(16, 27, 41, .5); }

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 76px;
}

.brand { flex: none; }
.brand img { width: auto; height: 42px; }

.site-nav { margin-left: auto; }

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-nav__link {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    font-size: 14.5px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--ink);
}

.site-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s var(--ease);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after { transform: scaleX(1); }
.site-nav__link.is-active { color: var(--ink); }

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.header-phone .icon { width: 16px; height: 16px; color: var(--gold-strong); }

.nav-toggle {
    display: none;
    margin-left: auto;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.site-nav__mobile-extra { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: min(86vh, 760px);
    background: var(--navy-900);
    color: #fff;
    overflow: hidden;
}

.hero__media { position: absolute; inset: 0; }

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 20, 33, .97) 0%, rgba(9, 20, 33, .92) 38%, rgba(9, 20, 33, .64) 70%, rgba(9, 20, 33, .44) 100%),
        linear-gradient(0deg, rgba(9, 20, 33, .94) 0%, rgba(9, 20, 33, .2) 48%, rgba(9, 20, 33, 0) 72%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    padding-block: clamp(84px, 13vh, 150px) 44px;
}

.hero__title {
    max-width: 17ch;
    margin-bottom: 22px;
    font-size: clamp(2.15rem, 4.9vw, 3.9rem);
    line-height: 1.08;
    color: #fff;
    letter-spacing: -.025em;
}

.hero__lead {
    max-width: 56ch;
    margin-bottom: 30px;
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, .8);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.hero__note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .62);
}

.hero__note .icon { width: 15px; height: 15px; color: var(--gold); }

.hero__badges {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, .14);
    background: rgba(9, 20, 33, .45);
    padding-block: 22px;
}

.badges {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.badge {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .82);
}

.badge__icon { color: var(--gold); }
.badge__icon .icon { width: 20px; height: 20px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--muted { background: var(--paper-2); }
.section--stats { padding-block: clamp(40px, 5vw, 64px); background: var(--navy-900); }
.section--stats-tight { background: var(--paper-2); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--narrow { max-width: 640px; }

.section-head h2 {
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
}

.section-title {
    margin-bottom: 28px;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.section-foot { margin-top: 36px; }

/* ---------- Split layouts ---------- */
.split {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: clamp(32px, 6vw, 84px);
    align-items: start;
}

.split__aside--sticky { position: sticky; top: 108px; }
.split__main h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); }

.pullquote {
    position: relative;
    margin: 0 0 30px;
    padding-left: 26px;
    border-left: 2px solid var(--gold);
}

.pullquote p {
    font-family: var(--font-display);
    font-size: clamp(1.32rem, 2.2vw, 1.78rem);
    line-height: 1.5;
    color: var(--ink);
}

.pullquote cite {
    display: block;
    margin-top: 14px;
    font-family: var(--font-body);
    font-size: 12px;
    font-style: normal;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Tabs ---------- */
.tabs__list {
    display: flex;
    gap: 8px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
}

.tabs__tab {
    position: relative;
    padding: 12px 4px 14px;
    margin-right: 26px;
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: color .2s var(--ease), border-color .2s var(--ease);
}

.tabs__tab:hover { color: var(--ink); }
.tabs__tab.is-active { color: var(--ink); border-bottom-color: var(--gold); }

.tabs__panel { padding-top: 4px; }
.tabs__panel h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); margin-bottom: 14px; }
.tabs__panel p { margin-bottom: 14px; }

.tabs.is-ready .tabs__panel { display: none; }
.tabs.is-ready .tabs__panel.is-active { display: block; }

/* ---------- Expertise ---------- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.expertise-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding: 24px 22px 26px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}

.expertise-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    color: inherit;
}

.expertise-card__icon { color: var(--gold-strong); margin-bottom: 6px; }
.expertise-card__icon .icon { width: 26px; height: 26px; }

.expertise-card__title {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
}

.expertise-card__text {
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
}

.expertise-card__more {
    position: absolute;
    top: 18px;
    right: 18px;
    color: var(--gold-strong);
    opacity: 0;
    transform: translate(-4px, 4px);
    transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.expertise-card__more .icon { width: 16px; height: 16px; }
.expertise-card:hover .expertise-card__more { opacity: 1; transform: translate(0, 0); }

/* ---------- CTA band ---------- */
.cta-band {
    padding-block: clamp(48px, 6vw, 72px);
    background: var(--navy-900);
    color: #fff;
}

.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-band h2 {
    max-width: 30ch;
    margin-bottom: 10px;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    color: #fff;
}

.cta-band p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 15px; }

.cta-band__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    flex: none;
}

.cta-band__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
}

.cta-band__phone .icon { width: 16px; height: 16px; color: var(--gold); }

/* ---------- Stats ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.stat {
    padding: 6px 26px;
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.stat:first-child { border-left: 0; padding-left: 0; }

.section--stats-tight .stat { border-left-color: var(--line); }

.stat__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    line-height: 1.1;
    color: var(--gold);
    margin-bottom: 6px;
}

.section--stats-tight .stat__value { color: var(--gold-ink); }

.stat__label {
    display: block;
    font-size: 12.5px;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .66);
}

.section--stats-tight .stat__label { color: var(--muted); }

/* ---------- Principles ---------- */
.principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(40px, 6vw, 80px);
}

.principle {
    padding: 30px 0;
    border-top: 1px solid var(--line);
}

.principle__number {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    color: var(--gold-ink);
}

.principle h3 { font-size: 1.12rem; margin-bottom: 8px; }
.principle p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Callback ---------- */
.section--callback { background: var(--paper-2); }

.callback-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(32px, 5vw, 64px);
    padding: clamp(28px, 5vw, 64px);
    background: var(--navy-900);
    border-radius: var(--radius-lg);
    color: #fff;
}

.callback-panel__copy h2 {
    max-width: 24ch;
    margin-bottom: 16px;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    color: #fff;
}

.callback-panel__copy > p { color: rgba(255, 255, 255, .74); max-width: 44ch; }

.callback-panel__assurance {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.callback-panel__assurance li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .8);
}

.callback-panel__assurance .icon { width: 17px; height: 17px; color: var(--gold); }

.callback-panel__form-wrap { align-self: center; }

.callback-card {
    padding: clamp(22px, 3vw, 30px);
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    color: var(--body);
}

.callback-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.callback-card .btn { margin-top: 18px; }
.callback-card--success { text-align: center; padding-block: 40px; }
.callback-card--success .form-card__icon { margin-inline: auto; }

.form-note { margin-top: 12px; font-size: 12px; color: var(--muted); }

/* ---------- Benefits ---------- */
.benefit-list { border-top: 1px solid var(--line); }

.benefit {
    display: flex;
    gap: 18px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.benefit__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--gold-strong);
}

.benefit__icon .icon { width: 17px; height: 17px; }

.benefit h3 { font-size: 1.02rem; margin-bottom: 5px; }
.benefit p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Clients ---------- */
.client-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.client {
    display: grid;
    place-items: center;
    min-height: 108px;
    padding: 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.client img {
    max-width: 100%;
    max-height: 58px;
    width: auto;
    filter: grayscale(1);
    opacity: .62;
    transition: filter .25s var(--ease), opacity .25s var(--ease);
}

.client:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- Page hero ---------- */
.page-hero {
    padding-block: clamp(56px, 7vw, 92px) clamp(44px, 5vw, 64px);
    background: var(--navy-900);
    color: #fff;
}

.page-hero--compact { padding-block: clamp(44px, 5vw, 64px); }

.page-hero__inner { max-width: 880px; }

.page-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(1.95rem, 4.1vw, 3.15rem);
    line-height: 1.12;
    color: #fff;
}

.page-hero__lead {
    max-width: 58ch;
    margin: 0;
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    color: rgba(255, 255, 255, .75);
}

.page-hero__meta { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .55); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
    padding: 0 0 22px;
    font-size: 12px;
    color: var(--muted);
}

.page-hero .breadcrumbs { padding: 0 0 20px; color: rgba(255, 255, 255, .52); }
.page-hero .breadcrumbs a { color: rgba(255, 255, 255, .72); }
.page-hero .breadcrumbs a:hover { color: var(--gold); }
.page-hero .breadcrumbs li + li::before { color: rgba(255, 255, 255, .28); }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 6px;
    color: var(--line-strong);
}

.breadcrumbs a:hover { color: var(--gold-strong); }

/* ---------- About ---------- */
.about-copy { font-size: 15.5px; line-height: 1.75; }

.about-media img {
    width: 100%;
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about-blocks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.about-block {
    padding: clamp(24px, 3vw, 34px);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.about-block__icon { color: var(--gold-strong); }
.about-block__icon .icon { width: 26px; height: 26px; margin-bottom: 16px; }
.about-block h2 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.about-block p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Services / practice ---------- */
.practice-list { border-top: 1px solid var(--line); }

.practice {
    display: grid;
    grid-template-columns: 44px 52px minmax(0, 1fr) 44px;
    gap: clamp(14px, 2.4vw, 28px);
    align-items: start;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 100px;
}

.practice__index {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--muted);
    padding-top: 5px;
}

.practice__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: var(--radius);
    background: var(--paper-2);
    color: var(--gold-strong);
}

.practice__icon .icon { width: 23px; height: 23px; }

.practice__body h2 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.practice__body p { margin: 0; font-size: 14.5px; color: var(--muted); max-width: 76ch; }

.practice__cta {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.practice__cta .icon { width: 16px; height: 16px; }
.practice__cta:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }

.process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.process__step {
    padding-top: 22px;
    border-top: 2px solid var(--gold);
}

.process__number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold-ink);
    margin-bottom: 10px;
}

.process__step h3 { font-size: 1rem; margin-bottom: 6px; }
.process__step p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- CTA panel ---------- */
.section--cta { background: var(--paper-2); }

.cta-panel {
    max-width: 720px;
    text-align: center;
}

.cta-panel h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 12px; }
.cta-panel p { color: var(--muted); margin-bottom: 24px; }
.cta-panel .btn { margin-top: 8px; }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(36px, 6vw, 76px);
    align-items: start;
}

.contact-details h2 { font-family: var(--font-body); font-size: 1.2rem; margin-bottom: 26px; }

.contact-list { display: grid; gap: 22px; }

.contact-list li { display: flex; gap: 14px; align-items: flex-start; }

.contact-list__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--paper-2);
    color: var(--gold-strong);
}

.contact-list__icon .icon { width: 18px; height: 18px; }

.contact-list__label {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-list a { font-weight: 500; color: var(--ink); }
.contact-list a:hover { color: var(--gold-strong); }
.contact-list__note { display: block; font-size: 12.5px; color: var(--muted); }
.contact-list .text-link { margin-top: 8px; font-size: 13px; }

.contact-wa {
    margin-top: 34px;
    padding: 24px;
    background: var(--paper-2);
    border-left: 3px solid var(--gold);
}

.contact-wa h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-wa p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }

.location-card {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 32px;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.location-card__copy { padding: clamp(26px, 4vw, 44px); }
.location-card address { font-style: normal; margin-bottom: 14px; color: var(--ink); }
.location-card .btn { margin-top: 8px; }

.location-card__mark {
    display: grid;
    place-content: center;
    gap: 10px;
    text-align: center;
    background: var(--navy-900);
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    padding: 28px;
}

.location-card__mark span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-inline: auto;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    color: var(--gold);
}

.location-card__mark .icon { width: 24px; height: 24px; }
.location-card__mark p { margin: 0; line-height: 1.5; }

/* ---------- Forms ---------- */
.form-card {
    padding: clamp(24px, 3.6vw, 36px);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.form-card__head { margin-bottom: 22px; }
.form-card__head h2 { font-family: var(--font-body); font-size: 1.25rem; margin-bottom: 4px; }
.form-card__head p { margin: 0; font-size: 13.5px; color: var(--muted); }

.form-card--success { text-align: center; padding-block: 48px; }
.form-card--success h2 { font-size: 1.4rem; margin-bottom: 8px; }
.form-card--success p { color: var(--muted); margin-bottom: 22px; }

.form-card__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--gold-strong);
}

.form-card__icon .icon { width: 24px; height: 24px; }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }

.field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.field .hint { font-weight: 400; color: var(--muted); font-size: 12px; }
.req { color: var(--gold-ink); }

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 12px 14px;
    background: var(--paper);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--ink);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field textarea { resize: vertical; min-height: 120px; }

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(227, 160, 8, .18);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: var(--danger); }

.field-error {
    margin: 0;
    font-size: 12.5px;
    color: var(--danger);
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
}

.check input {
    flex: none;
    width: 24px;
    height: 24px;
    margin-top: 0;
    accent-color: var(--gold-ink);
}

.check label { font-size: 13px; color: var(--body); line-height: 1.5; }

.alert {
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: var(--radius);
    font-size: 13.5px;
    line-height: 1.5;
}

.alert strong { display: block; margin-bottom: 2px; }
.alert--error { background: #fef3f2; border: 1px solid #fecdca; color: #912018; }

.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Articles ---------- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.post-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.post-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}

.post-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.post-card__link { display: block; height: 100%; color: inherit; }
.post-card__link:hover { color: inherit; }

.post-card__cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.post-card__body { padding: 24px; }

.post-card time {
    display: block;
    margin-bottom: 8px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.post-card h2 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.post-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.post-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

.pagination {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.pagination__link .icon { width: 16px; height: 16px; color: var(--gold-strong); }
.pagination__status { margin-left: auto; font-size: 13px; color: var(--muted); }

.empty-state {
    padding: clamp(40px, 6vw, 72px) 24px;
    text-align: center;
    background: var(--paper-2);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
}

.empty-state__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--paper);
    color: var(--gold-strong);
    border: 1px solid var(--line);
}

.empty-state__icon .icon { width: 26px; height: 26px; }
.empty-state h2 { font-size: 1.35rem; margin-bottom: 8px; }
.empty-state p { max-width: 52ch; margin: 0 auto 22px; color: var(--muted); font-size: 14.5px; }

/* ---------- Article detail ---------- */
.article__header { padding-block: clamp(40px, 5vw, 64px) 32px; }
.article__header h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 16px; }
.article__meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    font-size: 12.5px;
    letter-spacing: .04em;
    color: var(--muted);
}
.article__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--body); }

.article__cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 36px;
}

.prose { font-size: 1.02rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.4em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--gold-strong); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
    margin: 1.6em 0;
    padding: 4px 0 4px 22px;
    border-left: 2px solid var(--gold);
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--ink);
}
.prose code {
    padding: 2px 6px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 3px;
    font-size: .9em;
}
.prose pre {
    padding: 18px;
    overflow-x: auto;
    background: var(--navy-950);
    color: #e6edf6;
    border-radius: var(--radius);
    font-size: .88rem;
}
.prose img { border-radius: var(--radius); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.article__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-block: 44px 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.legal-notice {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--muted);
}

/* ---------- Team ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.team-card {
    padding: 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.team-card__photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 16px;
    background: var(--paper-2);
}

.team-card__photo--empty { display: grid; place-items: center; color: var(--line-strong); }
.team-card__photo--empty .icon { width: 42px; height: 42px; }
.team-card h2, .team-card h3 { font-family: var(--font-body); font-size: 1.05rem; margin-bottom: 2px; }
.team-card__role { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.team-card__bio { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- 404 ---------- */
.section--notfound { padding-block: clamp(72px, 12vw, 140px); }
.section--notfound h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 16px; }
.section--notfound .lead { margin-bottom: 28px; }
.section--notfound .hero__actions { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
    padding-top: clamp(48px, 6vw, 76px);
    background: var(--navy-950);
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr 1.15fr 1.3fr;
    gap: clamp(24px, 4vw, 48px);
    padding-bottom: 44px;
}

.site-footer__brand img { height: 44px; width: auto; margin-bottom: 18px; }
.site-footer__brand p { max-width: 34ch; font-size: 13.5px; line-height: 1.7; }

.socials { display: flex; gap: 8px; margin-top: 18px; }

.socials a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    color: rgba(255, 255, 255, .8);
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.socials .icon { width: 16px; height: 16px; }

.footer-title {
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
}

.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, .72); font-size: 13.5px; }
.footer-links a:hover { color: #fff; }

.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.6; }
.footer-contact .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--gold); }
.footer-contact a { color: rgba(255, 255, 255, .78); }
.footer-contact a:hover { color: #fff; }

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 12.5px;
    color: rgba(255, 255, 255, .5);
}

.site-footer__bottom p { margin: 0; }

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255, 255, 255, .62); }
.footer-legal a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .header-phone { display: none; }
    .site-nav__list { gap: 22px; }
    .site-header__inner { gap: 20px; }
}

@media (max-width: 1100px) {
    .expertise-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .client-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
    .site-footer__col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 960px) {
    .topbar__contact { display: flex; gap: 14px; }
    .topbar__contact a:last-child { display: none; }
    .topbar__inner { justify-content: space-between; gap: 12px; }
    .topbar__meta { gap: 12px; }
    .topbar__meta > span { display: none; }

    .site-header__inner { gap: 16px; min-height: 68px; }
    .brand img { height: 36px; }

    .nav-toggle { display: inline-flex; }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        margin: 0;
        padding: 8px var(--gutter) 26px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
    }

    .site-nav.is-open { display: block; }
    .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav__link { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
    .site-nav__link::after { display: none; }
    .site-nav__link.is-active { color: var(--gold-strong); }

    .site-nav__mobile-extra {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-top: 20px;
    }

    .site-nav__mobile-extra .lang-switch { font-size: 14px; color: var(--ink); }
    .site-nav__mobile-extra .btn { width: 100%; }

    .site-header__actions { display: none; }

    .hero { min-height: auto; }
    .hero__inner { padding-block: 72px 40px; }
    .hero__title { max-width: 20ch; }
    .hero__badges { padding-block: 20px; }
    .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .split,
    .contact-grid,
    .callback-panel,
    .location-card { grid-template-columns: minmax(0, 1fr); }

    .split__aside--sticky { position: static; }

    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
    .stat:nth-child(3) { border-left: 0; padding-left: 0; }
    .stat:nth-child(-n+2) { padding-bottom: 24px; }

    .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .post-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .cta-band__inner { flex-direction: column; align-items: flex-start; }

    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__col:last-child { grid-column: auto; }

    .about-media { order: -1; }
}

@media (max-width: 720px) {
    .expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .principles { grid-template-columns: minmax(0, 1fr); }
    .principles .principle:first-child { border-top: 1px solid var(--line); }
    .about-blocks { grid-template-columns: minmax(0, 1fr); }
    .post-grid, .post-grid--three { grid-template-columns: minmax(0, 1fr); }
    .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-grid { grid-template-columns: minmax(0, 1fr); }
    .practice { grid-template-columns: 34px minmax(0, 1fr) 36px; }
    .practice__icon { display: none; }
    .article__footer { flex-direction: column; align-items: flex-start; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 540px) {
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }
    .hero__title { font-size: 2.1rem; }
    .badges { grid-template-columns: minmax(0, 1fr); }
    .stats { grid-template-columns: minmax(0, 1fr); }
    .stat { border-left: 0; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
    .stat:first-child { border-top: 0; }
    .section--stats-tight .stat { border-top-color: var(--line); }
    .expertise-grid { grid-template-columns: minmax(0, 1fr); }
    .process { grid-template-columns: minmax(0, 1fr); }
    .team-grid { grid-template-columns: minmax(0, 1fr); }
    .client { min-height: 92px; }
    .client img { max-height: 46px; }
    .tabs__tab { margin-right: 18px; font-size: 13px; }
    .callback-panel { padding: 24px 20px; }
    .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
}

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