/* ==========================================================================
   עו״ד סיגל ולעס — גיליון סגנונות ראשי
   ========================================================================== */

:root {
  --ink: #0a0c11;
  --ink-2: #10131a;
  --card: #151922;
  --card-2: #1b202b;
  --line: rgba(201, 169, 110, 0.16);
  --line-strong: rgba(201, 169, 110, 0.38);
  --gold: #c9a96e;
  --gold-bright: #e6cd96;
  --gold-deep: #9c7f4a;
  --text: #eeebe5;
  --text-2: #c4c7ce;
  --muted: #8e94a0;
  --wa: #25d366;

  --serif: "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --sans: "Heebo", "Assistant", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --radius: 22px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --fs: 1;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  font-size: calc(16px * var(--fs));
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; inset-inline-start: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* Grain overlay */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-5%, 3%); }
  40% { transform: translate(4%, -6%); }
  60% { transform: translate(-3%, 7%); }
  80% { transform: translate(6%, -2%); }
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: clip-path 1s var(--ease-in-out), visibility 0s linear 1s;
  clip-path: inset(0 0 0 0);
}
.preloader.is-done {
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.preloader__inner { display: grid; justify-items: center; gap: 18px; }
.preloader__mark { width: 74px; height: 74px; color: var(--gold); }
.preloader__mark path,
.preloader__mark circle,
.preloader__mark line {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: draw 1.4s var(--ease) forwards;
}
.preloader__name {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.9s var(--ease) 0.5s forwards;
}
.preloader__bar {
  width: 140px; height: 1px;
  background: var(--line);
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  transform: translateX(100%);
  animation: sweep 1.1s var(--ease-in-out) infinite;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes sweep { to { transform: translateX(-100%); } }

/* ==========================================================================
   Header
   ========================================================================== */
.progress {
  position: fixed;
  top: 0; inset-inline: 0;
  z-index: 110;
  height: 2px;
  background: linear-gradient(270deg, var(--gold-deep), var(--gold-bright));
  transform-origin: right;
  transform: scaleX(0);
}

.header {
  position: fixed;
  top: 0; inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s, height 0.4s var(--ease), border-color 0.4s, transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  --header-h: 68px;
  height: 68px;
  background: rgba(10, 12, 17, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--gold);
  transition: transform 0.6s var(--ease), border-color 0.3s;
}
.brand:hover .brand__mark { transform: rotate(-12deg); border-color: var(--gold); }
.brand__mark svg { width: 22px; height: 22px; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }
.brand__role { font-size: 0.7rem; letter-spacing: 0.35em; color: var(--gold); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__link {
  position: relative;
  font-size: 0.95rem;
  color: var(--text-2);
  transition: color 0.3s;
  padding-block: 6px;
}
.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0; inset-inline: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--gold-bright); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: right; }

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

.pill-phone {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-bright);
  direction: ltr;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.pill-phone svg { width: 16px; height: 16px; }
.pill-phone:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  position: relative;
}
.burger span {
  position: absolute;
  inset-inline: 13px;
  height: 1.5px;
  background: var(--gold-bright);
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22.5px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  clip-path: circle(0% at 8% 4%);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease-in-out), visibility 0s linear 0.8s;
}
.mobile-menu.is-open {
  clip-path: circle(150% at 8% 4%);
  visibility: visible;
  transition: clip-path 0.8s var(--ease-in-out), visibility 0s;
}
.mobile-menu ul { display: grid; gap: 6px; }
.mobile-menu a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 2.8rem);
  font-weight: 700;
  padding-block: 6px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s, transform 0.7s var(--ease), color 0.3s;
}
.mobile-menu a small { font-family: var(--sans); font-size: 0.8rem; color: var(--gold); font-weight: 400; }
.mobile-menu a:hover { color: var(--gold-bright); }
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(1) a { transition-delay: 0.25s; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: 0.31s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: 0.37s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: 0.43s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: 0.49s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: 0.55s; }
.mobile-menu__foot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid; gap: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}
.mobile-menu__foot a { font-family: var(--sans); font-size: 1.1rem; color: var(--gold-bright); opacity: 1; transform: none; direction: ltr; justify-content: flex-end; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(201, 169, 110, 0.55);
}
.btn--gold::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--text);
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform 0.55s var(--ease);
}
.btn--gold:hover::before { transform: translateY(0); }
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  inset-inline-start: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: shine 5s var(--ease-in-out) 3s infinite;
}
@keyframes shine {
  0%, 70% { inset-inline-start: -60%; }
  100% { inset-inline-start: 130%; }
}
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: scale(0);
  border-radius: inherit;
  transition: transform 0.55s var(--ease);
}
.btn--ghost:hover { color: var(--ink); border-color: var(--gold); }
.btn--ghost:hover::before { transform: scale(1); }
.btn--ghost .wa-ic { color: var(--wa); transition: color 0.3s; }
.btn--ghost:hover .wa-ic { color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600;
  color: var(--gold-bright);
  font-size: 0.95rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.link-arrow:hover svg { transform: translateX(-6px); }

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.section { position: relative; padding-block: clamp(90px, 13vw, 160px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.6; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
.h2 em { font-style: normal; color: var(--gold-bright); }
.lead { margin-top: 20px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-2); max-width: 58ch; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.reveal.is-in { opacity: 1; transform: none; }

.split-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.split-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.2s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.is-in .split-line > span,
.split-line.is-in > span { transform: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 110px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}
.orb--1 { width: 560px; height: 560px; top: -180px; left: 8%; background: rgba(201, 169, 110, 0.16); animation: float1 18s ease-in-out infinite; }
.orb--2 { width: 420px; height: 420px; bottom: -120px; right: -80px; background: rgba(60, 74, 110, 0.35); animation: float2 22s ease-in-out infinite; }
.orb--3 { width: 260px; height: 260px; top: 40%; left: 45%; background: rgba(230, 205, 150, 0.08); animation: float1 26s ease-in-out infinite reverse; }
@keyframes float1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(60px, 40px); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-50px, -60px); } }

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(201, 169, 110, 0.05) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
}
.hero__ghost {
  position: absolute;
  bottom: -0.18em;
  left: -0.04em;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(9rem, 24vw, 22rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 110, 0.18);
  user-select: none;
  white-space: nowrap;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.06);
  font-size: 0.85rem;
  color: var(--gold-bright);
  margin-bottom: 30px;
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 0 rgba(230, 205, 150, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 205, 150, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(230, 205, 150, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 205, 150, 0); }
}

