/* ============================================================
   Barycki Patent & Legal - autorski styl „editorial / institutional"
   Granat + złoto · Playfair Display (display) + Inter (treść)
   Sygnatury: numerowane indeksy sekcji, lista obszarów praktyki
   zamiast kart, asymetryczne hero, oś czasu, złote włoskowe linie.
   ============================================================ */
:root {
  --navy: #0F2747;
  --navy-2: #173356;
  --navy-3: #1d3e66;
  --gold: #C9A227;
  --gold-2: #d9b94e;
  --gold-3: #e7cf86;
  --gold-deep: #9a7d1e;
  --paper: #FFFFFF;
  --parch: #F4F6F8;     /* jasnoszary */
  --parch-2: #e9edf2;
  --ink: #0F2747;
  --text: #3a4656;
  --text-soft: #6b7686;
  --line: #e3e8ef;       /* cool hairline */
  --line-ink: rgba(201,162,39,.32);
  --shadow: 0 22px 50px rgba(15,39,71,.12);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--paper); line-height: 1.75; font-size: 17px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.16; font-weight: 600; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.tight-c { max-width: 880px; }

/* small-caps gold kicker - signature label */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); }
.kicker::before { content: ""; width: 30px; height: 1px; background: var(--gold); }
.ink .kicker, .hero .kicker { color: var(--gold-3); }
.ink .kicker::before, .hero .kicker::before { background: var(--gold-2); }

/* ---------- Buttons (squared, letterspaced) ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 3px; font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; border: 1px solid transparent; transition: all .25s ease; white-space: nowrap; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-line { background: transparent; color: var(--gold-deep); border: none; padding: 0; border-radius: 0; }
.btn-line span { border-bottom: 1px solid var(--gold); padding-bottom: 3px; transition: color .2s; }
.btn-line:hover span { color: var(--ink); border-color: var(--ink); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-lg { padding: 17px 38px; }

/* ---------- Top strip ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.66); font-size: .76rem; letter-spacing: .04em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar .tb-tag { text-transform: uppercase; letter-spacing: .22em; font-size: .68rem; color: var(--gold-3); }
.topbar a { color: rgba(255,255,255,.78); }
.topbar a:hover { color: var(--gold-3); }
.topbar .tb-right { display: flex; gap: 26px; }
.topbar i { color: var(--gold); margin-right: 7px; }

/* ---------- Navbar ---------- */
.site-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.98); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-nav.scrolled { box-shadow: 0 10px 30px rgba(15,39,71,.08); }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { display: flex; }
.brand-mark img { display: block; height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--navy); letter-spacing: .3px; }
.brand-name em { font-style: italic; color: var(--gold-deep); }
.brand-tag { font-family: var(--sans); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--text-soft); margin-top: 4px; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu > a { font-family: var(--sans); font-weight: 500; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); position: relative; padding: 6px 0; transition: color .2s; }
.nav-menu > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .28s; }
.nav-menu > a:hover::after, .nav-menu > a.active::after { right: 0; }
.nav-menu > a.active { color: var(--gold-deep); }
/* (selektor bardziej szczegółowy niż „.nav-menu > a", żeby padding poziomy nie był nadpisany) */
.nav-menu a.nav-cta { display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; background: var(--gold); border: 1px solid var(--gold); color: var(--navy) !important; border-radius: 3px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; box-shadow: 0 8px 20px rgba(201,162,39,.28); transition: all .25s ease; }
.nav-menu a.nav-cta::after { display: none; }
.nav-menu a.nav-cta i { font-size: .92em; color: var(--navy); transition: color .25s, transform .25s; }
.nav-menu a.nav-cta:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff !important; box-shadow: 0 12px 26px rgba(154,125,30,.34); transform: translateY(-2px); }
.nav-menu a.nav-cta:hover i { color: #fff; transform: scale(1.06); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--navy); transition: all .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO (asymmetric, framed) ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::before { /* duży, subtelny monogram klienta jako znak wodny */
  content: ""; position: absolute; right: -3%; top: 50%; transform: translateY(-50%);
  width: 540px; height: 730px; background: url(../images/logo-mark-white.png) no-repeat center / contain;
  opacity: .05; pointer-events: none;
}
.hero::after { /* subtle right glow */
  content: ""; position: absolute; inset: 0; background: radial-gradient(700px 480px at 88% 18%, rgba(201,162,39,.16), transparent 60%); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding: 96px 32px 92px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 64px; align-items: center; }
