:root {
  /* Palette (used by homepage consolidated section and components) */
  --primary: #36453b;
  --secondary: #4d69be;
  --tertiary: #d65c5c;
  --neutral-900: #222222;
  --neutral-100: #f5f6f8;
  --accent-gold: rgba(212, 175, 55, 0.9);

  --bg: #f4f0e8;
  --surface: #ffffff;
  --surface-soft: #eaecef;
  --text: var(--neutral-900);
  --muted: #6b7280;
  --accent: var(--primary);
  --accent-dark: #2a362e;
  --border: #eaeaea;
  --border-strong: #d1d5db;
  --footer-bg: var(--primary);
  --danger: var(--tertiary);
  --text-primary: var(--neutral-900);
  --text-muted: var(--muted);
  --white: #ffffff;
  --header-shell-bg: rgba(255, 255, 255, 0.78);
  --header-shell-border: rgba(231, 225, 214, 0.86);
  --surface-glass: rgba(255, 255, 255, 0.92);
  --surface-hero-button: rgba(255, 255, 255, 0.86);
  --surface-hero-button-hover: rgba(255, 255, 255, 0.96);
  --surface-overlay: rgba(255, 255, 255, 0.97);
  --surface-chip: rgba(255, 255, 255, 0.12);
  --surface-chip-border: rgba(255, 255, 255, 0.14);
  --header-scrolled-bg: rgba(242, 243, 245, 0.88);
  --header-accent-border: rgba(182, 138, 69, 0.35);
  --text-inverse: #ffffff;
  --text-inverse-muted: rgba(255, 255, 255, 0.84);
  --text-inverse-soft: rgba(255, 255, 255, 0.82);
  --text-inverse-faint: rgba(255, 255, 255, 0.75);
  --text-footer-note: rgba(255, 255, 255, 0.58);
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-card-strong: 0 12px 24px rgba(0, 0, 0, 0.06);
  --shadow-header: 0 10px 30px rgba(31, 42, 55, 0.06);
  --shadow-accent: 0 14px 28px rgba(182, 138, 69, 0.24);
  --shadow-focus: 0 0 0 2px rgba(182, 138, 69, 0.18);
  --shadow-danger: 0 0 0 2px rgba(176, 63, 63, 0.14);
  --shadow-floating: 0 16px 34px rgba(31, 42, 55, 0.22);
  --hero-overlay: linear-gradient(132deg, rgba(18, 34, 52, 0.58) 8%, rgba(27, 49, 74, 0.42) 46%, rgba(44, 72, 102, 0.28) 100%);
  --hero-flat-bg: #0e1e3c;
  --hero-stats-bg: #23314e;
  --page-overlay: linear-gradient(135deg, rgba(12, 21, 34, 0.9), rgba(12, 21, 34, 0.64));
  --cta-gradient: linear-gradient(135deg, rgba(182, 138, 69, 0.12), rgba(255, 255, 255, 0.95));
  --hero-home-image: url("https://images.unsplash.com/photo-1460317442991-0ec209397118?auto=format&fit=crop&w=1600&q=80");
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 28px;
  --container: 1200px;
  --header-height: 62px;
  --motion-micro: 0.2s;
  --motion-reveal: 0.28s;
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Raleway', sans-serif;
}

@property --ring-end {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background-color: var(--bg);
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
.brand-mark,
.display-serif {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

.logo,
.site-logo,
header .brand {
  font-family: var(--font-heading);
  font-weight: 700;
}

.stat-number,
.price-value,
.hero-number,
[class*="number"],
[class*="stat"] {
  font-family: var(--font-heading);
  font-weight: 700;
}

nav,
button,
.btn,
input,
textarea,
select,
label,
p,
li,
span,
a,
footer {
  font-family: var(--font-body);
}

h1 {
  font-size: clamp(3rem, 8vw, 5.8rem);
}

h1[data-text-effect-static] {
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
  font-size: clamp(1.6rem, 5.5vw, 5.8rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h3 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

p {
  margin: 0;
  max-width: 66ch;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 24px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--text);
  color: var(--text-inverse);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 24px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section-tight {
  padding: 36px 0;
}

#documents .section-tight {
  padding: 20px 0 0;
}

#reviews .section-tight {
  padding-bottom: 0;
}

.section-tight:has(.stats-grid) {
  padding-block: clamp(14px, 3vw, 22px);
}

.section-tight:has(.stats-grid) .stats-grid {
  gap: clamp(14px, 2.5vw, 18px);
}

.section-tight:has(.stats-grid) .stat-card {
  padding: clamp(16px, 2.5vw, 20px);
}

.section-tight:has(.stats-grid) + .section {
  padding-top: clamp(40px, 6vw, 56px);
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead,
.section-head p,
.hero-copy p,
.page-hero p,
.intro-card p,
.card p,
.document-card p,
.review-card p,
.service-detail p,
.service-offer-card p,
.service-offer-card li,
.trust-card p,
.contact-card p,
.policy-card p,
.case-card p,
.stat-card p,
.step-card p,
.audience-card p,
.thanks-card p {
  color: var(--muted);
}

.surface,
.card,
.document-card,
.review-card,
.service-detail,
.service-offer-card,
.trust-card,
.contact-card,
.policy-card,
.case-card,
.stat-card,
.step-card,
.audience-card,
.quiz-card,
.cta-banner,
.intro-card,
.thanks-card {
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.btn,
.btn-secondary,
.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: transform var(--motion-micro) ease, background-color var(--motion-micro) ease, border-color var(--motion-micro) ease, color var(--motion-micro) ease, box-shadow var(--motion-micro) ease, opacity var(--motion-micro) ease;
}

.btn {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: var(--shadow-accent);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px) scale(1.01);
  background: var(--accent-dark);
}

.btn-secondary {
  background: var(--surface-hero-button);
  border-color: var(--surface-chip-border);
  color: var(--text-inverse);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  background: var(--surface-hero-button-hover);
  color: var(--text);
}

.btn-text {
  min-height: auto;
  padding: 0;
  border: 0;
  color: var(--accent-dark);
}

.btn-text:hover,
.btn-text:focus-visible {
  transform: translateX(3px);
}

.btn:active,
.btn-secondary:active,
.btn-text:active {
  transform: translateY(1px) scale(0.99);
}

.btn:disabled,
.btn-secondary:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.site-header.scrolled .nav-shell {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 0 18px;
  background: var(--header-shell-bg);
  border: 1px solid var(--header-shell-border);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand-mark {
  font-size: 1.7rem;
  font-weight: 700;
}

.brand-note {
  color: var(--muted);
  font-size: 0.8rem;
}

@keyframes nav-toggle-ripple {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  40% {
    opacity: 0.35;
  }

  100% {
    opacity: 0;
    transform: scale(2.2);
  }
}

.nav-toggle {
  --nav-toggle-ease: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-toggle-morph: 280ms var(--nav-toggle-ease);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  isolation: isolate;
  transition: transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color var(--motion-micro) ease,
    border-color var(--motion-micro) ease;
}

.nav-toggle:hover {
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
  border-color: var(--header-accent-border);
}

.nav-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent);
}

.nav-toggle:active {
  transform: scale(0.92);
  transition: transform 80ms ease-out, background-color var(--motion-micro) ease, border-color var(--motion-micro) ease;
}

.nav-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  transform: scale(0);
  opacity: 0;
  background: radial-gradient(
    circle at 50% 50%,
    color-mix(in srgb, var(--accent) 55%, transparent) 0%,
    transparent 62%
  );
}

.nav-toggle[data-ripple-x]::after {
  background: radial-gradient(
    circle at calc(attr(data-ripple-x number, 50) * 1%) calc(attr(data-ripple-y number, 50) * 1%),
    color-mix(in srgb, var(--accent) 55%, transparent) 0%,
    transparent 62%
  );
}

.nav-toggle.nav-toggle--ripple::after {
  animation: nav-toggle-ripple 450ms ease-out forwards;
}

.nav-toggle-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 18px;
  height: 14px;
}

.nav-toggle-line {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--text);
  transform-origin: center;
  transition: transform var(--nav-toggle-morph), opacity var(--nav-toggle-morph);
}

.nav-toggle-line:nth-child(1) {
  top: 0;
}

.nav-toggle-line:nth-child(2) {
  top: 6px;
  transform: scaleX(1);
}

.nav-toggle-line:nth-child(3) {
  bottom: 0;
  top: auto;
}

.nav-toggle.is-open .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle {
    transition: background-color var(--motion-micro) ease, border-color var(--motion-micro) ease;
  }

  .nav-toggle:active {
    transform: none;
    transition: background-color var(--motion-micro) ease, border-color var(--motion-micro) ease;
  }

  .nav-toggle::after,
  .nav-toggle.nav-toggle--ripple::after {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .nav-toggle-line {
    transition: none;
  }

  .nav-toggle.is-open .nav-toggle-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.is-open .nav-toggle-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav-toggle.is-open .nav-toggle-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

.nav-links {
  position: fixed;
  inset: calc(var(--header-height) + 8px) 24px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: var(--surface-overlay);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-card-strong);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--motion-reveal) cubic-bezier(0.65, 0, 0.35, 1),
    visibility 0s linear var(--motion-reveal);
}

.nav-links.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity var(--motion-reveal) cubic-bezier(0.65, 0, 0.35, 1),
    visibility 0s linear 0s;
}

@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce) {
  .nav-links,
  .nav-links.is-open {
    transition: none;
  }
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--muted);
}

.nav-links a.active {
  color: var(--text);
}

.header-phone {
  display: none;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--motion-micro) ease;
}

.header-phone:hover,
.header-phone:focus-visible {
  color: var(--accent);
}

.nav-actions {
  display: none;
}

.hero,
.page-hero {
  position: relative;
  color: var(--text-inverse);
  background-position: center;
  background-size: cover;
}

.hero {
  min-height: calc(100dvh - 24px);
  padding: 44px 0 48px;
  background-image: var(--hero-overlay), var(--hero-home-image);
}

.page-hero {
  padding: 72px 0 60px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--page-overlay);
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

/* TODO: Generate /assets/img/hero-about.jpg (premium office interior with valuation team at work). */
.hero-about {
  background-image: url("/assets/img/hero-about.jpg");
}

.hero-documents {
  background-image: url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1600&q=80");
}

.hero-reviews {
  background-image: url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1600&q=80");
}


.hero-contacts {
  background-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80");
}

.hero-real-estate {
  background-image: url("https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=1920&q=85");
}

.hero-business {
  background-image: url("https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=1600&q=80");
}

.hero-commercial {
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80");
}

.hero-court {
  background-image: url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1600&q=80");
}

.hero-notary {
  background-image: url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=80");
}

.hero-notary-inheritance {
  background-image: url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1920&q=85");
}

.hero-damage {
  background-image: url("https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?auto=format&fit=crop&w=1600&q=80");
}

.hero-damage-valuation {
  background-image: url("https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=1920&q=85");
}

.hero-equipment {
  background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80");
}

.hero-equipment-transport {
  background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80");
}

.hero-grid,
.page-hero-grid,
.service-grid,
.review-grid,
.documents-grid,
.trust-grid,
.audience-grid,
.stats-grid,
.steps-grid,
.contact-grid,
.story-grid,
.detail-grid,
.service-offer-grid,
.case-grid,
.two-column,
.cta-grid,
.form-grid {
  display: grid;
  gap: 24px;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.hero-copy p {
  max-width: 62ch;
  color: var(--text-inverse-soft);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-trust-line {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
  letter-spacing: 0.02em;
  white-space: normal;
  overflow: hidden;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-trust__label {
  font-size: 10px;
  font-weight: 600;
  color: #c5a880;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-trust__logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.hero-trust__logos img {
  height: 20px;
  width: auto;
  opacity: 0.9;
}

.hero-trust__more {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.58);
  white-space: normal;
  line-height: 1.45;
}

.hero-prefill {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-prefill__label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-prefill__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-prefill__pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: 99px;
  font-size: 13px;
  font-family: inherit;
  color: #c5a880;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.hero-prefill__pill:hover,
.hero-prefill__pill.is-active {
  background: rgba(197, 168, 128, 0.12);
  border-color: rgba(197, 168, 128, 0.65);
  color: #d4c0a0;
}

.hero-creds {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-cred {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  letter-spacing: 0.01em;
}

.hero-cred svg {
  width: 13px;
  height: 13px;
  stroke: #c5a880;
  flex-shrink: 0;
}

.hero-stats-bar {
  background: var(--hero-stats-bg);
  padding: 16px 0;
  width: 100%;
}

.hero-stats-bar .hero-stats {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 0;
  border-top: none;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
}

@media (max-width: 767px) {
  .hero-stats-bar .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-stat {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding-right: 24px;
}

.hero-stat__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: #C5A880;
  margin-top: 2px;
}

.hero-stat__icon svg {
  width: 100%;
  height: 100%;
}

.hero-stat__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat__value {
  font-size: 24px;
  font-weight: 700;
  color: #C5A880;
  letter-spacing: -0.02em;
}

.hero-stat__label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

.hero-trust,
.page-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  background: var(--surface-chip);
  border: 1px solid var(--surface-chip-border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.quiz-card,
.contact-form,
.inline-form,
.thanks-card,
.stat-card,
.card,
.document-card,
.review-card,
.service-detail,
.service-offer-card,
.trust-card,
.contact-card,
.policy-card,
.case-card,
.step-card,
.audience-card,
.intro-card,
.cta-banner {
  padding: 24px;
}

.cta-banner {
  padding: 18px;
}

.quiz-card h3,
.contact-form h3,
.inline-form h3 {
  margin-bottom: 12px;
}

.quiz-intro {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.quiz-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
}

.quiz-progress-step {
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  transition: background-color var(--motion-micro) ease, transform var(--motion-micro) ease;
}

.quiz-progress-step.is-active {
  background: var(--accent);
}

.quiz-form {
  gap: 18px;
}

.quiz-step {
  display: none;
  gap: 16px;
}

.quiz-step.is-active {
  display: grid;
}

.quiz-question,
.quiz-result-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.quiz-options {
  display: grid;
  gap: 12px;
}

.quiz-option {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 16px 18px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  transition: transform var(--motion-micro) ease, border-color var(--motion-micro) ease, box-shadow var(--motion-micro) ease, background-color var(--motion-micro) ease;
}

.quiz-option:hover,
.quiz-option:focus-visible,
.quiz-option.is-selected {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-focus);
}

.quiz-option.is-selected {
  background: var(--surface-soft);
}

.quiz-option-title {
  font-weight: 700;
}

.quiz-option-note,
.quiz-result-fit {
  color: var(--muted);
  font-size: 0.95rem;
}

.quiz-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quiz-step-result {
  gap: 20px;
}

.quiz-result-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.quiz-result-grid {
  display: grid;
  gap: 12px;
}

.quiz-result-details {
  display: grid;
  gap: 12px;
}

.quiz-result-grid--spaced {
  margin-top: 24px;
}

.quiz-result-hidden {
  display: none;
  opacity: 0;
  transform: translateY(10px);
}

.quiz-contact.quiz-result-hidden {
  display: none;
}

.quiz-result-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.quiz-contact.quiz-result-visible {
  display: grid;
}

.quiz-result-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.quiz-result-value {
  font-size: 1.2rem;
  line-height: 1.2;
}

.quiz-doc-list,
.quiz-answer-summary {
  display: grid;
  gap: 10px;
}

.quiz-doc-list li,
.quiz-answer-summary li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.quiz-result-summary {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.quiz-doc-list li::before,
.quiz-answer-summary li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

.quiz-contact {
  display: grid;
  gap: 14px;
}

.quiz-nav-result {
  justify-content: space-between;
}

.field-stack,
.form-row {
  display: grid;
  gap: 14px;
}

.form-submit-hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.45;
}

.field--privacy .field-checkbox {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: start;
  gap: 10px;
}

.field--privacy .field-checkbox input[type="checkbox"] {
  display: block;
  width: 16px;
  height: 16px;
  min-height: unset !important;
  margin: 0;
  padding: 0;
  accent-color: var(--accent);
}

.field--privacy .field-checkbox label {
  margin: 0;
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text);
}

.field--privacy .field-checkbox a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.field--privacy .field-checkbox a:hover {
  color: var(--accent);
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--motion-micro) ease, box-shadow var(--motion-micro) ease;
}

.field textarea {
  min-height: 132px;
  padding: 14px 16px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: var(--shadow-focus);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: var(--shadow-danger);
}

.error-message,
.success-message,
.form-note {
  font-size: 0.92rem;
}

.error-message,
.success-message {
  display: none;
}

.error-message {
  color: var(--danger);
}

.success-message {
  color: var(--accent-dark);
}

.error-message.is-visible,
.success-message.is-visible {
  display: block;
}

.service-grid,
.service-offer-grid,
.review-grid,
.documents-grid,
.trust-grid,
.audience-grid,
.stats-grid,
.steps-grid,
.case-grid {
  grid-template-columns: 1fr;
}

.card,
.document-card,
.review-card,
.service-detail,
.service-offer-card,
.trust-card,
.case-card,
.audience-card {
  display: grid;
  gap: 14px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.service-offer-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card,
.service-detail,
.service-offer-card {
  border-left: 3px solid transparent;
}

.card:hover,
.document-card:hover,
.review-card:hover,
.service-detail:hover,
.service-offer-card:hover,
.trust-card:hover,
.case-card:hover,
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-strong);
}

.case-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.case-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(182, 138, 69, 0.24);
  background: rgba(182, 138, 69, 0.1);
  color: var(--accent-dark);
  flex-shrink: 0;
}