.hero__title {
  font-size: clamp(2.3rem, 4.6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
}
.hero__title .gold {
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-bright) 40%, var(--gold) 60%, var(--gold-bright));
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldflow 7s ease-in-out infinite;
}
@keyframes goldflow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero__text { margin-top: 28px; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--text-2); max-width: 56ch; }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.trust {
  margin-top: 44px;
  display: flex; flex-wrap: wrap;
  gap: 14px 28px;
  font-size: 0.9rem;
  color: var(--muted);
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--gold); }

/* Portrait */
.portrait { position: relative; justify-self: center; width: min(100%, 440px); }
.portrait__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 220px 220px 26px 26px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--card-2), var(--ink-2));
  border: 1px solid var(--line-strong);
  clip-path: inset(100% 0 0 0 round 220px 220px 26px 26px);
  transition: clip-path 1.6s var(--ease-in-out) 0.3s;
}
.is-ready .portrait__frame { clip-path: inset(0 0 0 0 round 220px 220px 26px 26px); }
.portrait__frame img {
  width: 100%; height: 115%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.25);
  transition: transform 2.2s var(--ease) 0.3s;
  will-change: transform;
}
.is-ready .portrait__frame img { transform: scale(1); }
.portrait__frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 12, 17, 0.55));
  pointer-events: none;
}
.portrait__fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 7rem;
  color: rgba(201, 169, 110, 0.35);
}
.portrait__frame img + .portrait__fallback,
.portrait__frame picture + .portrait__fallback { display: none; }
.portrait__frame.no-img .portrait__fallback { display: grid; }