.hero-main h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; margin: 26px 0 22px; letter-spacing: -.5px; }
.hero-main h1 em { font-style: italic; color: var(--gold-3); }
.hero-lead { font-size: 1.18rem; color: rgba(255,255,255,.8); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.hero-actions .btn-line { color: #fff; }
.hero-actions .btn-line span { border-color: var(--gold-2); }
.hero-actions .btn-line:hover span { color: var(--gold-3); border-color: var(--gold-3); }

/* hero side panel (framed) */
.hero-side { border: 1px solid rgba(217,185,78,.34); background: rgba(255,255,255,.03); padding: 38px 34px; }
.hero-side .hs-mono { font-family: var(--serif); font-size: 2rem; color: var(--gold-3); font-style: italic; padding-bottom: 18px; border-bottom: 1px solid rgba(217,185,78,.28); margin-bottom: 8px; }
/* Wiersze faktów: stała kolumna liczby (równe wyrównanie etykiet),
   align-items:baseline (liczba w linii bazowej 1. wiersza etykiety),
   border-top na całym wierszu = ciągła linia działowa. */
.hero-facts { display: block; }
.fact { display: flex; align-items: baseline; gap: 22px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); }
.fact:first-child { border-top: none; padding-top: 4px; }
.fact b { flex: 0 0 116px; font-family: var(--serif); font-size: 1.85rem; color: var(--gold-3); font-weight: 600; white-space: nowrap; line-height: 1; }
.fact span { font-size: .9rem; color: rgba(255,255,255,.72); line-height: 1.55; }

/* ---------- Zaufali nam (logo klientów) ---------- */
.clients { background: var(--navy); padding: 44px 0; border-top: 1px solid rgba(255,255,255,.1); }
.clients .kicker { display: flex; justify-content: center; color: var(--gold-3); margin-bottom: 30px; }
.clients .kicker::before { background: var(--gold-2); }
.clients-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px 56px; }
.clients-row img { max-height: 44px; max-width: 178px; width: auto; height: auto; opacity: .7; transition: opacity .25s ease; }
.clients-row img:hover { opacity: 1; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section.slim { padding: 72px 0; }
.alt { background: var(--parch); }
.ink { background: var(--navy); color: rgba(255,255,255,.82); }
.ink h2, .ink h3, .ink h4 { color: #fff; }

/* numbered section header - signature */
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; margin-bottom: 56px; }
.sec-head .idx { font-family: var(--serif); font-style: italic; font-size: 2.2rem; color: var(--gold); line-height: 1; padding-top: 4px; }
.sec-head .sh-body { max-width: 760px; }
.sec-head h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); margin: 14px 0 0; }
.sec-head p { color: var(--text-soft); font-size: 1.1rem; margin-top: 14px; }
.ink .sec-head p { color: rgba(255,255,255,.72); }
.sec-head.center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sec-head.center .idx { display: none; }
/* podstrony bez numeru sekcji - sam kicker jako znacznik */
.sec-head.plain { display: block; }

/* ---------- Practice index (homepage) - rows, not cards ---------- */
.practice { border-top: 1px solid var(--line); }
.practice-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 28px; align-items: center; padding: 30px 16px; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; }
.practice-row:hover { background: var(--parch); padding-left: 28px; }
.pr-num { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--gold); }
.pr-body { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 30px; align-items: baseline; }
.pr-body h3 { font-size: 1.4rem; }
.pr-body p { color: var(--text-soft); font-size: .98rem; }
.pr-arrow { color: var(--gold); font-size: 1rem; opacity: 0; transform: translateX(-8px); transition: all .25s; }
.practice-row:hover .pr-arrow { opacity: 1; transform: none; }

