:root {
  --bg: #F8FAFC;
  --bg-alt: #EEF2F7;
  --surface: #FFFFFF;
  --text: #0F172A;
  --muted: #475569;
  --muted-light: #64748B;
  --line: #DCE4EE;
  --line-light: #E8EDF4;
  --accent: #D97706;
  --accent-dark: #B45309;
  --accent-soft: #FEF3C7;
  --accent-glow: rgba(217, 119, 6, 0.12);
  --error: #DC2626;
  --error-soft: #FEF2F2;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
  --transition: 0.25s ease;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; }
ul { list-style: none; }

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

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.header.is-scrolled {
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line-light);
  padding: 14px 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}
.logo__mark { color: var(--text); display: flex; }
.logo__text span { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-size: 0.94rem;
  color: var(--muted);
  position: relative;
  transition: color var(--transition);
  padding: 4px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--text); }
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }
.nav__cta { margin-left: 8px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  border-radius: 8px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: all var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  text-align: center;
}
.btn:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(217, 119, 6, 0.04);
}
.btn--sm { padding: 10px 18px; font-size: 0.88rem; border-radius: 8px; }
.btn--full { width: 100%; }

/* Typography helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.section__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 16px;
  text-wrap: balance;
}
.section__desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.7;
}
.section__head { margin-bottom: 56px; }
.section__head--center { text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .eyebrow::before { display: none; }
.section__head--center .eyebrow::after { content: ""; width: 24px; height: 2px; background: var(--accent); }
.section__head--center .section__desc { margin-inline: auto; }

/* Sections */
.section { padding: 112px 0; }
.section--alt { background: var(--bg-alt); }

/* Hero */
.hero {
  padding: 140px 0 96px;
  position: relative;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero__title span { color: var(--accent); }
.hero__subtitle {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 52px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.stat__value {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 4px;
}
.stat__label {
  font-size: 0.88rem;
  color: var(--muted-light);
  line-height: 1.4;
}

/* Hero visual */
.hero__visual { position: relative; }
.arch {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
  border: 1px solid var(--line-light);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.arch__sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(254, 243, 199, 0.25) 0%, transparent 50%);
  pointer-events: none;
}
.arch__sun {
  position: absolute;
  top: 32px; right: 48px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, #FCD34D 0%, rgba(251, 191, 36, 0.2) 70%, transparent 100%);
}
.arch__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  pointer-events: none;
}
.arch__house {
  position: relative;
  width: 100%;
  height: auto;
}
.arch__badge {
  position: absolute;
  bottom: 24px; left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-light);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.arch__badge-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-soft);
}/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}
.project-card__visual {
  position: relative;
  aspect-ratio: 4 / 2.6;
  overflow: hidden;
  background: #EEF2F7;
}
.project-card__img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card__img { transform: scale(1.03); }
.project-card__tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.project-card__tag--accent { background: var(--accent); color: #fff; }
.project-card__body { padding: 28px; }
.project-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.project-card__meta {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-light);
}
.project-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.project-card__meta svg { color: var(--muted-light); flex-shrink: 0; }
.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.project-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

/* Calculator */
.calc {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: stretch;
}
.calc__controls {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.calc__group { }
.calc__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.calc__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 14px;
}
.calc__label-row .calc__label { margin-bottom: 0; }
.calc__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 37%, #CBD5E1 37%, #CBD5E1 100%);
  outline: none;
  cursor: pointer;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.range::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
  cursor: pointer;
}
.range::-webkit-slider-thumb:hover { transform: scale(1.1); }
.range:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 6px; border-radius: 3px; }
.range__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--muted-light);
}