.portrait__outline {
  position: absolute;
  inset: -16px;
  border-radius: 236px 236px 36px 36px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.portrait__seal {
  position: absolute;
  top: 6%;
  inset-inline-end: -48px;
  width: 128px; height: 128px;
  color: var(--gold);
  animation: spin 26s linear infinite;
  z-index: 3;
}
.portrait__seal-core {
  position: absolute;
  top: calc(6% + 40px);
  inset-inline-end: -8px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  color: var(--gold-bright);
  z-index: 4;
}
.portrait__seal-core svg { width: 22px; height: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }

.portrait__card {
  position: absolute;
  bottom: -26px;
  inset-inline-start: -30px;
  z-index: 4;
  padding: 16px 22px;
  border-radius: 18px;
  background: rgba(21, 25, 34, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}
.portrait__card strong { display: block; font-family: var(--serif); font-size: 1.15rem; }
.portrait__card span { font-size: 0.76rem; letter-spacing: 0.22em; color: var(--gold); }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  translate: -50% 0;
  z-index: 3;
  display: grid; justify-items: center; gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.scroll-cue__line {
  width: 1px; height: 46px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -40%;
  height: 40%;
  background: var(--gold-bright);
  animation: drip 2s var(--ease-in-out) infinite;
}
@keyframes drip { to { top: 100%; } }

/* Hero load-in sequencing */
.hero [data-load] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.is-ready .hero [data-load] { opacity: 1; transform: none; }
.hero .split-line > span { transition-delay: calc(var(--d, 0) * 1ms); }
.is-ready .hero .split-line > span { transform: none; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  position: relative;
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  padding-block: 22px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 36px;
  padding-inline: 18px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--text-2);
  white-space: nowrap;
}
.marquee__item::after { content: "◆"; font-size: 0.6em; color: var(--gold); }
@keyframes marquee { to { transform: translateX(50%); } }

/* ==========================================================================
   Practice areas
   ========================================================================== */
.practice__layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.practice__aside { position: sticky; top: calc(var(--header-h) + 40px); }
.practice__aside .btn { margin-top: 36px; }

.acc { border-top: 1px solid var(--line); }
.acc__item {
  position: relative;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s;
}
.acc__item::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--ease);
}
.acc__item.is-open::before { transform: scaleY(1); }
.acc__item.is-open { background: linear-gradient(270deg, rgba(201, 169, 110, 0.05), transparent 70%); }

.acc__btn {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 30px);
  width: 100%;
  padding: 26px clamp(10px, 2vw, 22px);
  text-align: right;
}
.acc__num {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: rgba(201, 169, 110, 0.8);
  transition: color 0.3s;
  min-width: 2ch;
}
.acc__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--gold);
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}
.acc__icon svg { width: 22px; height: 22px; }
.acc__title {
  flex: 1;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 700;
  transition: color 0.3s, transform 0.5s var(--ease);
}
.acc__toggle {
  position: relative;
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: transform 0.5s var(--ease), background 0.3s;
}
.acc__toggle::before, .acc__toggle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: var(--gold-bright);
  translate: -50% -50%;
  transition: transform 0.5s var(--ease);
}
.acc__toggle::after { transform: rotate(90deg); }

.acc__btn:hover .acc__title { color: var(--gold-bright); transform: translateX(-6px); }
.acc__btn:hover .acc__icon { border-color: var(--gold); }
.acc__item.is-open .acc__num { color: var(--gold-bright); }
.acc__item.is-open .acc__title { color: var(--gold-bright); }
.acc__item.is-open .acc__icon { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: rotate(-8deg); }
.acc__item.is-open .acc__toggle { transform: rotate(180deg); background: rgba(201, 169, 110, 0.12); }
.acc__item.is-open .acc__toggle::after { transform: rotate(0deg); }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; visibility: hidden; transition: visibility 0s linear 0.6s; }
.is-open > .acc__panel > div { visibility: visible; transition-delay: 0s; }
.acc__body {
  padding: 0 clamp(10px, 2vw, 22px) 34px;
  padding-inline-start: calc(clamp(10px, 2vw, 22px) + 2ch + 46px + clamp(32px, 6vw, 60px));
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.5s, transform 0.6s var(--ease);
}
.acc__item.is-open .acc__body { opacity: 1; transform: none; transition-delay: 0.12s; }
.acc__body p { color: var(--text-2); }
.bullets { margin-top: 18px; display: grid; gap: 12px; }
.bullets li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--text-2);
  font-size: 0.97rem;
}
.bullets li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
}
.bullets b { color: var(--text); font-weight: 600; }
.acc__body .link-arrow { margin-top: 22px; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { background: var(--ink-2); border-block: 1px solid var(--line); overflow: hidden; }
.process__head { text-align: center; max-width: 720px; margin-inline: auto; }
.process__head .eyebrow { justify-content: center; }
.process__head .lead { margin-inline: auto; }

.steps {
  position: relative;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.steps__line {
  position: absolute;
  top: 36px;
  inset-inline: 12%;
  height: 1px;
  background: var(--line);
}
.steps__line span {
  display: block;
  height: 100%;
  background: linear-gradient(270deg, var(--gold-bright), var(--gold-deep));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 2.2s var(--ease-in-out) 0.3s;
}
.steps.is-in .steps__line span { transform: scaleX(1); }

.step { position: relative; text-align: center; }
.step__dot {
  position: relative;
  z-index: 1;
  width: 72px; height: 72px;
  margin: 0 auto 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--gold-bright);
  transition: background 0.6s, color 0.6s, box-shadow 0.6s;
}
.steps.is-in .step__dot {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 0 0 8px rgba(201, 169, 110, 0.08);
  transition-delay: calc(var(--d, 0) * 1ms + 400ms);
}
.step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; max-width: 28ch; margin-inline: auto; }

