:root {
  --ink: #18372d;
  --ink-soft: #5c6862;
  --navy: #123f32;
  --navy-deep: #08271f;
  --gold: #b77b31;
  --gold-dark: #87571f;
  --gold-light: #e8d2ad;
  --paper: #f6f2e9;
  --white: #ffffff;
  --line: #d9d1c3;
  --success: #286c50;
  --shadow: 0 24px 70px rgba(14, 51, 40, 0.12);
  --glass-fill: rgba(255, 255, 255, 0.28);
  --glass-fill-strong: rgba(255, 255, 255, 0.42);
  --glass-border: rgba(255, 255, 255, 0.88);
  --glass-shadow: 0 20px 54px rgba(25, 48, 70, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.96), inset 0 -1px 0 rgba(255, 255, 255, 0.2);
  --glass-gloss: linear-gradient(145deg, rgba(255,255,255,.52) 0%, rgba(255,255,255,.16) 42%, rgba(255,255,255,.3) 100%);
  --glass-dark-gloss: linear-gradient(145deg, rgba(28,67,54,.9) 0%, rgba(7,33,27,.86) 54%, rgba(22,56,45,.89) 100%);
}

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid rgba(198, 154, 82, .62);
  outline-offset: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  overflow-x: clip;
  margin: 0;
  background:
    radial-gradient(circle at 4% 16%, rgba(183,123,49,.08), transparent 24rem),
    radial-gradient(circle at 92% 45%, rgba(31,91,69,.07), transparent 27rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--gold-light); color: var(--navy-deep); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--white);
  color: var(--navy);
  padding: 12px 18px;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 112px 0; }