.case-card__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.case-card__head h3 {
  margin: 0;
}

.case-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.case-card__status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  width: fit-content;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(54, 69, 59, 0.1);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.partners-strip {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  box-shadow: var(--shadow-card);
}

.partners-strip__title {
  margin: 0 0 12px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

/* Partners row: three identical .marquee-set blocks; inner gap stays 0 so translate(-33.333%) matches one segment; 16px rhythm = .marquee-set gap + equal padding-right on each set */
.marquee-track {
  overflow: hidden;
  width: 100%;
  padding: 0;
}

.marquee-inner {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 20s linear infinite;
  animation-play-state: running;
  will-change: transform;
}

.marquee-set {
  display: flex;
  flex-shrink: 0;
  gap: 16px;
  padding-right: 16px;
}

.marquee-set .partners-strip__item:last-child {
  padding-right: 0;
  margin-right: 0;
}

@keyframes marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-33.333333%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-inner {
    animation: none;
  }
}

.partners-strip__item {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.section--cases {
  padding-top: clamp(24px, 4vw, 40px);
}

.section--reviews {
  padding-bottom: clamp(24px, 4vw, 40px);
}

.card:hover,
.service-detail:hover,
.service-offer-card:hover {
  border-left-color: var(--accent);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--surface-soft);
  color: var(--accent-dark);
  border-radius: 16px;
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.helper-list,
.check-list,
.bullet-list,
.detail-list,
.contact-list {
  display: grid;
  gap: 12px;
}

.helper-list li,
.check-list li,
.bullet-list li,
.detail-list li,
.contact-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.helper-list li::before,
.check-list li::before,
.bullet-list li::before,
.detail-list li::before,
.contact-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

.contact-card--messenger {
  padding: 0;
}

.contact-card__messenger {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 100%;
  padding: 24px;
  box-sizing: border-box;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-radius: inherit;
}

.contact-card__messenger:hover {
  color: var(--accent-dark);
}

.contact-card__messenger-icon {
  display: flex;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-card__messenger-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.contact-card {
  overflow: hidden;
}

.contact-card h3,
.contact-card p,
.contact-card a {
  word-break: break-word;
  overflow-wrap: break-word;
}

.stat-value {
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.stat-label,
.small-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.step-card {
  display: grid;
  gap: 16px;
}

.process-step {
  outline: 1px solid transparent;
  outline-offset: 0;
  transition: outline-color var(--motion-micro) ease, outline-offset var(--motion-micro) ease;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--surface-soft);
  color: var(--accent-dark);
  border-radius: 50%;
  font-weight: 800;
}

.process-step__badge {
  transition: transform var(--motion-micro) ease, background-color var(--motion-micro) ease, box-shadow var(--motion-micro) ease;
}

.process-step.is-sequence-active {
  outline-color: var(--accent);
  outline-offset: 3px;
}

.process-step.is-sequence-active .process-step__badge {
  transform: scale(1.06);
  background: var(--accent-dark);
  box-shadow: 0 8px 18px rgba(31, 42, 55, 0.16);
}

.breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--text-inverse-faint);
}

.breadcrumbs span:last-child {
  color: var(--text-inverse);
}

.intro-card {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.page-hero .intro-card h3 {
  color: rgba(0, 0, 0, 1);
}

body[data-page="about"] .intro-card--about,
body[data-page="documents"] .intro-card--about,
body[data-page="service-real-estate"] .intro-card--real-estate {
  display: grid;
  gap: 16px;
  margin-top: 0;
  padding: clamp(22px, 4.2vw, 30px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 236, 0.96));
  border-color: rgba(182, 138, 69, 0.24);
  box-shadow:
    0 20px 40px rgba(31, 42, 55, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.74) inset;
}

body[data-page="about"] .intro-card__kicker,
body[data-page="documents"] .intro-card__kicker,
body[data-page="service-real-estate"] .intro-card--real-estate .intro-card__kicker {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(182, 138, 69, 0.22);
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="about"] .intro-card--about h3,
body[data-page="documents"] .intro-card--about h3,
body[data-page="service-real-estate"] .intro-card--real-estate h3 {
  color: var(--text);
  font-size: clamp(1.6rem, 3.1vw, 2.1rem);
  line-height: 1.02;
  max-width: 14ch;
}

body[data-page="about"] .intro-card--about .intro-card__list,
body[data-page="documents"] .intro-card--about .intro-card__list,
body[data-page="service-real-estate"] .intro-card--real-estate .intro-card__list {
  gap: 10px;
}

body[data-page="about"] .intro-card--about .intro-card__list li,
body[data-page="documents"] .intro-card--about .intro-card__list li,
body[data-page="service-real-estate"] .intro-card--real-estate .intro-card__list li {
  padding: 12px 14px;
  border: 1px solid rgba(182, 138, 69, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  color: #3f4753;
  font-weight: 500;
}

body[data-page="documents"] .hero-documents.page-hero {
  padding-top: 24px;
}

body[data-page="documents"] .hero-documents .page-hero-grid > .reveal > p {
  margin-bottom: 18px;
}

body[data-page="documents"] .hero-documents .page-hero-grid > .reveal > h1 {
  margin-bottom: 24px;
}

body[data-page="documents"] .hero-documents .page-hero-grid {
  align-items: end;
}

body[data-page="reviews"] .hero-reviews.page-hero {
  padding-top: 60px;
}

body[data-page="reviews"] .hero-reviews .page-hero-grid > .reveal > h1 {
  margin-bottom: 20px;
}

body[data-page="reviews"] .hero-reviews .page-hero-grid > .reveal > p {
  margin-bottom: 12px;
}

body[data-page="contacts"] .hero-contacts .page-trust {
  margin-top: 12px;
}

@media (max-width: 767.98px) {
  body[data-page="contacts"] .hero-contacts .intro-card {
    margin-top: 16px;
  }

  body[data-page="reviews"] .hero-reviews .intro-card {
    margin-top: 24px;
  }
}

body[data-page="about"] .hero-about .page-trust {
  margin-top: 12px;
}

.media-card,
.document-card figure,
.review-card figure {
  overflow: hidden;
  border-radius: 16px;
}

.media-card {
  min-height: 320px;
  box-shadow: var(--shadow-card-strong);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.document-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.section-about {
  padding-block: clamp(72px, 9vw, 112px);
}

.section-about .container {
  width: min(100% - clamp(24px, 5vw, 48px), var(--container));
}

.section-about .story-grid.about-layout {
  row-gap: clamp(32px, 6vw, 56px);
  align-items: center;
}

.about-media {
  position: relative;
  overflow: hidden;
  border-radius: clamp(18px, 2.2vw, 24px);
  background: var(--surface);
  aspect-ratio: 4 / 5;
  box-shadow:
    0 24px 56px rgba(31, 42, 55, 0.09),
    0 10px 22px rgba(31, 42, 55, 0.05);
}

.about-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
  min-width: 0;
}

.about-head {
  display: grid;
  gap: clamp(14px, 2.2vw, 22px);
  margin: 0;
}

.about-head .eyebrow {
  letter-spacing: 0.1em;
}

.about-head h2 {
  font-size: clamp(2.45rem, 4.5vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -0.038em;
  text-wrap: balance;
  max-width: 22ch;
  color: var(--text);
}

.about-lead {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.68;
  color: var(--muted);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.6vw, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 20px);
  padding: clamp(20px, 2.4vw, 26px);
  background: #FAF7F1;
  border-radius: 12px;
}

.about-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px rgba(182, 138, 69, 0.16);
}

.about-feature-icon svg {
  width: 24px;
  height: 24px;
}

.about-feature-text {
  font-size: clamp(0.98rem, 1.05vw, 1.05rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--text);
}

.document-card figure,
.review-card figure {
  background: var(--surface);
  border: 1px solid var(--border);
}

body[data-page="reviews"] .review-card figure {
  display: flex;
  flex-direction: column;
}

body[data-page="reviews"] .review-card figure img {
  height: auto;
  flex: 0 0 auto;
  min-height: 0;
}

body[data-page="reviews"] .review-photo-download {
  flex-shrink: 0;
  margin-top: -1px;
  padding: 10px 14px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
}

body[data-page="reviews"] .review-photo-download:hover {
  color: var(--accent);
}

body[data-page="reviews"] .review-photo-download:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

body[data-page="reviews"] .section-tight--cases {
  padding-top: 16px;
}

/* Documents page: certificate cards — fixed image band + aligned copy */
body[data-page="documents"] .document-card:has(figure) {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

body[data-page="documents"] .document-card:has(figure) figure {
  flex-shrink: 0;
  height: 200px;
  margin: 0;
  background: #f8f7f4;
}

body[data-page="documents"] .document-card:has(figure) figure img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

body[data-page="documents"] .document-card:has(figure) h3 {
  flex-shrink: 0;
  margin: 0;
  min-height: 0;
}

body[data-page="documents"] .document-card:has(figure) p {
  margin: 0;
}

body[data-page="documents"] .document-card h3 {
  margin-bottom: 0;
}

body[data-page="documents"] .document-card p {
  margin-top: 0;
}

/* Documents page: download cards — equal height, button pinned to bottom */
body[data-page="documents"] .document-card:has(> a.btn) {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

body[data-page="documents"] .document-card:has(> a.btn) h3,
body[data-page="documents"] .document-card:has(> a.btn) p {
  margin: 0;
}

body[data-page="documents"] .document-card:has(> a.btn) .btn {
  margin-top: auto;
  align-self: stretch;
  background: #2d2d2d;
  color: #c5a880;
  border: none;
  box-shadow: none;
}

body[data-page="documents"] .document-card:has(> a.btn) .btn:hover,
body[data-page="documents"] .document-card:has(> a.btn) .btn:focus-visible {
  background: #3d3d3d;
  color: #c5a880;
  box-shadow: none;
}

body[data-page="documents"] .document-card:has(> a.btn) .btn:focus-visible {
  outline: 2px solid #c5a880;
  outline-offset: 2px;
}

body[data-page="documents"] .document-card:has(> a.btn) .btn:active {
  transform: translateY(1px) scale(0.99);
}

[data-preview-card]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.cta-banner {
  background: var(--cta-gradient);
}

.section-coverage-cta {
  padding-top: clamp(32px, 6vw, 64px);
}

.cta-grid--coverage {
  gap: 14px;
}

.cta-banner--coverage-main,
.cta-banner--coverage-benefits {
  position: relative;
  border-radius: 18px;
}

.cta-banner--coverage-main {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px 20px;
  overflow: hidden;
  background: #f6f6f5;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-left: 3px solid #c5a880;
  box-shadow: 0 16px 42px rgba(18, 18, 18, 0.04);
}

.cta-banner--coverage-main .eyebrow {
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 600;
  color: #44413d;
}

.cta-banner--coverage-main h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 8vw, 3.5rem);
  line-height: 0.93;
  letter-spacing: -0.03em;
  color: #171717;
  max-width: 11ch;
}

.cta-banner--coverage-main p {
  margin: 0;
  font-size: clamp(1.02rem, 3.3vw, 1.24rem);
  line-height: 1.45;
  color: #2f2f2f;
  max-width: 44ch;
  position: relative;
  z-index: 1;
}

.coverage-accent {
  position: absolute;
  right: 14px;
  bottom: -14px;
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.84;
  color: #171717;
  opacity: 0.05;
  pointer-events: none;
}

.cta-banner--coverage-benefits {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px 20px 22px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.cta-banner--coverage-benefits h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.95rem, 6.8vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #171717;
  max-width: 17ch;
}

.coverage-benefits-list {
  display: grid;
}

.coverage-benefit-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eaeaea;
}

.coverage-benefit-row:last-child {
  border-bottom: 0;
}

.coverage-benefit-row__number {
  color: #c5a880;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.coverage-benefit-row p {
  margin: 0;
  color: #3e3e3e;
  font-size: clamp(1.03rem, 3.1vw, 1.17rem);
  line-height: 1.45;
}

.footer {
  position: relative;
  padding: 0 0 28px;
  background:
    radial-gradient(ellipse 90% 55% at 50% -30%, rgba(182, 138, 69, 0.09), transparent 58%),
    var(--footer-bg);
  color: var(--text-inverse-muted);
  --footer-edge: rgba(255, 255, 255, 0.07);
}

.footer-accent {
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(182, 138, 69, 0.45) 22%,
    var(--accent) 50%,
    rgba(182, 138, 69, 0.45) 78%,
    transparent 100%
  );
}

.footer-inner {
  padding-top: 52px;
}

.footer-main {
  display: grid;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--footer-edge);
}

.footer-brand {
  display: grid;
  gap: 0;
  align-content: start;
}

