:root {
  --paper: #f7f3ec;
  --paper-deep: #eee6dc;
  --surface: rgba(255, 252, 246, 0.78);
  --surface-solid: #fbf8f2;
  --ink: #211d19;
  --muted: #746d65;
  --soft: #a39a91;
  --line: rgba(91, 75, 62, 0.16);
  --line-strong: rgba(91, 75, 62, 0.28);
  --accent: #a94f3a;
  --accent-dark: #8f3f2d;
  --accent-soft: #ead6cd;
  --shadow: 0 24px 70px rgba(85, 66, 48, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); }
body {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(255,255,255,0.72), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(222, 198, 180, 0.22), transparent 35%),
    linear-gradient(90deg, rgba(255,255,255,0.25), transparent 25%, transparent 75%, rgba(255,255,255,0.28));
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  z-index: 1;
  background-image: linear-gradient(rgba(44, 37, 30, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(44, 37, 30, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, transparent 0, black 45%, transparent 92%);
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(1450px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: 292px minmax(420px, 1fr) 350px;
  align-items: start;
  gap: 26px;
  padding: 18px 0 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 19px;
  min-width: 0;
}
.brand-mark { width: 62px; height: 48px; color: #37322d; flex: 0 0 auto; }
.brand-title {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 17px;
  font-weight: 560;
  line-height: 1.1;
}
.brand-subtitle {
  display: block;
  color: #7d746c;
  font-size: 10px;
  margin-top: 4px;
  letter-spacing: 0.035em;
}
.nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 2.7vw, 46px);
  padding-top: 20px;
  color: #3b3732;
  font-size: 13px;
  white-space: nowrap;
}
.nav a, .footer a, .modal-nav a {
  transition: color .28s ease, transform .28s cubic-bezier(.16,1,.3,1);
}
.nav a:hover, .footer a:hover, .modal-nav a:hover { color: var(--accent); }
.header-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 24px;
}
.phone {
  display: grid;
  gap: 6px;
  text-align: right;
  padding-top: 4px;
  font-weight: 600;
  font-size: 15px;
  color: #26221d;
  white-space: nowrap;
  flex: 0 0 auto;
}
.phone small { font-weight: 400; color: #6f675f; font-size: 12px; }

.btn {
  border: 0;
  border-radius: 6px;
  min-height: 50px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform .28s cubic-bezier(.16,1,.3,1), background .28s ease, border-color .28s ease, color .28s ease, box-shadow .28s ease;
  user-select: none;
}
.btn:active, .text-arrow:active, .faq-grid button:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(180deg, #b65a43 0%, var(--accent-dark) 100%);
  color: #fffaf4;
  box-shadow: 0 16px 30px rgba(145, 65, 45, 0.18), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { background: linear-gradient(180deg, #bd634b 0%, #843724 100%); box-shadow: 0 20px 36px rgba(145, 65, 45, 0.23), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
}
.btn-outline:hover { background: rgba(169, 79, 58, 0.08); }
.btn-large { min-width: 226px; height: 65px; }
.btn-link {
  background: transparent;
  color: #3c3731;
  min-height: auto;
  padding: 0;
  box-shadow: none;
}
.btn-link:hover, .text-arrow:hover { color: var(--accent); transform: translateX(2px); }
.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.45);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.menu-button span { width: 20px; height: 1.5px; background: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(410px, 0.92fr) minmax(560px, 1.18fr);
  align-items: start;
  gap: clamp(46px, 7vw, 86px);
  padding-bottom: 26px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); }
.hero h1 {
  max-width: 650px;
  margin-bottom: 23px;
  font-size: clamp(34px, 3.8vw, 60px);
  line-height: 1.14;
  letter-spacing: -0.036em;
}
.lead {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(15px, 1.12vw, 19px);
  line-height: 1.58;
  margin-bottom: 22px;
}
.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  margin-bottom: 31px;
}
.hero-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #3d3832;
  font-size: 14px;
  font-weight: 520;
  white-space: nowrap;
}
.hero-benefits svg { width: 23px; height: 23px; color: var(--accent); }
.hero-cta { display: flex; align-items: center; gap: 42px; }
.hero-media {
  margin: 0;
  border-radius: 11px;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 20px 45px rgba(52, 42, 32, 0.12);
  background: #e6dfd4;
  align-self: center;
  max-height: 510px;
}
.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.535;
  object-fit: cover;
  object-position: center center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(105deg, rgba(255,255,255,.62), rgba(242,235,225,.86));
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.52);
  margin-bottom: 35px;
}
.stat-card {
  min-height: 190px;
  padding: 35px 42px 31px;
  border-right: 1px solid var(--line);
}
.stat-card:last-child { border-right: 0; }
.stat-card svg { width: 31px; height: 31px; color: #312d28; margin-bottom: 13px; }
.stat-card strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 3vw, 45px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 11px;
}
.stat-card span { color: #3d3731; font-size: 15px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}
.service-card {
  min-height: clamp(138px, 14.2vw, 204px);
  display: grid;
  grid-template-columns: 0.93fr 1fr;
  gap: 24px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 252, 247, 0.62);
  overflow: hidden;
}
.service-card img {
  width: 100%;
  height: 100%;
  min-height: clamp(116px, 12.1vw, 174px);
  object-fit: cover;
  border-radius: 7px;
  background: #eee6dc;
}
.service-card:nth-child(2) img { object-fit: cover; object-position: center; filter: saturate(.55) contrast(.98); }
.service-card div { padding: 20px 14px 18px 0; }
.service-card h2, .documents h2, .packages h2, .calculator h2, .section-head h2, .consult h2 {
  font-size: clamp(25px, 2.05vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 15px;
}
.service-card h2 { font-size: clamp(22px, 1.6vw, 28px); }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.62; margin-bottom: 28px; }
.text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--accent);
  cursor: pointer;
  font-size: 14px;
  transition: color .28s ease, transform .28s cubic-bezier(.16,1,.3,1);
}

