:root {
  --ink: #1c2735;
  --muted: #667180;
  --line: #e7eaee;
  --soft: #f7f8f9;
  --gold: #d8934d;
  --gold-dark: #b97332;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(22, 32, 43, 0.11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 122px;
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 122px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  background: var(--white);
}

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

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

button,
input {
  font: inherit;
}

textarea,
select {
  font: inherit;
}

.container {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(231, 234, 238, 0.8);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  min-height: 102px;
  gap: 22px;
}

.header-menu {
  display: contents;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: fit-content;
  font-weight: 800;
  letter-spacing: 0;
}

.logo > span {
  color: #1e2b3b;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 0.9;
}

.logo small {
  color: #1f2c3b;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.accent,
.phone svg,
.places svg,
.reasons svg,
.works-grid a,
.steps svg,
.review-top span,
.contacts svg {
  color: var(--gold);
}

.phone {
  display: inline-grid;
  grid-template-columns: 28px auto;
  align-items: center;
  gap: 12px;
}

.phone svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.8;
}

.phone b {
  display: block;
  color: #0e1621;
  font-size: 18px;
  line-height: 1.1;
}

.phone small {
  display: block;
  margin-top: 6px;
  color: #6f7884;
  font-size: 12px;
}

.menu-btn,
.review-card button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.mobile-menu-toggle {
  display: none;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.mobile-menu-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mobile-menu-toggle .close-icon {
  display: none;
}

.site-header.is-menu-open .mobile-menu-toggle .menu-icon {
  display: none;
}

.site-header.is-menu-open .mobile-menu-toggle .close-icon {
  display: block;
}

.menu-btn svg {
  width: 42px;
  height: 42px;
  stroke-width: 2.2;
}

.hero {
  position: relative;
  min-height: 445px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 28%, rgba(255, 255, 255, 0.46) 52%, rgba(255, 255, 255, 0) 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, #fff 100%),
    url("https://images.pexels.com/photos/15937644/pexels-photo-15937644.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-position: center, center, right center;
  background-size: cover, cover, cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  content: "";
}

.hero-content {
  display: flex;
  align-items: center;
  min-height: 445px;
  padding: 42px 0 56px;
}

.hero-copy {
  width: min(440px, 100%);
}

.hero h1 {
  margin: 0;
  color: #202b39;
  font-size: clamp(38px, 5.1vw, 58px);
  font-weight: 800;
  line-height: 1.18;
}

.hero p {
  max-width: 385px;
  margin: 20px 0 28px;
  color: #334253;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 36px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(23, 33, 45, 0.16);
}

.btn-dark {
  background: #182433;
}

.btn-gold {
  background: linear-gradient(180deg, #e7a461, var(--gold));
}

.btn-soft {
  color: #202b39;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 13px;
}

.top-actions,
.admin-header nav,
.contacts {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 4px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 6px;
  color: #263445;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  color: var(--gold-dark);
  background: rgba(216, 147, 77, 0.1);
}

.flash {
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(216, 147, 77, 0.35);
  border-radius: var(--radius);
  background: rgba(216, 147, 77, 0.12);
  font-weight: 700;
}

.quick-quiz {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 0.7fr);
  gap: 32px;
  align-items: start;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid rgba(216, 147, 77, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 147, 77, 0.12), rgba(255, 255, 255, 0.96) 42%),
    #fff;
  box-shadow: var(--shadow);
}

.quick-quiz h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
}

.quick-quiz p {
  max-width: 570px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

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

.quick-quiz label,
.price-factor-grid article,
.guarantee-grid article {
  display: grid;
  gap: 8px;
}

.quick-quiz input,
.quick-quiz select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 13px 14px;
}

.section {
  padding: 13px 0;
}

.section h2,
.section-head h2 {
  margin: 0;
  color: #202b39;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.underline {
  width: 48px;
  height: 3px;
  margin: 12px auto 22px;
  background: var(--gold);
  border-radius: 10px;
}

.benefits-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: -22px;
  margin-bottom: 6px;
  position: relative;
  z-index: 3;
}

.benefits-strip article,
.places article,
.works article,
.review-card,
.faq details,
.reasons-grid {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(22, 32, 43, 0.08);
}

.benefits-strip article {
  display: grid;
  grid-template-columns: 50px auto;
  align-items: center;
  min-height: 104px;
  padding: 20px 24px;
  gap: 18px;
}