.footer-logo {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  max-width: 46ch;
  text-decoration: none;
  color: inherit;
  border-bottom: 0;
  transition: opacity 0.2s ease;
}

.footer-logo:hover,
.footer-logo:focus-visible {
  opacity: 0.9;
  border-bottom: 0;
}

.footer-logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.footer-logo-mark {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-inverse);
}

.footer-logo-tagline {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-inverse-soft);
}

.footer-lead {
  margin: 0 0 18px;
  max-width: 48ch;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-inverse-muted);
  text-wrap: balance;
}

.footer-trust {
  margin: 0;
  padding: 14px 16px 14px 18px;
  max-width: 50ch;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-footer-note);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-heading {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--accent);
}

.footer .helper-list {
  gap: 10px;
}

.footer-requisites {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-requisites li {
  font-size: 0.84rem;
}

.footer .helper-list li {
  color: var(--text-inverse-muted);
}

.footer .helper-list li::before {
  top: 10px;
  opacity: 0.9;
}

.footer a {
  color: var(--text-inverse-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--text-inverse);
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding-top: 22px;
}

.footer-copyright {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-footer-note);
}

.footer-legal {
  font-size: 0.86rem;
  color: var(--text-inverse-muted);
}

.footer-legal:hover,
.footer-legal:focus-visible {
  color: var(--text-inverse);
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.footer-note {
  color: var(--text-footer-note);
  font-size: 0.92rem;
}

.floating-cta-bar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: auto;
  z-index: 80;
  display: block;
  width: max-content;
  max-width: calc(100vw - 32px);
}

.floating-lead {
  display: none;
}

.floating-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  background: var(--text);
  color: var(--text-inverse);
  border-radius: 999px;
  box-shadow: var(--shadow-floating);
  transition: transform var(--motion-micro) ease;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.floating-call:hover,
.floating-call:focus-visible {
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  body {
    padding-bottom: 80px;
  }

  .floating-cta-bar {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    max-width: none;
  }

  .floating-lead {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 52%;
    min-height: 52px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-floating);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--surface);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .floating-lead:hover,
  .floating-lead:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-strong);
    color: var(--surface);
  }

  .floating-call {
    flex: 1 1 42%;
    min-width: 0;
    padding: 0 12px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.map-frame {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card-strong);
}

html:not(.js-reveal) .reveal {
  opacity: 1;
  transform: none;
}

html.js-reveal .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity var(--motion-reveal) cubic-bezier(0.16, 1, 0.3, 1),
    transform var(--motion-reveal) cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.js-reveal .reveal[data-reveal-index="1"]:not(.is-visible) {
  transition-delay: 40ms !important;
}

html.js-reveal .reveal[data-reveal-index="2"]:not(.is-visible) {
  transition-delay: 80ms !important;
}

html.js-reveal .reveal[data-reveal-index="3"]:not(.is-visible) {
  transition-delay: 100ms !important;
}

@media (min-width: 768px) {
  .section {
    padding: 96px 0;
  }

  .hero-grid,
  .page-hero-grid,
  .story-grid,
  .detail-grid,
  .service-offer-grid,
  .contact-grid,
  .two-column,
  .cta-grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .cta-grid--coverage {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .cta-banner--coverage-main,
  .cta-banner--coverage-benefits {
    min-height: 100%;
  }

  .cta-banner--coverage-main {
    padding: clamp(26px, 2.4vw, 34px) clamp(26px, 2.4vw, 36px);
  }

  .cta-banner--coverage-benefits {
    padding: clamp(24px, 2.2vw, 32px) clamp(24px, 2.2vw, 32px) clamp(26px, 2.2vw, 34px);
  }

  .section-about .story-grid.about-layout {
    grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
    column-gap: clamp(48px, 7vw, 88px);
    row-gap: clamp(28px, 4vw, 40px);
    align-items: center;
  }

  .about-media {
    max-height: min(82vh, 680px);
  }

  .hero-grid,
  .page-hero-grid {
    align-items: end;
  }

  body[data-page="about"] .intro-card--about,
  body[data-page="documents"] .intro-card--about,
  body[data-page="service-real-estate"] .intro-card--real-estate {
    margin-top: -34px;
  }

  body[data-page="documents"] .intro-card--about {
    margin-top: 0;
    align-self: end;
  }

  body[data-page="reviews"] .hero-reviews .page-hero-grid > .reveal {
    margin-top: -12px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  }

  .page-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .documents-grid,
  .review-grid,
  .trust-grid,
  .steps-grid,
  .case-grid,
  .quiz-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1.22fr 0.78fr 0.85fr;
    gap: 32px 40px;
    align-items: start;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex: 1;
    margin-left: 32px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .nav-links a {
    min-height: auto;
  }

  .header-phone {
    min-height: auto;
  }

  .nav-actions {
    display: flex;
  }

  .service-grid,
  .service-offer-grid,
  .documents-grid,
  .review-grid,
  .trust-grid,
  .case-grid,
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audience-grid,
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .header-phone {
    display: inline-flex;
  }
}

/* FAQ accordion (homepage) */
.section-faq {
  background: transparent;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color var(--motion-micro) ease, box-shadow var(--motion-micro) ease;
}

.faq-item.is-open {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card-strong);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  margin: 0;
  text-align: left;
  font: inherit;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq-trigger:hover {
  background: rgba(182, 138, 69, 0.04);
}

.faq-trigger:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent);
}

.faq-trigger__text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.faq-trigger__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-trigger__icon::before,
.faq-trigger__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal.is-visible,
  .process-step,
  .process-step__badge,
  .card,
  .document-card,
  .review-card,
  .service-detail,
  .service-offer-card,
  .trust-card,
  .case-card,
  .audience-card,
  .btn,
  .btn-secondary,
  .btn-text,
  .quiz-option,
  .quiz-progress-step {
    animation: none !important;
    transform: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

.faq-trigger__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-trigger__icon::after {
  opacity: 0;
}

.faq-panel {
  padding: 0;
  border-top: 1px solid transparent;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, border-color var(--motion-micro) ease;
  will-change: max-height, opacity;
}

.faq-item.is-open .faq-panel {
  border-top-color: var(--border);
  opacity: 1;
}

.faq-panel p {
  margin: 0;
  padding: 4px 20px 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .faq-trigger {
    padding: 20px 24px;
  }

  .faq-trigger__text {
    font-size: 1.3rem;
  }

  .faq-panel {
    padding: 0;
  }

  .faq-panel p {
    padding: 4px 24px 18px;
  }
}

/* Service landing: offer cards (§2.3) */
.service-offer-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.service-offer-card__label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.service-offer-card__section {
  margin: 0;
}

.service-offer-card__docs {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 6px;
}

.service-offer-card__timeline {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

.service-offer-card__cta {
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
}

/* Homepage consolidated design system: tokens merged into top :root */

/* Global Reset for Typographic Elements */
body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-mark,
.display-serif,
.quiz-question,
.quiz-result-title {
  font-family: var(--font-heading) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Interactive element transitions */
a,
button,
.btn,
.quiz-option,
.step-card,
.process-step {
  transition: all 0.2s ease-in-out !important;
}

/* Button Styles */
.btn {
  background-color: var(--primary) !important;
  color: var(--accent-gold) !important;
  border-radius: var(--radius-sm) !important;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  background-color: var(--accent-dark) !important;
  transform: scale(1.02);
}

.btn-secondary {
  background-color: var(--surface) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
}

.btn-secondary:hover {
  border-color: var(--primary) !important;
}

.btn-text {
  color: var(--primary) !important;
}

/* Generic Card Structure */
.card,
.quiz-card,
.review-card,
.document-card,
.audience-card,
.trust-card {
  border-radius: var(--radius-md) !important;
  background: var(--surface);
  box-shadow: var(--shadow-card) !important;
  border: 1px solid var(--border) !important;
}

.card:hover,
.quiz-card:hover,
.review-card:hover,
.document-card:hover,
.audience-card:hover,
.trust-card:hover {
  box-shadow: var(--shadow-card-strong) !important;
  transform: translateY(-4px);
  border-color: var(--border) !important;
}

.section-trust {
  padding-block: clamp(80px, 10vw, 116px);
  background: transparent;
}

.section-trust .container {
  width: min(100% - clamp(24px, 5vw, 48px), var(--container));
}

.section-trust .section-head--trust {
  margin-bottom: clamp(44px, 6.5vw, 72px);
  gap: clamp(14px, 2vw, 20px);
}

.section-trust .section-head--trust p {
  max-width: 60ch;
  color: var(--text);
  line-height: 1.65;
}

.section-trust .trust-grid {
  gap: clamp(24px, 2.8vw, 32px);
}

.section-trust .trust-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: clamp(26px, 3.2vw, 32px) !important;
  background: var(--surface) !important;
  border: 1.5px solid rgba(27, 42, 62, 0.2) !important;
  border-radius: 12px !important;
  box-shadow:
    0 14px 40px rgba(24, 35, 52, 0.08),
    0 4px 12px rgba(24, 35, 52, 0.05) !important;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.section-trust .trust-card:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 42, 62, 0.32) !important;
  box-shadow:
    0 20px 48px rgba(24, 35, 52, 0.1),
    0 8px 18px rgba(24, 35, 52, 0.06) !important;
}

.section-trust .trust-card__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: #1e2d44;
}

.section-trust .trust-card__icon svg {
  width: 36px;
  height: 36px;
}

.section-trust .trust-card__title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.38rem, 2.1vw, 1.55rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #1a2433;
}

.section-trust .trust-card__desc {
  margin: 0;
  max-width: none;
  font-size: clamp(0.94rem, 1.05vw, 1.02rem);
  line-height: 1.64;
  color: rgba(91, 100, 114, 0.92);
}

/* Service Grid Highlight */
.service-grid .card {
  border-left: none !important;
  background: #ffffff !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 12px !important;
  color: inherit !important;
  transition: background 0.5s ease, color 0.5s ease, transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease !important;
}

.service-grid .card h3 {
  color: #1a1a1a !important;
}

.service-grid .card p {
  color: #666666 !important;
}

.service-grid .card .btn-text {
  color: #1a1a1a !important;
}

.service-grid .card h3,
.service-grid .card p,
.service-grid .card .btn-text {
  transition: color 0.5s ease !important;
}

.service-grid .card:hover {
  background: #1c2b1e !important;
  color: #ffffff !important;
  border-color: #1c2b1e !important;
}

.service-grid .card:hover h3,
.service-grid .card:hover .btn-text {
  color: #ffffff !important;
}

.service-grid .card:hover p {
  color: rgba(255, 255, 255, 0.75) !important;
}

.service-grid .card:hover a {
  color: #ffffff !important;
}

.service-grid .card .icon-box {
  background: #f0f0f0 !important;
  color: #2d2d2d !important;
  transition: background 0.4s ease !important;
}

.service-grid .card .icon-box svg {
  color: #2d2d2d !important;
  stroke: currentColor !important;
  transition: color 0.4s ease !important;
}

.service-grid .card:hover .icon-box {
  background: var(--accent) !important;
}

.service-grid .card:hover .icon-box svg {
  color: #ffffff !important;
  stroke: currentColor !important;
}

/* Process section — timeline cards */
.section-process {
  background: transparent;
}

.section-process .section-head {
  max-width: 52ch;
}

.process-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: flex-start;
  margin: 0;
  padding: 24px !important;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-left: 3px solid var(--primary) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-card) !important;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-strong) !important;
  border-color: var(--border-strong) !important;
  border-left-color: var(--primary) !important;
}

.process-step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.process-step__body h3 {
  margin: 0 0 8px;
  color: var(--text) !important;
  font-size: 1.125rem;
}

.process-step__time {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(54, 69, 59, 0.1);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}

.process-step__body p {
  margin: 0;
  color: var(--muted) !important;
  line-height: 1.6;
}

/* Focus states and Forms */
input,
select,
textarea {
  border-color: var(--border) !important;
  border-radius: var(--radius-sm) !important;
}

input,
select {
  height: 56px !important;
  padding: 0 16px !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px var(--accent-gold) !important;
  outline: none;
}

/* Mobile First Responsive Breakpoints */
@media (min-width: 375px) {
  .section {
    padding: 56px 0;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .process-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1200px) {
  .section {
    padding: 76px 0;
  }

  .process-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

/* Contacts section */
.section-contacts {
  background: transparent;
}

.contacts-shell {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contacts-shell .section-head {
  max-width: 56ch;
}

.contacts-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .contacts-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 40px;
  }
}

@media (min-width: 1200px) {
  .contacts-layout {
    gap: 48px;
  }
}

.contacts-aside {
  display: grid;
  gap: 24px;
}

.contacts-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contacts-meta__item {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.contacts-meta__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contacts-meta__value {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
}

.contacts-meta__value a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.contacts-meta__value a:hover {
  text-decoration: underline;
}

#contacts .contacts-meta__item {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

#contacts .contacts-meta__label {
  color: var(--muted);
}

#contacts .contacts-meta__value,
#contacts .contacts-meta__value {
  color: var(--text);
}

#contacts .contacts-meta__value a {
  color: var(--primary);
}

.contacts-minimap {
  display: grid;
  gap: 12px;
}

.contacts-minimap__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.contacts-minimap__frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 10;
  min-height: 200px;
  background: var(--surface-soft);
}

.contacts-minimap__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contacts-minimap__link.btn-text {
  align-self: start;
}

#contacts .contact-form {
  height: fit-content;
}

/* Home hero: split layout, dark gradient, info strip */
.hero.hero--split {
  position: relative;
  isolation: isolate;
  display: block;
  text-align: left;
  min-height: auto;
  padding: 0;
  width: min(100% - 32px, 1200px);
  margin: 8px auto 24px;
  border-radius: 20px;
  overflow: hidden;
  background-image: linear-gradient(165deg, #060a12 0%, #132a45 40%, #0b1426 100%);
  background-color: #080d18;
  background-size: cover;
  background-position: center;
  color: var(--text-inverse);
}

body[data-page="home"] .hero.hero--split {
  background: var(--hero-stats-bg);
  background-image: none;
}

body[data-page="home"] .hero.hero--split::after {
  display: none !important;
}

.hero.hero--split::after {
  content: "";
  position: absolute;
  inset: -8px;
  background:
    radial-gradient(
      62% 90% at 51% 50%,
      rgba(13, 27, 46, 0.22) 0%,
      rgba(13, 27, 46, 0.1) 50%,
      rgba(13, 27, 46, 0) 74%
    ),
    linear-gradient(
      to right,
      rgba(13, 27, 46, 0.9) 22%,
      rgba(13, 27, 46, 0.72) 40%,
      rgba(13, 27, 46, 0.42) 56%,
      rgba(13, 27, 46, 0.18) 68%,
      rgba(13, 27, 46, 0.05) 78%,
      rgba(13, 27, 46, 0) 86%
    );
  filter: blur(9px);
  transform: scale(1.01);
  transform-origin: center;
  will-change: filter, transform;
  opacity: 0.95;
  pointer-events: none;
  z-index: 1;
}

.hero.hero--split > .hero-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-split {
  position: relative;
  min-height: min(88dvh, 640px);
  display: flex;
  align-items: center;
}

.hero.hero--split .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 62%;
  padding: 80px 48px 72px;
  gap: clamp(18px, 2.5vw, 26px);
  text-align: left;
}

