/* ГеоЛид — dark organic minimalism */

:root {
  --bg: #0e1a14;
  --surface: #142010;
  --surface-2: #1a2a1c;
  --accent: #2d7a5f;
  --accent-light: #4caf84;
  --text: #e8f0ea;
  --muted: rgba(232, 240, 234, 0.55);
  --footer-bg: #0a130d;
  --radius-card: 16px;
  --radius-btn: 8px;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-light);
  text-decoration: none;
}

a:hover {
  color: var(--accent-light);
}

h1,
h2,
h3,
.logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-style: italic;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 48px;
  color: var(--text);
  text-align: center;
}

h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 0 0 12px;
}

p {
  margin: 0 0 1rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 100px) clamp(20px, 5vw, 80px);
}

.section-inner--narrow {
  max-width: 1100px;
}

.label-muted {
  color: var(--muted);
  font-size: 14px;
}

/* WAVES */
.wave-top,
.wave-bottom {
  display: block;
  width: 100%;
  height: clamp(48px, 8vw, 80px);
  color: inherit;
}

.wave-fill-bg {
  fill: var(--bg);
}

.wave-fill-surface {
  fill: var(--surface);
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(14, 26, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(45, 122, 95, 0.15);
}

.nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.logo svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 20px;
  font-style: italic;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.nav-menu a {
  font-size: 14px;
  color: rgba(232, 240, 234, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--accent-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-mobile-phone {
  display: none;
}

.phone-link {
  font-size: 14px;
  color: rgba(232, 240, 234, 0.75);
  white-space: nowrap;
}

.phone-link:hover {
  color: var(--accent-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-weight: 400;
  font-size: 15px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--accent-light);
}

.btn-ghost:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--accent-light);
  border-radius: 1px;
}

.menu-close {
  display: none;
}

body.menu-open .burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .burger span:nth-child(2) {
  opacity: 0;
}

body.menu-open .burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.menu-open .burger span {
  transition: transform 0.2s, opacity 0.2s;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 26, 20, 0.8);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 48px clamp(20px, 5vw, 40px) 120px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(76, 175, 132, 0.4);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.12;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-light);
}

.hero-sub {
  font-size: 19px;
  font-weight: 300;
  color: rgba(232, 240, 234, 0.75);
  max-width: 520px;
  margin: 0 auto 36px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(45, 122, 95, 0.2);
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 48px);
  color: var(--accent-light);
  line-height: 1.1;
}

.hero-stat span {
  font-size: 14px;
  color: var(--muted);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* TRUST */
#trust {
  background: var(--surface);
  position: relative;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-card {
  background: transparent;
  border-radius: 24px;
  border: 1px solid rgba(45, 122, 95, 0.15);
  padding: 28px 22px;
  text-align: center;
}

.trust-card strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1;
  color: var(--accent-light);
  margin-bottom: 12px;
}

.trust-card span {
  font-size: 15px;
  color: var(--muted);
}
.trust-card strong span{
  font-size: 50px;
}

/* PROBLEM */
#problem {
  background: var(--bg);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem-card {
  background: var(--surface);
  border-left: 2px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
}

.problem-visual {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  align-self: stretch;
}

.problem-visual img {
  width: 100%;
  flex: 1;
  min-height: 360px;
  object-fit: cover;
}

.problem-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 26, 20, 0.6);
  border-radius: var(--radius-card);
  pointer-events: none;
}

/* SERVICES */
#services {
  background: var(--surface);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg);
  border: 1px solid rgba(45, 122, 95, 0.2);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}

.service-card h3 {
  color: var(--text);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* TICKER */
.results-ticker {
  background: var(--accent);
  overflow: hidden;
  padding: 14px 0;
}

.ticker-viewport {
  overflow: hidden;
  width: 100%;
}

.ticker-move {
  display: flex;
  width: max-content;
  will-change: transform;
}

.ticker-inner {
  display: flex;
  flex-shrink: 0;
  gap: 48px;
  padding-right: 48px;
  white-space: nowrap;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}

/* CASES */
#cases {
  background: var(--bg);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--surface);
  border: 1px solid rgba(45, 122, 95, 0.2);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-badge {
  display: inline-block;
  font-size: 12px;
  color: var(--accent-light);
  margin-bottom: 12px;
}

