.lead-form h2 { margin-bottom: 12px; font-size: clamp(28px, 3.2vw, 42px); }
.lead-form h1 { margin: 28px 0 18px; font-size: clamp(38px, 5vw, 64px); line-height: 1; }
.lead-form .brand { margin-bottom: 26px; }
.lead-form > p { color: var(--muted); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
label span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; font-weight: 800; }
.input {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(34,27,22,.12);
  border-radius: 16px;
  padding: 0 16px;
  background: #fffaf4;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus { border-color: rgba(243,122,36,.48); box-shadow: 0 0 0 4px rgba(243,122,36,.1); }
.submit { min-height: 56px; white-space: nowrap; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 22px; margin: 14px 0 0; color: var(--brand-dark); font-weight: 800; }
.form-status.error { color: #a73519; }
.legal { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.legal a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }

.footer-showcase { padding-top: 38px; }
.footer-showcase-grid {
  display: grid;
  grid-template-columns: minmax(280px, 370px) minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
}
.footer-contact-card,
.footer-services-card,
.footer-legal {
  border: 1px solid rgba(34,27,22,.08);
  box-shadow: 0 16px 42px rgba(77,47,22,.08);
}
.footer-contact-card {
  padding: 34px 36px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background:
    radial-gradient(circle at 92% 18%, rgba(243,122,36,.16), transparent 9rem),
    linear-gradient(145deg, var(--graphite), var(--graphite-deep));
  color: #fff;
}
.footer-brand-card {
  width: 100%;
  min-height: 70px;
  margin-bottom: 36px;
  padding: 12px 18px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--ink);
}
.footer-brand-card .brand-mark {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(243,122,36,.28);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}
.footer-brand-card .brand-mark path { stroke: var(--brand); }
.footer-brand-card .brand-name { font-size: 15px; }
.footer-brand-card .brand-name span:last-child { color: var(--ink); font-size: 15px; letter-spacing: 0; text-transform: none; }
.footer-dispatch {
  margin-bottom: 6px;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  font-weight: 850;
}
.footer-phone {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 34px);
  font-weight: 950;
  line-height: 1;
}
.footer-callback {
  min-height: 52px;
  margin-top: 8px;
  padding: 15px 26px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9141, var(--brand));
  color: #fff;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(243,122,36,.26);
}
.footer-services-card {
  padding: 36px 34px;
  border-radius: 28px;
  background: rgba(255,255,255,.82);
}
.footer-services-card h2 {
  margin-bottom: 4px;
  font-size: clamp(32px, 4vw, 44px);
}
.footer-services-card > p {
  max-width: 720px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 750;
}
.footer-service-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.footer-service-group {
  padding: 24px 26px;
  border: 1px solid rgba(243,122,36,.14);
  border-radius: 22px;
  background: #fff6ea;
}
.footer-service-group h3 {
  margin-bottom: 12px;
  color: var(--brand-dark);
  font-size: 16px;
  text-transform: uppercase;
}
.footer-service-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-service-group li {
  position: relative;
  margin-bottom: 7px;
  padding-left: 18px;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.2;
}
.footer-service-group li:last-child { margin-bottom: 0; }
.footer-service-group a {
  display: inline;
  transition: color .2s ease;
}
.footer-service-group a:hover {
  color: var(--brand-dark);
}
.footer-service-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--brand);
}
.footer {
  padding: 0 0 112px;
  background: transparent;
}
.footer-legal {
  padding: 18px 26px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.mobile-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 14px 0;
  border-radius: 0;
  background: linear-gradient(145deg, var(--graphite), var(--graphite-deep));
  color: #fff;
  font-size: clamp(20px, 6vw, 26px);
  font-weight: 950;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 -10px 28px rgba(34,27,22,.22);
}

:focus-visible { outline: 3px solid rgba(243,122,36,.55); outline-offset: 3px; }