/* ---------- Practice detailed (uslugi) ---------- */
.pa-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pa-item { display: grid; grid-template-columns: 96px 1fr; gap: 36px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.pa-num { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--gold); line-height: 1; }
.pa-item h3 { font-size: 1.7rem; margin-bottom: 12px; }
.pa-item > div > p { color: var(--text); max-width: 720px; }
.feat { list-style: none; margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 34px; }
.feat li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; color: var(--text); }
.feat i { color: var(--gold); margin-top: 6px; font-size: .7rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.about .lead-line { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--ink); margin: 0 0 20px; }
.about p { margin-bottom: 16px; }
.about .checks { list-style: none; margin-top: 24px; display: grid; gap: 16px; }
.about .checks li { display: flex; gap: 14px; align-items: flex-start; }
.about .checks i { color: var(--gold); margin-top: 5px; }
.quote-card { border: 1px solid var(--line); background: var(--paper); padding: 0; position: relative; }
.quote-card .qc-top { background: var(--navy); padding: 40px 38px; }
.quote-card .qc-top .mk { font-family: var(--serif); font-size: 3rem; color: var(--gold-3); line-height: .6; }
.quote-card blockquote { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: #fff; margin-top: 14px; }
.quote-card .qc-body { padding: 30px 38px 36px; }
.quote-card .qc-body p { color: var(--text); }
.quote-card .qc-sig { margin-top: 16px; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }

/* ---------- Statement band (zdjęcie + granatowa nakładka) ---------- */
.statement { position: relative; padding: 120px 0; color: #fff; text-align: center; background: url(../images/architektura.jpg) center/cover no-repeat; }
.statement::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(15,39,71,.88), rgba(15,39,71,.93)); }
.statement .container { position: relative; max-width: 900px; }
.statement .kicker { justify-content: center; color: var(--gold-3); margin-bottom: 20px; }
.statement .kicker::before { background: var(--gold-2); }
.statement blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.32; color: #fff; }
.statement blockquote em { color: var(--gold-3); }
.statement .by { margin-top: 22px; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }

/* ---------- Creed (values with hairlines, no big icons) ---------- */
.creed { display: grid; grid-template-columns: repeat(4, 1fr); }
.creed .c { padding: 8px 30px; border-left: 1px solid rgba(255,255,255,.14); }
.creed .c:first-child { border-left: none; padding-left: 0; }
.creed .c .cn { font-family: var(--serif); font-style: italic; color: var(--gold-3); font-size: 1.1rem; }
.creed .c h4 { font-size: 1.35rem; margin: 10px 0 10px; }
.creed .c p { color: rgba(255,255,255,.7); font-size: .94rem; }

/* ---------- Flow (vertical timeline) ---------- */
.flow { position: relative; max-width: 760px; margin: 0 auto; padding-left: 38px; }
.flow::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.flow-step { position: relative; padding: 0 0 38px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step::before { content: ""; position: absolute; left: -38px; top: 6px; width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--gold); background: var(--paper); }
.alt .flow-step::before { background: var(--parch); }
.flow-step .fs-k { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1rem; }
.flow-step h4 { font-size: 1.35rem; margin: 4px 0 8px; }
.flow-step p { color: var(--text-soft); }

/* ---------- Invite (framed CTA) ---------- */
.invite { padding: 96px 0; }
.invite-inner { border: 1px solid var(--line-ink); padding: 60px 40px; text-align: center; position: relative; }
.invite-inner .kicker { justify-content: center; }
.invite-inner h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 18px auto 16px; max-width: 720px; }
.ink .invite-inner { border-color: rgba(217,185,78,.4); }
.invite-contact { display: inline-flex; gap: 30px; align-items: center; flex-wrap: wrap; justify-content: center; margin: 26px 0 30px; }
.invite-contact a { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-deep); }
.ink .invite-contact a { color: var(--gold-3); }
.invite-contact .sep { width: 1px; height: 26px; background: var(--line-ink); }

