/* =====================================================================
   JANKOVSKI LAW OFFICE — LIGHT EDITORIAL DESIGN SYSTEM (2026 rebuild)
   Refined bronze-gold + warm ink on cream. Cormorant + Inter.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --paper:      #f7f4ee;
  --paper-2:    #f1ece2;
  --surface:    #ffffff;
  --ink:        #1c1812;
  --ink-soft:   #4c453b;
  --muted:      #8b8073;
  --gold:       #a8884e;
  --gold-deep:  #7f6231;
  --champagne:  #cdb88c;
  --dark:       #16120c;
  --dark-2:     #221b12;
  --line:       rgba(168,136,78,0.22);
  --line-soft:  rgba(28,24,18,0.10);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1200px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 70px -40px rgba(28,24,18,0.45);
  --shadow-sm: 0 14px 36px -22px rgba(28,24,18,0.4);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.12; margin: 0 0 .4em; letter-spacing: .2px; }
p { margin: 0 0 1.1em; }
::selection { background: var(--gold); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
  transform: translateY(-2px);
}
.lede { font-size: 19px; line-height: 1.8; color: var(--ink-soft); }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #fff;
  overflow: hidden;
  z-index: 0;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover { color: #fff; }
.btn:hover::before { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--ghost::before { background: var(--ink); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--light::before { background: var(--gold); }
.btn--light:hover { border-color: var(--gold); }
.btn i { font-size: 15px; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,244,238,0.88);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(28,24,18,0.25); background: rgba(247,244,238,0.96); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 92px; transition: height .35s var(--ease);
}
.site-header.scrolled .header-inner { height: 72px; }
.brand img { height: 46px; width: auto; transition: height .35s var(--ease); }
.site-header.scrolled .brand img { height: 38px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a.nav-link {
  position: relative;
  font-family: var(--sans);
  font-size: 13px; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ink); padding: 6px 0;
}
.nav a.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav a.nav-link:hover::after, .nav a.nav-link.active::after { transform: scaleX(1); }
.nav a.nav-link.active { color: var(--gold-deep); }

/* dropdown */
.has-dropdown { position: relative; }
.has-dropdown > .nav-link { display: inline-flex; align-items: center; gap: 6px; }
.has-dropdown > .nav-link i { font-size: 14px; transition: transform .3s var(--ease); }
.has-dropdown:hover > .nav-link i { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 264px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  padding: 10px; opacity: 0; visibility: hidden; transition: all .3s var(--ease); border-radius: var(--radius);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: var(--ink); border-radius: var(--radius); transition: background .25s var(--ease), color .25s var(--ease);
}
.dropdown a i { color: var(--gold); font-size: 16px; width: 20px; text-align: center; }
.dropdown a:hover { background: var(--paper); color: var(--gold-deep); }
.dropdown a .tag { margin-left: auto; font-family: var(--sans); font-size: 9px; letter-spacing: 1px; font-weight: 600; color: #fff; background: var(--gold); padding: 2px 7px; border-radius: 20px; }

.header-tools { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 7px; }
.lang a { display: inline-flex; opacity: .55; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.lang a img { width: 22px; height: auto; border-radius: 2px; }
.lang a.active, .lang a:hover { opacity: 1; transform: translateY(-1px); }
.lang span { color: var(--line); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; color: var(--ink); }
.nav-toggle i { font-size: 26px; }

/* mobile drawer + backdrop */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 199;
  background: rgba(10,11,12,.55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.nav-backdrop.open { opacity: 1; visibility: visible; }

.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(86vw, 350px);
  background: linear-gradient(170deg, #1d1710 0%, #0c0a07 100%);
  color: #fff; display: flex; flex-direction: column;
  padding: 22px 26px calc(24px + env(safe-area-inset-bottom));
  transform: translateX(105%); transition: transform .42s var(--ease);
  overflow-y: auto;
  box-shadow: -26px 0 60px -18px rgba(0,0,0,.65);
  border-left: 1px solid rgba(168,136,78,.28);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .m-top {
  display: flex; justify-content: space-between; align-items: center;
  margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav .m-top img { height: 38px; }
.mobile-nav .m-close {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff;
  width: 40px; height: 40px; border-radius: 50%; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease);
}
.mobile-nav .m-close:hover { background: var(--gold); border-color: var(--gold); }
.mobile-nav > a {
  font-family: var(--serif); font-size: 23px; font-weight: 600; color: #fff;
  padding: 14px 2px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.mobile-nav > a::after { content: "\203A"; color: var(--gold); font-size: 22px; opacity: .65; }
.mobile-nav > a:hover, .mobile-nav > a.active { color: var(--champagne); padding-left: 8px; }
.mobile-nav .m-sub { display: flex; flex-direction: column; margin: 6px 0 4px; }
.mobile-nav .m-sub a {
  font-family: var(--sans); font-size: 14.5px; color: rgba(255,255,255,.72);
  padding: 9px 0 9px 16px; border-left: 1px solid rgba(168,136,78,.32); margin-left: 4px;
  transition: color .3s var(--ease), border-color .3s var(--ease), padding-left .3s var(--ease);
}
.mobile-nav .m-sub a:hover { color: var(--champagne); border-color: var(--gold); padding-left: 21px; }
.mobile-nav .m-foot { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.mobile-nav .m-foot .btn { justify-content: center; width: 100%; }
.mobile-nav .m-extra {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav .m-extra .lang { display: flex; align-items: center; gap: 9px; }
.mobile-nav .m-extra .lang a { padding: 0; opacity: .6; }
.mobile-nav .m-extra .lang a.active { opacity: 1; }
.mobile-nav .m-extra .lang img { width: 28px; height: auto; border-radius: 2px; }
.mobile-nav .m-extra .lang span { color: rgba(255,255,255,.3); }
.mobile-nav .m-extra > a[href*="linkedin"] { color: #fff; font-size: 22px; padding: 0; }
.mobile-nav .m-extra > a[href*="linkedin"]:hover { color: var(--gold); }

/* =====================================================================
   HERO (home — split)
   ===================================================================== */
.hero { background: var(--paper); padding: 70px 0 90px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -120px; right: -120px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(168,136,78,0.10), transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(44px, 5.6vw, 78px); font-weight: 600; line-height: 1.02; color: var(--ink); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero .lede { max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-stats .stat .num { font-family: var(--serif); font-size: 40px; color: var(--gold-deep); line-height: 1; }
.hero-stats .stat .lbl { font-family: var(--sans); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

.hero-media { position: relative; }
.hero-media .frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; top: 26px; left: 26px; right: -22px; bottom: -22px;
  border: 1px solid var(--gold); z-index: -1; border-radius: var(--radius);
}
.hero-media .badge {
  position: absolute; left: -22px; bottom: 34px; background: var(--surface);
  box-shadow: var(--shadow-sm); padding: 18px 24px; border-left: 3px solid var(--gold); max-width: 230px;
}
.hero-media .badge .b-title { font-family: var(--serif); font-size: 21px; color: var(--ink); }
.hero-media .badge .b-sub { font-size: 13px; color: var(--muted); }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { padding: 96px 0; }
.section--tight { padding: 70px 0; }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--surface); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(32px, 4vw, 50px); }
.section-head p { color: var(--ink-soft); font-size: 18px; }

/* intro band */
.intro-band { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.intro-band h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.18; }
.intro-band .rule { width: 56px; height: 2px; background: var(--gold); margin: 0 0 22px; }

/* practice grid */
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.practice-card {
  position: relative; display: block; background: var(--surface);
  border: 1px solid var(--line-soft); padding: 42px 34px; border-radius: 14px;
  overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.practice-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--champagne), var(--gold-deep));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.practice-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--line); }
.practice-card:hover::before { transform: scaleX(1); }
.practice-card .pc-icon {
  width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--paper); border: 1px solid var(--line);
  color: var(--gold); font-size: 26px; margin-bottom: 24px; transition: all .45s var(--ease);
}
.practice-card:hover .pc-icon { background: var(--gold); color: #fff; border-color: var(--gold); transform: rotateY(360deg); }
.practice-card h3 { font-size: 25px; margin-bottom: 12px; }
.practice-card p { font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.7; }
.practice-card .more { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 8px; }
.practice-card .more i { transition: transform .35s var(--ease); }
.practice-card:hover .more i { transform: translateX(5px); }
.practice-card .new-tag {
  position: absolute; top: 18px; right: 18px; font-family: var(--sans); font-size: 9px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase; color: #fff; background: var(--gold); padding: 4px 9px; border-radius: 20px;
}

/* attorney band */
.attorney { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.attorney-media { position: relative; }
.attorney-media .frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.attorney-media .frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.attorney-media::before {
  content: ""; position: absolute; left: -22px; top: -22px; width: 120px; height: 120px;
  border-top: 2px solid var(--gold); border-left: 2px solid var(--gold);
}
.attorney h2 { font-size: clamp(30px, 3.4vw, 44px); }
.attorney .signature { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--gold-deep); margin-top: 18px; }
.attorney .role { font-family: var(--sans); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* cta band */
.cta-band { position: relative; background: var(--dark); color: #fff; text-align: center; padding: 84px 0; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% -20%, rgba(168,136,78,0.25), transparent 55%); }
.cta-band > .container { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); }
.cta-band p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 30px; }

/* =====================================================================
   PAGE HEADER (interior pages)
   ===================================================================== */
.page-hero { position: relative; background: var(--dark); color: #fff; padding: 88px 0 76px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% -10%, rgba(168,136,78,0.28), transparent 48%); }
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: var(--champagne); }
.page-hero .eyebrow::before { background: var(--champagne); }
.page-hero h1 { color: #fff; font-size: clamp(38px, 5vw, 64px); margin: 0; }
.breadcrumb { margin-top: 18px; font-family: var(--sans); font-size: 13px; letter-spacing: .5px; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--champagne); }
.breadcrumb span { margin: 0 8px; color: var(--gold); }

/* =====================================================================
   ARTICLE (practice pages)
   ===================================================================== */
.article-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.article .article-img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 34px; }
.article p { font-size: 17px; color: var(--ink-soft); }
.article p.first { font-family: var(--serif); font-size: 23px; line-height: 1.55; color: var(--ink); margin-bottom: 26px; }
.article h2 { font-size: 30px; margin: 40px 0 18px; }
.article h3 { font-size: 22px; margin: 30px 0 14px; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line-soft); font-size: 16px; color: var(--ink-soft); }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 19px;
  width: 8px; height: 8px; background: var(--gold);
  transform: rotate(45deg);
}
.check-list li::after {
  content: ""; position: absolute; left: 0; top: 23px;
  width: 16px; height: 1px; background: var(--line);
}
.feature-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 12px; }
.feature-list li { background: var(--surface); border-left: 3px solid var(--gold); padding: 18px 22px; border-radius: 0 10px 10px 0; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.feature-list li:hover { transform: translateX(6px); }
.feature-list li strong { font-family: var(--serif); font-weight: 600; color: var(--gold-deep); font-size: 18px; display: block; margin-bottom: 3px; }

/* sidebar */
.sidebar { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.side-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 28px; }
.side-card h4 { font-size: 20px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-family: var(--sans); font-size: 14.5px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.side-links a:last-child { border-bottom: none; }
.side-links a i { color: var(--gold); font-size: 16px; }
.side-links a.active { color: var(--gold-deep); }
.side-links a:hover { color: var(--gold-deep); padding-left: 6px; }
.side-card--dark { background: var(--dark); color: #fff; text-align: center; }
.side-card--dark h4 { color: #fff; border-color: rgba(255,255,255,.15); }
.side-card--dark p { color: rgba(255,255,255,.75); font-size: 15px; }

/* =====================================================================
   SERVICE / GRID PAGE
   ===================================================================== */
.lead-block { max-width: 820px; margin: 0 auto 64px; text-align: center; }

/* =====================================================================
   ABOUT PAGE
   ===================================================================== */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.value-card { background: var(--surface); border: 1px solid var(--line-soft); padding: 36px 30px; border-radius: 14px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.value-card i { font-size: 30px; color: var(--gold); margin-bottom: 16px; }
.value-card h3 { font-size: 23px; margin-bottom: 10px; }
.value-card p { font-size: 15px; margin: 0; }

/* =====================================================================
   CONTACT PAGE
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 20px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line-soft); padding: 26px; border-radius: 14px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.contact-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--line); }
.contact-item i { flex: none; width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--gold); font-size: 22px; transition: all .4s var(--ease); }
.contact-item:hover i { background: var(--gold); color: #fff; }
.contact-item h3 { font-size: 20px; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-family: var(--sans); font-size: 15.5px; color: var(--ink-soft); margin: 0; }
.contact-item a:hover { color: var(--gold-deep); }

.contact-form { background: var(--surface); border: 1px solid var(--line-soft); padding: 36px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact-form input, .contact-form textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 14px 16px; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(168,136,78,0.12); }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); padding: 78px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 50px; padding-bottom: 56px; }
.footer-col h4 { color: #fff; font-size: 13px; font-family: var(--sans); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; }
.footer-brand img { height: 50px; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; line-height: 1.8; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #fff; font-size: 17px; transition: all .35s var(--ease); }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.footer-links a { display: block; padding: 7px 0; font-size: 15px; color: rgba(255,255,255,.72); }
.footer-links a:hover { color: var(--champagne); padding-left: 5px; }
.footer-contact p { font-size: 15px; margin-bottom: 14px; display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { color: var(--gold); font-size: 17px; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.72); }
.footer-contact a:hover { color: var(--champagne); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.55); }
.footer-bottom a { color: var(--champagne); }

/* back to top */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  opacity: 0; visibility: hidden; transform: translateY(12px); cursor: pointer; border: none;
  box-shadow: var(--shadow-sm); transition: all .35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--ink); }

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; } .reveal.d6 { transition-delay: .48s; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 460px; }
  .attorney { grid-template-columns: 1fr; gap: 40px; }
  .attorney-media { max-width: 460px; }
  .practice-grid, .values { grid-template-columns: repeat(2,1fr); }
  .article-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .side-card { flex: 1; min-width: 260px; }
}
@media (max-width: 860px) {
  .nav, .header-tools .lang, .header-tools .btn { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .intro-band, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 70px 0; }
  .hero-stats { gap: 28px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { flex-wrap: wrap; }
  .hero-media .badge { left: 0; }
  .sidebar { flex-direction: column; }

  /* horizontal rows for practice areas on phones — full titles, visible icons */
  .practice-grid { grid-template-columns: 1fr; gap: 12px; }
  .practice-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; text-align: left; }
  .practice-card .pc-icon { flex: 0 0 auto; width: 50px; height: 50px; font-size: 24px; margin: 0; }
  .practice-card h3 { font-size: 19px; line-height: 1.2; margin: 0; word-break: normal; overflow-wrap: anywhere; }
  .practice-card p, .practice-card .more { display: none; }
  .practice-card .new-tag { top: 12px; right: 12px; font-size: 8px; padding: 3px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  * { animation: none !important; }
}
