/* =========================================================
   Menuka Chhetri & Associates
   ========================================================= */

:root {
    --navy-900: #081428;
    --navy-800: #0c1d38;
    --navy-700: #13294d;
    --navy-600: #1c3866;
    --blue: #1f5ba6;
    --gold: #b8924a;
    --gold-light: #d6b878;
    --gold-pale: #f3e9d4;
    --ivory: #f8f5ef;
    --paper: #ffffff;
    --ink: #1b2333;
    --muted: #5d6677;
    --line: #e6e0d4;
    --line-dark: rgba(255, 255, 255, .12);
    --success: #2f7d55;
    --danger: #b3412f;

    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

    --radius: 4px;
    --radius-lg: 10px;
    --shadow-sm: 0 2px 10px rgba(12, 29, 56, .06);
    --shadow: 0 18px 50px -20px rgba(12, 29, 56, .28);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--navy-800); }
h1, h2, h3, h4, .stat__num, .stat__suffix, .service__num, .value__num, .frame__badge-num, .exp__list li::before { font-variant-numeric: lining-nums; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--gold); color: #fff; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; margin-top: 48px; }

.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; left: 16px; top: -60px; z-index: 1000;
    background: var(--gold); color: #fff; padding: 10px 18px; border-radius: var(--radius);
    transition: top .2s;
}
.skip-link:focus { top: 16px; }

.icon { width: 24px; height: 24px; flex-shrink: 0; }
.icon--sm { width: 16px; height: 16px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    margin: 0 0 18px;
    font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
    color: var(--gold);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-light); }

.section-title { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 22px; }
.section-title--sm { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.section-lead { font-size: 1.075rem; color: var(--muted); max-width: 640px; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .section-lead { margin: 0 auto; }
.section-head .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 30px;
    border: 1px solid transparent; border-radius: var(--radius);
    font-size: 14px; font-weight: 600; letter-spacing: .04em;
    cursor: pointer; white-space: nowrap;
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--sm { padding: 11px 20px; font-size: 13px; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #a37f3b; box-shadow: 0 12px 28px -12px rgba(184, 146, 74, .8); transform: translateY(-1px); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-600); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 14px; letter-spacing: .03em; color: var(--blue);
    border-bottom: 1px solid transparent; transition: border-color .3s, gap .3s;
}
.link-arrow:hover { border-color: currentColor; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; transition: transform .35s var(--ease); }
.site-header.is-scrolled { transform: translateY(-40px); }

.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .72); font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar__right { gap: 28px !important; }
.topbar a:hover { color: var(--gold-light); }
.topbar .icon { color: var(--gold-light); }

.navbar {
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(160%) blur(10px);
    transition: box-shadow .3s var(--ease);
}
.is-scrolled .navbar { box-shadow: var(--shadow-sm); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand img { width: 54px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--navy-800); letter-spacing: .01em; }
.brand__sub { font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.brand--light .brand__name { color: #fff; }

.primary-nav { display: flex; align-items: center; gap: 36px; }
.primary-nav ul { display: flex; gap: 32px; }
.primary-nav ul a {
    position: relative; padding: 6px 0;
    font-size: 14px; font-weight: 600; letter-spacing: .03em; color: var(--ink);
    transition: color .25s;
}
.primary-nav ul a::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
    background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.primary-nav ul a:hover, .primary-nav ul a.is-active { color: var(--navy-800); }
.primary-nav ul a:hover::after, .primary-nav ul a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
    display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 8px; cursor: pointer; color: var(--navy-800);
}
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background: var(--navy-800); color: rgba(255, 255, 255, .82);
    padding: 120px 0 130px;
}
.hero__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(31, 91, 166, .45), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(184, 146, 74, .18), transparent 60%),
        linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
}
.hero__bg::after {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 72px; align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 600; margin-bottom: 28px; letter-spacing: -.005em; }
.hero__title em { font-style: italic; color: var(--gold-light); }
.hero__lead { font-size: 1.125rem; max-width: 580px; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line-dark);
    border-top: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 36px 34px;
    backdrop-filter: blur(6px);
}
.hero__card-label { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: 24px; }
.hero__creds { display: grid; gap: 20px; }
.hero__creds li { display: flex; gap: 16px; align-items: flex-start; }
.hero__creds strong { display: block; color: #fff; font-weight: 600; font-size: 15px; }
.hero__creds small { display: block; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .62); }
.hero__check {
    display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0;
    border-radius: 50%; border: 1px solid rgba(214, 184, 120, .5); color: var(--gold-light);
}

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -56px; }
.stats__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow);
    padding: 0 12px;
}
.stat { padding: 36px 28px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 28%; height: 44%; width: 1px; background: var(--line); }
.stat__num, .stat__suffix { font-family: var(--serif); font-size: 3.2rem; font-weight: 600; color: var(--navy-800); line-height: 1; }
.stat__suffix { color: var(--gold); }
.stat p { margin: 10px 0 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--ivory { background: var(--ivory); }
.section--navy { background: var(--navy-800); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.section--navy::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 50% 0%, rgba(184, 146, 74, .15), transparent 70%);
}

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.split--top { align-items: start; grid-template-columns: 1.2fr 1fr; }
.split__content p { color: var(--muted); }