.eyebrow {
  margin: 0 0 18px;
  color: #87652f;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--gold-light); }
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -0.035em; }
h1 { font-size: clamp(3.2rem, 6.8vw, 6.45rem); }
h2 { font-size: clamp(2.35rem, 4.8vw, 4.5rem); }
h3 { font-size: 1.22rem; }
p { margin-top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 247, 241, 0.96);
  border-bottom: 1px solid rgba(24, 55, 45, 0.11);
  box-shadow: 0 12px 34px rgba(8,39,31,.06);
  backdrop-filter: blur(18px);
}
.utility-bar { background: var(--navy-deep); color: rgba(255,255,255,.82); }
.utility-inner { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 24px; font-size: .76rem; }
.utility-left, .utility-links { display: flex; align-items: center; gap: 20px; }
.utility-links a { transition: color .2s ease; }
.utility-links a:hover, .utility-links a:focus-visible { color: var(--gold-light); }
.utility-bar .language-panel { color: var(--white); }
.utility-bar .language-panel > summary {
  min-width: 68px;
  height: 34px;
  padding: 0 7px;
  background: transparent;
  border-color: transparent;
  color: var(--white);
}
.utility-bar .language-panel[open] > summary,
.utility-bar .language-panel > summary:hover { border-color: rgba(255,255,255,.25); box-shadow: none; }
.utility-bar .language-menu { top: calc(100% + 8px); right: auto; left: 0; color: var(--ink); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.header-brand-tools { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.25rem; font-weight: 780; letter-spacing: -0.03em; }
.heritage-brand { color: var(--navy-deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 3.5vw, 3.25rem); font-weight: 400; letter-spacing: -.055em; line-height: 1; }
.heritage-brand b { color: var(--gold); font-weight: 400; }
.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1rem;
}
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.1vw, 34px); font-family: Georgia, "Times New Roman", serif; font-size: 1rem; font-weight: 400; }
.desktop-nav > a:not(.button) { position: relative; }
.desktop-nav > a:not(.button)::after {
  position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--gold); content: "";
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.desktop-nav > a:hover::after, .desktop-nav > a:focus-visible::after { transform: scaleX(1); }
.header-cta { padding: 12px 18px !important; }
.language-panel { position: relative; flex: 0 0 auto; color: var(--navy); }
.language-panel > summary {
  display: inline-flex; min-width: 78px; height: 44px; align-items: center; justify-content: center; gap: 7px;
  padding: 0 12px; background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer; list-style: none; font-size: .78rem; font-weight: 800;
}
.language-panel > summary::-webkit-details-marker { display: none; }
.language-panel[open] > summary, .language-panel > summary:hover { border-color: var(--gold); box-shadow: 0 8px 24px rgba(16,36,58,.1); }
.language-globe { font-size: 1.32rem; filter: saturate(1.3) drop-shadow(0 1px 1px rgba(8,27,45,.18)); line-height: 1; }
.language-chevron { color: var(--gold); font-size: .9rem; }
.language-menu {
  position: absolute; z-index: 130; top: calc(100% + 12px); right: 0; width: min(620px, calc(100vw - 32px));
  padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.language-menu-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.language-menu-heading strong { font-family: Georgia, serif; font-size: 1.28rem; font-weight: 500; }
.language-menu-heading span, .language-disclaimer, .language-status { color: var(--ink-soft); font-size: .73rem; }
.language-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; max-height: min(190px, 40vh); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.language-options button { display: grid; gap: 1px; padding: 10px 11px; background: transparent; border: 1px solid transparent; border-radius: 9px; color: var(--ink); cursor: pointer; text-align: left; }
.language-options button:hover, .language-options button.is-active { background: var(--paper); border-color: var(--gold-light); }
.language-options button.is-active::after { color: var(--success); content: "✓"; grid-column: 2; grid-row: 1 / 3; align-self: center; }
.language-options button.is-active { grid-template-columns: 1fr auto; }
.language-options small { color: var(--ink-soft); font-size: .65rem; }
.language-status { min-height: 1.2em; margin: 14px 0 0; color: var(--success); font-weight: 700; }
.language-disclaimer { margin: 7px 0 0; line-height: 1.45; }
.mobile-nav { display: none; position: relative; }
.mobile-header-tools { display: none; align-items: center; gap: 9px; }
.mobile-nav summary { cursor: pointer; list-style: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-weight: 700; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav-panel { position: absolute; right: 0; top: 48px; width: min(310px, calc(100vw - 32px)); padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); display: grid; gap: 8px; }
.mobile-nav-panel a { padding: 11px 12px; border-radius: 9px; }
.mobile-nav-panel a:hover { background: var(--paper); }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 750;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: var(--white); }
.button-primary:hover { background: #163d62; }
.button-secondary { border-color: rgba(16,36,58,.32); background: transparent; color: var(--navy); }
.button-secondary:hover { border-color: var(--gold); background: rgba(255,255,255,.6); }

.hero {
  display: grid;
  min-height: 750px;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
  align-items: center;
  gap: 72px;
  padding-top: 76px;
  padding-bottom: 88px;
  background-image: radial-gradient(circle at 13% 13%, rgba(198,154,82,.15), transparent 28%);
}
.hero-copy, .consultation-copy, .split-heading > *, .approach-grid > * { min-width: 0; }
.hero-copy h1 { max-width: 860px; margin-bottom: 28px; }
.hero-lead { max-width: 690px; color: var(--ink-soft); font-size: 1.17rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin: 34px 0 0; padding: 0; color: var(--ink-soft); font-size: .88rem; list-style: none; }
.hero-trust li::before { margin-right: 8px; color: var(--success); content: "●"; font-size: .58rem; vertical-align: 2px; }
.decision-card { padding: 38px; background: var(--navy); color: var(--white); border-radius: 6px 42px 6px 6px; box-shadow: var(--shadow); }
.card-kicker { margin-bottom: 10px; color: var(--gold-light); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.decision-card h2 { margin-bottom: 30px; font-size: 2.15rem; letter-spacing: -.025em; }
.decision-list { display: grid; }
.decision-list a { position: relative; display: grid; gap: 2px; padding: 18px 30px 18px 0; border-top: 1px solid rgba(255,255,255,.17); }
.decision-list a::after { position: absolute; right: 4px; top: 50%; color: var(--gold-light); content: "→"; transform: translateY(-50%); }
.decision-list span { color: #c1cad2; font-size: .75rem; }
.decision-list strong { font-size: .96rem; }
.decision-note { margin: 24px 0 0; color: #b8c4cf; font-size: .8rem; }

/* Approved heritage-office concept: cinematic only on the home hero. */
.heritage-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5,24,19,.88) 0%, rgba(5,24,19,.6) 45%, rgba(5,24,19,.46) 100%),
    url("/assets/i-pravo-heritage-office-hero-v2.jpg?v=20260909-translation-v2-1") center / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(5,24,19,.88) 0%, rgba(5,24,19,.6) 45%, rgba(5,24,19,.46) 100%),
    image-set(
      url("/assets/i-pravo-heritage-office-hero-v2.webp?v=20260909-translation-v2-1") type("image/webp"),
      url("/assets/i-pravo-heritage-office-hero-v2.jpg?v=20260909-translation-v2-1") type("image/jpeg")
    ) center / cover no-repeat;
  color: var(--white);
}
.heritage-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 74% 26%, rgba(232,210,173,.14), transparent 26%),
    linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.18));
  content: "";
  pointer-events: none;
}
.heritage-hero .hero {
  position: relative;
  min-height: 680px;
  padding-top: 70px;
  padding-bottom: 70px;
  background: none;
}
.heritage-hero .hero-copy h1 { max-width: 750px; margin-bottom: 26px; color: var(--white); font-size: clamp(3.3rem, 6.4vw, 6.5rem); text-wrap: balance; }
.heritage-hero .hero-lead { max-width: 620px; color: rgba(255,255,255,.82); font-size: 1.16rem; }
.heritage-hero .button-primary { background: #b8792d; color: var(--white); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.heritage-hero .button-primary:hover { background: #c48a42; }
.heritage-hero .button-secondary { gap: 10px; border-color: rgba(255,255,255,.42); background: rgba(4,27,21,.22); color: var(--white); }
.heritage-hero .button-secondary:hover { border-color: rgba(255,255,255,.78); background: rgba(255,255,255,.1); }
.heritage-hero .hero-trust { color: rgba(255,255,255,.74); }
.heritage-hero .hero-trust li::before { color: var(--gold-light); }
.heritage-hero .decision-card { padding: 34px; background: linear-gradient(145deg, rgba(11,31,26,.8), rgba(4,18,15,.68)); border-color: rgba(255,255,255,.34); border-radius: 28px; box-shadow: 0 28px 72px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.34); backdrop-filter: blur(8px) saturate(128%); }
.heritage-hero .decision-card h2 { margin-bottom: 20px; font-size: 2rem; }
.heritage-hero .decision-list { gap: 8px; }
.heritage-hero .decision-list a { padding: 13px 38px 13px 16px; background: rgba(4,20,16,.3); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.heritage-hero .decision-list a:hover, .heritage-hero .decision-list a:focus-visible { background: rgba(255,255,255,.08); border-color: rgba(232,210,173,.68); transform: translateX(2px); }
.heritage-hero .decision-list span { color: rgba(255,255,255,.65); }
.heritage-hero .decision-note { color: rgba(255,255,255,.65); }

/* Approved first-screen layout: priority directions remain visible on arrival. */
.home-priority-hero { min-height: max(560px, calc(100svh - 138px)); }
.home-priority-shell {
  position: relative;
  display: grid;
  min-height: max(560px, calc(100svh - 138px));
  padding-top: clamp(22px, 3.4vh, 34px);
  padding-bottom: clamp(22px, 3.4vh, 34px);
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(16px, 2.4vh, 24px);
}
.home-priority-intro {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(34px, 4.5vw, 60px);
  align-items: end;
}
.home-priority-copy,
.home-priority-intro-side { min-width: 0; }
.home-priority-copy .eyebrow { margin-bottom: 10px; }
.home-priority-copy h1 {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(2.75rem, 4.8vw, 4.45rem);
  line-height: .98;
  text-wrap: balance;
}
.home-priority-intro-side > p {
  max-width: 470px;
  margin-bottom: 0;
  color: rgba(255,255,255,.76);
  font-size: .89rem;
  line-height: 1.55;
}
.home-priority-intro-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.home-priority-intro-actions .button { min-height: 44px; padding: 11px 19px; font-size: .79rem; }
.home-priority-intro-actions .button-primary { background: #b8792d; color: var(--white); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.home-priority-intro-actions .button-primary:hover { background: #c48a42; }
.home-priority-intro-actions .button-secondary { border-color: rgba(255,255,255,.42); background: rgba(4,27,21,.22); color: var(--white); }
.home-priority-intro-actions .button-secondary:hover { border-color: rgba(255,255,255,.78); background: rgba(255,255,255,.1); }
.home-priority-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.home-priority-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  flex-direction: column;
  padding: clamp(22px, 2.5vw, 30px);
  background: linear-gradient(145deg, rgba(15,43,35,.88), rgba(5,23,18,.78));
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 26px;
  box-shadow: 0 24px 52px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.22);
  color: var(--white);
  -webkit-backdrop-filter: blur(14px) saturate(126%);
  backdrop-filter: blur(14px) saturate(126%);
}
.home-priority-card::after {
  position: absolute;
  top: -54px;
  right: -36px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 68%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.home-priority-card-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #e2c28c;
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.home-priority-card-meta span:last-child {
  color: rgba(255,255,255,.48);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0;
}
.home-priority-card h2 {
  max-width: 23ch;
  margin: 10px 0 12px;
  color: var(--white);
  font-size: clamp(1.72rem, 2.25vw, 2.35rem);
  line-height: 1.04;
  hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.home-priority-card-lead {
  max-width: 62ch;
  margin-bottom: 0;
  color: rgba(255,255,255,.73);
  font-size: .8rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.home-priority-topics { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 17px; }
.home-priority-topics span {
  padding: 6px 9px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  font-size: .66rem;
  line-height: 1.2;
}
.home-priority-card-footer {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.home-priority-card-footer > span {
  display: grid;
  gap: 1px;
  color: rgba(255,255,255,.64);
  font-size: .68rem;
  font-weight: 650;
}
.home-priority-card-footer > span small { color: inherit; font-size: .58rem; font-weight: 600; }
.home-priority-card-footer > span strong { color: var(--white); font-size: .76rem; }
.home-priority-details { min-width: 0; }
.home-priority-details > summary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  color: var(--white);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 800;
  list-style: none;
}
.home-priority-details > summary::-webkit-details-marker { display: none; }
.home-priority-details > summary span { color: #e5c48f; font-size: 1.08rem; transition: transform .2s ease; }
.home-priority-details[open] { min-width: 0; max-width: 100%; flex: 1 0 100%; }
.home-priority-details[open] > summary { display: flex; width: 100%; justify-content: flex-end; }
.home-priority-details[open] > summary span { transform: rotate(90deg); }
.home-priority-details-content {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 14px;
  margin-top: 15px;
  padding: 18px;
  background: rgba(2,16,12,.4);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
}
.home-priority-details-content > * { min-width: 0; max-width: 100%; }
.home-priority-details-content p { margin: 0; color: rgba(255,255,255,.76); font-size: .78rem; }
.home-priority-details-content ul { display: grid; gap: 7px; margin: 0; padding-left: 18px; color: rgba(255,255,255,.82); font-size: .75rem; }
.home-priority-details-content .button { width: fit-content; min-height: 40px; border-color: rgba(255,255,255,.38); color: var(--white); font-size: .74rem; }

.home-decision-section {
  padding: 90px 0;
  background:
    radial-gradient(circle at 10% 28%, rgba(183,216,225,.34), transparent 27rem),
    radial-gradient(circle at 88% 72%, rgba(224,202,168,.35), transparent 29rem),
    rgba(255,255,255,.36);
  border-bottom: 1px solid rgba(255,255,255,.78);
}
.home-decision-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(48px, 7vw, 90px); }
.home-decision-copy { min-width: 0; }
.home-decision-copy h2 { margin-bottom: 18px; font-size: clamp(2.3rem, 4.3vw, 4rem); }
.home-decision-copy > p:last-child { max-width: 470px; margin-bottom: 0; color: var(--ink-soft); }
.home-decision-card { padding: 26px; border-radius: 26px; }
.home-decision-card .decision-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.home-decision-card .decision-list a {
  min-width: 0;
  padding: 15px 36px 15px 16px;
  background: rgba(4,20,16,.28);
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 13px;
}
.home-decision-card .decision-list a:hover,
.home-decision-card .decision-list a:focus-visible { background: rgba(255,255,255,.08); border-color: rgba(232,210,173,.62); }
.home-decision-card .decision-list span { color: rgba(255,255,255,.65); }
.home-decision-card .decision-list strong { overflow-wrap: anywhere; }

.proof-strip {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(174, 214, 224, .42), transparent 27%),
    radial-gradient(circle at 86% 72%, rgba(229, 210, 179, .46), transparent 30%),
    linear-gradient(135deg, #eef1ef 0%, #f8f5ef 48%, #e9efef 100%);
  border-block: 1px solid rgba(255, 255, 255, .78);
}
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-top: 24px; padding-bottom: 24px; }
.proof-grid div {
  position: relative;
  display: grid;
  overflow: hidden;
  gap: 6px;
  padding: 28px 24px;
  background: var(--glass-gloss);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(8px) saturate(150%) brightness(1.05);
  backdrop-filter: blur(8px) saturate(150%) brightness(1.05);
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.proof-grid div::before,
.service-card::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.96), transparent);
  content: "";
}
.proof-grid div:hover { background: var(--glass-fill-strong); box-shadow: 0 22px 52px rgba(25,48,70,.14), inset 0 1px 0 rgba(255,255,255,.94); transform: translateY(-3px); }
.proof-grid strong { color: var(--gold); font-family: Georgia, serif; font-size: 1.55rem; font-weight: 400; }
.proof-grid span { color: var(--ink-soft); font-size: .83rem; font-weight: 650; }

