/* =========================================================
   סהר בירי – משרד עורכי דין · Sahar Biri Law Office
   Dark-luxury design system · RTL Hebrew
   ========================================================= */

:root {
  --bg: #0a111e;
  --bg-2: #0d1728;
  --panel: #101f35;
  --panel-2: #12233c;
  --navy: #16406b;
  --navy-soft: #1a4a75;
  --gold: #c9a063;
  --gold-light: #e8cb95;
  --gold-deep: #9c7440;
  --ink: #f4f7fa;
  --muted: #a9b8c9;
  --faint: #7286a0;
  --line: rgba(201, 160, 99, .25);
  --line-soft: rgba(201, 160, 99, .12);
  --gold-grad: linear-gradient(100deg, #a97c3f 0%, #e8cb95 45%, #c9a063 80%);
  --shadow-lg: 0 30px 60px -18px rgba(2, 8, 18, .75);
  --shadow-md: 0 18px 40px -16px rgba(2, 8, 18, .6);
  --radius: 14px;
  --font-serif: "Frank Ruhl Libre", "Times New Roman", serif;
  --font-sans: "Heebo", "Arial Hebrew", Arial, sans-serif;
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 600; }

::selection { background: rgba(201, 160, 99, .35); color: #fff; }

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

/* ---------- Utilities ---------- */
.container { width: min(1180px, 92vw); margin-inline: auto; }
.container.narrow { width: min(880px, 92vw); }

.section { padding-block: clamp(72px, 9vw, 118px); position: relative; }
.section.tight { padding-block: clamp(48px, 6vw, 76px); }
.section.alt { background: var(--bg-2); }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .22em;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 44px; height: 1px;
  background: linear-gradient(to left, var(--gold), transparent);
}
.eyebrow.center::after {
  content: "";
  width: 44px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 58px); }
.section-head.center { margin-inline: auto; text-align: center; }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.25; }

.section-head h2, .page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -.01em;
}
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 3px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .02em;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(-4px); }

.btn-gold {
  background: var(--gold-grad);
  color: #14202f;
  font-weight: 600;
  box-shadow: 0 12px 30px -10px rgba(201, 160, 99, .45);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(201, 160, 99, .55); }

.btn-outline {
  border: 1px solid var(--line);
  color: var(--gold-light);
  background: rgba(201, 160, 99, .04);
}
.btn-outline:hover { border-color: var(--gold); background: rgba(201, 160, 99, .1); transform: translateY(-2px); }

.btn-ghost {
  padding: 12px 22px;
  color: var(--gold-light);
  font-weight: 500;
}
.btn-ghost:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .35s ease, box-shadow .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 14, 25, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(201, 160, 99, .14);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.brand img { height: 40px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand .brand-text b {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: .01em;
}
.brand .brand-text span {
  font-size: .68rem;
  letter-spacing: .3em;
  color: var(--gold);
  font-weight: 400;
}

.main-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.main-nav a {
  font-size: .98rem;
  font-weight: 400;
  color: var(--muted);
  padding: 6px 2px;
  position: relative;
  white-space: nowrap;
  transition: color .25s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 1px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-weight: 500;
  font-size: .98rem;
  direction: ltr;
}
.header-phone svg { width: 16px; height: 16px; }
.header-cta .btn { padding: 11px 24px; font-size: .95rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 130;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--gold-light);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media, .hero-media video, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8, 14, 25, .5) 0%, rgba(8, 14, 25, .28) 40%, rgba(10, 17, 30, .92) 88%, var(--bg) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(22, 64, 107, .28), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 110px;
  max-width: 780px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-light);
  letter-spacing: .28em;
  font-size: .8rem;
  font-weight: 400;
  margin-bottom: 26px;
}
.hero-kicker::before, .hero-kicker::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
  opacity: .6;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: .01em;
}
.hero h1 .serif-line {
  display: block;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  margin-top: 10px;
  line-height: 1.15;
}
.hero-sub {
  margin-top: 26px;
  max-width: 590px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.14rem);
  font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.hero-trust {
  position: absolute;
  z-index: 3;
  bottom: 0;
  inset-inline: 0;
  border-top: 1px solid rgba(201, 160, 99, .16);
  background: rgba(8, 14, 25, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-trust .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 20px 8px;
  text-align: right;
}
.trust-item + .trust-item { border-inline-start: 1px solid rgba(201, 160, 99, .12); }
.trust-item .t-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
}
.trust-item .t-label { font-size: .84rem; color: var(--muted); line-height: 1.4; }

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 96px;
  inset-inline-start: 50%;
  translate: 50% 0;
  display: none;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(52px, 8vw, 96px));
  padding-bottom: clamp(52px, 7vw, 88px);
  overflow: hidden;
  background: var(--bg-2);
}
.page-hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 62%;
  opacity: .35;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 17, 30, .68), rgba(10, 17, 30, .9) 70%, var(--bg) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 760px; }