body[data-page="home"] .hero.hero--split .hero-copy {
  flex: 1;
  min-width: 0;
  padding: 48px 24px 64px 48px;
}

body[data-page="home"] .hero.hero--split .hero-copy h1 {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.15;
  text-align: left;
  max-width: none;
}

body[data-page="home"] .hero.hero--split .hero-copy > .eyebrow {
  display: none;
}

body[data-page="home"] .hero.hero--split .hero-actions .btn {
  background: #c5a880;
  color: #ffffff;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

body[data-page="home"] .hero.hero--split .hero-actions .btn:hover,
body[data-page="home"] .hero.hero--split .hero-actions .btn:focus-visible {
  background: #b8966e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 168, 128, 0.35);
}

body[data-page="home"] .hero.hero--split .hero-actions .btn-secondary {
  background: transparent;
  border: 2px solid #c5a880;
  color: #c5a880;
  backdrop-filter: none;
}

body[data-page="home"] .hero.hero--split .hero-actions .btn-secondary:hover,
body[data-page="home"] .hero.hero--split .hero-actions .btn-secondary:focus-visible {
  background: rgba(197, 168, 128, 0.08);
  border-color: #c5a880;
  color: #c5a880;
}

.hero.hero--split .hero-copy h1 {
  line-height: 1.08;
  max-width: 22ch;
  margin-inline: 0;
  font-size: clamp(2.35rem, 5.2vw, 3.65rem);
}

.hero-h1-deadline {
  display: block;
  margin-top: 0.2em;
  font-size: 0.72em;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.hero.hero--split .hero-copy p {
  line-height: 1.68;
  max-width: 48ch;
  margin-inline: 0;
  color: rgba(255, 255, 255, 0.78);
}

.hero.hero--split .eyebrow {
  color: #d4b87a;
}

.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  max-width: none;
  margin: 0;
  z-index: 0;
}

body[data-page="home"] .hero-visual {
  position: relative;
  right: auto;
  top: auto;
  flex: 0 0 40%;
  width: 40%;
  height: auto;
  align-self: flex-start;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
  margin: 0;
  padding: 16px 16px 0 0;
  overflow: visible;
}

.hero-portrait {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  box-shadow: none;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  display: block;
  opacity: 1;
  visibility: visible;
  object-fit: cover;
  object-position: center top;
}

body[data-page="home"] .hero-portrait {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  border-radius: 12px;
  overflow: hidden;
  margin: 16px 16px 16px 0;
  padding-right: 0;
  padding-top: 0;
}

body[data-page="home"] .hero-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
  transform: translateZ(0) scale(1.05);
  transform-origin: 100% 0%;
}

body[data-page="home"] .hero.hero--split .hero-portrait {
  border-radius: 16px;
  overflow: hidden;
  margin: 0;
  position: relative;
  align-self: flex-start;
  height: clamp(400px, 68dvh, 620px);
  width: 100%;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

body[data-page="home"] .hero.hero--split .hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  display: block;
  border: 0;
  outline: 0;
  box-shadow: none;
  border-radius: 16px;
  transform: none;
}

body[data-page="home"] .hero.hero--split .hero-portrait .hero-rating {
  position: absolute;
  bottom: 32px;
  left: 16px;
  right: 16px;
  margin: 0;
  background: rgba(26, 26, 26, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  padding: 9px 12px;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.35;
}

.hero-rating {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: auto;
  max-width: fit-content;
  margin-top: 24px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.hero-rating__stars {
  color: #C5A880;
  font-size: 12px;
  letter-spacing: 1px;
}

.hero-rating__text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.hero-rating__score {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.hero-rating__label {
  white-space: nowrap;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.hero.hero--split .hero-visual,
.hero.hero--split .hero-portrait {
  opacity: 1;
  visibility: visible;
}

.hero.hero--split .hero-actions {
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  justify-content: center;
}

.hero.hero--split .hero-stats {
  margin-top: 0;
  padding-top: 0;
}

.hero.hero--split .btn,
.hero.hero--split .btn-secondary {
  border-radius: 10px;
}

.hero.hero--split .hero-actions .btn {
  background: #C5A880;
  border-color: #C5A880;
  color: #1A1A1A;
}

.hero.hero--split .hero-actions .btn:hover,
.hero.hero--split .hero-actions .btn:focus-visible {
  background: #B8976E;
  border-color: #B8976E;
  color: #1A1A1A;
}

.hero.hero--split .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--text-inverse);
  backdrop-filter: none;
  box-shadow: none;
}

.hero.hero--split .btn-secondary:hover,
.hero.hero--split .btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--text-inverse);
}

.hero-strip {
  margin-top: clamp(24px, 3.5vw, 40px);
  padding: clamp(18px, 2.6vw, 26px) clamp(16px, 2.8vw, 28px);
  min-height: clamp(72px, 9vw, 96px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  font-size: clamp(0.92rem, 0.85rem + 0.25vw, 1.05rem);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.hero-strip__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  justify-content: center;
  column-gap: 8px;
  line-height: 1.45;
}

.hero-strip__item::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px 11px;
}

.hero-strip__item:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none'%3E%3Cpath d='M2 5.3 4.1 7.3 8 3.4' stroke='white' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hero-strip__item:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none'%3E%3Cpath d='M5 1.4 7.6 2.2v2.3c0 1.9-1.5 3.3-2.6 4.1-1.1-.8-2.6-2.2-2.6-4.1V2.2L5 1.4Z' stroke='white' stroke-width='1.1' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hero-strip__item:nth-child(5)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none'%3E%3Cpath d='M2 3.3h6M3.2 3.3l-1 2.1h2l-1-2.1Zm3.6 0-1 2.1h2l-1-2.1ZM5 2.2V6.9' stroke='white' stroke-width='1.05' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hero-strip__sep {
  display: none;
}

@media (min-width: 900px) {
  .hero.hero--split {
    width: min(100% - clamp(40px, 6vw, 120px), 1180px);
    margin: 8px auto 28px;
  }

  body:not([data-page="home"]) .hero.hero--split .hero-copy {
    text-align: left;
    align-self: center;
    padding: 80px 48px 72px;
  }

  body[data-page="home"] .hero-split {
    align-items: flex-start;
  }

  body[data-page="home"] .hero.hero--split .hero-copy {
    text-align: left;
    align-self: flex-start;
    padding: 48px 24px 64px 48px;
    min-width: 0;
  }

  .hero.hero--split .hero-copy h1,
  .hero.hero--split .hero-copy p {
    margin-inline: 0;
  }

  .hero-visual {
    width: 50%;
    height: 100%;
  }

  body[data-page="home"] .hero-visual {
    position: relative;
    right: auto;
    top: auto;
    flex: 0 0 40%;
    width: 40%;
    height: auto;
    align-self: flex-start;
  }

  .hero-portrait {
    max-width: 100%;
  }

  body:not([data-page="home"]) .hero.hero--split .hero-portrait img {
    object-position: 40% 8%;
    transform: scale(0.94) translateZ(0);
    transform-origin: right bottom;
  }

  .hero.hero--split .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .hero-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr) auto minmax(0, 1.35fr);
    align-items: center;
    column-gap: clamp(12px, 2vw, 24px);
    text-align: initial;
  }

  .hero-strip__sep {
    display: block;
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.18);
    justify-self: center;
  }

  .hero-strip__item {
    white-space: nowrap;
  }

  .hero-strip__item:nth-child(1) {
    text-align: left;
    justify-self: start;
    justify-content: start;
  }

  .hero-strip__item:nth-child(3) {
    text-align: center;
    justify-self: center;
    justify-content: start;
    white-space: normal;
    max-width: 28ch;
  }

  .hero-strip__item:nth-child(5) {
    text-align: right;
    justify-self: end;
    justify-content: start;
    white-space: normal;
    max-width: 36ch;
  }
}

@media (max-width: 899px) {
  .hero.hero--split {
    width: auto;
    margin: 0 16px 32px;
  }

  .hero.hero--split::after {
    inset: 0;
    background: linear-gradient(to bottom, #0D1B2E 0%, rgba(13, 27, 46, 0.75) 52%, transparent 100%);
    filter: none;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 1;
  }

  .hero-split {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual {
    position: relative;
    width: 100%;
    height: min(100vw, 480px);
    right: auto;
    top: auto;
    order: 2;
  }

  .hero.hero--split .hero-visual {
    display: none;
  }

  body[data-page="home"] .hero-portrait {
    align-items: center;
    justify-content: center;
    padding-right: 0;
  }

  body[data-page="home"] .hero-portrait img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-position: center 4%;
    transform: translateZ(0);
  }

  .hero.hero--split .hero-copy {
    max-width: 100%;
    padding: 40px 24px 28px;
  }

  body[data-page="home"] .hero.hero--split .hero-copy {
    padding: 40px 24px 28px;
    min-width: 0;
  }
}

.section-quiz {
  background: transparent;
  padding: clamp(40px, 8vw, 56px) 0 clamp(24px, 5vw, 36px);
  width: 100%;
}

.quiz-container {
  --quiz-shell-max: 1220px;
  box-sizing: border-box;
  width: 100%;
  max-width: min(var(--quiz-shell-max), 100%);
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 640px) {
  .quiz-container {
    padding-inline: clamp(18px, 4vw, 36px);
  }
}

@media (min-width: 1280px) {
  .quiz-container {
    --quiz-shell-max: 1240px;
    max-width: min(var(--quiz-shell-max), 100%);
    padding-inline: clamp(24px, 3vw, 40px);
  }
}

/* Hero quiz visual system (scoped) */
#hero-quiz[data-quiz] {
  --accent: rgb(182, 138, 69);
  --quiz-border: var(--border);
  position: relative;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  border: none !important;
  transition: box-shadow 0.3s ease;
}

#hero-quiz[data-quiz]:hover {
  transform: none !important;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08) !important;
}

@media (min-width: 768px) {
  #hero-quiz[data-quiz] {
    padding: 40px clamp(28px, 4vw, 48px);
  }
}

@media (min-width: 1100px) {
  #hero-quiz[data-quiz] {
    padding: 44px clamp(32px, 3.5vw, 52px);
  }
}

#hero-quiz[data-quiz] .quiz-intro {
  margin-bottom: 24px;
}

#hero-quiz[data-quiz] .quiz-form {
  position: relative;
  min-height: 0;
}

#hero-quiz[data-quiz] [data-quiz-progress-header] {
  margin-bottom: 20px;
}

#hero-quiz[data-quiz] [data-quiz-progress-header].is-result .quiz-progress {
  opacity: 0.85;
}

#hero-quiz[data-quiz] .quiz-progress-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

#hero-quiz[data-quiz] .quiz-progress {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 6px;
  margin: 0;
  height: 6px;
}

#hero-quiz[data-quiz] .quiz-progress-step {
  flex: 1 1 0;
  min-width: 0;
  height: 6px;
  border-radius: 3px;
  background: #e7e1d6;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

#hero-quiz[data-quiz] .quiz-progress-step.is-active {
  background: var(--accent);
}

#hero-quiz[data-quiz] .quiz-step {
  display: none;
  opacity: 0;
  grid-template-columns: 1fr;
  gap: 0;
}

#hero-quiz[data-quiz] .quiz-step.is-active {
  display: grid;
  opacity: 1;
  align-content: start;
}

@keyframes quizExitFwd {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-20px);
  }
}

@keyframes quizExitBack {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(20px);
  }
}

@keyframes quizEnterFwd {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes quizEnterBack {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#hero-quiz[data-quiz] .quiz-step.is-active.quiz-step--exit-fwd {
  animation: quizExitFwd 200ms ease forwards;
}

#hero-quiz[data-quiz] .quiz-step.is-active.quiz-step--exit-back {
  animation: quizExitBack 200ms ease forwards;
}

#hero-quiz[data-quiz] .quiz-step.is-active.quiz-step--enter-fwd {
  animation: quizEnterFwd 200ms ease forwards;
}

#hero-quiz[data-quiz] .quiz-step.is-active.quiz-step--enter-back {
  animation: quizEnterBack 200ms ease forwards;
}

#hero-quiz[data-quiz] .quiz-question {
  font-family: var(--font-heading) !important;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

#hero-quiz[data-quiz] .quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  #hero-quiz[data-quiz] .quiz-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 1100px) {
  #hero-quiz[data-quiz] .quiz-options {
    gap: 16px;
  }
}

#hero-quiz[data-quiz] .quiz-option {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 20px 44px 20px 20px;
  text-align: left;
  border: 1px solid var(--quiz-border);
  border-radius: 12px;
  background: #fff;
  color: var(--text-primary);
  cursor: pointer;
  transition:
    border-color 0.42s ease,
    background 0.42s ease,
    box-shadow 0.42s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: none;
  transform: none !important;
}

#hero-quiz[data-quiz] .quiz-option > * {
  position: relative;
  z-index: 2;
}

#hero-quiz[data-quiz] .quiz-option::before {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: 0;
  border-radius: 19px;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(closest-side, rgba(182, 138, 69, 0.22) 0%, rgba(182, 138, 69, 0) 68%);
  transition: opacity 0.48s ease;
}

#hero-quiz[data-quiz] .quiz-option::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 1;
  border-radius: 14px;
  padding: 2px;
  pointer-events: none;
  opacity: 0;
  --ring-end: 0deg;
  background: conic-gradient(
    from -90deg,
    var(--accent-dark) 0deg,
    var(--accent) calc(var(--ring-end) * 0.42),
    var(--accent-dark) var(--ring-end),
    transparent var(--ring-end)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  transition: opacity 0.48s ease;
}

@keyframes quiz-option-ring-draw {
  0% {
    --ring-end: 0deg;
    opacity: 0;
  }

  14% {
    opacity: 1;
  }

  100% {
    --ring-end: 360deg;
    opacity: 1;
  }
}

#hero-quiz[data-quiz] .quiz-option:hover,
#hero-quiz[data-quiz] .quiz-option:focus-visible {
  border-color: var(--accent);
  background: rgba(182, 138, 69, 0.04);
  box-shadow: none;
  transform: none !important;
}

#hero-quiz[data-quiz] .quiz-option:hover .quiz-option-icon,
#hero-quiz[data-quiz] .quiz-option:focus-visible .quiz-option-icon {
  background: var(--accent);
  color: #fff;
}

#hero-quiz[data-quiz] .quiz-option:hover .quiz-option-icon svg,
#hero-quiz[data-quiz] .quiz-option:focus-visible .quiz-option-icon svg {
  stroke: #fff;
}

#hero-quiz[data-quiz] .quiz-option.is-selected {
  border-color: rgba(182, 138, 69, 0.38);
  background: rgba(182, 138, 69, 0.06);
  box-shadow: none;
  transform: scale(1.015) !important;
}

#hero-quiz[data-quiz] .quiz-option.is-selected::before {
  opacity: 1;
  transition: opacity 0.55s ease 0.1s;
}