.frame {
    position: relative; aspect-ratio: 4 / 3.4;
    display: grid; place-items: center;
    background: linear-gradient(145deg, var(--ivory), #efe8da);
    border-radius: var(--radius-lg);
}
.frame::before {
    content: ""; position: absolute; inset: 22px;
    border: 1px solid rgba(184, 146, 74, .45); border-radius: 6px; pointer-events: none;
}
.frame img { width: 58%; height: auto; }
.frame__badge {
    position: absolute; right: -24px; bottom: 40px;
    display: flex; align-items: center; gap: 14px;
    background: var(--navy-800); color: rgba(255, 255, 255, .8);
    padding: 20px 26px; border-radius: var(--radius); box-shadow: var(--shadow);
    font-size: 13px; line-height: 1.35; letter-spacing: .04em;
}
.frame__badge-num { font-family: var(--serif); font-size: 2rem; color: var(--gold-light); font-weight: 600; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
    position: relative; display: flex; flex-direction: column;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 40px 34px 34px;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
    overflow: hidden;
}
.card::after {
    content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card__icon {
    display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 26px;
    border-radius: 50%; background: var(--gold-pale); color: var(--gold);
    transition: background-color .4s, color .4s;
}
.card:hover .card__icon { background: var(--navy-800); color: var(--gold-light); }
.card__title { font-size: 1.6rem; margin-bottom: 12px; }
.card__more { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }

/* ---------- Mission / Vision ---------- */
.mv { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 64px; align-items: start; }
.mv__divider { width: 1px; align-self: stretch; background: linear-gradient(transparent, rgba(214, 184, 120, .5), transparent); }
.mv__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(214, 184, 120, .45); border-radius: 50%; color: var(--gold-light); margin-bottom: 22px; }
.mv__text { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.4; color: #fff; margin: 0; }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.clients li {
    display: grid; place-items: center; text-align: center; min-height: 112px; padding: 20px;
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--navy-700);
    transition: background-color .3s, color .3s;
}
.clients li:hover { background: var(--ivory); color: var(--gold); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.team--compact { grid-template-columns: repeat(3, 1fr); }
.member {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 40px 34px; text-align: center;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member__avatar {
    display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
    color: var(--gold-light); font-family: var(--serif); font-size: 1.9rem; font-weight: 600; letter-spacing: .04em;
    box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px rgba(184, 146, 74, .5);
}
.member__name { font-size: 1.55rem; }
.member__role { margin: 6px 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.member__short { color: var(--muted); font-size: 15px; margin: 0; }

.member--full { text-align: left; }
.member--full p { color: var(--muted); font-size: 15px; }
.member__head { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.member__head .member__avatar { margin: 0; width: 72px; height: 72px; font-size: 1.6rem; flex-shrink: 0; }
.member__head .member__role { margin: 4px 0 0; }
.member--lead { grid-column: 1 / -1; border-top: 2px solid var(--gold); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tags li { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--ivory); color: var(--navy-700); border: 1px solid var(--line); }

/* ---------- Values ---------- */
.values { display: grid; gap: 18px; }
.value {
    display: grid; grid-template-columns: auto 1fr; column-gap: 22px;
    padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper);
    transition: border-color .3s, box-shadow .3s;
}
.value:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.value__num { grid-row: span 2; font-family: var(--serif); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.value h3 { font-size: 1.45rem; margin-bottom: 4px; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Pills, lists, quote ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pills--center { justify-content: center; }
.pills li {
    padding: 12px 24px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
    font-weight: 600; font-size: 14px; color: var(--navy-800); box-shadow: var(--shadow-sm);
}

.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--gold); margin-top: 5px; }
.check-list--light li { color: rgba(255, 255, 255, .85); }
.check-list--light .icon { color: var(--gold-light); }

.quote-card { background: var(--navy-800); color: rgba(255, 255, 255, .8); padding: 44px 40px; border-radius: var(--radius-lg); position: relative; }
.quote-card__icon { width: 40px; height: 40px; color: var(--gold-light); margin-bottom: 18px; }
.quote-card__text { font-family: var(--serif); font-size: 1.45rem; color: #fff; line-height: 1.4; }

/* ---------- Page hero ---------- */
.page-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
    color: rgba(255, 255, 255, .78);
    padding: 100px 0 90px;
}
.page-hero::after {
    content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px;
    border: 1px solid rgba(214, 184, 120, .22); border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(214, 184, 120, .04), 0 0 0 120px rgba(214, 184, 120, .03);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: 820px; margin-bottom: 20px; }
.page-hero__lead { font-size: 1.1rem; max-width: 640px; margin: 0; }
.page-hero--tall { padding: 160px 0; }
.page-hero--tall .hero__actions { margin-top: 36px; }

/* ---------- Services page ---------- */
.service-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 72px; }
.service-index a {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
    border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--navy-700);
    transition: all .3s var(--ease);
}
.service-index a .icon { color: var(--gold); }
.service-index a:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

.service-list { display: grid; gap: 0; }
.service {
    display: grid; grid-template-columns: 200px 1fr; gap: 48px;
    padding: 56px 0; border-top: 1px solid var(--line);
    scroll-margin-top: 110px;
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service__aside { display: flex; flex-direction: column; gap: 18px; }
.service__num { font-family: var(--serif); font-size: 3.6rem; line-height: 1; color: var(--gold); }
.service__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold-pale); color: var(--gold); }
.service__title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.service__intro { font-size: 1.08rem; color: var(--muted); max-width: 680px; margin-bottom: 28px; }
.service .check-list { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }

/* ---------- Experience page ---------- */
.exp-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 44px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
    padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
    font-size: 14px; font-weight: 600; color: var(--navy-700); cursor: pointer; transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--navy-700); }
.filter.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.search {
    display: flex; align-items: center; gap: 10px; min-width: 280px;
    padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted);
}
.search:focus-within { border-color: var(--gold); }
.search input { border: 0; outline: 0; padding: 11px 0; width: 100%; background: transparent; color: var(--ink); }

.exp-grid { columns: 2; column-gap: 28px; }
.exp {
    break-inside: avoid; margin-bottom: 28px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.exp[hidden] { display: none; }
.exp__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 28px; background: var(--ivory); border-bottom: 1px solid var(--line); }
.exp__title { font-size: 1.45rem; }
.exp__count { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; background: var(--navy-800); color: var(--gold-light); font-size: 13px; font-weight: 700; }
.exp__list { list-style: none; counter-reset: exp; padding: 14px 28px 20px; }
.exp__list li { counter-increment: exp; position: relative; padding: 10px 0 10px 38px; font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.exp__list li:last-child { border-bottom: 0; }
.exp__list li::before { content: counter(exp, decimal-leading-zero); position: absolute; left: 0; top: 10px; font-family: var(--serif); font-weight: 600; color: var(--gold); }
.exp__list li[hidden] { display: none; }
.exp__list mark { background: var(--gold-pale); color: inherit; padding: 0; border-radius: 2px; }
.exp-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.info-list { display: grid; gap: 30px; margin-top: 10px; }
.info-list li { display: flex; gap: 18px; }
.info-list strong { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.info-list p { color: var(--muted); margin-bottom: 12px; }
.info-list a:not(.link-arrow):hover { color: var(--blue); }
.info-list__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--navy-800); color: var(--gold-light); flex-shrink: 0; }