/* ==========================================================================
   About
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.about__grid .values { margin-top: 34px; }
.about__photo {
  position: sticky;
  top: calc(var(--header-h) + 30px);
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
  clip-path: inset(12% 6% 12% 6% round 28px);
  transition: clip-path 1.4s var(--ease-in-out), opacity 1s var(--ease), transform 1.1s var(--ease);
}
.about__photo.is-in { clip-path: inset(0 0 0 0 round 28px); }
.about__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.12);
  transition: transform 1.8s var(--ease);
}
.about__photo.is-in img { transform: scale(1); }
.about__photo:hover img { transform: scale(1.03); }
.about__photo figcaption {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(10, 12, 17, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold-bright);
}
.quote {
  position: relative;
  margin-top: 34px;
  padding: 30px 34px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.7;
  color: var(--text);
}
.quote::before {
  content: "״";
  position: absolute;
  top: -42px;
  inset-inline-start: 22px;
  font-size: 7rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.6;
}
.quote footer { margin-top: 16px; font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.2em; color: var(--gold); }

.values { display: grid; gap: 18px; }
.value {
  --mx: 50%; --my: 50%;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 28px 30px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.value::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(201, 169, 110, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.value:hover { border-color: var(--line-strong); transform: translateX(-8px); }
.value:hover::before { opacity: 1; }
.value__num {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
}
.value h3 { font-size: 1.5rem; margin-bottom: 6px; color: var(--gold-bright); }
.value p { color: var(--text-2); font-size: 0.98rem; }

/* ==========================================================================
   Articles
   ========================================================================== */