.case-body p {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}

.case-quote {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(45, 122, 95, 0.2);
  font-style: italic;
  color: rgba(232, 240, 234, 0.85);
  font-size: 14px;
}

/* HOW — timeline */
#how {
  background: var(--surface);
  position: relative;
}

.timeline {
  max-width: 720px;
  margin: 0 auto;
  padding-left: 28px;
  border-left: 2px solid var(--accent);
}

.timeline-item {
  position: relative;
  padding-bottom: 36px;
  padding-left: 28px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 4px rgba(76, 175, 132, 0.2);
}

.timeline-num {
  font-size: 13px;
  color: var(--accent-light);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.timeline-item h3 {
  font-size: 18px;
  font-style: normal;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* NUMBERS */
#numbers {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.numbers-deco {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.num-big {
  text-align: center;
}

.num-big strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 64px);
  color: var(--accent-light);
  line-height: 1;
}

.num-big span {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}

.num-big strong span {
  font-size: 50px;
}

/* PRICING */
#pricing {
  background: var(--surface);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card .price-for {
  margin-bottom: 16px;
}

.price-card {
  background: var(--bg);
  border: 1px solid rgba(45, 122, 95, 0.2);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.is-featured {
  border-color: var(--accent);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 100px;
}

.price-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  margin-bottom: 8px;
}

.price-sum {
  font-size: 24px;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.price-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-light);
}

/* REVIEWS */
#reviews {
  background: var(--bg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--surface);
  border: 1px solid rgba(45, 122, 95, 0.2);
  border-radius: var(--radius-card);
  padding: 24px;
}

.review-card strong {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-style: normal;
  display: block;
  margin-bottom: 4px;
}

.review-role {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.review-card p {
  margin: 0;
  font-size: 15px;
  color: rgba(232, 240, 234, 0.88);
}

/* FAQ */
#faq {
  background: var(--surface);
  position: relative;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(45, 122, 95, 0.15);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 17px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 22px;
  color: var(--accent-light);
  transition: transform 0.25s;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding-bottom: 22px;
  color: var(--muted);
  font-size: 15px;
}

.faq-item.is-open .faq-a {
  display: block;
}

/* FORM */
#form-section {
  background: var(--bg);
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.form-intro h2 {
  text-align: left;
  margin-bottom: 16px;
}

.form-intro > p {
  color: rgba(232, 240, 234, 0.7);
  font-size: 18px;
  margin-bottom: 28px;
}

.form-promises li {
  list-style: none;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 15px;
}

.form-promises {
  margin: 0 0 32px;
  padding: 0;
}

.form-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: 32px;
}

.form-photo img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.lead-form-wrap {
  background: var(--surface);
  border: 1px solid rgba(45, 122, 95, 0.2);
  border-radius: var(--radius-card);
  padding: 40px;
}

.lead-form-wrap h3 {
  font-size: 22px;
  margin-bottom: 28px;
  text-align: center;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-fields label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-fields input,
.form-fields textarea {
  width: 100%;
  padding: 14px 0;
  margin-bottom: 20px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(45, 122, 95, 0.3);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  border-radius: 0;
}

.form-fields input:focus,
.form-fields textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-light);
}

.form-fields textarea {
  min-height: 100px;
  resize: vertical;
}

.form-privacy {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.form-thank {
  text-align: center;
  padding: 24px 0;
}

.form-thank h3 {
  color: var(--accent-light);
  margin-bottom: 12px;
}

/* CONTACTS */
#contacts {
  background: var(--surface);
}

.contacts-section-inner {
  max-width: 1180px;
}

.contacts-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.contacts-head h2 {
  margin-bottom: 16px;
}

.contacts-lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 32px 40px;
  align-items: start;
}

