﻿/* ══════════════════════════════════════════════════════════════
   MUK FINANCIAL OPERATIONS — Global stylesheet (multi-page)
   Palette: navy ink · gold ledger · teal action · warm paper
   Type:    Fraunces (display) · Inter (body)
   ══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #0a1628;
  --ink-2:      #10233f;
  --ink-3:      #1a3a6b;
  --gold:       #c9953a;
  --gold-2:     #e8b84b;
  --gold-soft:  rgba(201,149,58,0.12);
  --teal:       #0d9e87;
  --teal-2:     #11c4a8;
  --paper:      #f7f6f2;
  --white:      #ffffff;
  --line:       #e6e3da;
  --line-dark:  rgba(255,255,255,0.10);
  --text:       #22303f;
  --muted:      #64707e;
  --muted-dark: #9fb0c4;
  --shadow-sm:  0 1px 3px rgba(10,22,40,0.07), 0 4px 14px rgba(10,22,40,0.05);
  --shadow-md:  0 6px 24px rgba(10,22,40,0.10);
  --shadow-lg:  0 20px 60px rgba(10,22,40,0.18);
  --r:          10px;
  --r-lg:       16px;
  --display:    'Fraunces', Georgia, serif;
  --body:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --maxw:       1180px;
}

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

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }
h4, h5 { font-family: var(--body); font-weight: 700; color: var(--ink); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 3000; background: var(--gold); color: #fff; padding: 10px 20px; font-weight: 600; font-size: .85rem; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 2px; }

/* ── Eyebrow / ledger rule motif ─────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
.eyebrow.center::after { content: ''; width: 34px; height: 1px; background: var(--gold); }

.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 3.2rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: .9rem 0 .8rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 6px; border: none; cursor: pointer;
  font-family: var(--body); font-weight: 600; font-size: .9rem; letter-spacing: .01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--ink); box-shadow: 0 6px 18px rgba(201,149,58,.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201,149,58,.45); }
.btn-teal { background: linear-gradient(135deg, var(--teal), var(--teal-2)); color: #fff; box-shadow: 0 6px 18px rgba(13,158,135,.3); }
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(13,158,135,.4); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid #cfd6df; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ── Top utility bar ─────────────────────────────────────────── */
.topbar {
  background: var(--ink); color: var(--muted-dark);
  font-size: .78rem; border-bottom: 1px solid var(--line-dark);
}
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 8px 2rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.topbar a { color: var(--muted-dark); transition: color .2s; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold-2); }
.topbar .tb-left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar .tb-right { display: flex; gap: 1.2rem; }

/* ── Main nav ────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,22,40,.98);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow .3s ease;
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; height: 74px;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--ink);
}
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.06rem; line-height: 1.15; }
.brand-sub { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-dark); }

.nav-links { display: flex; align-items: center; gap: .4rem; list-style: none; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: 6px;
  color: #d7deea; font-size: .88rem; font-weight: 500;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-links a.active { color: var(--gold-2); }
.nav-links a.active::after { content: ''; display: block; height: 2px; margin: 2px 14px 0; background: var(--gold-2); border-radius: 2px; }
.nav-cta { margin-left: .6rem; padding: 11px 22px !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s, top .3s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile drawer */
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; height: 100vh; height: 100dvh; width: min(320px, 84vw);
    background: var(--ink-2); flex-direction: column; align-items: stretch;
    padding: 92px 1.4rem 2rem; gap: .3rem;
    transform: translateX(105%); transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -20px 0 60px rgba(0,0,0,.4); z-index: 999; overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 14px 16px; font-size: 1rem; }
  .nav-cta { margin: .8rem 0 0; text-align: center; }
  .topbar .tb-left span.tb-hide { display: none; }
}