.articles { background: var(--ink-2); border-block: 1px solid var(--line); }
.articles__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.articles__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.article-card {
  --mx: 50%; --my: 50%;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 330px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.6s var(--ease), border-color 0.4s;
}
.article-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(201, 169, 110, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.article-card:hover { transform: translateY(-8px); border-color: var(--line-strong); }
.article-card:hover::before { opacity: 1; }
.article-card__tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold-bright);
  font-size: 0.78rem;
}
.article-card h3 { margin-top: 22px; font-size: 1.55rem; line-height: 1.3; }
.article-card p { margin-top: 14px; color: var(--text-2); font-size: 0.97rem; }
.article-card .link-arrow { margin-top: auto; padding-top: 26px; }
.article-card__glyph {
  position: absolute;
  bottom: -30px;
  inset-inline-end: -10px;
  font-family: var(--serif);
  font-size: 9rem;
  line-height: 1;
  color: rgba(201, 169, 110, 0.06);
  pointer-events: none;
}
.article-card--soon {
  justify-content: center;
  align-items: center;
  text-align: center;
  border-style: dashed;
  background: transparent;
}
.article-card--soon p { color: var(--muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__wrap { max-width: 900px; margin-inline: auto; }
.faq__head { text-align: center; margin-bottom: 60px; }
.faq__head .eyebrow { justify-content: center; }
.faq-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 36px;
}
.faq-tab {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.92rem;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.faq-tab:hover { border-color: var(--line-strong); color: var(--text); }
.faq-tab[aria-selected="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 600; }

.faq-list { display: grid; gap: 14px; }
.faq-list[hidden] { display: none; }
.qa {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(21, 25, 34, 0.6);
  transition: border-color 0.3s, background 0.3s;
}
.qa.is-open { border-color: var(--line-strong); background: var(--card); }
.qa__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%;
  padding: 22px 26px;
  text-align: right;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 700;
}
.qa.is-open .qa__btn { color: var(--gold-bright); }
.qa__btn .acc__toggle { width: 34px; height: 34px; }
.qa.is-open .acc__toggle { transform: rotate(180deg); background: rgba(201, 169, 110, 0.12); }
.qa.is-open .acc__toggle::after { transform: rotate(0deg); }
.qa .acc__panel { transition-duration: 0.5s; }
.qa.is-open .acc__panel { grid-template-rows: 1fr; }
.qa__body { padding: 0 26px 26px; color: var(--text-2); }
.qa__body .sub { margin-top: 14px; color: var(--text); font-weight: 600; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  margin-top: 60px;
  align-items: start;
}
.form {
  padding: clamp(26px, 4vw, 44px);
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; margin-bottom: 18px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 26px 18px 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(10, 12, 17, 0.55);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23c9a96e' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 18px center;
}
.field select option { background: var(--card); color: var(--text); }
.field label {
  position: absolute;
  top: 18px;
  inset-inline-start: 19px;
  color: var(--muted);
  font-size: 1rem;
  pointer-events: none;
  transform-origin: right top;
  transition: transform 0.35s var(--ease), color 0.3s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(10, 12, 17, 0.8);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.1);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select + label {
  transform: translateY(-11px) scale(0.78);
  color: var(--gold);
}
.field input[dir="ltr"] { text-align: right; }
.field .req { color: var(--gold); }

.check {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 6px 0 24px;
  font-size: 0.9rem;
  color: var(--text-2);
  cursor: pointer;
}
.check input {
  appearance: none; -webkit-appearance: none;
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 3px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 12, 17, 0.55);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.check input::after {
  content: "";
  width: 10px; height: 6px;
  border-inline-start: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg) scale(0);
  margin-top: -2px;
  transition: transform 0.3s var(--ease);
}
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check button { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }

.field__hint { margin-top: 6px; font-size: 0.82rem; color: var(--muted); }
.field [aria-invalid="true"] { border-color: #e58c8c; }

.notice {
  margin: 4px 0 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(10, 12, 17, 0.45);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--text-2);
}
.notice strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 0.9rem; }
.notice ul { display: grid; gap: 4px; list-style: disc; padding-inline-start: 18px; }
.notice a { color: var(--gold-bright); }

/* Content that must be completed before launch */
.todo { background: rgba(229, 140, 140, 0.16); color: #ffc9c9; padding: 0 4px; border-radius: 4px; }

.form .btn { width: 100%; padding-block: 17px; }
.form__note { margin-top: 16px; font-size: 0.82rem; color: var(--muted); text-align: center; }
.form__status { margin-top: 14px; font-size: 0.92rem; text-align: center; color: var(--gold-bright); min-height: 1.5em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.info { display: grid; gap: 14px; }
.info__card {
  --mx: 50%; --my: 50%;
  position: relative;
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.info__card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(201, 169, 110, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
a.info__card:hover { border-color: var(--line-strong); transform: translateX(-6px); }
a.info__card:hover::before { opacity: 1; }
.info__ic {
  display: grid; place-items: center;
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: 15px;
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold-bright);
}
.info__ic svg { width: 22px; height: 22px; }
.info__ic--wa { background: rgba(37, 211, 102, 0.12); color: var(--wa); }
.info__card small { display: block; font-size: 0.8rem; color: var(--muted); }
.info__card strong { font-weight: 600; font-size: 1.08rem; }
.info__card .ltr { direction: ltr; display: inline-block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  padding-top: 90px;
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
}
.footer__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--line);
}
.footer__cta h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 16ch; }
.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-block: 60px;
}
.footer h3, .footer h4 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.3em; color: var(--gold); font-weight: 500; margin-bottom: 18px; }
.footer p { color: var(--muted); font-size: 0.95rem; }
.footer ul { display: grid; gap: 10px; }
.footer ul a, .footer ul button { color: var(--text-2); font-size: 0.95rem; transition: color 0.3s; text-align: right; }
.footer ul a:hover, .footer ul button:hover { color: var(--gold-bright); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.footer__bottom .links { display: flex; gap: 20px; }
.footer__bottom button:hover { color: var(--gold-bright); }
.footer__disclaimer { font-size: 0.8rem; color: var(--muted); padding-bottom: 26px; max-width: 90ch; }
.footer__ghost {
  position: absolute;
  bottom: -0.3em;
  inset-inline-start: 50%;
  translate: 50% 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(6rem, 20vw, 18rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 110, 0.07);
  pointer-events: none;
  white-space: nowrap;
}

/* ==========================================================================
   Floating UI
   ========================================================================== */
.fab {
  position: fixed;
  bottom: 22px;
  z-index: 80;
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  transition: transform 0.5s var(--ease), opacity 0.4s, box-shadow 0.3s;
}
.fab svg { width: 28px; height: 28px; }
.fab--wa {
  inset-inline-end: 22px;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55);
}
.fab--wa::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: ring 2.6s var(--ease) infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
.fab--wa:hover { transform: scale(1.08) rotate(-6deg); }
.fab__tip {
  position: absolute;
  inset-inline-end: calc(100% + 12px);
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.fab--wa:hover .fab__tip, .fab--wa:focus-visible .fab__tip { opacity: 1; transform: none; }

.fab--a11y {
  inset-inline-start: 22px;
  width: 50px; height: 50px;
  background: var(--card-2);
  border: 1px solid var(--line-strong);
  color: var(--gold-bright);
}
.fab--a11y svg { width: 24px; height: 24px; }
.fab--a11y:hover { transform: scale(1.06); }

.to-top {
  position: fixed;
  bottom: 92px;
  inset-inline-end: 29px;
  z-index: 80;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(21, 25, 34, 0.85);
  color: var(--gold-bright);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.5s var(--ease), background 0.3s;
}
.to-top svg { width: 18px; height: 18px; }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: var(--ink); }