.benefits-strip svg {
  width: 42px;
  height: 42px;
  color: var(--gold);
  stroke-width: 1.6;
}

.benefits-strip b {
  font-size: 15px;
  line-height: 1.32;
}

.places-grid,
.works-grid {
  display: grid;
  gap: 22px;
}

.places-grid {
  grid-template-columns: repeat(5, 1fr);
}

.places article,
.places a,
.works article,
.works-grid a {
  overflow: hidden;
}

.places a {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 22px rgba(22, 32, 43, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.places a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.places img {
  height: 138px;
  object-fit: cover;
}

.places article > div,
.places a > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  min-height: 66px;
  padding: 10px 18px;
  gap: 12px;
}

.places svg {
  width: 35px;
  height: 35px;
  stroke-width: 1.5;
}

.places span,
.works-grid p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.24;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  overflow: hidden;
}

.reasons-grid article {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-content: start;
  min-height: 132px;
  padding: 22px 20px 18px;
  gap: 6px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reasons-grid article:nth-child(4n) {
  border-right: 0;
}

.reasons-grid article:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.reasons svg {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  stroke-width: 1.6;
}

.reasons b {
  font-size: 15px;
  line-height: 1.28;
}

.reasons p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-head h2 {
  text-align: left;
}

.section-head a {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 7px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.section-head svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.works-grid {
  grid-template-columns: repeat(4, 1fr);
}

.works-grid img {
  height: 142px;
  object-fit: cover;
}

.works-grid p {
  min-height: 52px;
  padding: 13px 16px 16px;
}

.works-grid a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.works-grid a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.price-factor-grid,
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.price-factor-grid article,
.guarantee-grid article {
  align-content: start;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.price-factor-grid svg,
.guarantee-grid svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
  stroke-width: 1.7;
}

.price-factor-grid b,
.guarantee-grid b {
  font-size: 17px;
  line-height: 1.25;
}

.price-factor-grid p,
.guarantee-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.included-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(216, 147, 77, 0.26);
  border-radius: var(--radius);
  background: rgba(216, 147, 77, 0.2);
}

.included-strip span {
  padding: 17px 18px;
  background: #fff;
  font-weight: 800;
  text-align: center;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.proof-grid article {
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(22, 32, 43, 0.08);
}

.proof-grid img {
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.proof-grid div {
  padding: 22px;
}

.proof-grid b {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.proof-grid span {
  color: var(--gold);
}

.proof-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.process {
  padding-top: 2px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.steps::before {
  position: absolute;
  top: 54px;
  left: 15%;
  right: 15%;
  height: 2px;
  border-top: 2px dashed rgba(216, 147, 77, 0.55);
  content: "";
}

.steps article {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}

.steps span {
  position: absolute;
  top: 42px;
  left: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #fff;
  background: var(--gold);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.steps svg {
  width: 88px;
  height: 88px;
  padding: 21px;
  background: #fff;
  border: 1px solid rgba(216, 147, 77, 0.35);
  border-radius: 50%;
  stroke-width: 1.5;
  position: relative;
  z-index: 1;
}

.steps b {
  margin-top: 16px;
  font-size: 16px;
}

.steps p {
  max-width: 210px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.review-card {
  display: grid;
  grid-template-columns: 64px 1fr 48px;
  align-items: center;
  min-height: 140px;
  padding: 22px;
  gap: 22px;
}

.review-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}

.review-card p {
  margin: 0;
  color: #4f5b68;
  font-size: 15px;
  line-height: 1.5;
}

.review-card button svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.3;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.dots span {
  width: 7px;
  height: 7px;
  background: #d5d9de;
  border-radius: 50%;
}

.dots span:first-child {
  background: var(--gold);
}

.faq {
  padding-top: 0;
}

.faq-list {
  display: grid;
  gap: 7px;
}

.faq details {
  box-shadow: none;
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 39px;
  padding: 0 22px;
  color: #303c4a;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  width: 18px;
  height: 18px;
  background: currentColor;
  content: "";
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq details p {
  margin: 0;
  padding: 0 22px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.cta {
  position: relative;
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  color: #fff;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(20, 25, 28, 0.88) 0%, rgba(20, 25, 28, 0.72) 48%, rgba(20, 25, 28, 0.5)),
    url("https://images.pexels.com/photos/4112236/pexels-photo-4112236.jpeg?auto=compress&cs=tinysrgb&w=1500");
  background-position: center;
  background-size: cover;
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: center;
  gap: 56px;
  min-height: 205px;
  padding: 30px 52px;
}

.cta h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.18;
  text-align: left;
}

.cta p {
  max-width: 435px;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.cta form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cta label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.cta input {
  width: 100%;
  min-height: 58px;
  padding: 0 22px;
  border: 0;
  border-radius: 5px;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.cta button {
  min-height: 58px;
}

.cta form small {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
}

.cta form small a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta form small svg {
  width: 16px;
  height: 16px;
}

.footer {
  color: rgba(255, 255, 255, 0.84);
  background: #172332;
  border-radius: 0 0 var(--radius) var(--radius);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1.15fr 1.25fr;
  gap: 46px;
  padding: 34px 0 38px;
}

.footer .logo > span {
  color: #fff;
  font-size: 32px;
}

.footer .logo small {
  color: rgba(255, 255, 255, 0.9);
}

.footer p {
  margin: 38px 0 0;
  font-size: 14px;
  line-height: 1.45;
}

.footer b {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 15px;
}

.footer nav,
.contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer a,
.contacts small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.contacts a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.contacts svg {
  width: 18px;
  height: 18px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: rgba(216, 147, 77, 0.2);
  border-radius: 50%;
}

.socials svg {
  width: 15px;
  height: 15px;
}

.socials span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
}

.footer-legal-link {
  color: var(--gold) !important;
  font-weight: 800;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: min(620px, calc(100% - 36px));
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(231, 234, 238, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(22, 32, 43, 0.2);
  backdrop-filter: blur(14px);
}

.cookie-banner b {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--gold-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner .btn {
  min-height: 44px;
}

.map-card {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  background:
    linear-gradient(32deg, transparent 44%, rgba(216, 147, 77, 0.22) 45%, rgba(216, 147, 77, 0.22) 47%, transparent 48%),
    linear-gradient(147deg, transparent 42%, rgba(216, 147, 77, 0.2) 43%, rgba(216, 147, 77, 0.2) 45%, transparent 46%),
    linear-gradient(90deg, rgba(114, 160, 132, 0.18) 18%, transparent 18% 56%, rgba(114, 160, 132, 0.16) 56%),
    #f3f0e7;
  border: 4px solid rgba(255, 255, 255, 0.88);
  border-radius: 8px;
}

.map-card::before,
.map-card::after {
  position: absolute;
  background: rgba(142, 154, 166, 0.24);
  content: "";
}

.map-card::before {
  top: 34px;
  left: -20px;
  width: 130%;
  height: 2px;
  transform: rotate(-6deg);
}

.map-card::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: rotate(12deg);
}

.map-card svg {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 40px;
  height: 40px;
  color: #f04f3f;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.18));
  transform: translate(-50%, -50%);
}

.auth-page,
.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.76)),
    url("https://images.pexels.com/photos/15937644/pexels-photo-15937644.jpeg?auto=compress&cs=tinysrgb&w=1800") center / cover fixed;
}

.auth-card {
  width: min(440px, calc(100% - 32px));
  margin: 8vh auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.auth-card h1,
.admin-shell h1,
.admin-shell h2 {
  margin: 24px 0 18px;
  font-size: 28px;
}

.auth-card form,
.admin-panel form {
  display: grid;
  gap: 16px;
}

.auth-card label,
.block-editor label,
.cta form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.auth-card input,
.block-editor input,
.block-editor textarea,
.admin-price-row input,
.cta input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 13px 14px;
}

.auth-check {
  display: inline-flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px !important;
}

.auth-check input {
  width: auto;
}

.form-error {
  margin: 0;
  color: #b3261e;
  font-weight: 700;
}

.login-hint {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.admin-header form {
  margin: 0;
}

.admin-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 30px auto 80px;
  display: grid;
  gap: 28px;
}

.admin-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.admin-section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 6px;
  color: #263445;
  font-weight: 800;
}

.admin-section-nav a.active,
.admin-section-nav a:hover {
  color: #fff;
  background: #182433;
}

.admin-panel,
.block-editor {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.admin-panel {
  padding: 26px;
}

.block-editor {
  padding: 18px;
  box-shadow: none;
}

.block-editor-head {
  display: grid;
  grid-template-columns: 1fr 140px 120px;
  gap: 14px;
  margin-bottom: 14px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.settings-grid label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.settings-grid input:not([type="checkbox"]) {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 13px 14px;
}

.admin-full-label,
.admin-repeat-row label,
.admin-map-row label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.admin-full-label {
  margin: 6px 0 16px;
}

.settings-grid textarea,
.admin-full-label textarea,
.admin-repeat-row input,
.admin-repeat-row textarea,
.admin-map-row input,
.admin-map-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 13px 14px;
}

.admin-compact-head {
  grid-template-columns: 1fr 160px;
}

.admin-check-field {
  align-self: end;
  min-height: 48px;
}

.admin-check-field input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.admin-panel,
.block-editor,
.block-editor-head,
.settings-grid,
.admin-repeat-list,
.admin-repeat-row,
.admin-menu-row,
.admin-map-row {
  min-width: 0;
}

.block-editor-head label,
.settings-grid label,
.admin-repeat-row label,
.admin-menu-row label,
.admin-map-row label {
  min-width: 0;
}

.admin-repeat-list {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.admin-repeat-row,
.admin-menu-row,
.admin-map-row {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-repeat-row {
  grid-template-columns: minmax(240px, 0.7fr) 1fr;
}

.admin-menu-row {
  grid-template-columns: minmax(180px, 0.55fr) 1fr;
}

.admin-map-row {
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) 120px 120px;
}

.admin-map-text {
  grid-column: 1 / -1;
}

.block-editor textarea {
  min-height: 210px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.45;
}

.admin-price-table {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-price-head,
.admin-price-row {
  display: grid;
  grid-template-columns: 1fr 130px 130px;
  gap: 12px;
  align-items: center;
  padding: 11px 14px;
  background: #fff;
}

.admin-price-row label {
  display: contents;
}

.admin-price-row label span {
  display: none;
}

.admin-price-head {
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.simple-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 20px;
}

.estimate-page,
.listing-page,
.detail-page,
.error-page {
  padding-bottom: 70px;
}

.error-page {
  display: grid;
  gap: 28px;
  min-height: calc(100vh - 330px);
  align-content: center;
  padding-top: 54px;
}

.error-hero {
  position: relative;
  overflow: hidden;
  padding: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(225, 150, 72, 0.1), rgba(221, 244, 251, 0.68)),
    #fff;
  box-shadow: var(--shadow);
}

.error-hero::after {
  position: absolute;
  right: 42px;
  bottom: -28px;
  color: rgba(225, 150, 72, 0.18);
  font-size: 190px;
  font-weight: 800;
  line-height: 1;
  content: "404";
}

.error-status-500 .error-hero::after {
  content: "500";
}

.error-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: #202b39;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
}

.error-hero p {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.error-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.error-actions .btn {
  gap: 10px;
}

.error-actions svg {
  width: 18px;
  height: 18px;
}

.error-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.error-card b {
  color: #202b39;
  font-size: 20px;
}

.error-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.error-card nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.error-card a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #202b39;
  font-size: 14px;
  font-weight: 800;
  background: #fff;
}

.footer-grid-compact {
  grid-template-columns: 1fr auto;
}

.estimate-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 0.65fr);
  gap: 42px;
  align-items: start;
  padding: 54px 0;
}

.estimate-intro {
  display: grid;
  gap: 20px;
}

.estimate-hero h1,
.listing-head h1,
.detail-hero h1,
.article-hero h1 {
  margin: 0;
  color: #202b39;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
}

.estimate-hero p,
.listing-head p,
.detail-hero p,
.article-hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.estimate-form,
.estimate-result,
.detail-aside,
.detail-card,
.client-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.client-preview {
  overflow: hidden;
  padding: 18px;
}

.client-preview-head,
.client-preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.client-preview-head span,
.client-preview-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.client-preview-head b {
  font-size: 20px;
}

.client-window-preview {
  width: 100%;
  height: auto;
  margin: 10px 0 4px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(217, 244, 255, 0.34), rgba(255, 255, 255, 0.9)),
    #f7f8f9;
}

.client-window-preview text {
  fill: #1c2735;
  font: 800 24px "Manrope", Arial, sans-serif;
}

.estimate-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.estimate-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.estimate-form label.auth-check,
.quick-quiz label.auth-check {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px !important;
}

.estimate-form label.auth-check input,
.quick-quiz label.auth-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
}

.estimate-form input,
.estimate-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 13px 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.estimate-result {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px;
}

.result-main span,
.detail-aside span,
.detail-card span,
.articles-preview-grid a span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.result-main strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(32px, 4vw, 48px);
}

.result-main p {
  margin: 8px 0 0;
  color: var(--muted);
}

.result-lines {
  display: grid;
  gap: 8px;
}

.result-lines div {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.listing-page {
  padding-top: 38px;
}

.listing-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.detail-card-grid,
.articles-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.detail-card,
.articles-preview-grid a {
  display: grid;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.detail-card img,
.articles-preview-grid img {
  height: 210px;
  object-fit: cover;
}

.detail-card span,
.detail-card h2,
.detail-card h3,
.detail-card p,
.articles-preview-grid span,
.articles-preview-grid b,
.articles-preview-grid p {
  margin-left: 18px;
  margin-right: 18px;
}

.detail-card span,
.articles-preview-grid span {
  margin-top: 16px;
}

.detail-card h2,
.detail-card h3,
.articles-preview-grid b {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.detail-card p,
.articles-preview-grid p {
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.detail-hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.detail-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 36, 51, 0.82), rgba(24, 36, 51, 0.18));
  content: "";
}

.detail-hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.detail-hero .container {
  position: relative;
  z-index: 1;
  padding-bottom: 54px;
}

.detail-hero h1,
.detail-hero p {
  color: #fff;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  padding-top: 42px;
}

.detail-copy,
.article-body {
  color: #334253;
  font-size: 18px;
  line-height: 1.78;
}

.detail-copy p,
.article-body p {
  margin: 0 0 18px;
}

.detail-copy h2,
.detail-copy h3,
.article-body h2,
.article-body h3,
.seo-copy h3 {
  margin: 30px 0 14px;
  color: var(--ink);
  line-height: 1.25;
}

.detail-copy h2,
.article-body h2 {
  font-size: 28px;
}

.detail-copy h3,
.article-body h3,
.seo-copy h3 {
  font-size: 22px;
}

.detail-copy ul,
.detail-copy ol,
.article-body ul,
.article-body ol,
.seo-copy ul,
.seo-copy ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.detail-copy li,
.article-body li,
.seo-copy li {
  margin-bottom: 8px;
}

.detail-copy blockquote,
.article-body blockquote,
.seo-copy blockquote {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
  color: var(--ink);
}

.detail-copy a,
.article-body a,
.seo-copy a {
  color: #a55f25;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-aside {
  position: sticky;
  top: 130px;
  display: grid;
  gap: 18px;
  align-self: start;
  padding: 22px;
}

.detail-aside b {
  display: block;
  margin-top: 5px;
  font-size: 22px;
}

.before-after-section {
  padding-top: 42px;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.before-after-grid figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.before-after-grid img {
  height: 360px;
  object-fit: cover;
}

.before-after-grid figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 13px;
  border-radius: 6px;
  color: #fff;
  background: rgba(24, 36, 51, 0.82);
  font-weight: 800;
}

.related-section {
  padding-top: 48px;
}

.related-section h2 {
  margin: 0 0 18px;
  font-size: 30px;
}

.article-hero {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: 38px;
  align-items: center;
  padding: 44px 0 32px;
}

.article-hero img {
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}

.article-body {
  width: min(820px, calc(100% - 40px));
  padding-top: 24px;
}

.articles-preview {
  padding-top: 20px;
}

.articles-preview-grid a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(22, 32, 43, 0.08);
}

.mobile-sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(231, 234, 238, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 38px rgba(22, 32, 43, 0.18);
  backdrop-filter: blur(14px);
}

.mobile-sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 8px;
  border-radius: 6px;
  color: #fff;
  background: #182433;
  font-weight: 800;
}