.section-heading { margin-bottom: 52px; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 64px; }
.split-heading h2 { max-width: 740px; margin-bottom: 0; }
.split-heading > p { max-width: 470px; margin-bottom: 8px; color: var(--ink-soft); }
#services { position: relative; isolation: isolate; overflow: clip; }
#services::before {
  position: absolute;
  z-index: -1;
  top: 23%;
  right: -8%;
  bottom: 3%;
  left: -8%;
  background:
    radial-gradient(circle at 18% 36%, rgba(183, 216, 225, .44), transparent 27%),
    radial-gradient(circle at 82% 66%, rgba(224, 202, 168, .46), transparent 31%);
  content: "";
  pointer-events: none;
}
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  position: relative;
  display: flex;
  min-height: 310px;
  overflow: hidden;
  flex-direction: column;
  padding: 32px;
  background: var(--glass-gloss);
  border: 1px solid var(--glass-border);
  border-radius: 26px;
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(8px) saturate(150%) brightness(1.05);
  backdrop-filter: blur(8px) saturate(150%) brightness(1.05);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.service-card:hover { z-index: 1; background: var(--glass-fill-strong); border-color: rgba(255,255,255,.96); box-shadow: 0 26px 58px rgba(16,36,58,.14), inset 0 1px 0 rgba(255,255,255,.96); transform: translateY(-5px); }