/* A11y panel */
.a11y-panel {
  position: fixed;
  bottom: 84px;
  inset-inline-start: 22px;
  z-index: 120;
  width: min(300px, calc(100vw - 44px));
  padding: 20px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transform-origin: bottom right;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s linear 0.4s;
}
.a11y-panel.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity 0.3s, transform 0.4s var(--ease); }
.a11y-panel h2 { font-size: 1.15rem; margin-bottom: 14px; }
.a11y-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-btn {
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-2);
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.a11y-btn:hover { border-color: var(--line-strong); color: var(--text); }
.a11y-btn[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 600; }
.a11y-panel__foot { margin-top: 12px; display: flex; justify-content: space-between; font-size: 0.82rem; }
.a11y-panel__foot button { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }

/* A11y modes */
html.a11y-contrast {
  --ink: #000; --ink-2: #000; --card: #0b0b0b; --card-2: #111;
  --text: #fff; --text-2: #fff; --muted: #e6e6e6;
  --gold: #ffd666; --gold-bright: #ffe08a;
  --line: rgba(255, 214, 102, 0.6); --line-strong: #ffd666;
}
html.a11y-links a:not(.btn):not(.fab):not(.brand) { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3 { font-family: Arial, "Heebo", sans-serif !important; letter-spacing: 0.01em; }

/* Dialogs */
.dialog {
  position: fixed; inset: 0;
  z-index: 130;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(5, 6, 9, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0s linear 0.35s;
}
.dialog.is-open { opacity: 1; visibility: visible; transition: opacity 0.35s; }
.dialog__box {
  position: relative;
  width: min(680px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 26px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.5s var(--ease);
}
.dialog.is-open .dialog__box { transform: none; }
.dialog__box h2 { font-size: 1.8rem; margin-bottom: 20px; color: var(--gold-bright); }
.dialog__box h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 20px 0 6px; color: var(--text); }
.dialog__box p, .dialog__box li { color: var(--text-2); font-size: 0.95rem; }
.dialog__box ul { list-style: disc; padding-inline-start: 20px; }
.dialog__close {
  position: absolute;
  top: 18px; inset-inline-end: 18px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--gold-bright);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.dialog__close:hover { transform: rotate(90deg); background: rgba(201, 169, 110, 0.12); }
.dialog__close svg { width: 18px; height: 18px; }

/* ==========================================================================
   Article page
   ========================================================================== */
.article-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 90px);
  padding-bottom: 70px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.article-hero .wrap { max-width: 880px; position: relative; z-index: 2; }
.crumbs { display: flex; gap: 10px; font-size: 0.88rem; color: var(--muted); margin-bottom: 30px; }
.crumbs a { color: var(--gold-bright); }
.article-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.15; }
.article-hero .lead { max-width: 62ch; }
.article-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.88rem; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta svg { width: 16px; height: 16px; color: var(--gold); }