.mobile-sticky-cta a:first-child {
  background: var(--gold);
}

.mobile-sticky-cta svg {
  width: 18px;
  height: 18px;
}

.seo-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-link-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #202b39;
  font-weight: 800;
}

.objects-map-section .section-head {
  align-items: end;
}

.objects-map-section .section-head p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.objects-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
}

.objects-map {
  display: grid;
  min-height: 420px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(32deg, transparent 44%, rgba(216, 147, 77, 0.22) 45%, rgba(216, 147, 77, 0.22) 47%, transparent 48%),
    linear-gradient(147deg, transparent 42%, rgba(216, 147, 77, 0.2) 43%, rgba(216, 147, 77, 0.2) 45%, transparent 46%),
    linear-gradient(90deg, rgba(114, 160, 132, 0.18) 18%, transparent 18% 56%, rgba(114, 160, 132, 0.16) 56%),
    #f3f0e7;
  box-shadow: var(--shadow);
}

.objects-map span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.objects-map.is-loaded {
  display: block;
}

.objects-list {
  display: grid;
  gap: 12px;
}

.objects-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 22px rgba(22, 32, 43, 0.08);
}

.objects-list b {
  display: block;
  font-size: 16px;
  line-height: 1.3;
}

.objects-list span {
  display: block;
  margin-top: 7px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.objects-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.catalog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.catalog-preview-grid a {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(22, 32, 43, 0.08);
}

.catalog-preview-grid img {
  height: 190px;
  object-fit: cover;
}

.catalog-preview-grid span,
.catalog-preview-grid b,
.catalog-preview-grid p {
  margin-right: 18px;
  margin-left: 18px;
}

.catalog-preview-grid span {
  margin-top: 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-preview-grid b {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.catalog-preview-grid p {
  margin-top: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.place-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
  padding-top: 34px;
}

.seo-copy {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(22, 32, 43, 0.08);
}

.seo-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.2;
}

.seo-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.seo-copy p:last-child {
  margin-bottom: 0;
}

.catalog-seo {
  margin-top: 28px;
}

.product-hero {
  padding-top: 34px;
}

.legal-page {
  padding-bottom: 44px;
}

.legal-copy {
  margin-bottom: 30px;
}

.legal-copy h2 {
  margin-top: 26px;
  font-size: 24px;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy a {
  color: var(--gold-dark);
  font-weight: 800;
}

.legal-updated {
  font-weight: 800;
}

.lead-magnet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(216, 147, 77, 0.32);
  border-radius: var(--radius);
  background: rgba(216, 147, 77, 0.1);
}

.estimate-request {
  margin-top: 24px;
}

.lead-magnet h2 {
  margin: 0;
  font-size: 28px;
}

.lead-magnet p {
  margin: 8px 0 0;
  color: var(--muted);
}

.service-hero {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.service-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 36, 51, 0.82), rgba(24, 36, 51, 0.2));
  content: "";
}