#hero-quiz[data-quiz] .quiz-option.is-selected::after {
  animation: quiz-option-ring-draw 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#hero-quiz[data-quiz] .quiz-option.is-selected .quiz-option-icon {
  background: var(--accent);
  color: #fff;
}

#hero-quiz[data-quiz] .quiz-option.is-selected .quiz-option-icon svg {
  stroke: #fff;
}

#hero-quiz[data-quiz] .quiz-option-check {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

#hero-quiz[data-quiz] .quiz-option.is-selected .quiz-option-check {
  opacity: 1;
  transform: scale(1);
}

#hero-quiz[data-quiz] .quiz-option-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0ede6;
  border-radius: 10px;
  color: var(--text-primary);
  transition: background 0.3s ease, color 0.3s ease;
}

#hero-quiz[data-quiz] .quiz-option-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#hero-quiz[data-quiz] .quiz-option-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

#hero-quiz[data-quiz] .quiz-option-title {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
}

#hero-quiz[data-quiz] .quiz-option-note {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
}

#hero-quiz[data-quiz] .quiz-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-top: 24px;
}

#hero-quiz[data-quiz] .quiz-nav .btn-text[data-quiz-back] {
  align-self: flex-start;
  margin: 0 0 8px;
  padding: 0;
  height: auto;
  min-height: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted) !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none;
}

#hero-quiz[data-quiz] .quiz-nav .btn-text[data-quiz-back]:hover {
  color: var(--text-primary) !important;
  transform: none !important;
}

#hero-quiz[data-quiz] .quiz-step-result .quiz-result-panel {
  padding: 0;
  background: transparent;
  border: none;
  gap: 18px;
}

#hero-quiz[data-quiz] .quiz-result-hero {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

#hero-quiz[data-quiz] .quiz-result-check-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
}

#hero-quiz[data-quiz] .quiz-result-check-icon svg {
  width: 48px;
  height: 48px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

#hero-quiz[data-quiz] .quiz-result-heading {
  margin: 0;
  font-family: var(--font-heading) !important;
  font-size: clamp(1.5rem, 5.2vw, 1.85rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

#hero-quiz[data-quiz] .quiz-result-title[data-quiz-result-title] {
  margin: 0;
  font-family: var(--font-heading) !important;
  font-size: clamp(1.2rem, 4.1vw, 1.45rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.18;
}

#hero-quiz[data-quiz] .quiz-result-fit[data-quiz-result-fit] {
  margin: 0;
  max-width: min(42ch, 100%);
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (min-width: 900px) {
  #hero-quiz[data-quiz] .quiz-result-fit[data-quiz-result-fit] {
    max-width: min(58ch, 720px);
  }
}

#hero-quiz[data-quiz] .quiz-result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
}

@media (min-width: 480px) {
  #hero-quiz[data-quiz] .quiz-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

#hero-quiz[data-quiz] .quiz-result-card {
  margin: 0;
  padding: 14px 16px;
  background: #f0ede6;
  border: 1px solid #e9e3d8;
  border-radius: 8px;
  text-align: center;
}

#hero-quiz[data-quiz] .quiz-result-card .small-label {
  font-size: 0.72rem;
  margin-bottom: 4px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

#hero-quiz[data-quiz] .quiz-result-value {
  display: block;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

#hero-quiz[data-quiz] .quiz-result-details {
  display: grid;
  gap: 12px;
}

#hero-quiz[data-quiz] .quiz-result-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0 0;
}

#hero-quiz[data-quiz] #full-result-contact {
  margin-top: 8px;
  text-align: left;
}

#hero-quiz[data-quiz] .quiz-email-gate-title {
  margin: 0 0 16px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.45;
}

#hero-quiz[data-quiz] .quiz-nav-result {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

#hero-quiz[data-quiz] .quiz-nav-result .btn-text {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--text-muted) !important;
}

#hero-quiz[data-quiz] .quiz-nav-result .btn-text:hover {
  color: var(--text-primary) !important;
}

#hero-quiz[data-quiz] .quiz-result-card-docs {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  gap: 10px;
}

#hero-quiz[data-quiz] .quiz-result-summary {
  text-align: left;
}

#hero-quiz[data-quiz] .quiz-result-summary .small-label {
  margin: 0;
}

#hero-quiz[data-quiz] .quiz-doc-list,
#hero-quiz[data-quiz] .quiz-answer-summary {
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 8px;
}

#hero-quiz[data-quiz] .quiz-doc-list li,
#hero-quiz[data-quiz] .quiz-answer-summary li {
  line-height: 1.45;
}

#hero-quiz[data-quiz] #full-result-contact input[type="email"],
#hero-quiz[data-quiz] #full-result-contact input[type="tel"] {
  width: 100%;
  height: 48px !important;
  padding: 0 14px !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  font-size: 1rem;
}

#hero-quiz[data-quiz] .quiz-contact .btn[type="submit"] {
  width: 100%;
  height: 52px;
  margin-top: 6px;
  border-radius: 8px;
  font-weight: 600;
  background: var(--accent) !important;
  color: #fff !important;
  transition: opacity 0.3s ease;
}

#hero-quiz[data-quiz] .quiz-contact .btn[type="submit"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Audience Section Layout & Animation */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

html.js-reveal #audience .reveal:not(.is-visible) {
  transform: translateY(30px);
  transition: opacity 0.28s ease, transform 0.28s ease !important;
}

html.js-reveal #audience .reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.audience-card {
  border-left: 3px solid transparent !important;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-left-color 0.2s ease, box-shadow 0.2s ease !important;
}

.audience-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.audience-card:hover {
  border-left-color: var(--accent) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06) !important;
}

#audience .section-head h2,
#audience .section-head p {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease !important;
}

#audience .section-head h2.visible,
#audience .section-head p.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  #hero-quiz[data-quiz] .quiz-step.is-active.quiz-step--exit-fwd,
  #hero-quiz[data-quiz] .quiz-step.is-active.quiz-step--exit-back,
  #hero-quiz[data-quiz] .quiz-step.is-active.quiz-step--enter-fwd,
  #hero-quiz[data-quiz] .quiz-step.is-active.quiz-step--enter-back {
    animation: none !important;
  }

  #hero-quiz[data-quiz] .quiz-step,
  #hero-quiz[data-quiz] .quiz-option,
  #hero-quiz[data-quiz] .quiz-option-check,
  #hero-quiz[data-quiz] .quiz-progress-step,
  #hero-quiz[data-quiz] .quiz-option-icon,
  #full-result-content,
  #full-result-contact,
  .audience-card,
  #audience .reveal,
  #audience .section-head h2,
  #audience .section-head p {
    transition: none !important;
    transform: none !important;
  }

  #hero-quiz[data-quiz] .quiz-option::after {
    animation: none !important;
    --ring-end: 360deg;
    opacity: 0;
  }

  #hero-quiz[data-quiz] .quiz-option.is-selected::after {
    --ring-end: 360deg;
    opacity: 1;
    transition: opacity 0.28s ease;
  }

  #hero-quiz[data-quiz] .quiz-option::before {
    transition: opacity 0.28s ease;
  }
}

/* Real estate service page: hero layout, card, scenarios block */
body[data-page="service-real-estate"] .page-hero {
  padding: clamp(104px, 18vw, 148px) 0 clamp(56px, 10vw, 80px);
}

body[data-page="service-real-estate"] .page-hero-grid--real-estate {
  align-items: stretch;
}

body[data-page="service-real-estate"] .page-hero__copy {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
  padding-top: clamp(12px, 2.5vw, 28px);
}

body[data-page="service-real-estate"] .page-hero__lead {
  max-width: 54ch;
  color: var(--text-inverse-soft);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.65;
}

body[data-page="service-real-estate"] .page-hero__aside {
  display: flex;
  align-items: stretch;
}

body[data-page="service-real-estate"] .intro-card--real-estate {
  width: 100%;
}

body[data-page="service-real-estate"] .section--real-estate-scenarios {
  padding-top: clamp(56px, 10vw, 88px);
  padding-bottom: clamp(64px, 12vw, 104px);
  background: transparent;
}

body[data-page="service-real-estate"] .section-head--real-estate .eyebrow {
  color: var(--muted);
  letter-spacing: 0.14em;
}

/* Real estate service: conversion typography (Inter, tight headings) */
body[data-page="service-real-estate"] .page-hero h1,
body[data-page="service-real-estate"] .section-head--real-estate h2,
body[data-page="service-real-estate"] .section-head--real-estate-trust h2,
body[data-page="service-real-estate"] .service-offer-card h3,
body[data-page="service-real-estate"] .contact-form h3,
body[data-page="service-real-estate"] .cta-banner h3,
body[data-page="service-real-estate"] .real-estate-trust-card__org {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

body[data-page="service-real-estate"] .service-offer-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, border-left-color 0.3s ease;
}

body[data-page="service-real-estate"] .service-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

body[data-page="service-real-estate"] .service-offer-card__price-row {
  margin-top: auto;
  padding-top: 8px;
  display: grid;
  gap: 8px;
}

body[data-page="service-real-estate"] .service-offer-card__price-main {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

body[data-page="service-real-estate"] .service-offer-card__price-sub {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 500;
}

/* Partner quotes: text-only trust strip */
body[data-page="service-real-estate"] .section--real-estate-trust {
  padding-top: 48px;
  padding-bottom: 48px;
  background: transparent;
  border-top: 1px solid #eaeaea;
}

body[data-page="service-real-estate"] .section-head--real-estate-trust {
  margin-bottom: 24px;
}

body[data-page="service-real-estate"] .section-head--real-estate-trust h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
}

body[data-page="service-real-estate"] .real-estate-trust-grid {
  display: grid;
  gap: 24px;
}

body[data-page="service-real-estate"] .real-estate-trust-card {
  margin: 0;
  padding: 24px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background: #fff;
  display: grid;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body[data-page="service-real-estate"] .real-estate-trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

body[data-page="service-real-estate"] .real-estate-trust-card__org {
  margin: 0;
  font-size: 1rem;
  color: #1a1a1a;
}

body[data-page="service-real-estate"] .real-estate-trust-card__quote {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #666;
}

body[data-page="service-real-estate"] .real-estate-trust-card__year {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

body[data-page="service-real-estate"] .section--real-estate-cta {
  border-top: 1px solid var(--border);
  background-color: var(--bg);
}

body[data-page="service-real-estate"] .section--real-estate-cta .cta-banner--situations {
  position: relative;
  display: grid;
  gap: clamp(12px, 2.2vw, 16px);
  padding: clamp(24px, 5vw, 48px);
  border-radius: 24px;
  border: 1px solid #eaeaea;
  background: #fdfbf6;
  box-shadow: none;
}

body[data-page="service-real-estate"] .section--real-estate-cta .cta-banner--situations .cta-banner__eyebrow {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a1a;
}

body[data-page="service-real-estate"] .section--real-estate-cta .cta-banner--situations h3 {
  margin: 0 0 clamp(4px, 1vw, 8px);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 4vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #0a0a0a;
}

body[data-page="service-real-estate"] .section--real-estate-cta .cta-situation-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  body[data-page="service-real-estate"] .section--real-estate-cta .cta-situation-cards {
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body[data-page="service-real-estate"] .section--real-estate-cta .cta-situation-cards li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: clamp(16px, 3vw, 20px) clamp(16px, 3vw, 22px);
  border-radius: 12px;
  border: 1px solid #eaeaea;
  background: #fff;
  color: #1a1a1a;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

body[data-page="service-real-estate"] .section--real-estate-cta .cta-situation-cards li::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #f5f2eb 22%, #3a3a3a 24% 100%);
}

body[data-page="service-real-estate"] #lead-form .field input[type="text"],
body[data-page="service-real-estate"] #lead-form .field input[type="tel"] {
  min-height: 56px;
}

body[data-page="service-real-estate"] #lead-form .field input[type="text"]:focus,
body[data-page="service-real-estate"] #lead-form .field input[type="tel"]:focus,
body[data-page="service-real-estate"] #lead-form .field textarea:focus {
  outline: 2px solid #c5a880;
  outline-offset: 2px;
  box-shadow: none;
  border-color: #c5a880;
}

body[data-page="service-real-estate"] #lead-form .form-urgency-note {
  margin: 16px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 500;
}

@media (min-width: 768px) {
  body[data-page="service-real-estate"] .real-estate-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  body[data-page="service-real-estate"] .page-hero__copy {
    padding-top: clamp(16px, 2.5vw, 32px);
  }

  body[data-page="service-real-estate"] .page-hero-grid--real-estate {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    min-height: min(520px, calc(70dvh - 80px));
  }
}

/* Notary & inheritance service page: same layout pattern as real-estate */
body[data-page="service-notary-inheritance"] .page-hero {
  padding: clamp(104px, 18vw, 148px) 0 clamp(56px, 10vw, 80px);
}

body[data-page="service-notary-inheritance"] .page-hero-grid--notary-inheritance {
  align-items: stretch;
}

body[data-page="service-notary-inheritance"] .page-hero__copy {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
}

body[data-page="service-notary-inheritance"] .page-hero__lead {
  max-width: 54ch;
  color: var(--text-inverse-soft);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.65;
}

body[data-page="service-notary-inheritance"] .page-hero__aside {
  display: flex;
  align-items: stretch;
}

body[data-page="service-notary-inheritance"] .intro-card--notary-inheritance {
  width: 100%;
  margin-top: 0;
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 28px);
  background: rgba(236, 238, 242, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 18px 40px rgba(12, 21, 34, 0.18);
}

body[data-page="service-notary-inheritance"] .intro-card--notary-inheritance h3 {
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
}

body[data-page="service-notary-inheritance"] .intro-card--notary-inheritance .check-list {
  gap: 14px;
}

body[data-page="service-notary-inheritance"] .intro-card--notary-inheritance .check-list li {
  color: var(--text);
  font-weight: 500;
  font-size: 0.94rem;
}

body[data-page="service-notary-inheritance"] .section--notary-inheritance-property {
  padding-top: clamp(56px, 10vw, 88px);
  padding-bottom: clamp(64px, 12vw, 104px);
  background: transparent;
}

body[data-page="service-notary-inheritance"] .section-head--notary-inheritance .eyebrow {
  color: var(--muted);
  letter-spacing: 0.14em;
}

body[data-page="service-notary-inheritance"] .page-hero h1,
body[data-page="service-notary-inheritance"] .section-head--notary-inheritance h2,
body[data-page="service-notary-inheritance"] .section-head--notary-inheritance-trust h2,
body[data-page="service-notary-inheritance"] .service-offer-card h3,
body[data-page="service-notary-inheritance"] .contact-form h3,
body[data-page="service-notary-inheritance"] .cta-banner h3,
body[data-page="service-notary-inheritance"] .intro-card--notary-inheritance h3,
body[data-page="service-notary-inheritance"] .real-estate-trust-card__org {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

body[data-page="service-notary-inheritance"] .service-offer-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, border-left-color 0.3s ease;
}

body[data-page="service-notary-inheritance"] .service-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

body[data-page="service-notary-inheritance"] .service-offer-card__price-row {
  margin-top: auto;
  padding-top: 8px;
  display: grid;
  gap: 8px;
}