.calculator {
  display: grid;
  grid-template-columns: 1.05fr .78fr .58fr .9fr;
  align-items: start;
  gap: clamp(28px, 4vw, 70px);
  padding: 41px 48px 35px;
  background: linear-gradient(105deg, rgba(255,255,255,.56), rgba(239,230,217,.85));
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.55);
  margin-bottom: 34px;
}
.calculator p { color: var(--muted); max-width: 390px; line-height: 1.7; }
.range-box, .select-box, .cost-box { display: grid; gap: 15px; }
.range-box > span:first-child, .select-box > span, .cost-box > span { font-size: 13px; color: #5f574f; }
.range-box output, .cost-box strong {
  font-family: var(--serif);
  font-size: clamp(31px, 2.6vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}
.range-scale { display: flex; justify-content: space-between; color: #7f766e; }
select, input, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.62);
  border-radius: 4px;
  min-height: 48px;
  padding: 0 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
textarea { padding-top: 12px; resize: vertical; }
select:focus, input:focus, textarea:focus { border-color: rgba(169,79,58,.7); box-shadow: 0 0 0 4px rgba(169,79,58,.08); background: rgba(255,255,255,.9); }
.cost-box .btn { width: 100%; margin-top: 7px; }
.cost-box small { color: #7d746b; line-height: 1.45; }

.projects { margin-bottom: 30px; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding-inline: 48px;
}
.section-head h2 { margin-bottom: 0; }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  padding-inline: 48px;
}
.plan-card {
  display: grid;
  grid-template-columns: minmax(190px, .9fr) minmax(160px, 1fr);
  align-items: center;
  min-height: 143px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.58);
  overflow: hidden;
}
.plan-card img {
  width: 100%;
  height: 143px;
  object-fit: contain;
  background: #fff;
}
.plan-card div { padding: 22px 24px; }
.plan-card h3 {
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.plan-card p { color: var(--muted); font-size: 14px; margin-bottom: 25px; }
.plan-card p span::before { content: ""; display: inline-block; width: 1px; height: 12px; background: var(--line-strong); margin: 0 12px -2px; }

.docs-prices {
  display: grid;
  grid-template-columns: .93fr 1.67fr;
  gap: 12px;
  margin-bottom: 30px;
}
.documents, .packages {
  background: linear-gradient(105deg, rgba(255,255,255,.54), rgba(239,230,217,.78));
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 34px 44px 35px;
}
.accordion { display: grid; border-top: 1px solid var(--line); }
.accordion button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: #433d36;
}
.accordion button span:first-child { display: inline-flex; align-items: center; gap: 15px; }
.accordion button svg { width: 22px; height: 22px; color: var(--accent); }
.accordion div {
  display: none;
  color: var(--muted);
  font-size: 14px;
  padding: 2px 0 18px 37px;
  border-bottom: 1px solid var(--line);
}
.accordion button[aria-expanded="true"] + div { display: block; }
.packages { position: relative; }
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.package-card {
  position: relative;
  min-height: 258px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: rgba(255, 252, 247, .72);
  padding: 27px 28px 23px;
  display: flex;
  flex-direction: column;
}
.package-card-featured { border-color: rgba(169,79,58,.8); box-shadow: inset 0 0 0 1px rgba(169,79,58,.18); }
.badge {
  position: static;
  display: inline-flex;
  align-self: flex-start;
  margin: -8px 0 10px;
  color: var(--accent);
  font-size: 13px;
  line-height: 1;
}
.package-card h3 { font-size: 25px; margin-bottom: 4px; }
.package-card p { color: var(--muted); margin-bottom: 5px; }
.package-card strong { font-family: var(--serif); font-weight: 400; font-size: 31px; line-height: 1; margin-bottom: 17px; }
ul { list-style: none; padding: 0; margin: 0; }
.package-card li { color: #4c453e; font-size: 14px; margin-bottom: 8px; }
.package-card li::before { content: "✓"; color: var(--accent); margin-right: 8px; }
.package-card .btn { margin-top: auto; width: 100%; min-height: 44px; }

.faq { margin-bottom: 28px; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
  padding-inline: 48px;
}
.faq-grid button {
  min-height: 66px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 252, 247, 0.58);
  border-radius: 8px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color .28s ease, color .28s ease, transform .28s cubic-bezier(.16,1,.3,1);
}
.faq-grid button:hover { color: var(--accent); border-color: rgba(169,79,58,.45); }

.consult {
  display: grid;
  grid-template-columns: 455px 1fr;
  gap: 0;
  min-height: 271px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(105deg, rgba(255,255,255,.55), rgba(239,230,217,.84));
  border: 1px solid rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.consult > img {
  width: 100%;
  height: 100%;
  min-height: 271px;
  object-fit: cover;
}
.consult-content { padding: 31px 60px 25px; }
.consult-content p { color: var(--muted); max-width: 520px; margin-bottom: 23px; }
.inline-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 14px;
  align-items: end;
}
.inline-form label span, .modal-form label span { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form-wide { grid-column: 1 / -1; }
.inline-form .checkbox.form-wide { grid-column: 1 / 3; }
.inline-form .checkbox span {
  position: static;
  inline-size: auto;
  block-size: auto;
  overflow: visible;
  clip: auto;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 24px;
  color: #655d55;
  font-size: 12px;
}
.checkbox input { width: 15px; height: 15px; min-height: auto; padding: 0; accent-color: var(--accent); }
.inline-form .btn { grid-column: 3 / 4; min-height: 52px; align-self: stretch; }
.form-status { grid-column: 1 / -1; margin: 0; min-height: 18px; color: var(--accent-dark); font-size: 13px; }
.form-status:empty { display: none; }

.footer {
  display: grid;
  grid-template-columns: minmax(260px,1fr) auto auto auto minmax(150px,1fr);
  align-items: center;
  gap: 32px;
  padding: 0 34px 28px;
  color: #5f574f;
  font-size: 12px;
}
.footer p { margin: 0; }
.socials { justify-self: end; display: flex; align-items: center; gap: 22px; }
.socials a { display: inline-flex; width: 24px; height: 24px; color: #302c27; }
.socials svg { width: 100%; height: 100%; }

.reveal {
  animation: reveal .75s cubic-bezier(.16,1,.3,1) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-root.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(33,29,25,.42); backdrop-filter: blur(10px); }
.modal-card {
  position: relative;
  width: min(880px, calc(100vw - 40px));
  max-height: min(840px, calc(100dvh - 40px));
  overflow: auto;
  border-radius: 14px;
  background: var(--surface-solid);
  box-shadow: 0 30px 90px rgba(33,29,25,.32), inset 0 1px 0 rgba(255,255,255,.6);
  padding: 42px;
  outline: none;
}
.modal-card.gallery-mode { width: min(1120px, calc(100vw - 40px)); }
.modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  margin-bottom: -20px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  cursor: pointer;
}
.modal-close svg { width: 22px; height: 22px; }
.modal-heading p {
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 10px;
}
.modal-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 28px;
}
.modal-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.modal-form .btn { min-height: 54px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.gallery-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.55);
}
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; background: #f2eee7; }
.gallery-grid figure:nth-child(-n+4) img { object-fit: contain; background: #fff; }
.gallery-grid figcaption { padding: 13px 16px 16px; color: #4a443e; }
.modal-main-action { width: min(320px, 100%); margin-top: 24px; }
.modal-list { display: grid; gap: 16px; }
.modal-list article { border-top: 1px solid var(--line); padding-top: 17px; }
.modal-list h3 { font-size: 24px; margin-bottom: 8px; }
.modal-list p, .legal-copy { color: var(--muted); line-height: 1.7; }
.legal-stack { display: grid; gap: 14px; }
.legal-stack p { margin: 0; }
.legal-stack strong { color: var(--ink); font-weight: 600; }
.modal-nav { display: grid; gap: 12px; }
.modal-nav a { padding: 17px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 28px; }

@media (max-width: 1240px) {
  .page-shell { width: min(1120px, calc(100% - 44px)); }
  .site-header { grid-template-columns: 230px minmax(300px, 1fr) 220px; gap: 12px; }
  .brand { gap: 14px; }
  .brand-mark { width: 52px; }
  .brand-title { font-size: 14px; }
  .brand-subtitle { font-size: 9px; }
  .nav { gap: clamp(12px, 1.35vw, 18px); font-size: 11.5px; }
  .header-actions { gap: 12px; }
  .phone { font-size: 13px; }
  .phone small { font-size: 11px; }
  .header-actions .btn { min-height: 44px; padding: 0 16px; }
  .hero { grid-template-columns: minmax(360px, .92fr) minmax(450px, 1.08fr); gap: 42px; padding-bottom: 12px; }
  .hero-media { margin-top: -24px; }
  .hero-cta { gap: 30px; }
  .btn-large { min-width: 158px; height: 42px; min-height: 42px; padding: 0 24px; font-size: 12px; }
  .hero-benefits { gap: 16px 10px; }
  .hero-benefits span { gap: 11px; font-size: 13px; }
  .hero-benefits svg { width: 20px; height: 20px; }
  .stats { margin-bottom: 20px; }
  .stat-card { height: 132px; min-height: 0; padding: 18px 35px 14px; overflow: hidden; }
  .stat-card svg { display: block; width: 21px; height: 21px; margin-bottom: 6px; }
  .stat-card strong { font-size: 26px; margin-bottom: 4px; }
  .stat-card span { display: block; font-size: 12px; line-height: 1.32; }
  .service-grid { gap: 8px; margin-bottom: 16px; }
  .service-card { height: 136px; min-height: 0; padding: 8px; grid-template-columns: .92fr 1fr; }
  .service-card { gap: 14px; }
  .service-card img { min-height: 0; }
  .service-card div { padding: 9px 8px 8px 0; }
  .service-card h2 { font-size: 18px; margin-bottom: 8px; }
  .service-card p { font-size: 12px; line-height: 1.42; margin-bottom: 10px; }
  .text-arrow { font-size: 12px; gap: 10px; }
  .calculator { gap: 26px; padding: 14px 32px 13px; margin-bottom: 20px; align-items: center; }
  .calculator h2 { font-size: 21px; margin-bottom: 7px; }
  .calculator p { font-size: 10.5px; line-height: 1.32; margin-bottom: 0; }
  .range-box, .select-box, .cost-box { gap: 7px; }
  .range-box output, .cost-box strong { font-size: 24px; }
  .range-box > span:first-child, .select-box > span, .cost-box > span { font-size: 11px; }
  .range-scale { font-size: 11px; }
  .cost-box small { font-size: 9.8px; line-height: 1.18; }
  .calculator .btn { min-height: 35px; font-size: 11px; }
  .calculator select { min-height: 35px; font-size: 11px; }
  .projects { margin-bottom: 16px; }
  .section-head { margin-bottom: 9px; }
  .projects .section-head h2, .faq .section-head h2 { font-size: 23px; }
  .plans-grid { gap: 8px 12px; }
  .plan-card { grid-template-columns: minmax(160px, .9fr) minmax(155px, 1fr); }
  .plan-card { min-height: 86px; }
  .plan-card img { height: 86px; }
  .plan-card div { padding: 11px 18px; }
  .plan-card h3 { font-size: 18px; margin-bottom: 6px; }
  .plan-card p { font-size: 11px; margin-bottom: 9px; }
  .docs-prices { margin-bottom: 16px; }
  .documents, .packages { padding: 14px 22px 14px; }
  .documents h2, .packages h2 { font-size: 20px; margin-bottom: 8px; }
  .accordion button { min-height: 28px; font-size: 10.5px; }
  .accordion button svg { width: 14px; height: 14px; }
  .accordion div { font-size: 11px; padding-bottom: 9px; }
  .package-grid { gap: 12px; }
  .package-card { height: auto; min-height: 176px; padding: 13px 14px 12px; overflow: visible; }
  .package-card h3 { font-size: 16px; line-height: 1.05; margin-bottom: 2px; }
  .package-card p { font-size: 9.5px; line-height: 1.1; margin-bottom: 2px; }
  .package-card strong { font-size: 20px; margin-bottom: 4px; }
  .package-card li { font-size: 9.5px; line-height: 1.12; margin-bottom: 2px; }
  .package-card .btn { min-height: 24px; font-size: 9.5px; }
  .badge { margin: -2px 0 6px; font-size: 10px; }
  .faq { margin-bottom: 16px; }
  .faq-grid { gap: 12px; }
  .faq-grid button { min-height: 42px; padding-inline: 16px; font-size: 11px; }
  .consult { grid-template-columns: 280px 1fr; min-height: 170px; margin-bottom: 10px; }
  .consult > img { min-height: 170px; }
  .consult-content { padding: 10px 34px 9px; }
  .consult h2 { font-size: 20px; margin-bottom: 4px; }
  .consult-content p { font-size: 10.5px; line-height: 1.25; margin-bottom: 5px; }
  .inline-form { gap: 4px 8px; }
  .inline-form input { height: 24px; min-height: 24px; font-size: 10.5px; padding-inline: 10px; }
  .inline-form textarea { height: 30px; min-height: 30px; padding: 5px 10px 0; font-size: 10.5px; }
  .inline-form .btn { min-height: 30px; font-size: 10.5px; }
  .checkbox { font-size: 10px; }
  .footer { padding-bottom: 14px; }
}

@media (max-width: 920px) {
  .page-shell { width: min(760px, calc(100% - 32px)); }
  .site-header { grid-template-columns: 1fr auto; padding: 22px 0 28px; align-items: center; }
  .nav, .phone, .header-actions > .btn { display: none; }
  .header-actions { gap: 0; }
  .menu-button { display: inline-flex; }
  .brand-mark { width: 50px; }
  .brand-title { font-size: 14px; }
  .hero { grid-template-columns: 1fr; padding-bottom: 24px; }
  .hero h1 { font-size: clamp(38px, 9vw, 58px); }
  .hero-media { max-height: none; margin-top: 0; }
  .hero-cta { flex-wrap: wrap; gap: 22px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2) { border-right: 0; }
  .stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr; }
  .calculator { grid-template-columns: 1fr; padding: 32px 24px; }
  .section-head, .plans-grid, .faq-grid { padding-inline: 0; }
  .plans-grid { grid-template-columns: 1fr; }
  .docs-prices { grid-template-columns: 1fr; }
  .documents, .packages { padding: 28px 22px; }
  .package-grid { grid-template-columns: 1fr; gap: 14px; }
  .package-card { height: auto; overflow: visible; }
  .badge { display: inline-flex; margin: 0 0 8px; }
  .consult { grid-template-columns: 1fr; }
  .consult > img { height: 250px; min-height: 0; }
  .consult-content { padding: 28px 22px; }
  .inline-form { grid-template-columns: 1fr; }
  .inline-form .checkbox.form-wide { grid-column: auto; }
  .inline-form .btn { grid-column: auto; }
  .footer { grid-template-columns: 1fr; gap: 14px; padding-inline: 0; }
  .socials { justify-self: start; }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 24px, 430px); }
  .brand { gap: 11px; }
  .brand-subtitle { font-size: 9px; }
  .hero h1 { font-size: clamp(34px, 10vw, 43px); }
  .lead { font-size: 16px; }
  .btn-large, .hero-cta .btn { width: 100%; }
  .hero-benefits { gap: 15px; }
  .stats { grid-template-columns: 1fr; }
  .stat-card { height: auto; border-right: 0; border-bottom: 1px solid var(--line); min-height: 145px; padding: 27px 25px; }
  .stat-card:last-child { border-bottom: 0; }
  .service-card { gap: 12px; }
  .service-card img { height: 190px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .plan-card div { padding: 18px; }
  .documents, .packages, .calculator, .consult-content { padding-inline: 18px; }
  .faq-grid { grid-template-columns: 1fr; gap: 10px; }
  .modal-root { padding: 12px; }
  .modal-card { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 26px 18px; }
  .modal-form, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 190px; }
  .modal-heading h2 { font-size: 31px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