.page-hero .lead {
  margin-top: 18px;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.1rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--faint);
  margin-bottom: 22px;
}
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { color: var(--gold); opacity: .6; }

/* ---------- Practice cards ---------- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.practice-card {
  position: relative;
  background: linear-gradient(170deg, var(--panel) 0%, rgba(13, 23, 40, .6) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 40px 32px 34px;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}
.practice-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--gold-grad);
  opacity: 0;
  transition: opacity .35s ease;
}
.practice-card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}
.practice-card:hover::before { opacity: 1; }
.practice-card.featured { border-color: var(--line); }
.practice-card.featured::before { opacity: 1; }

.p-flag {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  font-size: .7rem;
  letter-spacing: .16em;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 12px;
  background: rgba(201, 160, 99, .07);
}

.p-icon {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-bottom: 24px;
  background: radial-gradient(circle at 35% 30%, rgba(201, 160, 99, .16), transparent 70%);
}
.p-icon svg { width: 30px; height: 30px; stroke: var(--gold-light); }

.practice-card h3 {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.practice-card p { color: var(--muted); font-size: .99rem; flex-grow: 1; }

.p-points { margin: 18px 0 22px; display: grid; gap: 9px; }
.p-points li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: .93rem;
  color: var(--muted);
}
.p-points li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  translate: 0 -2px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-weight: 500;
  font-size: .96rem;
  margin-top: auto;
}
.card-link svg { width: 15px; height: 15px; transition: transform .25s ease; }
.card-link:hover { color: var(--gold); }
.card-link:hover svg { transform: translateX(-4px); }

/* ---------- Values strip ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-item {
  padding: 30px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(16, 31, 53, .45);
  transition: border-color .3s ease, transform .3s ease;
}
.value-item:hover { border-color: var(--line); transform: translateY(-4px); }
.value-item .v-num {
  font-family: var(--font-serif);
  font-size: .95rem;
  color: var(--gold);
  letter-spacing: .12em;
  display: block;
  margin-bottom: 14px;
}
.value-item h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
.value-item p { color: var(--muted); font-size: .92rem; line-height: 1.65; }

/* ---------- About split ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.about-media { position: relative; }
.about-media .photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-media .photo-frame img { width: 100%; height: auto; }
.about-media::before {
  content: "";
  position: absolute;
  inset: 26px -22px -22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  z-index: -1;
}
.about-badge {
  position: absolute;
  bottom: -26px;
  inset-inline-start: -14px;
  background: linear-gradient(150deg, #1b3a60, #10243f);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 26px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge b {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  display: block;
  line-height: 1.1;
}
.about-badge span { font-size: .82rem; color: var(--muted); }

.about-text h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 8px;
}
.about-text .role { color: var(--gold-light); letter-spacing: .1em; font-size: .92rem; margin-bottom: 22px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-text .about-quote {
  border-inline-start: 2px solid var(--gold);
  padding-inline-start: 18px;
  margin: 24px 0;
  font-family: var(--font-serif);
  font-size: 1.14rem;
  color: var(--ink);
  font-style: italic;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(24px, 4vw, 54px);
  margin: 30px 0 34px;
  padding-block: 22px;
  border-block: 1px solid var(--line-soft);
}
.stat .num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.1rem;
  display: block;
  line-height: 1.15;
}
.stat .label { color: var(--muted); font-size: .9rem; }

/* ---------- Process timeline ---------- */
.process-wrap { position: relative; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 28px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(16, 31, 53, .4);
  transition: border-color .3s ease, transform .3s ease;
}
.process-step:hover { border-color: var(--line); transform: translateY(-4px); }
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 12px;
  opacity: .95;
}
.process-step h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 8px; }
.process-step p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; }
.testi-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(430px, 84vw);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  scrollbar-width: none;
  direction: rtl;
}
@media (min-width: 1101px) {
  .testi-track { grid-auto-columns: calc((100% - 40px) / 3); overflow-x: visible; }
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  scroll-snap-align: center;
  background: linear-gradient(165deg, var(--panel) 0%, rgba(13, 23, 40, .55) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 30px 28px;
  display: flex;
  flex-direction: column;
}
.testi-card .quote-mark {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: .6;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}
.testi-card blockquote { color: var(--ink); font-size: 1.02rem; flex-grow: 1; }
.testi-card .stars { display: flex; gap: 3px; margin: 18px 0 10px; }
.testi-card .stars svg { width: 15px; height: 15px; fill: var(--gold); }
.testi-card cite { font-style: normal; color: var(--muted); font-size: .9rem; }
.testi-card cite b { color: var(--gold-light); font-weight: 500; display: block; }
.testi-note { text-align: center; color: var(--faint); font-size: .85rem; margin-top: 16px; }
.testi-note a { color: var(--gold-light); border-bottom: 1px solid var(--line); }

/* ---------- Articles ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.article-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-8px); border-color: var(--line); box-shadow: var(--shadow-md); }
.article-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.article-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  filter: saturate(.85);
}
.article-card:hover .article-media img { transform: scale(1.06); }
.article-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 17, 30, .55), transparent 55%);
}
.article-tag {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 2;
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--gold-light);
  background: rgba(8, 14, 25, .72);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 5px 13px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.article-body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.article-body h3 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.article-body p { color: var(--muted); font-size: .94rem; flex-grow: 1; margin-bottom: 16px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(10, 17, 30, .92) 30%, rgba(16, 42, 75, .82)),
    url("../assets/hero-poster.jpg") center 60% / cover no-repeat;
  border-block: 1px solid var(--line-soft);
}
.cta-inner {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  padding-block: clamp(64px, 8vw, 96px);
}
.cta-inner h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 14px;
}
.cta-inner p { color: var(--muted); margin-bottom: 30px; font-size: 1.05rem; }
.cta-inner .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Service list (inner pages) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(16, 31, 53, .4);
  transition: border-color .3s ease, transform .3s ease;
}
.service-item:hover { border-color: var(--line); transform: translateY(-3px); }
.service-item .s-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.service-item .s-icon svg { width: 21px; height: 21px; stroke: var(--gold-light); }
.service-item h3 { font-size: 1.03rem; font-weight: 600; margin-bottom: 5px; }
.service-item p { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ---------- Feature split (inner pages) ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}
.feature-split .feature-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.feature-split .feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-split h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 16px;
}
.feature-split p { color: var(--muted); margin-bottom: 14px; }

.check-list { display: grid; gap: 13px; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: .98rem; }
.check-list li svg { width: 20px; height: 20px; stroke: var(--gold); flex-shrink: 0; margin-top: 4px; }
.check-list li span b { color: var(--gold-light); font-weight: 600; }
.check-list li span { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(16, 31, 53, .4);
  overflow: hidden;
  transition: border-color .3s ease;
}
.faq-item[open] { border-color: var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-weight: 500;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform .3s ease, background-color .3s ease;
}
.faq-item summary .faq-icon svg { width: 13px; height: 13px; stroke: var(--gold-light); }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); background: rgba(201, 160, 99, .12); }
.faq-item .faq-body { padding: 0 26px 24px; color: var(--muted); font-size: .98rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}

.contact-form {
  background: linear-gradient(165deg, var(--panel) 0%, rgba(13, 23, 40, .55) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: .88rem;
  color: var(--gold-light);
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(10, 17, 30, .6);
  border: 1px solid rgba(201, 160, 99, .18);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a063' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 160, 99, .14);
}
.field input.error, .field textarea.error { border-color: #c96363; }

.form-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(90, 160, 110, .12);
  border: 1px solid rgba(120, 190, 140, .3);
  color: #cfe9d6;
  font-size: .95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.form-note[hidden] { display: none; }
.form-note svg { width: 20px; height: 20px; stroke: #8fd0a0; flex-shrink: 0; margin-top: 3px; }
.form-note a { color: #b6e6c3; text-decoration: underline; }
.form-disclaimer { margin-top: 14px; font-size: .8rem; color: var(--faint); }

.contact-aside { display: grid; gap: 14px; }
.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: rgba(16, 31, 53, .4);
  transition: border-color .3s ease;
}
.info-card:hover { border-color: var(--line); }
.info-card .i-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.info-card .i-icon svg { width: 20px; height: 20px; stroke: var(--gold-light); }
.info-card b { display: block; font-weight: 600; font-size: .98rem; margin-bottom: 3px; }
.info-card a, .info-card span { color: var(--muted); font-size: .95rem; }
.info-card a:hover { color: var(--gold-light); }
.info-card .ltr { direction: ltr; display: inline-block; }

.map-frame {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  filter: grayscale(.5) contrast(1.02) brightness(.92);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #070d17;
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(50px, 7vw, 80px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 4vw, 54px);
  padding-bottom: 46px;
}
.footer-brand img { height: 118px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: .93rem; max-width: 300px; }
.site-footer h4 {
  font-size: .85rem;
  letter-spacing: .18em;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col span { color: var(--muted); font-size: .95rem; transition: color .25s ease; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col .ltr { direction: ltr; display: inline-block; }

.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color .25s ease, background-color .25s ease, transform .25s ease;
}
.footer-social a svg { width: 17px; height: 17px; fill: var(--muted); transition: fill .25s ease; }
.footer-social a:hover { border-color: var(--gold); background: rgba(201, 160, 99, .08); transform: translateY(-3px); }
.footer-social a:hover svg { fill: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(201, 160, 99, .08);
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: .84rem;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 26px;
  inset-inline-start: 26px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #1eb757;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px -8px rgba(30, 183, 87, .55);
  transition: transform .3s ease, box-shadow .3s ease;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 20px 40px -8px rgba(30, 183, 87, .65); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.2, .65, .3, 1), transform .8s cubic-bezier(.2, .65, .3, 1);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-phone span { display: none; }
  .practice-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 120;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: rgba(7, 12, 22, .97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav a {
    font-size: 1.35rem;
    font-family: var(--font-serif);
    padding: 12px;
    color: var(--ink);
  }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 900px) {
  .header-cta .btn { display: none; }

  .practice-grid, .articles-grid { grid-template-columns: 1fr; }
  .about-grid, .feature-split, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .about-media::before { display: none; }
  .about-badge { inset-inline-start: 12px; bottom: -20px; }
  .hero-trust .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item { justify-content: flex-start; padding: 14px 8px; }
  .trust-item:nth-child(3) { border-inline-start: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { padding-bottom: 170px; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .values-grid, .service-grid, .form-row { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, auto); gap: 18px; }
  .stat .num { font-size: 1.6rem; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .wa-float { width: 52px; height: 52px; bottom: 18px; inset-inline-start: 18px; }
  .trust-item .t-num { font-size: 1.35rem; }
  .trust-item .t-label { font-size: .76rem; }
  .process-grid { gap: 12px; }
}