.contacts-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-cta-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px;
  border-radius: var(--radius-card);
  background: var(--bg);
  border: 1px solid rgba(45, 122, 95, 0.25);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.contacts-cta-card:hover {
  border-color: var(--accent-light);
  background: #121c16;
}

.contacts-cta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.contacts-cta-value {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  color: var(--accent-light);
}

.contacts-cta-hint {
  font-size: 14px;
  color: var(--muted);
}

.contacts-card {
  padding: 20px 22px;
  border-radius: var(--radius-card);
  background: var(--bg);
  border: 1px solid rgba(45, 122, 95, 0.2);
}

.contacts-card-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 10px;
}

.contacts-card a {
  font-size: 16px;
  color: var(--text);
}

.contacts-card a:hover {
  color: var(--accent-light);
}

.contacts-card-text {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.contacts-card-meta {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.contacts-card--row .social-pills {
  margin-top: 4px;
}

.social-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(76, 175, 132, 0.35);
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-pill:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  background: rgba(76, 175, 132, 0.08);
}

.contacts-audit-btn {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}

.contacts-map-panel {
  background: var(--bg);
  border: 1px solid rgba(45, 122, 95, 0.2);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.contacts-map-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  border-bottom: 1px solid rgba(45, 122, 95, 0.15);
}

.contacts-map-pin {
  display: flex;
}

.contacts-map-frame {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 0;
  border: none;
  aspect-ratio: unset;
  min-height: 360px;
}

.contacts-map-frame iframe {
  flex: 1;
  width: 100%;
  min-height: 360px;
  height: 100%;
  border: 0;
  display: block;
}

/* FOOTER */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(45, 122, 95, 0.15);
  padding: 48px clamp(20px, 5vw, 80px) 32px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
  display: inline-block;
}

.footer-meta {
  font-size: 13px;
  color: rgba(232, 240, 234, 0.55);
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(45, 122, 95, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(232, 240, 234, 0.4);
}

.footer-bottom a {
  color: rgba(232, 240, 234, 0.45);
}

.footer-bottom a:hover {
  color: var(--accent-light);
}

/* FAB */
.fab-call {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(45, 122, 95, 0.35);
  transition: transform 0.3s, opacity 0.3s, background 0.2s;
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}

.fab-call.is-visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.fab-call:hover {
  background: var(--accent-light);
}

.fab-call svg {
  width: 24px;
  height: 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Responsive --- */
@media (max-width: 1279px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cases-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

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

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

  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .contacts-map-panel {
    min-height: 320px;
  }

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

@media (max-width: 767px) {
  .nav-actions .phone-link {
    display: none;
  }

  .burger {
    display: flex;
    margin-right: -60px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(100%, 320px);
    height: 100vh;
    margin: 0;
    background: rgba(14, 26, 20, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 72px 28px 32px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
    z-index: 101;
  }

  body.menu-open .nav-menu {
    transform: translateX(0);
  }

  .menu-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
  }

  .nav-mobile-phone {
    display: block !important;
    margin-top: 8px;
    font-size: 16px;
    color: var(--accent-light);
  }

  .nav {
    flex-wrap: nowrap;
  }

  .hero h1 {
    font-size: 35px;
  }
  
  .hero-sub {
    font-size: 17px;
  }

  h2 {
    font-size: 22px;
  }

  .btn {
    padding: 8px 12px;
  }

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

  .problem-visual {
    order: -1;
  }

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

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

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

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

  .form-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
}

@media (min-width: 1920px) {
  .section-inner {
    max-width: 1320px;
  }

  body {
    font-size: 17px;
  }
}

/* Legal pages */
.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) clamp(20px, 4vw, 40px) 80px;
}

.legal-main h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 24px;
}

.legal-main h2 {
  text-align: left;
  font-size: 20px;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
  font-size: 15px;
}

.legal-main ul {
  padding-left: 1.2em;
}

.legal-back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--accent-light);
}

.legal-back:hover {
  color: var(--text);
}