/* ── Page hero band (interior pages) ─────────────────────────── */
.page-hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(201,149,58,.16), transparent 60%),
    radial-gradient(700px 380px at 5% 110%, rgba(13,158,135,.12), transparent 60%),
    linear-gradient(150deg, var(--ink) 0%, var(--ink-3) 100%);
  color: #fff; padding: 84px 0 72px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  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: 56px 56px;
  mask-image: radial-gradient(800px 500px at 70% 0%, #000 30%, transparent 75%);
}
.page-hero .container { position: relative; z-index: 1; }
.crumbs { font-size: .78rem; letter-spacing: .06em; color: var(--muted-dark); margin-bottom: 1.4rem; display: flex; align-items: center; gap: 8px; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs .sep { opacity: .5; }
.crumbs .cur { color: var(--gold-2); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 760px; }
.page-hero p.lede { color: #c3cede; max-width: 640px; margin-top: 1.1rem; font-size: 1.08rem; }

/* ── HOME hero ───────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(201,149,58,.20), transparent 62%),
    radial-gradient(800px 480px at -5% 105%, rgba(13,158,135,.14), transparent 60%),
    linear-gradient(152deg, var(--ink) 0%, #0f2647 55%, var(--ink-3) 100%);
  color: #fff; position: relative; overflow: hidden;
  padding: 110px 0 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 620px at 75% 10%, #000 25%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; padding-bottom: 88px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.7rem); margin: 1.1rem 0 1.2rem; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero p.sub { color: #c3cede; font-size: 1.12rem; max-width: 560px; }
.hero-ctas { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-note { margin-top: 1.4rem; font-size: .8rem; color: var(--muted-dark); display: flex; align-items: center; gap: 8px; }
.hero-note::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 4px rgba(17,196,168,.2); }

/* Ledger card in hero */
.ledger-card {
  background: rgba(255,255,255,.045); border: 1px solid var(--line-dark);
  border-radius: var(--r-lg); padding: 1.8rem; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.ledger-card .lc-title { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1.1rem; display: flex; justify-content: space-between; }
.ledger-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .85rem 0; border-bottom: 1px dashed rgba(255,255,255,.14);
}
.ledger-row:last-child { border-bottom: none; }
.ledger-row .lr-label { color: #b9c5d6; font-size: .86rem; }
.ledger-row .lr-value { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger-row .lr-value.gold { color: var(--gold-2); }

/* Stat band under hero */
.stat-band { position: relative; z-index: 1; border-top: 1px solid var(--line-dark); background: rgba(0,0,0,.22); }
.stat-band-inner { max-width: var(--maxw); margin: 0 auto; padding: 1.6rem 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat b { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.stat span { font-size: .78rem; color: var(--muted-dark); letter-spacing: .04em; }

/* ── Cards / grids ───────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d9d4c6; }
.card::before { content: ''; position: absolute; top: 0; left: 1.6rem; right: 1.6rem; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); opacity: 0; transition: opacity .3s; }
.card:hover::before { opacity: 1; }

.svc-num { font-family: var(--display); font-size: .95rem; color: var(--gold); letter-spacing: .08em; }
.card h3 { font-size: 1.28rem; margin: .7rem 0 .7rem; }
.card p { color: var(--muted); font-size: .93rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2rem; }
.tag { font-size: .7rem; font-weight: 600; letter-spacing: .03em; padding: 5px 11px; border-radius: 999px; background: var(--gold-soft); color: #8a6420; border: 1px solid rgba(201,149,58,.25); }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 1.3rem; font-size: .84rem; font-weight: 600; color: var(--teal); }
.card .more .arr { transition: transform .25s; }
.card:hover .more .arr { transform: translateX(4px); }

/* Industry tiles */
.ind-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.5rem 1.3rem; display: flex; align-items: center; gap: 14px;
  transition: transform .3s, box-shadow .3s, border-color .3s; box-shadow: var(--shadow-sm);
}
.ind-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.ind-tile .ico { font-size: 1.6rem; width: 48px; height: 48px; border-radius: 10px; background: var(--gold-soft); display: grid; place-items: center; flex: none; }
.ind-tile b { font-size: .92rem; color: var(--ink); line-height: 1.35; }

/* Case study cards */
.case {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case + .case { margin-top: 2rem; }
.case .c-media {
  min-height: 280px; background: linear-gradient(150deg, var(--ink-2), var(--ink-3));
  background-size: cover; background-position: center; position: relative;
}
.case .c-media::after { content: '§'; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 4rem; color: rgba(232,184,75,.28); }
.case .c-media.has-img::after { content: none; }
.case .c-body { padding: 2.4rem; }
.case .c-tag { font-size: .68rem; font-weight: 700; letter-spacing: .16em; color: var(--gold); }
.case h3 { font-size: 1.45rem; margin: .8rem 0 .9rem; }
.case p { color: var(--muted); font-size: .95rem; }
.case .c-stats { display: flex; gap: 2.4rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px dashed var(--line); }
.case .c-stats b { display: block; font-family: var(--display); font-size: 1.55rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.case .c-stats span { font-size: .76rem; color: var(--muted); }
.case:nth-child(even) .c-media { order: 2; }

/* Pricing */
.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2.2rem 2rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s; position: relative;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan.featured { background: linear-gradient(160deg, var(--ink), var(--ink-3)); color: #dbe3ee; border-color: transparent; box-shadow: var(--shadow-lg); }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--ink);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 1.2rem; }
.plan .price { font-family: var(--display); font-size: 2.6rem; margin: .7rem 0 .2rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan .price small { font-family: var(--body); font-size: .95rem; color: var(--muted); font-weight: 500; }
.plan.featured .price small { color: var(--muted-dark); }
.plan .p-desc { font-size: .88rem; color: var(--muted); margin-bottom: 1.4rem; }
.plan.featured .p-desc { color: #b9c5d6; }
.plan ul { list-style: none; margin: 0 0 1.8rem; flex: 1; }
.plan li { padding: .55rem 0 .55rem 1.7rem; position: relative; font-size: .88rem; border-bottom: 1px dashed var(--line); }
.plan.featured li { border-color: rgba(255,255,255,.12); }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.plan.featured li::before { color: var(--gold-2); }

/* Process timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.timeline::before { content: ''; position: absolute; top: 26px; left: 4%; right: 4%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent); }
.tl-step { text-align: left; padding-top: 56px; position: relative; }
.tl-step .dot {
  position: absolute; top: 14px; left: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold); display: grid; place-items: center;
}
.tl-step .dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.tl-step .tl-when { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tl-step h4 { margin: .4rem 0 .4rem; font-size: 1.05rem; }
.tl-step p { font-size: .87rem; color: var(--muted); }

/* Tech grid */
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tech {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.1rem .8rem; text-align: center; font-size: .8rem; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.tech:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tech .dot { width: 10px; height: 10px; border-radius: 50%; margin: 0 auto .55rem; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(232,184,75,.18), transparent 60%),
    linear-gradient(150deg, var(--ink), var(--ink-3));
  color: #fff; border-radius: var(--r-lg); padding: 4rem 3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 560px; }
.cta-band p { color: #c3cede; margin-top: .6rem; max-width: 520px; }

/* ── Contact page ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 2.4rem; align-items: start; }
.info-card {
  background: linear-gradient(160deg, var(--ink), var(--ink-3)); color: #dbe3ee;
  border-radius: var(--r-lg); padding: 2.4rem; box-shadow: var(--shadow-lg);
}
.info-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: .6rem; }
.info-card > p { color: #b9c5d6; font-size: .92rem; margin-bottom: 1.8rem; }
.info-row { display: flex; gap: 14px; padding: 1rem 0; border-bottom: 1px dashed rgba(255,255,255,.14); align-items: flex-start; }
.info-row:last-of-type { border-bottom: none; }
.info-row .i-ico { width: 42px; height: 42px; flex: none; border-radius: 9px; background: rgba(232,184,75,.14); display: grid; place-items: center; font-size: 1.1rem; }
.info-row b { display: block; color: #fff; font-size: .86rem; }
.info-row a, .info-row span { color: #b9c5d6; font-size: .88rem; word-break: break-word; }
.info-row a:hover { color: var(--gold-2); }
.hours { margin-top: 1.6rem; padding: 1.1rem 1.2rem; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: var(--r); font-size: .82rem; color: #b9c5d6; }
.hours b { color: var(--gold-2); display: block; margin-bottom: .2rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.4rem; box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.form-card > p { color: var(--muted); font-size: .9rem; margin-bottom: 1.8rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.f-group { margin-bottom: 1.1rem; }
.f-group label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .03em; margin-bottom: .4rem; color: var(--ink); }
.f-group label .req { color: var(--gold); }
.f-group input, .f-group select, .f-group textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid #dcd8cd; border-radius: 8px;
  font-family: var(--body); font-size: .92rem; background: #fbfaf7; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.f-group input:focus, .f-group select:focus, .f-group textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,158,135,.12); background: #fff;
}
.f-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .76rem; color: var(--muted); margin-top: .9rem; }
.form-status { margin-top: 1rem; padding: 12px 16px; border-radius: 8px; font-size: .87rem; display: none; }
.form-status.ok { display: block; background: #e8f7f2; color: #0b6e5e; border: 1px solid #bfe8dc; }
.form-status.err { display: block; background: #fdeeee; color: #a03030; border: 1px solid #f2c9c9; }

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: .9rem; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.2rem 1.5rem; font-weight: 600; font-size: .96rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--display); font-size: 1.4rem; color: var(--gold); transition: transform .25s; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 1.5rem 1.3rem; color: var(--muted); font-size: .9rem; }

/* ── Reveal animation ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--muted-dark); margin-top: 96px; }
.footer-top { max-width: var(--maxw); margin: 0 auto; padding: 4rem 2rem 3rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.6rem; }
.footer h5 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: .55rem; }
.footer a { font-size: .88rem; transition: color .2s; }
.footer a:hover { color: var(--gold-2); }
.footer .f-about p { font-size: .87rem; margin: 1rem 0 1.3rem; max-width: 300px; }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom-inner { max-width: var(--maxw); margin: 0 auto; padding: 1.3rem 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--gold-2); border: 1px solid rgba(232,184,75,.4);
  cursor: pointer; font-size: 1.1rem; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .3s, transform .3s; z-index: 900;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--ink-3); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.6rem; padding-bottom: 64px; }
  .stat-band-inner { grid-template-columns: repeat(2, 1fr); }
  .case, .case:nth-child(even) { grid-template-columns: 1fr; }
  .case:nth-child(even) .c-media { order: 0; }
  .case .c-media { min-height: 200px; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .cta-band { padding: 2.6rem 1.8rem; }
}
@media (max-width: 620px) {
  .container { padding: 0 1.2rem; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .topbar .tb-right { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

.brand-full { height: 52px; width: auto; display: block; border-radius: 10px; }
@media (max-width: 620px) { .brand-full { height: 42px; } }