body[data-page="service-notary-inheritance"] .service-offer-card__price-main {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

body[data-page="service-notary-inheritance"] .service-offer-card__price-sub {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 500;
}

body[data-page="service-notary-inheritance"] .section--notary-inheritance-trust {
  padding-top: 48px;
  padding-bottom: 48px;
  background: transparent;
  border-top: 1px solid #eaeaea;
}

body[data-page="service-notary-inheritance"] .section-head--notary-inheritance-trust {
  margin-bottom: 24px;
}

body[data-page="service-notary-inheritance"] .section-head--notary-inheritance-trust h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
}

body[data-page="service-notary-inheritance"] .real-estate-trust-grid {
  display: grid;
  gap: 24px;
}

body[data-page="service-notary-inheritance"] .real-estate-trust-card {
  margin: 0;
  padding: 24px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background: #fff;
  display: grid;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body[data-page="service-notary-inheritance"] .real-estate-trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

body[data-page="service-notary-inheritance"] .real-estate-trust-card__org {
  margin: 0;
  font-size: 1rem;
  color: #1a1a1a;
}

body[data-page="service-notary-inheritance"] .real-estate-trust-card__quote {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #666;
}

body[data-page="service-notary-inheritance"] .real-estate-trust-card__year {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

body[data-page="service-notary-inheritance"] .section--notary-inheritance-cta {
  border-top: 1px solid var(--border);
  background-color: var(--bg);
}

body[data-page="service-notary-inheritance"] #lead-form .field input[type="text"],
body[data-page="service-notary-inheritance"] #lead-form .field input[type="tel"] {
  min-height: 56px;
}

body[data-page="service-notary-inheritance"] #lead-form .field input[type="text"]:focus,
body[data-page="service-notary-inheritance"] #lead-form .field input[type="tel"]:focus,
body[data-page="service-notary-inheritance"] #lead-form .field textarea:focus {
  outline: 2px solid #c5a880;
  outline-offset: 2px;
  box-shadow: none;
  border-color: #c5a880;
}

body[data-page="service-notary-inheritance"] #lead-form .form-urgency-note {
  margin: 16px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 500;
}

@media (min-width: 768px) {
  body[data-page="service-notary-inheritance"] .real-estate-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  body[data-page="service-notary-inheritance"] .page-hero__copy {
    padding-top: clamp(16px, 2.5vw, 32px);
  }

  body[data-page="service-notary-inheritance"] .page-hero-grid--notary-inheritance {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    min-height: min(520px, calc(70dvh - 80px));
  }
}

/* Court, damage, equipment-transport, business valuation, commercial property: shared service hero and intro card */
body[data-page="service-court-valuation"] .page-hero,
body[data-page="service-damage-valuation"] .page-hero,
body[data-page="service-equipment-transport"] .page-hero,
body[data-page="service-business-valuation"] .page-hero,
body[data-page="service-commercial-property"] .page-hero {
  padding: clamp(8px, 1.4vw, 16px) 0 clamp(48px, 8vw, 72px);
}

body[data-page="service-court-valuation"] .page-hero-grid--court-valuation,
body[data-page="service-damage-valuation"] .page-hero-grid--damage-valuation,
body[data-page="service-equipment-transport"] .page-hero-grid--equipment-transport,
body[data-page="service-business-valuation"] .page-hero-grid--business-valuation,
body[data-page="service-commercial-property"] .page-hero-grid--commercial-property {
  align-items: stretch;
}

body[data-page="service-court-valuation"] .page-hero__copy,
body[data-page="service-damage-valuation"] .page-hero__copy,
body[data-page="service-equipment-transport"] .page-hero__copy,
body[data-page="service-business-valuation"] .page-hero__copy,
body[data-page="service-commercial-property"] .page-hero__copy {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
}

body[data-page="service-equipment-transport"] .page-hero__copy {
  padding-top: clamp(12px, 2.4vw, 28px);
}

body[data-page="service-business-valuation"] .page-hero__copy {
  padding-top: clamp(8px, 1.8vw, 20px);
}

body[data-page="service-commercial-property"] .page-hero__copy {
  padding-top: clamp(12px, 2.5vw, 28px);
}

body[data-page="service-court-valuation"] .page-hero__copy {
  padding-top: clamp(8px, 1.8vw, 20px);
}

body[data-page="service-damage-valuation"] .page-hero__copy {
  padding-top: clamp(12px, 2.5vw, 28px);
}

body[data-page="service-damage-valuation"] .page-hero .breadcrumbs {
  margin-top: 22px;
}

body[data-page="service-court-valuation"] .page-hero__lead,
body[data-page="service-damage-valuation"] .page-hero__lead,
body[data-page="service-equipment-transport"] .page-hero__lead,
body[data-page="service-business-valuation"] .page-hero__lead,
body[data-page="service-commercial-property"] .page-hero__lead {
  max-width: 54ch;
  color: var(--text-inverse-soft);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.65;
}

body[data-page="service-court-valuation"] .page-hero__aside,
body[data-page="service-damage-valuation"] .page-hero__aside,
body[data-page="service-equipment-transport"] .page-hero__aside,
body[data-page="service-business-valuation"] .page-hero__aside,
body[data-page="service-commercial-property"] .page-hero__aside {
  display: flex;
  align-items: stretch;
}

body[data-page="service-court-valuation"] .intro-card--court-valuation,
body[data-page="service-damage-valuation"] .intro-card--damage-valuation,
body[data-page="service-equipment-transport"] .intro-card--equipment-transport,
body[data-page="service-business-valuation"] .intro-card--business-valuation,
body[data-page="service-commercial-property"] .intro-card--commercial-property {
  width: 100%;
  margin-top: 0;
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 28px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 236, 0.96));
  border-color: rgba(182, 138, 69, 0.24);
  box-shadow:
    0 20px 40px rgba(31, 42, 55, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.74) inset;
}