.service-index { margin-bottom: auto; color: var(--gold); font-family: Georgia, serif; }
.service-card h3 { max-width: 270px; margin: 36px 0 12px; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.service-card p { color: var(--ink-soft); font-size: .92rem; }
.service-card-price { margin-top: 18px; color: var(--navy); font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.service-price-note { display: grid; max-width: 790px; margin-top: 32px; padding: 22px 24px; grid-template-columns: auto 1fr; gap: 12px 24px; align-items: center; background: rgba(255,255,255,.38); border: 1px solid var(--line); }
.service-price-note strong { color: var(--navy); font-family: Georgia, serif; font-size: 1.3rem; font-weight: 500; white-space: nowrap; }
.service-price-note span { color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }
.text-link { margin-top: 14px; font-weight: 750; font-size: .86rem; }
.text-link span { color: var(--gold); }
.text-link-light { display: inline-flex; color: #fff; }
.legal-notice { margin: 22px 0; padding: 22px 24px; background: #f2ede4; border-left: 3px solid var(--gold); }
.legal-notice strong { display: block; margin-bottom: 8px; color: var(--navy); }
.legal-notice p { margin: 0; }
.center-action { display: flex; justify-content: center; margin-top: 38px; gap: 12px; flex-wrap: wrap; }

.resources-band { background: rgba(255,255,255,.5); border-block: 1px solid rgba(255,255,255,.78); }
.resource-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resource-preview-grid article { padding: 30px; background: var(--paper); border-top: 3px solid var(--gold); }
.resource-preview-grid article > span, .resource-category { color: #87652f; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.resource-preview-grid h3 { margin: 38px 0 12px; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 500; }
.resource-preview-grid p { color: var(--ink-soft); font-size: .88rem; }

.dark-section { background: linear-gradient(135deg, #08271f, #123f32 62%, #193f35); color: var(--white); }
.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; }
.approach-grid > div > p:last-child { max-width: 520px; color: #b9c4ce; font-size: 1.04rem; }
.steps-list { margin: 0; padding: 0; list-style: none; }
.steps-list li { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 25px 0; border-top: 1px solid rgba(255,255,255,.15); }
.steps-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.steps-list > li > span { color: var(--gold); font-family: Georgia, serif; font-size: 1.2rem; }
.steps-list h3 { margin-bottom: 7px; }
.steps-list p { margin: 0; color: #aebac5; font-size: .9rem; }

.specialists-preview { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 100px; }
.specialists-copy p:not(.eyebrow) { max-width: 590px; color: var(--ink-soft); }
.specialists-copy .button { margin-top: 18px; }
.profile-preview-card { position: relative; padding: 36px; background: var(--white); border: 1px solid var(--line); border-radius: 4px 32px 4px 4px; box-shadow: var(--shadow); }
.profile-preview-card::before { position: absolute; top: 0; right: 48px; width: 80px; height: 4px; background: var(--gold); content: ""; }
.profile-preview-head { display: flex; align-items: center; gap: 18px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.avatar-placeholder { display: grid; width: 68px; height: 68px; place-items: center; background: var(--navy); border-radius: 50%; color: var(--gold-light); font-family: Georgia, serif; font-size: 1.25rem; }
.profile-preview-head div { display: grid; gap: 2px; }
.profile-preview-head div span { color: var(--success); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.profile-preview-head strong { font-family: Georgia, serif; font-size: 1.25rem; }
.profile-preview-card dl { margin: 10px 0 24px; }
.profile-preview-card dl div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid #ebe8e0; }
.profile-preview-card dt { color: var(--ink-soft); font-size: .8rem; }
.profile-preview-card dd { margin: 0; font-size: .85rem; font-weight: 650; }
.verification-note { display: block; padding: 10px 14px; background: #edf5f0; color: var(--success); border-radius: 8px; text-align: center; font-size: .78rem; font-weight: 750; }

.consultation-section { background: #e8e2d6; }
.consultation-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.consultation-copy { position: sticky; top: 120px; }
.consultation-copy p:not(.eyebrow) { color: var(--ink-soft); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contact-card { min-height: 290px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.contact-card h2 { margin: 18px 0 16px; font-size: clamp(1.35rem, 2.1vw, 2rem); }
.contact-card h2 a { color: inherit; }
.contact-card p, .contact-card address { color: var(--ink-soft); font-style: normal; line-height: 1.75; }
.contact-card .text-link { display: inline-flex; margin-top: 20px; }
.contact-card-icon { display: block; color: var(--accent); font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.contact-card-accent { background: var(--ink); color: white; }
.contact-card-accent p, .contact-card-accent .eyebrow { color: rgba(255,255,255,.78); }
.contact-process-note { margin-top: 28px; padding: 28px 32px; border-left: 4px solid var(--accent); background: #f3eee5; }
.contact-process-note strong { display: block; margin-bottom: 8px; font-size: 1.15rem; }
.contact-process-note p { margin: 0; color: var(--ink-soft); line-height: 1.75; }
.privacy-note { display: grid; gap: 3px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(16,36,58,.18); }
.privacy-note strong { font-size: .9rem; }
.privacy-note span { color: var(--ink-soft); font-size: .8rem; }

.lead-form { display: grid; gap: 18px; padding: 42px; background: var(--white); border-radius: 4px 32px 4px 4px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .79rem; font-weight: 750; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid #cbc7be; border-radius: 8px; background: #fbfaf7; color: var(--ink); padding: 13px 14px; outline: none;
}
.field textarea { min-height: 124px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,154,82,.16); }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: .78rem; }
.checkbox-field input { margin-top: 4px; }
.checkbox-field a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.consent-group { display: grid; gap: 9px; padding: 15px 17px; background: #f4f1e9; border: 1px solid var(--line); }
.form-operator-note { margin: 0 0 3px; color: var(--ink-soft); font-size: .76rem; line-height: 1.55; }
.honeypot { position: absolute; left: -9999px; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 8px; font-size: .83rem; }
.form-status-success { background: #e6f3eb; color: var(--success); }
.form-status-error { background: #f7e8e5; color: #8a2f25; }
.lead-form .button { justify-self: start; min-width: 190px; }
.lead-form[aria-busy="true"] { cursor: progress; }
.lead-form .field small { color: var(--ink-soft); font-size: .76rem; line-height: 1.45; }
.form-status { min-height: 1.4em; margin: 0; font-weight: 700; }
.form-status.success { color: #17683a; }
.form-status.warning { color: #76590a; }
.form-status.error { color: #a3342d; }
.center-action-spaced { margin-top: 1rem; }
.service-card-title { font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; }

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 38px;
  padding: 78px 70px 72px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.38)),
    radial-gradient(circle at 84% 18%, rgba(183,123,49,.17), transparent 34%);
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 30px;
  box-shadow: var(--glass-shadow);
}
.page-hero::before {
  position: absolute;
  z-index: -1;
  top: -18%;
  right: -5%;
  width: 58%;
  height: 136%;
  background: linear-gradient(90deg, transparent, rgba(246,242,233,.16)), url("/assets/i-pravo-heritage-office-hero-v2.webp?v=20260909-translation-v2-1") center / cover;
  content: "";
  opacity: .16;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { max-width: 930px; margin-bottom: 24px; font-size: clamp(3rem, 6vw, 5.7rem); }
.page-hero > p:not(.eyebrow) { max-width: 720px; color: var(--ink-soft); font-size: 1.12rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; color: var(--ink-soft); font-size: .77rem; }
.breadcrumb a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.about-structure { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.about-structure h2 { max-width: 470px; }
.about-structure-copy { display: grid; gap: 18px; padding: 34px; background: var(--white); border: 1px solid var(--line); }
.about-structure-copy p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.content-card { padding: 34px; background: var(--white); border: 1px solid var(--line); }
.content-card h2 { font-size: 2.25rem; }
.content-card p, .rich-text p { color: var(--ink-soft); }
.rich-text h2 { margin-top: 48px; font-size: 2.25rem; }
.rich-text h3 { margin-top: 30px; }
.rich-text ul { padding-left: 20px; color: var(--ink-soft); }
.legal-hero h1 { max-width: 1050px; font-size: clamp(2.8rem, 5.5vw, 5.2rem); }
.legal-version { display: flex; flex-wrap: wrap; gap: 10px 24px; max-width: 880px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .78rem; }
.legal-version span:first-child { color: var(--navy); font-weight: 750; }
.legal-document-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 72px; align-items: start; }
.legal-toc { position: sticky; top: 112px; padding: 26px; background: var(--white); border: 1px solid var(--line); }
.legal-toc nav { display: grid; }
.legal-toc nav a { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 9px 0; color: var(--ink-soft); border-bottom: 1px solid #ece9e1; font-size: .78rem; line-height: 1.35; }
.legal-toc nav a:hover, .legal-toc nav a:focus-visible { color: var(--navy); }
.legal-toc nav span { color: #98743d; font-size: .68rem; font-weight: 800; }
.legal-secondary-link { display: block; margin-top: 22px; color: var(--navy); font-size: .76rem; font-weight: 750; }
.legal-article { min-width: 0; }
.legal-article > section { scroll-margin-top: 110px; padding: 0 0 48px; border-bottom: 1px solid var(--line); }
.legal-article > section + section { padding-top: 54px; }
.legal-article h2 { margin-bottom: 24px; font-size: clamp(2rem, 4vw, 3.3rem); }
.legal-article h3 { margin: 34px 0 12px; font-size: 1.1rem; }
.legal-article p, .legal-article li { color: var(--ink-soft); }
.legal-article ul, .legal-article ol { padding-left: 22px; }
.legal-article li + li { margin-top: 8px; }
.legal-article a:not(.button) { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.legal-section-number { margin-bottom: 10px !important; color: var(--gold) !important; font-family: Georgia, serif; font-size: 1.2rem; }
.legal-alert { margin: 0 0 48px; padding: 24px 26px; background: #edeae2; border-left: 4px solid var(--gold); }
.legal-alert-important { background: #f6eadf; border-left-color: #a65438; }
.legal-alert strong { display: block; margin-bottom: 7px; color: var(--navy); }
.legal-alert p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.legal-price-note { margin: 28px 0; padding: 28px; background: var(--navy); color: var(--white); border-radius: 4px 22px 4px 4px; }
.legal-price-note span, .legal-price-note strong { display: block; }
.legal-price-note span { color: var(--gold-light); font-size: .73rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.legal-price-note strong { margin: 9px 0 10px; font-family: Georgia, serif; font-size: 2.15rem; font-weight: 500; }
.legal-price-note p { margin: 0; color: rgba(255,255,255,.75); font-size: .88rem; }
.legal-table { margin: 28px 0; border: 1px solid var(--line); background: var(--white); }
.legal-table > div { display: grid; grid-template-columns: .8fr 1.2fr; }
.legal-table > div + div { border-top: 1px solid var(--line); }
.legal-table strong, .legal-table span { padding: 15px 18px; }
.legal-table strong { color: var(--navy); background: #ebe7dc; font-size: .78rem; }
.legal-table span { color: var(--ink-soft); font-size: .8rem; }
.legal-table strong + strong, .legal-table span + span { border-left: 1px solid var(--line); }
.operator-details { margin: 28px 0; background: var(--white); border: 1px solid var(--line); }
.operator-details dl { margin: 0; }
.operator-details dl div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.operator-details dl div:last-child { border-bottom: 0; }
.operator-details dt { color: var(--ink-soft); font-size: .78rem; }
.operator-details dd { margin: 0; color: var(--navy); font-size: .82rem; font-weight: 650; }
.legal-basis { margin-top: 54px; padding: 34px !important; background: var(--white); border: 1px solid var(--line) !important; }
.legal-basis h2 { font-size: 2rem; }
.legal-source-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; }
.legal-source-links a { font-size: .78rem; }
.legal-single-column { max-width: 900px; }
.legal-single-column .legal-alert { margin-bottom: 52px; }
.legal-actions { margin-top: 36px; }
.service-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 80px; align-items: start; }
.service-pricing { display: grid; margin-top: 24px; grid-template-columns: minmax(210px, .72fr) minmax(0, 1.28fr); border: 1px solid var(--line); }
.service-pricing-main, .service-pricing-details { padding: 30px; }
.service-pricing-main { background: var(--navy); color: var(--white); }
.service-pricing-main .eyebrow { color: #d7bc81; }
.service-pricing-main strong { display: block; margin: 20px 0 14px; font-family: Georgia, serif; font-size: 2.35rem; font-weight: 500; }
.service-pricing-main p:last-child { color: rgba(255,255,255,.76); font-size: .9rem; }
.service-pricing-details { background: var(--white); }
.service-pricing-details h3 { margin-top: 0; }
.service-pricing-details ul { margin-bottom: 0; }
.aside-price { margin: 28px 0 4px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); }
.aside-price span, .aside-price strong { display: block; }
.aside-price span { margin-bottom: 6px; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.aside-price strong { color: var(--white); font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; }
.sticky-aside { position: sticky; top: 112px; padding: 30px; background: var(--navy); color: var(--white); border-radius: 4px 24px 4px 4px; }
.sticky-aside h2 { font-size: 2rem; }
.sticky-aside p { color: #bdc7d0; font-size: .9rem; }
.sticky-aside .button { width: 100%; margin-top: 10px; background: var(--gold); color: var(--navy-deep); }
.check-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 24px; color: var(--ink-soft); }
.check-list li::before { position: absolute; left: 0; color: var(--success); content: "✓"; font-weight: 800; }
.dark-section .check-list li { color: #c0cad3; }

.catalog-intro { display: grid; grid-template-columns: 1fr .85fr; gap: 80px; }
.catalog-notice { padding: 32px; background: #e8e2d6; border-left: 3px solid var(--gold); }
.catalog-notice h2 { font-size: 2rem; }
.specialist-catalog-heading { display: grid; grid-template-columns: 1fr .85fr; align-items: end; gap: 80px; margin-bottom: 38px; }
.specialist-catalog-heading h2 { margin-bottom: 0; }
.specialist-catalog-heading > p { margin-bottom: 8px; color: var(--ink-soft); }
.specialist-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.specialist-card { display: grid; gap: 24px; padding: 30px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(16,36,58,.06); }
.specialist-card-head { display: flex; align-items: center; gap: 18px; }
.specialist-card-head > div { min-width: 0; }
.specialist-card-head span:not(.avatar-placeholder) { color: var(--success); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.specialist-card-head h2 { margin: 4px 0 2px; font-size: 1.7rem; }
.specialist-card-head p { margin: 0; color: var(--ink-soft); }
.specialist-card dl { display: grid; gap: 0; margin: 0; }
.specialist-card dl div { display: grid; grid-template-columns: 125px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specialist-card dt { color: var(--ink-soft); font-size: .78rem; }
.specialist-card dd { margin: 0; font-size: .86rem; font-weight: 650; }
.specialist-card .button { justify-self: start; }
.catalog-practices { padding-top: 0; }
.practice-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.practice-slot { min-height: 260px; padding: 28px; background: var(--white); border: 1px solid var(--line); }
.practice-slot span { color: var(--gold); font-family: Georgia, serif; }
.practice-slot h3 { margin-top: 48px; font-family: Georgia, serif; font-size: 1.55rem; }
.practice-slot p { color: var(--ink-soft); font-size: .88rem; }
.cabinet-cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; margin-top: 60px; padding: 38px; background: var(--navy); color: var(--white); }
.cabinet-cta h2 { margin-bottom: 8px; font-size: 2.2rem; }
.cabinet-cta p { margin-bottom: 0; color: #bdc7d0; }
.cabinet-cta .button { background: var(--gold); color: var(--navy-deep); }

.resource-hero { position: relative; padding-bottom: 88px; }
.editorial-standards { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.editorial-standards span { padding: 9px 13px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: .75rem; font-weight: 700; }
.editorial-note { max-width: 760px; margin: 18px 0 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.7; }
.material-editorial { margin: 20px 0 0; color: rgba(255,255,255,.72); font-size: .82rem; line-height: 1.6; }
.service-area-note { margin-top: 20px; color: var(--navy); font-size: .86rem; font-weight: 700; letter-spacing: .01em; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); background: var(--white); }
.faq-list summary { position: relative; padding: 22px 58px 22px 24px; color: var(--navy); font-family: Georgia, serif; font-size: 1.08rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 50%; right: 24px; transform: translateY(-50%); font-family: Arial, sans-serif; font-size: 1.4rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 24px 22px; color: var(--ink-soft); line-height: 1.75; }
.resource-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 70px; align-items: start; }
.resource-section-heading { max-width: 720px; margin-bottom: 38px; }
.resource-section-heading h2 { margin-bottom: 16px; font-size: 3rem; }
.resource-section-heading p:last-child { color: var(--ink-soft); }
.resource-list { border-top: 1px solid var(--line); }
.resource-row { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.resource-number { color: var(--gold); font-family: Georgia, serif; font-size: 1.15rem; }
.resource-row h3 { margin: 8px 0 9px; font-family: Georgia, serif; font-size: 1.48rem; font-weight: 500; }
.resource-row h3 a { color: inherit; transition: color .2s ease; }
.resource-row h3 a:hover, .resource-row h3 a:focus-visible { color: var(--gold-dark); }
.resource-row p { color: var(--ink-soft); font-size: .88rem; }
.resource-card-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 14px 0; color: var(--ink-soft); font-size: .72rem; }
.resource-card-meta span + span::before { content: "•"; margin-right: 18px; color: var(--gold); }
.resource-read-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: .78rem; font-weight: 800; }
.resource-read-link span { color: var(--gold); transition: transform .2s ease; }
.resource-read-link:hover span, .resource-read-link:focus-visible span { transform: translateX(4px); }
.resource-sidebar { position: sticky; top: 112px; display: grid; gap: 18px; }
.sidebar-block { padding: 30px; background: var(--white); border: 1px solid var(--line); }
.sidebar-block h2, .sidebar-cta h2 { font-size: 2rem; }
.sidebar-block nav { display: grid; margin-top: 24px; }
.sidebar-block nav a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .85rem; font-weight: 700; }
.sidebar-block nav a span { color: var(--gold); }
.sidebar-cta { padding: 30px; background: var(--navy); color: var(--white); border-radius: 4px 24px 4px 4px; }
.sidebar-cta p { color: #bdc7d0; font-size: .88rem; }
.sidebar-cta .button { width: 100%; margin-top: 8px; background: var(--gold); color: var(--navy-deep); }

.material-article-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 82px;
  background:
    linear-gradient(90deg, rgba(8,39,31,.98), rgba(8,39,31,.87)),
    url("/assets/i-pravo-heritage-office-hero-v2.webp?v=20260909-translation-v2-1") center / cover;
  color: var(--white);
}
.material-article-hero h1 { max-width: 980px; margin: 18px 0 24px; font-size: clamp(3.2rem, 6.6vw, 6.4rem); }
.breadcrumb-dark, .breadcrumb-dark a { color: #aeb9c3; }
.breadcrumb-dark span:last-child { color: var(--white); }
.material-lead { max-width: 850px; margin: 0; color: #c2cbd3; font-size: clamp(1.05rem, 1.8vw, 1.28rem); line-height: 1.75; }
.material-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; color: #9cabb7; font-size: .76rem; }
.material-meta span { display: inline-flex; align-items: center; gap: 10px; }
.material-meta span:not(:first-child)::before { content: ""; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
.material-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 80px; align-items: start; }
.material-article { min-width: 0; }
.material-summary { margin-bottom: 68px; padding: 36px 40px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 16px 38px rgba(16,36,58,.06); }
.material-summary h2 { margin-bottom: 22px; font-size: 2.45rem; }
.material-summary ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: summary-points; }
.material-summary li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: var(--ink-soft); line-height: 1.65; counter-increment: summary-points; }
.material-summary li::before { content: counter(summary-points); display: grid; width: 28px; height: 28px; place-items: center; background: var(--navy); border-radius: 50%; color: var(--white); font-size: .72rem; font-weight: 800; }
.material-section { padding: 0 0 52px; margin: 0 0 52px; border-bottom: 1px solid var(--line); scroll-margin-top: 112px; }
.material-section h2 { margin-bottom: 24px; font-size: clamp(2.15rem, 4vw, 3rem); }
.material-section p { color: var(--ink-soft); font-size: 1rem; line-height: 1.85; }
.material-section p + p { margin-top: 18px; }
.material-section ul { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.material-section li { position: relative; padding-left: 26px; color: var(--ink-soft); line-height: 1.75; }
.material-section ul li::before { content: ""; position: absolute; top: .72em; left: 2px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.material-note { margin-top: 28px; padding: 22px 24px; background: #f5eee3; border-left: 3px solid var(--gold); }
.material-note strong { color: var(--navy); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.material-note p { margin: 7px 0 0; color: #6c5b3e; font-size: .9rem; }
.material-checklist { padding: 40px; background: var(--navy); border: 0; color: var(--white); }
.material-checklist h2 { color: var(--white); }
.material-checklist li { color: #d0d7dd; }
.material-checklist ul li::before { background: var(--gold-light); }
.material-sources ol { display: grid; gap: 0; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.material-sources li { padding: 0; }
.material-sources a { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 700; }
.material-sources a span { color: var(--gold); }
.material-disclaimer { display: grid; gap: 8px; margin: 0 0 34px; padding: 24px; background: #ece9e2; color: var(--ink-soft); font-size: .82rem; line-height: 1.7; }
.material-disclaimer strong { color: var(--navy); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.material-disclaimer p { margin: 0; }
.material-back-link { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-weight: 800; }
.material-back-link span { color: var(--gold); }
.material-toc { position: sticky; top: 108px; }
.material-toc > nav { display: grid; margin: 18px 0 26px; border-top: 1px solid var(--line); }
.material-toc > nav a { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .78rem; font-weight: 700; }
.material-toc > nav a:hover, .material-toc > nav a:focus-visible { color: var(--navy); }
.material-toc-cta { padding: 27px; background: var(--white); border: 1px solid var(--line); }
.material-toc-cta h2 { margin-bottom: 10px; font-size: 1.85rem; }
.material-toc-cta p { color: var(--ink-soft); font-size: .82rem; line-height: 1.65; }
.material-toc-cta .button { width: 100%; margin-top: 8px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card { padding: 32px; background: var(--white); border: 1px solid var(--line); }
.price-card h2 { font-size: 2rem; }
.price-card strong { display: block; margin: 26px 0 12px; color: var(--navy); font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; }
.price-card p { color: var(--ink-soft); }
.price-card-featured { background: var(--navy); }
.price-card-featured h2, .price-card-featured strong { color: var(--white); }
.price-card-featured .eyebrow { color: #d7bc81; }
.price-card-featured p { color: rgba(255,255,255,.72); }
.pricing-explanation { max-width: 900px; margin: 72px auto 0; }
.pricing-explanation > h2 { text-align: center; }
.pricing-explanation ol { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pricing-explanation li { display: grid; padding: 24px 0; grid-template-columns: 72px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.pricing-explanation li > span { color: var(--gold-dark); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.pricing-explanation h3 { margin: 0 0 6px; }
.pricing-explanation p { margin: 0; color: var(--ink-soft); }

.cabinet-shell { min-height: 70vh; padding: 70px 0 100px; }
.cabinet-header { display: flex; justify-content: space-between; gap: 40px; align-items: center; margin-bottom: 38px; }
.cabinet-header h1 { margin-bottom: 8px; font-size: 3.4rem; }
.cabinet-header p { color: var(--ink-soft); }
.cabinet-grid { display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
.cabinet-nav { height: fit-content; padding: 18px; background: var(--navy); color: var(--white); }
.cabinet-nav span, .cabinet-nav a { display: block; padding: 12px 13px; border-radius: 7px; }
.cabinet-nav span { background: rgba(255,255,255,.1); font-weight: 750; }
.cabinet-nav a { color: #bdc7d0; }
.profile-form { display: grid; gap: 24px; padding: 34px; background: var(--white); border: 1px solid var(--line); }
.profile-form h2 { margin-bottom: 0; font-size: 2.2rem; }
.profile-form .form-grid { border-top: 1px solid var(--line); padding-top: 24px; }
.cabinet-workspace { display: grid; gap: 28px; min-width: 0; }
.cabinet-panel { display: grid; gap: 22px; padding: 34px; background: var(--white); border: 1px solid var(--line); }
.cabinet-panel h2 { margin-bottom: 0; font-size: 2.2rem; }
.cabinet-panel > p:not(.eyebrow) { color: var(--ink-soft); }
.cabinet-muted { color: var(--ink-soft); }
.cabinet-empty { padding: 22px; background: var(--paper); border: 1px dashed #c9c2b5; color: var(--ink-soft); }
.role-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.role-choice { display: grid; min-height: 230px; align-content: start; gap: 14px; padding: 30px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); cursor: pointer; text-align: left; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.role-choice:hover, .role-choice:focus-visible { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.role-choice > span { color: #87652f; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.role-choice strong { max-width: 330px; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; }
.role-choice small { color: var(--ink-soft); font-size: .9rem; line-height: 1.6; }
.request-form { display: grid; gap: 24px; }
.selection-fieldset { display: grid; gap: 12px; margin: 0; padding: 20px; border: 1px solid var(--line); }
.selection-fieldset legend { padding: 0 7px; font-weight: 750; }
.selection-fieldset label { display: flex; align-items: flex-start; gap: 9px; color: var(--ink-soft); }
.selection-fieldset input { margin-top: 5px; }
.manual-specialist-choice { display: grid; gap: 9px; padding: 20px; background: #f1eee7; border-left: 3px solid var(--gold); }
.manual-specialist-choice > label { font-weight: 750; }
.manual-specialist-choice p { margin: 0; color: var(--ink-soft); font-size: .86rem; }
.manual-specialist-choice a { color: var(--navy); font-weight: 750; text-decoration: underline; }
.specialist-profile-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background:
    linear-gradient(90deg, rgba(8,39,31,.98), rgba(8,39,31,.88)),
    url("/assets/i-pravo-heritage-office-hero-v2.webp?v=20260909-translation-v2-1") center / cover;
  color: var(--white);
}
.specialist-profile-hero-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.specialist-profile-avatar { display: grid; width: 112px; height: 112px; place-items: center; background: var(--paper); border-radius: 50%; color: var(--navy); font-family: Georgia, serif; font-size: 2.1rem; }
.specialist-profile-hero h1 { margin: 4px 0 8px; font-size: clamp(3rem, 6vw, 5rem); }
.specialist-profile-hero p:last-child { margin: 0; color: #bdc7d0; }
.specialist-profile-hero .button { background: var(--gold); color: var(--navy-deep); }
.specialist-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 70px; align-items: start; }
.specialist-profile-main { display: grid; gap: 48px; }
.specialist-profile-main > div { padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.specialist-profile-main h2 { font-size: 2.35rem; }
.profile-long-text { color: var(--ink-soft); white-space: pre-line; }
.specialist-profile-facts { position: sticky; top: 110px; padding: 30px; background: var(--navy); color: var(--white); }
.specialist-profile-facts dl { margin: 20px 0 26px; }
.specialist-profile-facts dl div { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.specialist-profile-facts dt { color: #91a0ad; font-size: .75rem; }
.specialist-profile-facts dd { margin: 4px 0 0; font-weight: 700; }
.specialist-profile-facts > p:last-child { color: #bdc7d0; font-size: .83rem; }
.request-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.request-card { display: grid; align-content: start; min-height: 190px; padding: 24px; background: var(--paper); border: 1px solid var(--line); }
.request-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.request-card-head small { color: var(--ink-soft); }
.request-card h3 { margin: 30px 0 8px; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.request-card p { color: var(--ink-soft); font-size: .86rem; }
.request-card .text-link { margin-top: auto; }
.request-status { display: inline-flex; width: fit-content; padding: 6px 9px; background: #edf0f3; color: var(--navy); border-radius: 999px; font-size: .7rem; font-weight: 800; }
.request-status-in_work, .request-status-scheduled { background: #edf5f0; color: var(--success); }
.request-status-completed { background: #e9f2e9; color: #2b6b3d; }
.request-status-cancelled { background: #f7e8e5; color: #8a2f25; }
.request-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 70px; margin-bottom: 28px; padding: 38px; background: var(--white); border: 1px solid var(--line); }
.request-detail h1 { margin-bottom: 22px; font-size: clamp(2.5rem, 5vw, 4.6rem); }
.request-detail > div > p:last-child { color: var(--ink-soft); white-space: pre-wrap; }
.request-detail dl { margin: 0; }
.request-detail dl div { display: grid; gap: 4px; padding: 13px 0; border-top: 1px solid var(--line); }
.request-detail dt { color: var(--ink-soft); font-size: .75rem; }
.request-detail dd { margin: 0; font-weight: 700; }
.chat-panel { display: grid; gap: 20px; padding: 34px; background: var(--white); border: 1px solid var(--line); }
.chat-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.chat-heading h2 { margin-bottom: 0; font-size: 2.2rem; }
.chat-heading > span { color: var(--success); font-size: .75rem; font-weight: 750; }
.chat-security-note { padding: 14px 16px; background: #f5eee3; color: #70572e; border-left: 3px solid var(--gold); font-size: .8rem; }
.message-list { display: grid; gap: 12px; max-height: 520px; overflow-y: auto; padding: 20px; background: var(--paper); border: 1px solid var(--line); }
.message { justify-self: start; max-width: min(78%, 620px); padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 4px 16px 16px; }
.message-own { justify-self: end; background: var(--navy); border-color: var(--navy); border-radius: 16px 4px 16px 16px; color: var(--white); }
.message strong { display: block; margin-bottom: 6px; font-size: .76rem; }
.message p { margin: 0; white-space: pre-wrap; }
.message time { display: block; margin-top: 7px; color: var(--ink-soft); font-size: .68rem; }
.message-own time { color: #b9c4ce; }
.chat-form { display: grid; gap: 8px; }
.chat-form label { font-size: .79rem; font-weight: 750; }
.chat-form textarea { min-height: 110px; padding: 13px 14px; background: #fbfaf7; border: 1px solid #cbc7be; border-radius: 8px; resize: vertical; }
.chat-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,154,82,.16); outline: none; }
.chat-form > div { display: flex; align-items: center; gap: 16px; }
.chat-form > div span { color: var(--ink-soft); font-size: .78rem; }

.review-line { margin: 16px 0 0; padding: 12px 14px; background: #f4f1ea; border-left: 3px solid var(--gold); color: var(--ink-soft); font-size: .82rem; }
.review-line strong { color: var(--navy); }
.review-published { background: #edf5f0; border-left-color: var(--success); }
.review-rejected, .review-failed { background: #f7e8e5; border-left-color: #8a2f25; }
.admin-list { display: grid; gap: 16px; }
.admin-card { display: grid; gap: 18px; padding: 24px; background: var(--paper); border: 1px solid var(--line); }
.admin-card > p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.admin-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.admin-card-heading > div { display: grid; gap: 4px; }
.admin-card-heading strong { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; }
.admin-card-heading span { color: var(--ink-soft); font-size: .78rem; }
.review-badge { display: inline-flex; width: fit-content; padding: 6px 9px; background: #eee9df; border-radius: 999px; color: var(--navy); font-size: .68rem; font-weight: 800; white-space: nowrap; }
.review-badge.review-published, .review-badge.review-active { background: #e6f3eb; color: var(--success); }
.review-badge.review-rejected, .review-badge.review-declined, .review-badge.review-failed { background: #f7e8e5; color: #8a2f25; }
.admin-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.admin-facts div { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.admin-facts dt { color: var(--ink-soft); font-size: .72rem; }
.admin-facts dd { margin: 0; font-size: .83rem; font-weight: 650; }
.admin-action-form, .admin-inline-form { display: grid; gap: 14px; }
.admin-action-form label, .admin-inline-form label { display: grid; gap: 7px; color: var(--ink-soft); font-size: .78rem; font-weight: 750; }
.admin-action-form input, .admin-inline-form select { width: 100%; padding: 12px 13px; background: var(--white); border: 1px solid #cbc7be; border-radius: 8px; }
.admin-action-form > div, .admin-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-inline-form { grid-template-columns: 1fr auto; align-items: end; }
.admin-inline-form .button { min-height: 44px; }
.mailbox-form { display: grid; gap: 10px; max-width: 660px; }
.mailbox-form > label { font-size: .79rem; font-weight: 750; }
.mailbox-form > div { display: grid; grid-template-columns: 1fr auto; align-items: center; overflow: hidden; background: #fbfaf7; border: 1px solid #cbc7be; border-radius: 8px; }
.mailbox-form input { min-width: 0; padding: 13px 14px; background: transparent; border: 0; outline: none; }
.mailbox-form > div > span { padding: 13px 14px; background: #eee9df; color: var(--navy); font-weight: 750; }
.mailbox-form small { color: var(--ink-soft); }
.mailbox-form .button { justify-self: start; margin-top: 8px; }
.mailbox-active { display: grid; gap: 5px; padding: 22px; background: #edf5f0; border-left: 3px solid var(--success); }
.mailbox-active span { color: var(--success); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.mailbox-active strong { color: var(--navy); font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.request-status-actions { display: grid; gap: 12px; margin-bottom: 28px; padding: 20px 24px; background: #e8e2d6; border-left: 3px solid var(--gold); }
.request-status-actions > div { display: flex; flex-wrap: wrap; gap: 10px; }
.request-status-actions > span { color: var(--ink-soft); font-size: .78rem; }

/* A single glossy, liquid-glass system for every card surface. */
:is(
  .decision-card,
  .proof-grid > div,
  .service-card,
  .home-priority-card,
  .service-price-note,
  .legal-notice,
  .resource-preview-grid article,
  .profile-preview-card,
  .contact-card,
  .contact-process-note,
  .lead-form,
  .about-structure-copy,
  .content-card,
  .legal-toc,
  .legal-alert,
  .legal-price-note,
  .legal-table,
  .operator-details,
  .legal-basis,
  .service-pricing,
  .sticky-aside,
  .catalog-notice,
  .specialist-card,
  .practice-slot,
  .cabinet-cta,
  .faq-list details,
  .sidebar-block,
  .sidebar-cta,
  .material-summary,
  .material-note,
  .material-disclaimer,
  .material-toc-cta,
  .material-checklist,
  .price-card,
  .profile-form,
  .cabinet-panel,
  .role-choice,
  .manual-specialist-choice,
  .specialist-profile-facts,
  .request-card,
  .request-detail,
  .chat-panel,
  .message,
  .admin-card
) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--glass-gloss);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(8px) saturate(150%) brightness(1.05);
  backdrop-filter: blur(8px) saturate(150%) brightness(1.05);
}

:is(
  .decision-card,
  .proof-grid > div,
  .service-card,
  .home-priority-card,
  .service-price-note,
  .legal-notice,
  .resource-preview-grid article,
  .profile-preview-card,
  .contact-card,
  .contact-process-note,
  .lead-form,
  .about-structure-copy,
  .content-card,
  .legal-toc,
  .legal-alert,
  .legal-price-note,
  .legal-table,
  .operator-details,
  .legal-basis,
  .service-pricing,
  .sticky-aside,
  .catalog-notice,
  .specialist-card,
  .practice-slot,
  .cabinet-cta,
  .faq-list details,
  .sidebar-block,
  .sidebar-cta,
  .material-summary,
  .material-note,
  .material-disclaimer,
  .material-toc-cta,
  .material-checklist,
  .price-card,
  .profile-form,
  .cabinet-panel,
  .role-choice,
  .manual-specialist-choice,
  .specialist-profile-facts,
  .request-card,
  .request-detail,
  .chat-panel,
  .message,
  .admin-card
)::after {
  position: absolute;
  z-index: 0;
  top: 1px;
  right: 2px;
  left: 2px;
  height: 34%;
  border-radius: 22px 22px 55% 55%;
  background: linear-gradient(180deg, rgba(255,255,255,.68), rgba(255,255,255,.2) 48%, transparent 100%);
  content: "";
  opacity: .46;
  pointer-events: none;
}

:is(
  .decision-card,
  .proof-grid > div,
  .service-card,
  .home-priority-card,
  .service-price-note,
  .legal-notice,
  .resource-preview-grid article,
  .profile-preview-card,
  .contact-card,
  .contact-process-note,
  .lead-form,
  .about-structure-copy,
  .content-card,
  .legal-toc,
  .legal-alert,
  .legal-price-note,
  .legal-table,
  .operator-details,
  .legal-basis,
  .service-pricing,
  .sticky-aside,
  .catalog-notice,
  .specialist-card,
  .practice-slot,
  .cabinet-cta,
  .faq-list details,
  .sidebar-block,
  .sidebar-cta,
  .material-summary,
  .material-note,
  .material-disclaimer,
  .material-toc-cta,
  .material-checklist,
  .price-card,
  .profile-form,
  .cabinet-panel,
  .role-choice,
  .manual-specialist-choice,
  .specialist-profile-facts,
  .request-card,
  .request-detail,
  .chat-panel,
  .message,
  .admin-card
) > * {
  position: relative;
  z-index: 1;
}

.legal-toc,
.sticky-aside { position: sticky; top: 112px; }
.specialist-profile-facts { position: sticky; top: 110px; }
.legal-basis { border-color: var(--glass-border) !important; }

:is(
  .decision-card,
  .home-priority-card,
  .contact-card-accent,
  .legal-price-note,
  .service-pricing-main,
  .sticky-aside,
  .cabinet-cta,
  .sidebar-cta,
  .material-checklist,
  .price-card-featured,
  .specialist-profile-facts,
  .message-own
) {
  background: var(--glass-dark-gloss);
  border-color: rgba(255,255,255,.24);
  box-shadow: 0 24px 58px rgba(8,27,45,.24), inset 0 1px 0 rgba(255,255,255,.34), inset 0 -1px 0 rgba(255,255,255,.08);
}

.service-pricing-details { background: transparent; }

:is(.proof-grid > div, .service-card, .home-priority-card, .role-choice, .request-card, .specialist-card, .practice-slot, .price-card) {
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

:is(.proof-grid > div, .service-card, .role-choice, .request-card, .specialist-card, .practice-slot, .price-card):hover {
  background: linear-gradient(145deg, rgba(255,255,255,.66), rgba(255,255,255,.24) 52%, rgba(255,255,255,.4));
  border-color: rgba(255,255,255,.98);
  box-shadow: 0 28px 64px rgba(16,36,58,.15), inset 0 1px 0 rgba(255,255,255,1), inset 0 -1px 0 rgba(255,255,255,.24);
  transform: translateY(-4px);
}

.home-priority-card:hover {
  background: linear-gradient(145deg, rgba(24,59,48,.94), rgba(5,27,21,.88) 58%, rgba(18,50,40,.92));
  border-color: rgba(232,210,173,.62);
  box-shadow: 0 28px 64px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.3);
  transform: translateY(-3px);
}

.price-card-featured:hover { background: linear-gradient(145deg, rgba(35,72,105,.94), rgba(8,27,45,.88) 58%, rgba(25,59,89,.92)); }

/* Content emerges softly as it enters the viewport. */
.reveal-ready [data-reveal-prepared="true"][data-reveal-kind="surface"] {
  opacity: 0;
  filter: blur(7px) saturate(.92);
  transform: translate3d(0, 28px, 0) scale(.985);
  transform-origin: 50% 70%;
  transition:
    opacity .62s ease var(--reveal-delay, 0ms),
    filter .72s ease var(--reveal-delay, 0ms),
    transform .72s cubic-bezier(.22,.72,.22,1) var(--reveal-delay, 0ms),
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
  will-change: opacity, filter, transform;
}

/* Service cards retain the more cinematic “from the void” treatment. */
.reveal-ready .service-card[data-reveal-prepared="true"] {
  opacity: 0;
  filter: blur(12px) saturate(.8);
  clip-path: inset(20% 12% 20% 12% round 38px);
  transform: translate3d(0, 48px, 0) scale(.94);
  transform-origin: 50% 70%;
  transition:
    opacity .72s ease var(--reveal-delay, 0ms),
    filter .86s ease var(--reveal-delay, 0ms),
    clip-path .86s cubic-bezier(.22,.72,.22,1) var(--reveal-delay, 0ms),
    transform .86s cubic-bezier(.22,.72,.22,1) var(--reveal-delay, 0ms),
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
  will-change: opacity, filter, clip-path, transform;
}
.reveal-ready [data-reveal-prepared="true"].is-revealed {
  opacity: 1;
  filter: blur(0) saturate(1);
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal-ready .service-card[data-reveal-prepared="true"].is-revealed {
  clip-path: inset(0 round 26px);
}

.site-footer {
  background:
    radial-gradient(circle at 8% 8%, rgba(183,123,49,.12), transparent 28rem),
    linear-gradient(135deg, #061f19, #0a2d24 58%, #123a30);
  color: var(--white);
}
.site-footer .footer-brand .heritage-brand { color: #f7fbf9; }
.site-footer .footer-brand .heritage-brand:hover,
.site-footer .footer-brand .heritage-brand:focus-visible { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 80px; padding-top: 70px; padding-bottom: 54px; }
.footer-brand p { max-width: 430px; margin-top: 20px; color: #d8e5e0; font-size: .88rem; }
.footer-brand p a { color: #fff; font-weight: 700; }
.footer-language-switch { width: fit-content; margin-top: 22px; }
.footer-language-switch .language-panel > summary { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.25); color: var(--white); }
.footer-language-switch .language-panel[open] > summary,
.footer-language-switch .language-panel > summary:hover { background: rgba(198,154,82,.13); border-color: var(--gold); }
.footer-language-switch .language-menu { top: auto; right: auto; bottom: calc(100% + 12px); left: 0; color: var(--ink); }
.footer-column { display: grid; align-content: start; gap: 10px; }
.footer-column strong { margin-bottom: 8px; color: var(--gold-light); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-column a { color: #d8e5e0; font-size: .88rem; }
.footer-column a:hover, .footer-column a:focus-visible { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 28px; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.18); color: #c9d8d3; font-size: .75rem; }
.footer-bottom span:first-child { color: #fff; font-weight: 700; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .header-brand-tools > .language-panel { display: none; }
  .mobile-header-tools { display: flex; }
  .mobile-nav { display: block; }
  .header-inner { min-height: 82px; }
  .heritage-brand { font-size: 2.6rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 50px; }
  .hero-copy h1 { max-width: 760px; }
  .decision-card { max-width: 680px; }
  .service-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .home-priority-shell { min-height: auto; }
  .home-priority-intro { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .home-priority-intro-side { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .home-priority-intro-side > p { max-width: 560px; }
  .home-priority-intro-actions { flex: 0 0 auto; margin-top: 0; }
  .home-priority-card h2 { max-width: 24ch; font-size: clamp(1.5rem, 3vw, 2rem); }
  .home-priority-card-lead { font-size: .75rem; }
  .home-decision-layout { grid-template-columns: 1fr; gap: 42px; }
  .home-decision-copy > p:last-child { max-width: 660px; }
  .split-heading, .approach-grid, .specialists-preview, .consultation-grid, .catalog-intro, .about-structure, .specialist-catalog-heading, .specialist-profile-layout { grid-template-columns: 1fr; gap: 50px; }
  .consultation-copy, .sticky-aside { position: static; }
  .profile-preview-card { max-width: 620px; }
  .service-detail-layout, .resource-layout, .material-article-layout { grid-template-columns: 1fr; }
  .legal-document-layout { grid-template-columns: 1fr; gap: 42px; }
  .legal-toc { position: static; }
  .legal-toc nav { grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .service-pricing { grid-template-columns: 1fr; }
  .resource-sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .material-toc { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .material-toc > .eyebrow { grid-column: 1 / -1; margin-bottom: -16px; }
  .material-toc > nav { margin: 0; }
  .practice-slots, .price-grid { grid-template-columns: 1fr 1fr; }
  .cabinet-grid { grid-template-columns: 1fr; }
  .cabinet-nav { display: flex; gap: 8px; overflow-x: auto; }
  .cabinet-nav span, .cabinet-nav a { white-space: nowrap; }
  .request-detail { grid-template-columns: 1fr; gap: 30px; }
  .specialist-profile-facts { position: static; }
}

@media (max-width: 720px) {
  .section-shell { width: min(100% - 30px, 1180px); }
  .section { padding: 76px 0; }
  .utility-inner { min-width: 0; min-height: 38px; }
  .utility-region, .utility-links a:first-child { display: none; }
  .utility-left, .utility-links { min-width: 0; gap: 10px; }
  .utility-links a:last-child { white-space: nowrap; }
  .utility-bar .language-panel > summary { min-width: 58px; height: 32px; }
  .utility-bar .language-menu { position: fixed; top: 44px; right: 15px; left: 15px; width: auto; }
  .header-inner { min-height: 70px; }
  .header-inner { gap: 10px; }
  .header-brand-tools { gap: 8px; }
  .language-panel > summary { min-width: 66px; padding: 0 9px; }
  .language-menu { position: fixed; top: 76px; right: 15px; left: 15px; width: auto; max-height: calc(100vh - 92px); overflow-y: auto; }
  .language-menu-heading { align-items: flex-start; flex-direction: column; gap: 2px; }
  .language-options { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: min(337px, calc(100vh - 330px)); }
  .footer-language-switch .language-menu { position: fixed; top: 76px; right: 15px; bottom: auto; left: 15px; width: auto; }
  .hero { padding-top: 54px; padding-bottom: 64px; }
  .heritage-hero { background-position: 58% center; }
  .heritage-hero .hero { min-height: auto; gap: 34px; padding-top: 58px; padding-bottom: 54px; }
  .heritage-hero .hero-copy h1 { max-width: 100%; font-size: clamp(2.55rem, 12vw, 3.5rem); }
  .heritage-hero .decision-card { padding: 24px; border-radius: 22px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  h2 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .hero-actions, .hero-actions .button { max-width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-trust { display: grid; gap: 9px; }
  .decision-card { padding: 28px; border-radius: 4px 28px 4px 4px; }
  .decision-card h2 { font-size: 1.8rem; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { gap: 10px; padding-top: 15px; padding-bottom: 15px; }
  .proof-grid div, .proof-grid div:first-child { padding: 22px 18px; border: 1px solid var(--glass-border); border-radius: 20px; }
  .proof-grid div:nth-child(odd) { border-right: 1px solid var(--glass-border); }
  .service-grid, .contact-grid, .practice-slots, .price-grid, .content-grid, .resource-preview-grid, .specialist-card-grid { grid-template-columns: 1fr; }
  .service-grid { gap: 14px; }
  .service-card { min-height: 260px; border-radius: 22px; }
  .home-priority-hero { min-height: auto; background-position: 58% center; }
  .home-priority-shell { min-height: auto; padding-top: 12px; padding-bottom: 12px; gap: 8px; }
  .home-priority-copy .eyebrow { margin-bottom: 7px; font-size: .58rem; }
  .home-priority-copy h1 { max-width: 15ch; font-size: clamp(1.72rem, 7.8vw, 2.45rem); }
  .home-priority-intro-side { justify-content: flex-start; margin-top: 2px; gap: 8px; }
  .home-priority-intro-side > p { display: none; }
  .home-priority-intro-actions .button { min-height: 36px; padding: 8px 12px; font-size: .62rem; }
  .home-priority-intro-actions .button-secondary { display: none; }
  .home-priority-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .home-priority-card { min-height: 222px; padding: 12px 10px 10px; border-radius: 16px; }
  .home-priority-card-meta { gap: 5px; font-size: .42rem; letter-spacing: .09em; }
  .home-priority-card-meta span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .home-priority-card-meta span:last-child { flex: 0 0 auto; font-size: .88rem; }
  .home-priority-card h2 { max-width: none; margin: 5px 0 6px; font-size: clamp(.82rem, 3.8vw, 1.2rem); line-height: 1.08; text-wrap: pretty; }
  .home-priority-card-lead { display: -webkit-box; overflow: hidden; font-size: .51rem; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .home-priority-topics { display: none; }
  .home-priority-card-footer { gap: 3px 7px; padding-top: 6px; }
  .home-priority-card-footer > span { font-size: .48rem; }
  .home-priority-card-footer > span small { font-size: .44rem; }
  .home-priority-card-footer > span strong { font-size: .56rem; white-space: nowrap; }
  .home-priority-details { flex: 1 0 100%; }
  .home-priority-details > summary { width: 100%; min-width: 44px; min-height: 44px; justify-content: flex-end; gap: 5px; padding-right: 6px; font-size: .58rem; }
  .home-priority-details-content { gap: 10px; padding: 10px 8px; overflow-wrap: anywhere; }
  .home-priority-details-content ul { padding-left: 13px; font-size: .58rem; }
  .home-priority-details-content p { font-size: .59rem; line-height: 1.45; }
  .home-priority-details-content .button { width: 100%; max-width: 100%; min-height: 44px; padding: 8px 5px; white-space: normal; text-align: center; overflow-wrap: anywhere; }
  .home-decision-section { padding: 72px 0; }
  .home-decision-card { padding: 18px; }
  .home-decision-card .decision-list { grid-template-columns: 1fr; }
  .service-price-note { grid-template-columns: 1fr; }
  .service-price-note strong { white-space: normal; }
  .legal-toc nav { grid-template-columns: 1fr; }
  .legal-table > div, .operator-details dl div { grid-template-columns: 1fr; gap: 6px; }
  .legal-table strong + strong, .legal-table span + span { border-left: 0; }
  .legal-table > div:first-child strong + strong { border-top: 1px solid var(--line); }
  .approach-grid { gap: 35px; }
  .specialists-preview { gap: 40px; }
  .profile-preview-card { padding: 27px; }
  .profile-preview-card dl div { grid-template-columns: 1fr; gap: 3px; }
  .specialist-card dl div { grid-template-columns: 1fr; gap: 4px; }
  .specialist-profile-hero-inner { grid-template-columns: 1fr; }
  .specialist-profile-hero .button { width: 100%; }
  .consultation-grid { gap: 38px; }
  .lead-form { padding: 25px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .page-hero { margin-top: 20px; padding: 48px 24px 44px; border-radius: 22px; }
  .page-hero::before { right: -28%; width: 94%; opacity: .1; }
  .catalog-notice { padding: 24px; }
  .cabinet-cta { grid-template-columns: 1fr; padding: 28px; }
  .cabinet-cta .button { width: 100%; }
  .resource-sidebar { grid-template-columns: 1fr; }
  .resource-card-meta { display: grid; gap: 5px; }
  .resource-card-meta span + span::before { display: none; }
  .material-article-hero { padding: 58px 0 64px; }
  .material-article-hero h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .material-meta { display: grid; gap: 7px; }
  .material-meta span:not(:first-child)::before { display: none; }
  .material-summary { padding: 28px 24px; }
  .material-summary h2 { font-size: 2rem; }
  .material-section { padding-bottom: 40px; margin-bottom: 40px; }
  .material-checklist { padding: 30px 24px; }
  .material-toc { grid-template-columns: 1fr; }
  .material-toc > .eyebrow { grid-column: auto; }
  .cabinet-header { align-items: flex-start; flex-direction: column; }
  .cabinet-panel, .profile-form, .chat-panel, .request-detail { padding: 24px; }
  .role-choice-grid, .request-list { grid-template-columns: 1fr; }
  .role-choice { min-height: auto; }
  .chat-heading { align-items: flex-start; flex-direction: column; }
  .message { max-width: 92%; }
  .admin-card-heading { flex-direction: column; }
  .admin-facts, .admin-inline-form { grid-template-columns: 1fr; }
  .admin-action-form .button, .admin-buttons .button { width: 100%; }
  .mailbox-form > div { grid-template-columns: minmax(0, 1fr) auto; }
  .chat-form > div { align-items: flex-start; flex-direction: column; }
  .chat-form .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; padding-top: 54px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal-ready [data-reveal-prepared="true"] {
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
  }
}

.form-status { min-height: 1.4em; margin: 0; font-weight: 700; }
.form-status.success { color: #17683a; }
.form-status.warning { color: #76590a; }
.form-status.error { color: #a3342d; }
.footer-column > span { color: rgba(255,255,255,.62); font-size: .92rem; }