.contact__form { background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius-lg); padding: 48px 44px; box-shadow: var(--shadow-sm); }
.form { display: grid; gap: 22px; margin-top: 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .03em; margin-bottom: 8px; color: var(--navy-800); }
.field label span { color: var(--gold); }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 16px;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fcfbf8;
    transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(184, 146, 74, .15);
}
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.field__error { margin: 6px 0 0; font-size: 13px; color: var(--danger); }
.form__note { font-size: 13px; color: var(--muted); margin: 0; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); margin-bottom: 26px; font-size: 15px; }
.alert p { margin: 0; }
.alert--success { background: #edf6f0; color: var(--success); border: 1px solid #cfe6d8; }
.alert--success strong { display: block; color: var(--navy-800); }
.alert--error { background: #fbefec; color: var(--danger); border: 1px solid #f0d3cc; }

/* ---------- CTA ---------- */
.cta { background: var(--ivory); padding: 0 0 110px; }
.section--ivory + .cta { padding-top: 0; }
.cta__inner {
    display: flex; justify-content: space-between; align-items: center; gap: 32px;
    background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
    color: rgba(255, 255, 255, .78);
    padding: 56px 60px; border-radius: var(--radius-lg); position: relative; overflow: hidden;
}
.cta__inner::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border: 1px solid rgba(214, 184, 120, .3); border-radius: 50%; }
.cta__title { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.cta__inner p { margin: 0; }
.cta__inner .btn { position: relative; z-index: 1; }
.section + .cta { padding-top: 0; }
.section:not(.section--ivory) + .cta { background: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .62); font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr; gap: 48px; padding: 84px 24px 64px; }
.footer__brand p { margin-top: 22px; max-width: 320px; }
.footer__reg { font-size: 13px; color: var(--gold-light); }
.footer__title { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { transition: color .25s, padding-left .25s; }
.footer__links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer__contact p { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.footer__contact .icon { color: var(--gold-light); margin-top: 5px; }
.footer__contact a:hover { color: var(--gold-light); }
.footer__bottom { border-top: 1px solid var(--line-dark); }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; font-size: 13px; }
.to-top:hover { color: var(--gold-light); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .primary-nav ul { gap: 22px; }
    .primary-nav { gap: 24px; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    .topbar__inner > span:first-child { display: none; }
    .topbar__inner { justify-content: center; }
    .nav-toggle { display: inline-grid; }
    .primary-nav {
        position: fixed; inset: 120px 0 auto 0; z-index: 99;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
        padding: 12px 24px 28px;
        opacity: 0; visibility: hidden; transform: translateY(-10px);
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    }
    .nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
    .primary-nav ul { flex-direction: column; gap: 0; }
    .primary-nav ul a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
    .primary-nav ul a::after { display: none; }
    .primary-nav .btn { margin-top: 20px; }

    .hero { padding: 90px 0 120px; }
    .hero__inner, .split, .split--top, .contact { grid-template-columns: 1fr; gap: 48px; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3)::before { display: none; }
    .cards, .team--compact { grid-template-columns: repeat(2, 1fr); }
    .clients { grid-template-columns: repeat(3, 1fr); }
    .mv { grid-template-columns: 1fr; gap: 40px; }
    .mv__divider { height: 1px; width: 100%; background: linear-gradient(90deg, transparent, rgba(214, 184, 120, .5), transparent); }
    .frame__badge { right: 16px; }
    .service { grid-template-columns: 1fr; gap: 20px; }
    .service__aside { flex-direction: row; align-items: center; }
    .exp-grid { columns: 1; }
    .cta__inner { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
    .section { padding: 84px 0; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .topbar__right a:first-child { display: none; }
    .brand__name { font-size: 1.25rem; }
    .brand img { width: 44px; }
    .stats__grid, .cards, .team, .team--compact, .form__row, .service .check-list { grid-template-columns: 1fr; }
    .stat + .stat::before { display: none; }
    .stat { border-top: 1px solid var(--line); }
    .stat:first-child { border-top: 0; }
    .clients { grid-template-columns: repeat(2, 1fr); }
    .clients li { font-size: 1.05rem; min-height: 92px; }
    .contact__form { padding: 34px 24px; }
    .search { min-width: 100%; }
    .footer__grid { grid-template-columns: 1fr; padding-top: 64px; }
    .footer__bottom-inner { flex-direction: column; text-align: center; }
    .hero__actions .btn { width: 100%; }
}