body[data-page="service-court-valuation"] .intro-card--court-valuation .intro-card__kicker,
body[data-page="service-damage-valuation"] .intro-card--damage-valuation .intro-card__kicker,
body[data-page="service-equipment-transport"] .intro-card--equipment-transport .intro-card__kicker,
body[data-page="service-business-valuation"] .intro-card--business-valuation .intro-card__kicker,
body[data-page="service-commercial-property"] .intro-card--commercial-property .intro-card__kicker {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(182, 138, 69, 0.22);
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="service-court-valuation"] .intro-card--court-valuation h3,
body[data-page="service-damage-valuation"] .intro-card--damage-valuation h3,
body[data-page="service-equipment-transport"] .intro-card--equipment-transport h3,
body[data-page="service-business-valuation"] .intro-card--business-valuation h3,
body[data-page="service-commercial-property"] .intro-card--commercial-property h3 {
  margin: 0;
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 3.1vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

body[data-page="service-court-valuation"] .intro-card--court-valuation .intro-card__list,
body[data-page="service-damage-valuation"] .intro-card--damage-valuation .intro-card__list,
body[data-page="service-equipment-transport"] .intro-card--equipment-transport .intro-card__list,
body[data-page="service-business-valuation"] .intro-card--business-valuation .intro-card__list,
body[data-page="service-commercial-property"] .intro-card--commercial-property .intro-card__list {
  gap: 10px;
}

body[data-page="service-court-valuation"] .intro-card--court-valuation .intro-card__list li,
body[data-page="service-damage-valuation"] .intro-card--damage-valuation .intro-card__list li,
body[data-page="service-equipment-transport"] .intro-card--equipment-transport .intro-card__list li,
body[data-page="service-business-valuation"] .intro-card--business-valuation .intro-card__list li,
body[data-page="service-commercial-property"] .intro-card--commercial-property .intro-card__list li {
  padding: 12px 14px;
  border: 1px solid rgba(182, 138, 69, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  color: #3f4753;
  font-weight: 500;
  font-size: 0.94rem;
}

body[data-page="service-court-valuation"] .intro-card--court-valuation .intro-card__list li::before,
body[data-page="service-damage-valuation"] .intro-card--damage-valuation .intro-card__list li::before,
body[data-page="service-equipment-transport"] .intro-card--equipment-transport .intro-card__list li::before,
body[data-page="service-business-valuation"] .intro-card--business-valuation .intro-card__list li::before,
body[data-page="service-commercial-property"] .intro-card--commercial-property .intro-card__list li::before {
  top: 50%;
  transform: translateY(-50%);
}

body[data-page="service-court-valuation"] .section--court-valuation-formats,
body[data-page="service-damage-valuation"] .section--damage-valuation-formats,
body[data-page="service-equipment-transport"] .section--equipment-transport-scenarios,
body[data-page="service-business-valuation"] .section--business-valuation-scenarios,
body[data-page="service-commercial-property"] .section--commercial-property-formats {
  padding-top: clamp(56px, 10vw, 88px);
  padding-bottom: clamp(64px, 12vw, 104px);
  background: transparent;
}

body[data-page="service-court-valuation"] .section-head--court-valuation .eyebrow,
body[data-page="service-damage-valuation"] .section-head--damage-valuation .eyebrow,
body[data-page="service-equipment-transport"] .section-head--equipment-transport .eyebrow,
body[data-page="service-business-valuation"] .section-head--business-valuation .eyebrow,
body[data-page="service-commercial-property"] .section-head--commercial-property .eyebrow {
  color: var(--muted);
  letter-spacing: 0.14em;
}

body[data-page="service-damage-valuation"] .section-head--damage-valuation {
  margin-bottom: 32px;
}

body[data-page="service-equipment-transport"] .section-head--equipment-transport {
  margin-bottom: 32px;
}

body[data-page="service-business-valuation"] .section-head--business-valuation {
  margin-bottom: 32px;
}

body[data-page="service-commercial-property"] .section-head--commercial-property {
  margin-bottom: 32px;
  gap: 32px;
}

body[data-page="service-court-valuation"] .page-hero h1,
body[data-page="service-court-valuation"] .section-head--court-valuation h2,
body[data-page="service-court-valuation"] .section-head--court-valuation-trust h2,
body[data-page="service-court-valuation"] .service-offer-card h3,
body[data-page="service-court-valuation"] .contact-form h3,
body[data-page="service-court-valuation"] .cta-banner h3,
body[data-page="service-court-valuation"] .real-estate-trust-card__org,
body[data-page="service-commercial-property"] .page-hero h1,
body[data-page="service-commercial-property"] .section-head--commercial-property h2,
body[data-page="service-commercial-property"] .section-head--commercial-property-trust h2,
body[data-page="service-commercial-property"] .service-offer-card h3,
body[data-page="service-commercial-property"] .contact-form h3,
body[data-page="service-commercial-property"] .cta-banner h3,
body[data-page="service-commercial-property"] .real-estate-trust-card__org,
body[data-page="service-damage-valuation"] .page-hero h1,
body[data-page="service-damage-valuation"] .section-head--damage-valuation h2,
body[data-page="service-damage-valuation"] .section-head--damage-valuation-trust h2,
body[data-page="service-damage-valuation"] .service-offer-card h3,
body[data-page="service-damage-valuation"] .contact-form h3,
body[data-page="service-damage-valuation"] .cta-banner h3,
body[data-page="service-damage-valuation"] .real-estate-trust-card__org,
body[data-page="service-equipment-transport"] .page-hero h1,
body[data-page="service-equipment-transport"] .section-head--equipment-transport h2,
body[data-page="service-equipment-transport"] .section-head--equipment-transport-trust h2,
body[data-page="service-equipment-transport"] .service-offer-card h3,
body[data-page="service-equipment-transport"] .contact-form h3,
body[data-page="service-equipment-transport"] .cta-banner h3,
body[data-page="service-equipment-transport"] .real-estate-trust-card__org,
body[data-page="service-business-valuation"] .page-hero h1,
body[data-page="service-business-valuation"] .section-head--business-valuation h2,
body[data-page="service-business-valuation"] .section-head--business-valuation-trust h2,
body[data-page="service-business-valuation"] .service-offer-card h3,
body[data-page="service-business-valuation"] .contact-form h3,
body[data-page="service-business-valuation"] .cta-banner h3,
body[data-page="service-business-valuation"] .real-estate-trust-card__org {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

body[data-page="service-court-valuation"] .page-hero h1,
body[data-page="service-damage-valuation"] .page-hero h1,
body[data-page="service-equipment-transport"] .page-hero h1,
body[data-page="service-business-valuation"] .page-hero h1,
body[data-page="service-commercial-property"] .page-hero h1 {
  font-size: clamp(2.7rem, 7.5vw, 4.8rem);
  line-height: 1.1;
}

body[data-page="service-court-valuation"] .page-hero h1 {
  font-size: clamp(2.3rem, 6.6vw, 4rem);
}

body[data-page="service-business-valuation"] .page-hero h1 {
  font-size: clamp(2.3rem, 6.6vw, 4rem);
}

body[data-page="service-court-valuation"] .service-offer-card,
body[data-page="service-damage-valuation"] .service-offer-card,
body[data-page="service-equipment-transport"] .service-offer-card,
body[data-page="service-business-valuation"] .service-offer-card,
body[data-page="service-commercial-property"] .service-offer-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, border-left-color 0.3s ease;
}

body[data-page="service-court-valuation"] .service-offer-card:hover,
body[data-page="service-damage-valuation"] .service-offer-card:hover,
body[data-page="service-equipment-transport"] .service-offer-card:hover,
body[data-page="service-business-valuation"] .service-offer-card:hover,
body[data-page="service-commercial-property"] .service-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

body[data-page="service-court-valuation"] .service-offer-card__price-row,
body[data-page="service-damage-valuation"] .service-offer-card__price-row,
body[data-page="service-equipment-transport"] .service-offer-card__price-row,
body[data-page="service-business-valuation"] .service-offer-card__price-row,
body[data-page="service-commercial-property"] .service-offer-card__price-row {
  margin-top: auto;
  padding-top: 8px;
  display: grid;
  gap: 8px;
}

body[data-page="service-court-valuation"] .service-offer-card__price-main,
body[data-page="service-damage-valuation"] .service-offer-card__price-main,
body[data-page="service-equipment-transport"] .service-offer-card__price-main,
body[data-page="service-business-valuation"] .service-offer-card__price-main,
body[data-page="service-commercial-property"] .service-offer-card__price-main {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

body[data-page="service-court-valuation"] .section--court-valuation-trust,
body[data-page="service-damage-valuation"] .section--damage-valuation-trust,
body[data-page="service-equipment-transport"] .section--equipment-transport-trust,
body[data-page="service-business-valuation"] .section--business-valuation-trust,
body[data-page="service-commercial-property"] .section--commercial-property-trust {
  padding-top: 48px;
  padding-bottom: 48px;
  background: transparent;
  border-top: 1px solid #eaeaea;
}

body[data-page="service-court-valuation"] .section-head--court-valuation-trust {
  margin-bottom: 24px;
}

body[data-page="service-damage-valuation"] .section-head--damage-valuation-trust {
  margin-bottom: 24px;
}

body[data-page="service-equipment-transport"] .section-head--equipment-transport-trust {
  margin-bottom: 32px;
}

body[data-page="service-business-valuation"] .section-head--business-valuation-trust {
  margin-bottom: 24px;
}

body[data-page="service-commercial-property"] .section-head--commercial-property-trust {
  margin-bottom: 24px;
}

body[data-page="service-court-valuation"] .section-head--court-valuation-trust h2,
body[data-page="service-damage-valuation"] .section-head--damage-valuation-trust h2,
body[data-page="service-equipment-transport"] .section-head--equipment-transport-trust h2,
body[data-page="service-business-valuation"] .section-head--business-valuation-trust h2,
body[data-page="service-commercial-property"] .section-head--commercial-property-trust h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
}

body[data-page="service-court-valuation"] .real-estate-trust-grid,
body[data-page="service-damage-valuation"] .real-estate-trust-grid,
body[data-page="service-equipment-transport"] .real-estate-trust-grid,
body[data-page="service-business-valuation"] .real-estate-trust-grid,
body[data-page="service-commercial-property"] .real-estate-trust-grid {
  display: grid;
  gap: 24px;
}

body[data-page="service-court-valuation"] .real-estate-trust-card,
body[data-page="service-damage-valuation"] .real-estate-trust-card,
body[data-page="service-equipment-transport"] .real-estate-trust-card,
body[data-page="service-business-valuation"] .real-estate-trust-card,
body[data-page="service-commercial-property"] .real-estate-trust-card {
  margin: 0;
  padding: 24px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background: #fff;
  display: grid;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body[data-page="service-court-valuation"] .real-estate-trust-card:hover,
body[data-page="service-damage-valuation"] .real-estate-trust-card:hover,
body[data-page="service-equipment-transport"] .real-estate-trust-card:hover,
body[data-page="service-business-valuation"] .real-estate-trust-card:hover,
body[data-page="service-commercial-property"] .real-estate-trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

body[data-page="service-court-valuation"] .real-estate-trust-card__org,
body[data-page="service-damage-valuation"] .real-estate-trust-card__org,
body[data-page="service-equipment-transport"] .real-estate-trust-card__org,
body[data-page="service-business-valuation"] .real-estate-trust-card__org,
body[data-page="service-commercial-property"] .real-estate-trust-card__org {
  margin: 0;
  font-size: 1rem;
  color: #1a1a1a;
}

body[data-page="service-court-valuation"] .real-estate-trust-card__quote,
body[data-page="service-damage-valuation"] .real-estate-trust-card__quote,
body[data-page="service-equipment-transport"] .real-estate-trust-card__quote,
body[data-page="service-business-valuation"] .real-estate-trust-card__quote,
body[data-page="service-commercial-property"] .real-estate-trust-card__quote {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #666;
}

body[data-page="service-court-valuation"] .real-estate-trust-card__year,
body[data-page="service-damage-valuation"] .real-estate-trust-card__year,
body[data-page="service-equipment-transport"] .real-estate-trust-card__year,
body[data-page="service-business-valuation"] .real-estate-trust-card__year,
body[data-page="service-commercial-property"] .real-estate-trust-card__year {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

body[data-page="service-court-valuation"] .section--court-valuation-cta,
body[data-page="service-damage-valuation"] .section--damage-valuation-cta,
body[data-page="service-equipment-transport"] .section--equipment-transport-cta,
body[data-page="service-business-valuation"] .section--business-valuation-cta,
body[data-page="service-commercial-property"] .section--commercial-property-cta {
  border-top: 1px solid var(--border);
  background-color: var(--bg);
}

body[data-page="service-court-valuation"] .section--court-valuation-cta .cta-banner--cases,
body[data-page="service-damage-valuation"] .section--damage-valuation-cta .cta-banner--cases,
body[data-page="service-equipment-transport"] .section--equipment-transport-cta .cta-banner--cases,
body[data-page="service-business-valuation"] .section--business-valuation-cta .cta-banner--cases,
body[data-page="service-commercial-property"] .section--commercial-property-cta .cta-banner--cases {
  position: relative;
  display: grid;
  gap: clamp(14px, 2.5vw, 18px);
  padding: clamp(22px, 4vw, 32px);
  padding-left: clamp(22px, 4vw, 30px);
  border: 1px solid rgba(182, 138, 69, 0.22);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(182, 138, 69, 0.1), transparent 52%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 236, 0.96));
  box-shadow:
    0 18px 36px rgba(31, 42, 55, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

body[data-page="service-court-valuation"] .section--court-valuation-cta .cta-banner__eyebrow,
body[data-page="service-damage-valuation"] .section--damage-valuation-cta .cta-banner__eyebrow,
body[data-page="service-equipment-transport"] .section--equipment-transport-cta .cta-banner__eyebrow,
body[data-page="service-business-valuation"] .section--business-valuation-cta .cta-banner__eyebrow,
body[data-page="service-commercial-property"] .section--commercial-property-cta .cta-banner__eyebrow {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

body[data-page="service-court-valuation"] .section--court-valuation-cta .cta-banner--cases h3,
body[data-page="service-damage-valuation"] .section--damage-valuation-cta .cta-banner--cases h3,
body[data-page="service-equipment-transport"] .section--equipment-transport-cta .cta-banner--cases h3,
body[data-page="service-business-valuation"] .section--business-valuation-cta .cta-banner--cases h3,
body[data-page="service-commercial-property"] .section--commercial-property-cta .cta-banner--cases h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text);
}

body[data-page="service-court-valuation"] .section--court-valuation-cta .court-case-chips,
body[data-page="service-damage-valuation"] .section--damage-valuation-cta .court-case-chips,
body[data-page="service-equipment-transport"] .section--equipment-transport-cta .court-case-chips,
body[data-page="service-business-valuation"] .section--business-valuation-cta .court-case-chips,
body[data-page="service-commercial-property"] .section--commercial-property-cta .court-case-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  body[data-page="service-court-valuation"] .section--court-valuation-cta .court-case-chips,
  body[data-page="service-damage-valuation"] .section--damage-valuation-cta .court-case-chips,
  body[data-page="service-equipment-transport"] .section--equipment-transport-cta .court-case-chips,
  body[data-page="service-business-valuation"] .section--business-valuation-cta .court-case-chips,
  body[data-page="service-commercial-property"] .section--commercial-property-cta .court-case-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body[data-page="service-court-valuation"] .section--court-valuation-cta .court-case-chips li,
body[data-page="service-damage-valuation"] .section--damage-valuation-cta .court-case-chips li,
body[data-page="service-equipment-transport"] .section--equipment-transport-cta .court-case-chips li,
body[data-page="service-business-valuation"] .section--business-valuation-cta .court-case-chips li,
body[data-page="service-commercial-property"] .section--commercial-property-cta .court-case-chips li {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(182, 138, 69, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: #3f4753;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  transition: border-color var(--motion-micro) ease, background-color var(--motion-micro) ease, transform var(--motion-micro) ease;
}

body[data-page="service-court-valuation"] .section--court-valuation-cta .court-case-chips li::before,
body[data-page="service-damage-valuation"] .section--damage-valuation-cta .court-case-chips li::before,
body[data-page="service-equipment-transport"] .section--equipment-transport-cta .court-case-chips li::before,
body[data-page="service-business-valuation"] .section--business-valuation-cta .court-case-chips li::before,
body[data-page="service-commercial-property"] .section--commercial-property-cta .court-case-chips li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(182, 138, 69, 0.22);
}

body[data-page="service-court-valuation"] .section--court-valuation-cta .court-case-chips li:nth-child(5),
body[data-page="service-damage-valuation"] .section--damage-valuation-cta .court-case-chips li:nth-child(5),
body[data-page="service-equipment-transport"] .section--equipment-transport-cta .court-case-chips li:nth-child(5),
body[data-page="service-business-valuation"] .section--business-valuation-cta .court-case-chips li:nth-child(5),
body[data-page="service-commercial-property"] .section--commercial-property-cta .court-case-chips li:nth-child(5) {
  grid-column: 1 / -1;
}

body[data-page="service-court-valuation"] .section--court-valuation-cta .court-case-chips li:hover,
body[data-page="service-damage-valuation"] .section--damage-valuation-cta .court-case-chips li:hover,
body[data-page="service-equipment-transport"] .section--equipment-transport-cta .court-case-chips li:hover,
body[data-page="service-business-valuation"] .section--business-valuation-cta .court-case-chips li:hover,
body[data-page="service-commercial-property"] .section--commercial-property-cta .court-case-chips li:hover {
  border-color: rgba(182, 138, 69, 0.38);
  background: #fff;
  transform: translateY(-1px);
}

body[data-page="service-court-valuation"] #lead-form .field input[type="text"],
body[data-page="service-court-valuation"] #lead-form .field input[type="tel"],
body[data-page="service-damage-valuation"] #lead-form .field input[type="text"],
body[data-page="service-damage-valuation"] #lead-form .field input[type="tel"],
body[data-page="service-equipment-transport"] #lead-form .field input[type="text"],
body[data-page="service-equipment-transport"] #lead-form .field input[type="tel"],
body[data-page="service-business-valuation"] #lead-form .field input[type="text"],
body[data-page="service-business-valuation"] #lead-form .field input[type="tel"],
body[data-page="service-commercial-property"] #lead-form .field input[type="text"],
body[data-page="service-commercial-property"] #lead-form .field input[type="tel"] {
  min-height: 56px;
}

body[data-page="service-court-valuation"] #lead-form .field input[type="text"]:focus,
body[data-page="service-court-valuation"] #lead-form .field input[type="tel"]:focus,
body[data-page="service-court-valuation"] #lead-form .field textarea:focus,
body[data-page="service-damage-valuation"] #lead-form .field input[type="text"]:focus,
body[data-page="service-damage-valuation"] #lead-form .field input[type="tel"]:focus,
body[data-page="service-damage-valuation"] #lead-form .field textarea:focus,
body[data-page="service-equipment-transport"] #lead-form .field input[type="text"]:focus,
body[data-page="service-equipment-transport"] #lead-form .field input[type="tel"]:focus,
body[data-page="service-equipment-transport"] #lead-form .field textarea:focus,
body[data-page="service-business-valuation"] #lead-form .field input[type="text"]:focus,
body[data-page="service-business-valuation"] #lead-form .field input[type="tel"]:focus,
body[data-page="service-business-valuation"] #lead-form .field textarea:focus,
body[data-page="service-commercial-property"] #lead-form .field input[type="text"]:focus,
body[data-page="service-commercial-property"] #lead-form .field input[type="tel"]:focus,
body[data-page="service-commercial-property"] #lead-form .field textarea:focus {
  outline: 2px solid #c5a880;
  outline-offset: 2px;
  box-shadow: none;
  border-color: #c5a880;
}

body[data-page="service-court-valuation"] #lead-form .form-urgency-note,
body[data-page="service-damage-valuation"] #lead-form .form-urgency-note,
body[data-page="service-equipment-transport"] #lead-form .form-urgency-note,
body[data-page="service-business-valuation"] #lead-form .form-urgency-note,
body[data-page="service-commercial-property"] #lead-form .form-urgency-note {
  margin: 16px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 500;
}

@media (min-width: 768px) {
  body[data-page="service-court-valuation"] .real-estate-trust-grid,
  body[data-page="service-damage-valuation"] .real-estate-trust-grid,
  body[data-page="service-equipment-transport"] .real-estate-trust-grid,
  body[data-page="service-business-valuation"] .real-estate-trust-grid,
  body[data-page="service-commercial-property"] .real-estate-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  body[data-page="service-court-valuation"] .page-hero-grid--court-valuation,
  body[data-page="service-damage-valuation"] .page-hero-grid--damage-valuation,
  body[data-page="service-equipment-transport"] .page-hero-grid--equipment-transport,
  body[data-page="service-business-valuation"] .page-hero-grid--business-valuation,
  body[data-page="service-commercial-property"] .page-hero-grid--commercial-property {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    align-items: start;
    gap: clamp(24px, 4vw, 48px);
  }

  body[data-page="service-court-valuation"] .page-hero__aside,
  body[data-page="service-damage-valuation"] .page-hero__aside,
  body[data-page="service-equipment-transport"] .page-hero__aside,
  body[data-page="service-business-valuation"] .page-hero__aside,
  body[data-page="service-commercial-property"] .page-hero__aside {
    align-self: end;
  }

  body[data-page="service-equipment-transport"] .page-hero__copy {
    padding-top: clamp(16px, 2.5vw, 32px);
  }

  body[data-page="service-business-valuation"] .page-hero__copy {
    padding-top: clamp(16px, 2.5vw, 28px);
  }

  body[data-page="service-commercial-property"] .page-hero__copy {
    padding-top: clamp(16px, 2.5vw, 32px);
  }

  body[data-page="service-court-valuation"] .page-hero__copy {
    padding-top: clamp(16px, 2.5vw, 28px);
  }

  body[data-page="service-damage-valuation"] .page-hero__copy {
    padding-top: clamp(12px, 2vw, 24px);
  }

  /* Equal-height offer cards: override global align-items:start on this grid */
  body[data-page="service-court-valuation"] .section--court-valuation-formats .service-offer-grid,
  body[data-page="service-damage-valuation"] .section--damage-valuation-formats .service-offer-grid,
  body[data-page="service-equipment-transport"] .section--equipment-transport-scenarios .service-offer-grid,
  body[data-page="service-business-valuation"] .section--business-valuation-scenarios .service-offer-grid,
  body[data-page="service-commercial-property"] .section--commercial-property-formats .service-offer-grid {
    align-items: stretch;
  }
}

/* Business valuation: 64px vertical rhythm between main sections, 32px in formats section header */
body[data-page="service-business-valuation"] .section--business-valuation-scenarios,
body[data-page="service-business-valuation"] .section--business-valuation-trust {
  padding-top: 64px;
  padding-bottom: 64px;
}

body[data-page="service-business-valuation"] .section--business-valuation-cta.section-tight {
  padding: 64px 0;
}

body[data-page="service-business-valuation"] .section--business-valuation-scenarios .section-head {
  gap: 32px;
}

body[data-page="service-business-valuation"] .section-head--business-valuation-trust {
  margin-bottom: 32px;
}

/* Commercial property: 64px vertical rhythm (aligned with business valuation service template) */
body[data-page="service-commercial-property"] .section--commercial-property-formats,
body[data-page="service-commercial-property"] .section--commercial-property-trust {
  padding-top: 64px;
  padding-bottom: 64px;
}

body[data-page="service-commercial-property"] .section--commercial-property-cta.section-tight {
  padding: 64px 0;
}

/* Real estate: align to court-valuation service template */
body[data-page="service-real-estate"] .page-hero {
  padding: clamp(8px, 1.4vw, 16px) 0 clamp(48px, 8vw, 72px);
}

@media (max-width: 767.98px) {
  body[data-page="service-real-estate"] .page-hero,
  body[data-page="service-business-valuation"] .page-hero,
  body[data-page="service-commercial-property"] .page-hero,
  body[data-page="service-court-valuation"] .page-hero,
  body[data-page="service-damage-valuation"] .page-hero,
  body[data-page="service-equipment-transport"] .page-hero,
  body[data-page="service-notary-inheritance"] .page-hero {
    padding-top: 0;
  }
}

body[data-page="service-real-estate"] .page-hero-grid--court-valuation {
  align-items: stretch;
}