@keyframes header-phone-pulse {
  0%, 100% {
    box-shadow: 0 14px 32px rgba(34, 27, 22, .22);
  }
  50% {
    box-shadow: 0 14px 32px rgba(34, 27, 22, .22), 0 0 0 7px rgba(243,122,36,.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-actions .phone { animation: none; }
}

@media (max-width: 1080px) {
  .menu-toggle { display: grid; }
  .header-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    z-index: 60;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(34, 27, 22, .08);
    border-radius: 22px;
    background: rgba(255, 249, 241, .96);
    box-shadow: 0 22px 48px rgba(34, 27, 22, .16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
  }
  .header.is-menu-open .header-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .header-nav a {
    min-height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: var(--ink);
    background: rgba(255,255,255,.64);
  }
  .hero-grid { grid-template-columns: 1fr; }
  .visual-wrap { min-height: 560px; max-width: 620px; width: 100%; margin: 0 auto; }
  .cards, .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .conversion-strip, .price-section, .guarantee, .faq { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .submit { width: 100%; }
  .footer-showcase-grid { grid-template-columns: 1fr; }
  .footer-service-groups { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header { min-height: 72px; }
  .brand { min-width: 0; }
  .brand-mark { width: 44px; height: 44px; border-radius: 14px; }
  .brand-name { font-size: 16px; }
  .brand-name span:last-child { font-size: 11px; }
  .header {
    justify-content: flex-start;
    gap: 10px;
  }
  .menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .worktime { display: none; }
  .header-actions { margin-left: auto; gap: 0; }
  .header-actions .phone {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    display: grid;
    place-items: center;
    gap: 0;
    font-size: 0;
    line-height: 0;
    animation: header-phone-pulse 2.4s ease-in-out infinite;
    align-content: center;
  }
  .header-actions .phone::before {
    content: "";
    width: 20px;
    height: 20px;
    display: block;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M6.62%2010.79c1.44%202.83%203.76%205.14%206.59%206.59l2.2-2.2c.27-.27.67-.36%201.02-.24%201.12.37%202.33.57%203.57.57.55%200%201%20.45%201%201V20c0%20.55-.45%201-1%201C10.61%2021%203%2013.39%203%204c0-.55.45-1%201-1h3.5c.55%200%201%20.45%201%201%200%201.24.2%202.45.57%203.57.11.35.03.74-.25%201.02l-2.2%202.2Z%27/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M6.62%2010.79c1.44%202.83%203.76%205.14%206.59%206.59l2.2-2.2c.27-.27.67-.36%201.02-.24%201.12.37%202.33.57%203.57.57.55%200%201%20.45%201%201V20c0%20.55-.45%201-1%201C10.61%2021%203%2013.39%203%204c0-.55.45-1%201-1h3.5c.55%200%201%20.45%201%201%200%201.24.2%202.45.57%203.57.11.35.03.74-.25%201.02l-2.2%202.2Z%27/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .hero { padding: 40px 0 24px; }
  .hero h1 { font-size: clamp(38px, 13vw, 58px); }
  .hero-lead { font-size: 17px; }
  .hero-actions .phone, .hero-actions .callback-link { width: 100%; font-size: 17px; padding: 17px 16px; }
  .trust-row, .cards, .process, .price-factors, .photo-grid { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .section.compact { padding: 38px 0; }
  .section-head { display: block; margin-bottom: 24px; }
  .section-text { margin-top: 14px; font-size: 16px; }
  .visual-wrap { min-height: 480px; }
  .hero-card { border-radius: 32px; }
  .photo-hint { left: 18px; top: 18px; right: auto; width: min(232px, calc(100% - 36px)); }
  .floating-price { right: 14px; bottom: 10px; width: 162px; }
  .floating-price strong { font-size: 22px; }
  .floating-guarantee { left: 14px; bottom: 26px; width: 178px; }
  .floating-guarantee strong { font-size: 16px; }
  .conversion-strip { padding: 24px; border-radius: 28px; }
  .intro-strip .call-panel { justify-items: stretch; }
  .intro-strip .phone.orange { width: 100%; }
  .price-main, .guarantee-card, .lead-form { border-radius: 28px; padding: 26px; min-height: auto; }
  .photo-slot.tall { min-height: 360px; }
  .footer-showcase { padding-top: 24px; }
  .footer-showcase-grid { gap: 18px; }
  .footer-contact-card, .footer-services-card { border-radius: 24px; padding: 24px; }
  .footer-brand-card { margin-bottom: 26px; }
  .footer-callback { width: 100%; }
  .footer-service-group { padding: 20px; }
  .footer-service-group li { font-size: 15px; }
  .footer-legal { padding: 16px 18px; border-radius: 16px; font-size: 12px; }
  .mobile-call { display: flex; }
}

@media (max-width: 420px) {
  .mobile-call {
    min-height: 58px;
    padding: 12px 0;
    font-size: 20px;
  }
}

@media (max-width: 340px) {
  .container { width: min(calc(100% - 20px), var(--container)); }
  .header { min-height: 66px; }
  .brand { gap: 10px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 14px; }
  .brand-name span:last-child { font-size: 10px; }
  .menu-toggle,
  .header-actions .phone {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    border-radius: 14px;
  }
  .header-actions .phone::before { width: 19px; height: 19px; }
  .hero-actions .phone,
  .hero-actions .callback-link {
    min-height: 50px;
    padding: 14px;
    font-size: 15px;
  }
  .section { padding: 48px 0; }
  .section.compact { padding: 30px 0; }
  .floating-guarantee {
    left: 8px;
    top: 14px;
    bottom: auto;
    width: 126px;
    padding: 12px;
    border-radius: 18px;
  }
  .floating-price {
    right: 8px;
    bottom: 10px;
    width: 128px;
    padding: 12px;
    border-radius: 18px;
  }
  .floating-price span,
  .floating-guarantee span {
    font-size: 10px;
  }
  .floating-price strong { font-size: 19px; }
  .floating-price small { font-size: 11px; }
  .floating-guarantee strong { font-size: 14px; }
  .conversion-strip,
  .footer-contact-card,
  .footer-services-card {
    padding: 20px;
    border-radius: 22px;
  }
  .intro-strip .phone.orange,
  .footer-callback {
    min-height: 48px;
    padding: 13px 16px;
    font-size: 15px;
  }
  .footer-brand-card {
    min-height: 58px;
    margin-bottom: 22px;
    padding: 10px;
  }
  .footer-brand-card .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
  .footer-brand-card .brand-name,
  .footer-brand-card .brand-name span:last-child {
    font-size: 13px;
  }
  .footer-dispatch { font-size: 15px; }
  .footer-phone { font-size: 25px; }
  .footer-services-card h2 { font-size: 28px; }
  .footer-services-card > p,
  .footer-service-group li {
    font-size: 14px;
  }
  .footer-service-group {
    padding: 18px;
    border-radius: 18px;
  }
  .footer-service-group h3 { font-size: 14px; }
  .footer-legal {
    padding: 14px;
    font-size: 11px;
  }
}