.prose { max-width: 760px; margin-inline: auto; padding-block: 70px 40px; font-size: 1.12rem; color: var(--text-2); }
.prose h2 {
  margin: 56px 0 18px;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  color: var(--text);
  display: flex; align-items: center; gap: 14px;
}
.prose h2::before { content: ""; width: 28px; height: 2px; background: var(--gold); flex-shrink: 0; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--text); }
.prose .areas { display: grid; gap: 14px; margin: 26px 0; }
.prose .areas div {
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--gold);
}
.prose .areas strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--gold-bright); margin-bottom: 4px; }
.prose blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-radius: 18px;
  background: rgba(201, 169, 110, 0.07);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--text);
}
.callout {
  max-width: 760px;
  margin: 10px auto 40px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 26px;
  background: linear-gradient(135deg, var(--card-2), var(--card));
  border: 1px solid var(--line-strong);
  display: grid; gap: 20px;
}
.callout h3 { font-size: 1.6rem; }
.callout p { color: var(--text-2); }
.callout__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.disclaimer { max-width: 760px; margin: 0 auto 100px; font-size: 0.85rem; color: var(--muted); font-style: italic; }

.reading-time-bar { position: fixed; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .pill-phone span { display: none; }
  .pill-phone { padding: 0; width: 46px; height: 46px; justify-content: center; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .portrait { width: min(72%, 320px); margin-top: 20px; margin-bottom: 30px; }
  .portrait__seal { width: 100px; height: 100px; inset-inline-end: -30px; }
  .portrait__seal-core { top: calc(6% + 26px); inset-inline-end: 0; }
  .portrait__card { inset-inline-start: -14px; }
  .practice__layout, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .practice__aside { position: static; }
  .about__photo { position: relative; top: 0; max-width: 420px; aspect-ratio: 4 / 4.4; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps__line { display: none; }
  .acc__body { padding-inline-start: clamp(10px, 2vw, 22px); }
}

@media (max-width: 600px) {
  :root { --header-h: 72px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.15rem; }
  .hero { padding-bottom: 90px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .trust { gap: 10px 18px; font-size: 0.85rem; }
  .steps { grid-template-columns: 1fr; }
  .acc__icon { display: none; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__cols { grid-template-columns: 1fr; gap: 34px; }
  .value { grid-template-columns: 1fr; gap: 10px; padding: 24px; }
  .articles__grid { grid-template-columns: 1fr; }
  .fab--wa { width: 54px; height: 54px; bottom: 18px; inset-inline-end: 16px; }
  .fab--a11y { bottom: 20px; inset-inline-start: 16px; width: 46px; height: 46px; }
  .to-top { inset-inline-end: 21px; bottom: 84px; }
  .scroll-cue { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  html { scroll-behavior: auto; }
  .grain { display: none; }
}
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after {
  animation: none !important;
  transition: none !important;
}
html.a11y-still .reveal, html.a11y-still [data-load] { opacity: 1 !important; transform: none !important; }
html.a11y-still .split-line > span { transform: none !important; }
html.a11y-still .portrait__frame { clip-path: none !important; }
html.a11y-still .portrait__frame img { transform: none !important; }
html.a11y-still .about__photo, html.a11y-still .about__photo img { clip-path: none !important; transform: none !important; }

@media print {
  .header, .fab, .to-top, .grain, .preloader, .progress, .marquee, .a11y-panel { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   Service pages
   ========================================================================== */
.service-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.1);
  border: 1px solid var(--line);
  color: var(--gold-bright);
  font-size: 0.82rem;
}
.service-badge svg { width: 16px; height: 16px; }
.article-hero .hero__cta { margin-top: 30px; }
.service-faq { max-width: 760px; margin-inline: auto; }
.related { max-width: 760px; margin: 50px auto 30px; }
.related h2 { font-size: 1.4rem; margin-bottom: 16px; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.related__item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  font-weight: 600;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.related__item:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.related__ic {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 11px;
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold);
}
.related__ic svg { width: 19px; height: 19px; }
.related__go { width: 16px; height: 16px; margin-inline-start: auto; color: var(--gold); transition: transform 0.4s var(--ease); }
.related__item:hover .related__go { transform: translateX(-5px); }
.acc__more { display: inline-flex; margin-inline-start: 18px; }