body[data-page="service-real-estate"] .page-hero__copy {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
}

body[data-page="service-real-estate"] .page-hero__lead {
  max-width: 54ch;
  color: var(--text-inverse-soft);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.65;
}

body[data-page="service-real-estate"] .page-hero__aside {
  display: flex;
  align-items: stretch;
}

body[data-page="service-real-estate"] .intro-card--court-valuation {
  width: 100%;
}

body[data-page="service-real-estate"] .intro-card--real-estate-ref {
  width: 100%;
  margin-top: 0;
  display: grid;
  gap: clamp(12px, 2.4vw, 18px);
  padding: clamp(18px, 3.5vw, 30px);
  border: 1px solid rgba(182, 138, 69, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(252, 249, 244, 0.97));
  box-shadow:
    0 16px 34px rgba(18, 25, 37, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

body[data-page="service-real-estate"] .intro-card--real-estate-ref .intro-card__kicker {
  display: inline-flex;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(182, 138, 69, 0.36);
  background: rgba(255, 255, 255, 0.94);
  color: #1f3e5f;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="service-real-estate"] .intro-card--real-estate-ref h3 {
  margin: 0;
  color: #09162a;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.05rem, 6.8vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 0.95;
}

body[data-page="service-real-estate"] .intro-card__list--real-estate-ref {
  gap: 12px;
}

body[data-page="service-real-estate"] .intro-card__list--real-estate-ref li {
  padding: 12px 14px;
  border: 1px solid rgba(182, 138, 69, 0.28);
  border-radius: 12px;
  background: #fff;
  color: #1f2f45;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.32;
}

body[data-page="service-real-estate"] .intro-card__list--real-estate-ref li::before {
  top: 50%;
  transform: translateY(-50%);
  background: #2c4d73;
}

body[data-page="service-real-estate"] .section--court-valuation-formats {
  padding-top: 64px;
  padding-bottom: 64px;
  background: transparent;
}

body[data-page="service-real-estate"] .section--court-valuation-trust {
  padding-top: 64px;
  padding-bottom: 64px;
  background: transparent;
  border-top: 1px solid #eaeaea;
}

body[data-page="service-real-estate"] .section--court-valuation-cta.section-tight {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  background-color: var(--bg);
}

body[data-page="service-real-estate"] .section--court-valuation-formats .section-head {
  gap: 32px;
}

body[data-page="service-real-estate"] .section-head--court-valuation .eyebrow {
  color: var(--muted);
  letter-spacing: 0.14em;
}

body[data-page="service-real-estate"] .section-head--court-valuation-trust {
  margin-bottom: 24px;
}

body[data-page="service-real-estate"] .section-head--court-valuation-trust h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
}

body[data-page="service-real-estate"] .page-hero h1,
body[data-page="service-real-estate"] .section-head--court-valuation h2,
body[data-page="service-real-estate"] .section-head--court-valuation-trust h2,
body[data-page="service-real-estate"] .service-offer-card h3,
body[data-page="service-real-estate"] .contact-form h3,
body[data-page="service-real-estate"] .cta-banner h3,
body[data-page="service-real-estate"] .real-estate-trust-card__org {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

body[data-page="service-real-estate"] .page-hero h1 {
  font-size: clamp(2.7rem, 7.5vw, 4.8rem);
  line-height: 1.1;
}

body[data-page="service-real-estate"] .service-offer-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, border-left-color 0.3s ease;
}

body[data-page="service-real-estate"] .service-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

body[data-page="service-real-estate"] .service-offer-card__price-row {
  margin-top: auto;
  padding-top: 8px;
  display: grid;
  gap: 8px;
}

body[data-page="service-real-estate"] .service-offer-card__price-main {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

body[data-page="service-real-estate"] .real-estate-trust-grid {
  display: grid;
  gap: 24px;
}

body[data-page="service-real-estate"] .real-estate-trust-card {
  margin: 0;
  padding: 24px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background: #fff;
  display: grid;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body[data-page="service-real-estate"] .real-estate-trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

body[data-page="service-real-estate"] .real-estate-trust-card__org {
  margin: 0;
  font-size: 1rem;
  color: #1a1a1a;
}

body[data-page="service-real-estate"] .real-estate-trust-card__quote {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #666;
}

body[data-page="service-real-estate"] .real-estate-trust-card__year {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

body[data-page="service-real-estate"] .section--court-valuation-cta .cta-banner--cases {
  position: relative;
  display: grid;
  gap: clamp(14px, 2.5vw, 18px);
  padding: clamp(22px, 4vw, 32px);
  padding-left: clamp(22px, 4vw, 30px);
  border: 1px solid rgba(182, 138, 69, 0.22);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(182, 138, 69, 0.1), transparent 52%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 236, 0.96));
  box-shadow:
    0 18px 36px rgba(31, 42, 55, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

body[data-page="service-real-estate"] .section--court-valuation-cta .cta-banner__eyebrow {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

body[data-page="service-real-estate"] .section--court-valuation-cta .cta-banner--cases h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text);
}

body[data-page="service-real-estate"] .section--court-valuation-cta .court-case-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

body[data-page="service-real-estate"] .section--court-valuation-cta .court-case-chips li {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(182, 138, 69, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: #3f4753;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  transition: border-color var(--motion-micro) ease, background-color var(--motion-micro) ease, transform var(--motion-micro) ease;
}

body[data-page="service-real-estate"] .section--court-valuation-cta .court-case-chips li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(182, 138, 69, 0.22);
}

body[data-page="service-real-estate"] .section--court-valuation-cta .court-case-chips li:nth-child(5) {
  grid-column: 1 / -1;
}

body[data-page="service-real-estate"] .section--court-valuation-cta .court-case-chips li:hover {
  border-color: rgba(182, 138, 69, 0.38);
  background: #fff;
  transform: translateY(-1px);
}

body[data-page="service-real-estate"] #lead-form .field input[type="text"],
body[data-page="service-real-estate"] #lead-form .field input[type="tel"] {
  min-height: 56px;
}

body[data-page="service-real-estate"] #lead-form .field input[type="text"]:focus,
body[data-page="service-real-estate"] #lead-form .field input[type="tel"]:focus,
body[data-page="service-real-estate"] #lead-form .field textarea:focus {
  outline: 2px solid #c5a880;
  outline-offset: 2px;
  box-shadow: none;
  border-color: #c5a880;
}

body[data-page="service-real-estate"] #lead-form .form-urgency-note {
  margin: 16px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 500;
}

@media (min-width: 480px) {
  body[data-page="service-real-estate"] .section--court-valuation-cta .court-case-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  body[data-page="service-real-estate"] .real-estate-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  body[data-page="service-real-estate"] .page-hero-grid--court-valuation {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    align-items: start;
    gap: clamp(24px, 4vw, 48px);
  }

  body[data-page="service-real-estate"] .page-hero__aside {
    align-self: end;
  }

  body[data-page="service-real-estate"] .section--court-valuation-formats .service-offer-grid {
    align-items: stretch;
  }
}

/* Notary inheritance service: conversion-focused layout (typography, proof, form) */
body[data-page="service-notary"] .page-hero-notary__copy {
  display: grid;
  gap: 16px;
}

body[data-page="service-notary"] .page-hero h1,
body[data-page="service-notary"] .section-head h2,
body[data-page="service-notary"] .service-offer-card h3,
body[data-page="service-notary"] .contact-form h3,
body[data-page="service-notary"] .cta-banner h3,
body[data-page="service-notary"] .intro-card h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

body[data-page="service-notary"] .page-hero-notary__lead {
  max-width: 62ch;
  color: var(--text-inverse-soft);
  font-size: clamp(1rem, 2.2vw, 1.08rem);
  line-height: 1.6;
}

body[data-page="service-notary"] .importance-callout {
  margin-top: 8px;
  padding: 24px;
  max-width: min(66ch, 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

body[data-page="service-notary"] .importance-callout__title {
  margin: 0 0 8px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-inverse);
}

body[data-page="service-notary"] .importance-callout__text {
  margin: 0;
  color: var(--text-inverse-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: none;
}

body[data-page="service-notary"] .service-offer-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body[data-page="service-notary"] .service-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

body[data-page="service-notary"] .social-proof {
  display: grid;
  gap: 16px;
  margin: 16px 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

body[data-page="service-notary"] .social-proof__item {
  margin: 0;
}

body[data-page="service-notary"] .social-proof__quote {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
}

body[data-page="service-notary"] .social-proof__cite {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
  font-style: normal;
}

body[data-page="service-notary"] #lead-form .field input[type="text"],
body[data-page="service-notary"] #lead-form .field input[type="tel"] {
  min-height: 56px;
}

body[data-page="service-notary"] #lead-form .field input[type="text"]:focus,
body[data-page="service-notary"] #lead-form .field input[type="tel"]:focus,
body[data-page="service-notary"] #lead-form .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: none;
  border-color: var(--accent);
}

body[data-page="service-notary"] #lead-form .form-urgency-note {
  margin: 0 0 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 500;
}

/* ── Team Section ──────────────────────────────────────────── */
.team-section {
  background: transparent;
  padding: 96px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.team-card__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  margin: 0;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  display: block;
}

.team-card--kristina .team-card__photo img {
  object-position: center 28%;
}

.team-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 20, 30, 0.72) 0%, rgba(15, 20, 30, 0.18) 40%, transparent 65%);
  border-radius: inherit;
  pointer-events: none;
}

.team-card__name {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
  z-index: 1;
}

.team-card__body {
  padding: 14px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-card__role {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-card__experience {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #c5a880;
}

.team-card__facts {
  margin: 4px 0 0;
  padding: 0 0 0 16px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-card__facts li {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #666666;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .team-section {
    padding: 64px 0;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .team-card__photo {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 767px) {
  body[data-page^="service-"] .page-hero {
    padding-top: 96px;
  }

  body[data-page="service-real-estate"] .page-hero,
  body[data-page="service-business-valuation"] .page-hero,
  body[data-page="service-commercial-property"] .page-hero,
  body[data-page="service-court-valuation"] .page-hero,
  body[data-page="service-damage-valuation"] .page-hero,
  body[data-page="service-equipment-transport"] .page-hero,
  body[data-page="service-notary-inheritance"] .page-hero {
    padding-top: 0;
  }
}

body {
  background-color: var(--bg);
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

body.page-ready {
  opacity: 1;
  filter: none;
}

body.page-exit {
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.25s ease, filter 0.25s ease;
}

/* Text effect demo */
body[data-page="text-effect"] .text-effect-hero .page-hero-grid {
  align-items: center;
}

.text-effect-layout {
  display: grid;
  gap: 24px;
}

.text-effect-panel,
.text-effect-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
}

.text-effect-panel h2,
.text-effect-preview h2 {
  margin: 0 0 16px;
}

.text-effect-controls {
  display: grid;
  gap: 16px;
}

.text-effect-grid {
  display: grid;
  gap: 16px;
}

.text-effect-controls textarea {
  min-height: 120px;
  resize: vertical;
}

.text-effect-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
}

.text-effect-toggle input {
  width: 18px;
  height: 18px;
}

.text-effect-stage {
  min-height: 180px;
  display: grid;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
}

.text-effect-output {
  margin: 0;
  font-size: clamp(1.125rem, 4vw, 2rem);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: pre-wrap;
}

.text-effect-segment {
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity, filter;
}

.text-effect-segment.is-line {
  display: block;
}

.text-effect-segment.is-word,
.text-effect-segment.is-char {
  white-space: pre;
}

.text-effect-segment.is-visible {
  opacity: 1;
}

.text-effect-segment[data-preset="fade"] {
  transform: none;
  filter: none;
}

.text-effect-segment[data-preset="slide"] {
  transform: translateY(20px);
}

.text-effect-segment[data-preset="blur"] {
  filter: blur(12px);
}

.text-effect-segment[data-preset="scale"] {
  transform: scale(0.4);
}

.text-effect-segment[data-preset="shake"] {
  transform: translateX(0);
}

.text-effect-segment[data-preset="slide"].is-visible,
.text-effect-segment[data-preset="scale"].is-visible {
  transform: translateY(0) scale(1);
}

.text-effect-segment[data-preset="blur"].is-visible {
  filter: blur(0);
}

.text-effect-segment[data-preset="fade"].is-visible {
  opacity: 1;
}

.text-effect-segment[data-preset="shake"].is-visible {
  animation: text-effect-shake 0.45s ease;
}

.text-effect-segment[data-preset="hero-premium"] {
  opacity: 0;
  transform: translateY(12px) translateZ(0);
  filter: blur(6px);
}

.text-effect-segment[data-preset="hero-premium"].is-visible {
  opacity: 1;
  transform: translateY(0) translateZ(0);
  filter: blur(0);
}

@keyframes text-effect-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .text-effect-segment,
  .text-effect-segment.is-visible {
    transition: none !important;
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (min-width: 960px) {
  .text-effect-layout {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .text-effect-panel,
  .text-effect-preview {
    padding: 24px;
  }
}

@media (max-width: 899px) {
  body[data-page="home"] .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  body[data-page="home"] .hero-portrait {
    width: 85% !important;
    margin: 0 auto !important;
  }
  body[data-page="home"] .hero-portrait img {
    width: 100% !important;
    border-radius: 16px !important;
  }
  body[data-page="home"] .hero-rating {
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: max-content !important;
    max-width: 90% !important;
  }
}

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 28px rgba(31, 42, 55, 0.08);
  transform: translateY(100%);
  opacity: 0;
  animation: cookie-slide-in 0.46s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
  will-change: transform;
}

.cookie-banner.is-hiding {
  animation: cookie-slide-out 0.32s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes cookie-slide-in {
  to { transform: translateY(0); opacity: 1; }
}

@keyframes cookie-slide-out {
  from { transform: translateY(0); opacity: 1; }
  to   { transform: translateY(100%); opacity: 0; }
}

.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cookie-banner__body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.cookie-banner__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.cookie-banner__body p {
  margin: 0;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.52;
}

.cookie-banner__body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(182, 138, 69, 0.38);
  transition: text-decoration-color var(--motion-micro) ease;
}

.cookie-banner__body a:hover {
  text-decoration-color: var(--accent);
}

.cookie-banner__btn {
  flex-shrink: 0;
  height: 36px;
  padding: 0 20px;
  background: var(--text);
  color: var(--text-inverse);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--motion-micro) ease, transform var(--motion-micro) ease;
}

.cookie-banner__btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.cookie-banner__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.cookie-banner-visible .floating-cta-bar {
  bottom: calc(var(--cookie-banner-h, 54px) + 16px);
  transition: bottom 0.3s ease;
}

@media (max-width: 767px) {
  .cookie-banner__inner {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .cookie-banner__body {
    gap: 9px;
  }

  .cookie-banner__btn {
    width: 100%;
    height: 42px;
    font-size: 0.85rem;
  }

  body.cookie-banner-visible {
    padding-bottom: calc(var(--cookie-banner-h, 90px) + 80px);
  }

  .cookie-banner-visible .floating-cta-bar {
    bottom: calc(var(--cookie-banner-h, 90px) + max(12px, env(safe-area-inset-bottom, 0px)));
  }
}