.option-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.option { position: relative; cursor: pointer; }
.option input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}
.option__card {
  display: flex;
  flex-direction: column;
  padding: 18px 16px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition: all var(--transition);
  min-height: 88px;
}
.option__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
  display: block;
}
.option__desc {
  font-size: 0.82rem;
  color: var(--muted-light);
  line-height: 1.4;
  display: block;
}
.option input:checked + .option__card {
  border-color: var(--accent);
  background: #FFFBF5;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.option input:checked + .option__card .option__title { color: var(--accent-dark); }
.option:hover .option__card { border-color: #B8C5D6; }
.option input:focus-visible + .option__card { outline: 3px solid var(--accent-soft); outline-offset: 2px; }

.calc__result { }
.calc-result-card {
  background: var(--surface);
  border: 1px solid var(--line-light);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}
.calc-result-card__label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-light);
  margin-bottom: 8px;
}
.calc-result-card__price {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.calc-result-card__divider {
  height: 1px;
  background: var(--line-light);
  margin: 28px 0;
}
.calc-result-card__rows { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.calc-result-card__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.94rem;
}
.calc-result-card__row span { color: var(--muted); }
.calc-result-card__row strong { color: var(--text); font-weight: 600; text-align: right; }
.calc-result-card__note {
  font-size: 0.82rem;
  color: var(--muted-light);
  line-height: 1.6;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 10px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 10%, var(--line) 90%, transparent);
}
.step {
  position: relative;
  padding-top: 8px;
}
.step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.step:hover .step__num {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}
.step__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.step__text {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info .section__title { margin-bottom: 20px; }
.contact-info__text {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-detail__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-detail__label {
  font-size: 0.82rem;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-detail__value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--line-light);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

/* Forms */
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.field__input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.field__input::placeholder { color: #94A3B8; }
.field__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field__input.has-error {
  border-color: var(--error);
  background: var(--error-soft);
}
.field__input.has-error:focus { box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1); }
.field__input--textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.field__error {
  font-size: 0.8rem;
  color: var(--error);
  min-height: 1.2em;
  display: block;
}
.field__error:empty { display: none; }
.form__legal {
  font-size: 0.8rem;
  color: var(--muted-light);
  text-align: center;
  line-height: 1.5;
  margin-top: -4px;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line-light);
  background: var(--bg);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__brand .logo__text { font-size: 1.25rem; font-weight: 700; display: block; margin-bottom: 4px; }
.footer__brand p { font-size: 0.9rem; color: var(--muted-light); }
.footer__copy { font-size: 0.88rem; color: var(--muted-light); }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.25s ease;
}
.modal__dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--surface);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}
.modal__dialog--wide { width: min(100%, 920px); }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--muted-light);
  transition: all var(--transition);
}
.modal__close:hover { background: var(--bg); color: var(--text); }
.modal__title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  padding-right: 40px;
}
.modal__desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
/* Plan modal layout */
.plan-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}
.plan-layout__visual {
  background: var(--bg);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 20px;
}
.plan-svg { width: 100%; height: auto; display: block; }
.plan-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.plan-spec {
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 10px;
}
.plan-spec__label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 2px;
}
.plan-spec__value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.plan-features { margin-bottom: 28px; }
.plan-features__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.plan-features ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plan-features li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 2px;
  background: var(--accent);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  max-width: min(420px, calc(100vw - 48px));
  transform: translateY(16px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
}
.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.toast__icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.toast__title { font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; color: var(--text); }
.toast__text { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 680px; width: 100%; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .calc-result-card { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .plan-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 24px; right: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line-light);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__link { padding: 12px 8px; font-size: 0.95rem; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 8px 0 0; width: 100%; }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .hero { padding: 120px 0 72px; }
  .hero__stats { grid-template-columns: 1fr; gap: 20px; }
  .stat { display: flex; align-items: baseline; gap: 12px; }
  .stat__value { margin-bottom: 0; min-width: 80px; }
  .projects-grid { grid-template-columns: 1fr; }
  .option-group { grid-template-columns: 1fr; }
  .option__card { min-height: 0; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; }
  .form__row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .modal__dialog { padding: 28px; }
  .toast { left: 24px; right: 24px; bottom: 24px; max-width: none; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 32px, var(--container)); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .project-card__footer { flex-direction: column; align-items: stretch; }
  .project-card__price { font-size: 1.2rem; }
  .calc-result-card { padding: 28px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .arch { padding: 20px; }
  .arch__badge { font-size: 0.75rem; padding: 8px 12px; bottom: 16px; left: 16px; }
}

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

body.modal-open, body.nav-open { overflow: hidden; }