/* ---------- Page header (slim) ---------- */
.page-head { background: var(--navy); color: #fff; padding: 80px 0 64px; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; right: 1%; top: 50%; transform: translateY(-50%); width: 232px; height: 314px; background: url(../images/logo-mark-white.png) no-repeat center / contain; opacity: .06; }
.page-head .container { position: relative; }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.2rem); margin: 16px 0 12px; }
.page-head .lead { color: rgba(255,255,255,.78); font-size: 1.12rem; max-width: 680px; }
.crumb { margin-top: 22px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.crumb a { color: var(--gold-3); }

/* ---------- Cases (realizacje) ---------- */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.case { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 36px; transition: background .25s; }
.case:hover { background: var(--parch); }
.case .c-tag { display: flex; align-items: center; gap: 12px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.case .c-tag i { font-size: 1.3rem; color: var(--gold); }
.case h3 { font-size: 1.45rem; margin-bottom: 12px; }
.case p { color: var(--text-soft); font-size: .98rem; }
.case .c-out { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink); }
.case .c-out i { color: var(--gold); margin-right: 8px; }

/* ---------- Journal (blog) ---------- */
.journal { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 40px; }
.entry { display: flex; flex-direction: column; height: 100%; }
.entry-img { aspect-ratio: 16/9; overflow: hidden; border: 1px solid var(--line); }
.entry-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.entry:hover .entry-img img { transform: scale(1.04); }
.entry-body { padding: 24px 4px 0; display: flex; flex-direction: column; flex: 1; }
.entry .e-date { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.entry-body h3 { font-size: 1.4rem; margin: 12px 0 10px; }
.entry-body p { color: var(--text-soft); font-size: .98rem; flex: 1; }
.entry .e-rm { margin-top: 18px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 4px; align-self: flex-start; }

/* ---------- Article ---------- */
.article { font-size: 1.1rem; color: var(--text); }
.article p { margin-bottom: 22px; }
.article h2 { font-size: 1.8rem; margin: 40px 0 16px; }
.article h3 { font-size: 1.4rem; margin: 30px 0 12px; }
.article ul, .article ol { margin: 0 0 22px 22px; }
.article li { margin-bottom: 10px; }
.article a { color: var(--gold-deep); font-weight: 600; border-bottom: 1px solid var(--line-ink); }
.article strong { color: var(--ink); }
.article blockquote { border-left: 2px solid var(--gold); padding: 8px 0 8px 26px; margin: 28px 0; font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--ink); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-info { display: grid; }
.ci-row { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ci-row:first-child { padding-top: 0; }
.ci-ic { width: 44px; min-width: 44px; height: 44px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--gold-deep); font-size: 1.05rem; }
.ci-row h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-soft); font-weight: 600; margin-bottom: 5px; }
.ci-row a, .ci-row p { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.ci-row .small { font-family: var(--sans); font-size: 1rem; color: var(--text); }

.form-card { border: 1px solid var(--line); padding: 40px 38px; background: var(--paper); }
.form-card h3 { font-size: 1.6rem; margin-bottom: 8px; }
.form-card > p { color: var(--text-soft); margin-bottom: 24px; }
.cform { display: grid; gap: 18px; }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform input, .cform select, .cform textarea { width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: 2px; font-family: inherit; font-size: 1rem; color: var(--ink); background: #fcfaf6; transition: border-color .2s, box-shadow .2s; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.12); }
.cform textarea { resize: vertical; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.form-hint { font-size: .92rem; color: var(--text-soft); text-align: center; }
.form-alert { padding: 15px 18px; border-radius: 2px; font-size: .95rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.form-alert.success { background: rgba(31,116,82,.09); color: #1f7452; border: 1px solid rgba(31,116,82,.22); }
.form-alert.error { background: rgba(176,58,46,.07); color: #a8362b; border: 1px solid rgba(176,58,46,.2); }
.map { margin-top: 0; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(.25); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 26px 8px; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q i { color: var(--gold); transition: transform .3s; flex-shrink: 0; font-size: .9rem; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 8px 26px; color: var(--text-soft); }

/* ---------- Floating call ---------- */
.floating-call { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--navy); display: none; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: 0 12px 30px rgba(201,162,39,.5); z-index: 90; }

/* ---------- Footer ---------- */
.foot { background: var(--navy); color: rgba(255,255,255,.66); padding: 0; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; padding: 64px 0 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-brand .fb-lock { display: flex; align-items: center; gap: 15px; }
.foot-brand .fb-lock .brand-mark img { height: 44px; width: auto; display: block; }
.foot-brand .fb-name { font-family: var(--serif); font-size: 2rem; color: #fff; }
.foot-brand .fb-name em { font-style: italic; color: var(--gold-3); }
.foot-brand .fb-motto { font-family: var(--serif); font-style: italic; color: var(--gold-3); font-size: 1.1rem; margin-top: 10px; }
.foot-cta { text-align: right; }
.foot-cta .fc-label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.foot-cta a.fc-phone { font-family: var(--serif); font-size: 1.9rem; color: #fff; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding: 44px 0; }
.foot-cols .fc-about p { font-size: .95rem; line-height: 1.7; }
.foot h4 { color: #fff; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--sans); font-weight: 600; }
.foot ul { list-style: none; display: grid; gap: 11px; }
.foot ul a, .foot .fc-contact li { color: rgba(255,255,255,.7); font-size: .95rem; }
.foot ul a:hover { color: var(--gold-3); }
.foot .fc-contact li { display: flex; gap: 11px; align-items: flex-start; }
.foot .fc-contact i { color: var(--gold); margin-top: 5px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; text-align: center; font-size: .82rem; color: rgba(255,255,255,.45); letter-spacing: .03em; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(8,18,32,.95); display: none; align-items: center; justify-content: center; z-index: 200; padding: 30px; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 92%; max-height: 90%; }
.lightbox-close { position: absolute; top: 24px; right: 30px; color: #fff; font-size: 2rem; cursor: pointer; }

/* ---------- Scroll reveal ---------- */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .about { grid-template-columns: 1fr; gap: 44px; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pr-body { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 820px) {
  .topbar .tb-tag { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu { position: fixed; top: 84px; right: 0; width: min(330px, 86vw); height: calc(100vh - 84px); background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 14px 22px; box-shadow: -12px 0 40px rgba(15,39,71,.16); transform: translateX(110%); transition: transform .3s; overflow-y: auto; }
  .nav-menu.active { transform: translateX(0); }
  .nav-menu > a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 16px; justify-content: center; }
  .floating-call { display: flex; }
  .creed { grid-template-columns: 1fr 1fr; gap: 8px 0; }
  .creed .c { border-left: none; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); }
  .creed .c:nth-child(-n+2) { border-top: none; }
  .foot-top { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .foot-cta { text-align: left; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 22px; }
  .section { padding: 68px 0; }
  .hero .container { padding: 64px 22px 60px; }
  .sec-head { grid-template-columns: 1fr; gap: 10px; }
  .sec-head .idx { font-size: 1.6rem; }
  .practice-row { grid-template-columns: 40px 1fr; }
  .practice-row .pr-arrow { display: none; }
  .pa-item { grid-template-columns: 1fr; gap: 14px; }
  .feat { grid-template-columns: 1fr; }
  .cform .row2 { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  .invite-contact { flex-direction: column; gap: 14px; }
  .invite-contact .sep { display: none; }
}