.service-hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

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

.service-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
}

.service-hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.6;
}

.service-selling {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 34px;
}

.service-selling article {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(22, 32, 43, 0.08);
}

.service-selling svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.service-selling p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1020px) {
  html {
    scroll-padding-top: 98px;
  }

  [id] {
    scroll-margin-top: 98px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    padding: 14px 0;
  }

  .mobile-menu-toggle {
    display: grid;
  }

  .header-menu {
    grid-column: 1 / -1;
    display: none;
    gap: 14px;
    padding: 14px 0 4px;
    border-top: 1px solid var(--line);
  }

  .site-header.is-menu-open .header-menu {
    display: grid;
  }

  .header-menu .main-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .header-menu .main-nav a {
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: #fff;
  }

  .site-header .phone {
    display: none;
  }

  .site-header.is-menu-open .header-menu .phone {
    display: inline-grid;
    justify-self: start;
  }

  .header-menu .top-actions {
    justify-content: flex-start;
  }

  .benefits-strip,
  .works-grid,
  .steps,
  .footer-grid,
  .quick-quiz,
  .estimate-hero,
  .estimate-result,
  .detail-layout,
  .article-hero,
  .lead-magnet,
  .place-layout {
    grid-template-columns: 1fr;
  }

  .objects-map-layout,
  .error-card,
  .admin-repeat-row,
  .admin-menu-row,
  .admin-map-row,
  .admin-compact-head {
    grid-template-columns: 1fr;
  }

  .detail-card-grid,
  .articles-preview-grid,
  .price-factor-grid,
  .guarantee-grid,
  .included-strip,
  .service-selling,
  .catalog-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .places-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .reasons-grid article:nth-child(2n) {
    border-right: 0;
  }

  .reasons-grid article:nth-child(4n) {
    border-right: 0;
  }

  .reasons-grid article:nth-last-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .reasons-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .steps::before {
    display: none;
  }

  .cta-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }

  .admin-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
  }

  .admin-header nav {
    flex: 1 1 100%;
    flex-wrap: wrap;
  }

  .admin-shell {
    width: min(100% - 28px, 1180px);
    margin-top: 20px;
  }

  .admin-panel {
    padding: 18px;
  }

  .admin-panel h1,
  .admin-panel h2 {
    overflow-wrap: anywhere;
  }

  .admin-section-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-section-nav a {
    justify-content: center;
    min-width: 0;
    padding: 0 10px;
  }

  .block-editor {
    padding: 14px;
  }

  .admin-price-head {
    display: none;
  }

  .admin-price-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
  }

  .admin-price-row > span {
    grid-column: 1 / -1;
    font-weight: 800;
  }

  .admin-price-row label {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
  }

  .admin-price-row label span {
    display: block;
  }

  .admin-price-row input {
    min-width: 0;
  }

  [id] {
    scroll-margin-top: 90px;
  }

  .container {
    width: min(100% - 28px, 1280px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 82px;
    gap: 16px;
  }

  .phone {
    display: none;
  }

  .logo > span {
    font-size: 31px;
  }

  .menu-btn {
    width: 44px;
    height: 44px;
  }

  .menu-btn svg {
    width: 34px;
    height: 34px;
  }

  .header-menu .main-nav {
    grid-template-columns: 1fr;
  }

  .header-menu .main-nav a {
    justify-content: flex-start;
    min-height: 46px;
  }

  .header-menu .top-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .header-menu .top-actions .btn {
    width: 100%;
  }

  .hero,
  .hero-content {
    min-height: 560px;
  }

  .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 44%, rgba(255, 255, 255, 0.4) 70%, rgba(255, 255, 255, 0.04) 100%),
      url("https://images.pexels.com/photos/15937644/pexels-photo-15937644.jpeg?auto=compress&cs=tinysrgb&w=1000");
    background-position: center, center bottom;
  }

  .hero-content {
    align-items: flex-start;
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .section-head a {
    max-width: 100%;
    min-height: 38px;
  }

  .btn {
    width: 100%;
    min-height: 56px;
  }

  .top-actions .btn,
  .simple-header .btn {
    width: auto;
    min-height: 44px;
    padding: 0 14px;
  }

  .benefits-strip,
  .places-grid,
  .works-grid,
  .steps,
  .reasons-grid,
  .footer-grid,
  .cta form,
  .detail-card-grid,
  .articles-preview-grid,
  .price-factor-grid,
  .guarantee-grid,
  .included-strip,
  .proof-grid,
  .proof-grid article,
  .before-after-grid,
  .catalog-preview-grid,
  .place-layout,
  .form-grid,
  .result-lines div {
    grid-template-columns: 1fr;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .lead-magnet {
    display: grid;
  }

  .objects-map {
    min-height: 320px;
  }

  .estimate-form,
  .estimate-result,
  .error-hero,
  .error-card {
    padding: 18px;
  }

  .error-hero::after {
    right: 12px;
    bottom: -10px;
    font-size: 92px;
  }

  .error-card nav {
    justify-content: flex-start;
  }

  .detail-hero {
    min-height: 380px;
  }

  .client-preview-meta,
  .client-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .proof-grid img,
  .before-after-grid img {
    height: 230px;
    min-height: 0;
  }

  .service-selling {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-cta {
    display: grid;
  }

  body {
    padding-bottom: 78px;
  }

  .benefits-strip {
    margin-top: 0;
  }

  .benefits-strip article {
    min-height: 88px;
  }

  .places img,
  .works-grid img {
    height: 190px;
  }

  .reasons-grid article,
  .reasons-grid article:nth-child(2n),
  .reasons-grid article:nth-child(4n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .reasons-grid article:last-child {
    border-bottom: 0;
  }

  .steps {
    gap: 22px;
  }

  .steps span {
    left: calc(50% - 66px);
  }

  .review-card {
    grid-template-columns: 52px 1fr;
    gap: 16px;
  }

  .review-card img {
    width: 52px;
    height: 52px;
  }

  .review-card button {
    display: none;
  }

  .review-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .cta {
    width: 100%;
    border-radius: 0;
  }

  .cta-content {
    padding: 30px 20px;
  }

  .footer {
    border-radius: 0;
  }

  .cookie-banner {
    right: 12px;
    bottom: 90px;
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
  }

  .cookie-banner .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 34px;
  }

  .section h2,
  .section-head h2 {
    font-size: 24px;
  }

  .places img,
  .works-grid img {
    height: 160px;
  }

  .faq summary {
    min-height: 48px;
    padding: 0 16px;
    font-size: 14px;
  }
}
