/* ===================================================================
   Alatau Construction & Engineering — Main Stylesheet
   Pure CSS, no preprocessors. Mobile-first responsive design.
   =================================================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary: #1a3c5e;
  --color-primary-light: #265a8a;
  --color-accent: #c8956c;
  --color-accent-hover: #b37f58;
  --color-bg: #faf9f7;
  --color-surface: #ffffff;
  --color-surface-alt: #f3f1ed;
  --color-text: #2d2d2d;
  --color-text-muted: #5f6368;
  --color-border: #e0ddd8;
  --color-success: #2e7d32;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.10);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
  --header-h: 72px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.2; color: var(--color-primary); }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.938rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--color-surface-alt);
  border-color: var(--color-surface-alt);
}

.btn-sm { padding: 8px 20px; font-size: 0.875rem; }

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

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

.nav a {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav a:hover,
.nav a.active {
  color: var(--color-primary);
}
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--color-primary);
}
.header-phone i { width: 16px; height: 16px; }

/* --- Mobile Menu Toggle --- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--color-primary);
}
.menu-toggle svg { width: 24px; height: 24px; }

/* --- Mobile Nav Overlay --- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.5);
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-nav.open { opacity: 1; }

.mobile-nav-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 300px;
  background: var(--color-surface);
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }

.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  padding: 8px;
  color: var(--color-text);
}
.mobile-nav-close svg { width: 24px; height: 24px; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
}
.mobile-nav-links a {
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.mobile-nav-links a:hover { background: var(--color-surface-alt); }
.mobile-nav-links a.active { color: var(--color-accent); }

.mobile-nav-phone {
  margin-top: auto;
  text-align: center;
}

/* --- Hero --- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 64px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.hero-title { margin-bottom: 20px; }

.hero-desc {
  font-size: 1.063rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* --- Section --- */
.section {
  padding: 80px 0;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 12px; }
.section-desc {
  color: var(--color-text-muted);
  font-size: 1.063rem;
  max-width: 560px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* --- Trust Bar --- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.trust-icon i { width: 20px; height: 20px; }

.trust-item strong {
  display: block;
  font-size: 0.938rem;
  margin-bottom: 4px;
  color: var(--color-primary);
}
.trust-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- Offer Card --- */
.offer-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.offer-body { padding: 40px; }
.offer-body p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}
.offer-list {
  padding-left: 0;
}
.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: var(--color-text-muted);
  font-size: 0.938rem;
  line-height: 1.6;
}
.offer-list li i {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-success);
  margin-top: 2px;
}

.offer-highlight {
  background: var(--color-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}
.offer-price {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}
.offer-price-unit {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.8;
}
.offer-highlight p {
  margin-top: 16px;
  font-size: 0.938rem;
  opacity: 0.85;
  line-height: 1.6;
}

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

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s;
}
.review-card:hover { box-shadow: var(--shadow-md); }

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}
.review-name {
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--color-primary);
}
.review-source {
  font-size: 0.813rem;
  color: var(--color-text-muted);
}
.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  color: #f0a500;
}
.review-stars i { width: 16px; height: 16px; }
.review-stars svg { fill: #f0a500; stroke: #f0a500; }
.review-text {
  font-size: 0.938rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- Portfolio --- */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 100px;
  color: var(--color-text-muted);
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

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

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.portfolio-card.hidden {
  display: none;
}
.portfolio-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.portfolio-info {
  padding: 20px;
}
.portfolio-info strong {
  display: block;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.portfolio-info p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* --- Before / After --- */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.ba-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.ba-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.ba-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 100px;
  color: #fff;
}
.ba-badge-before { background: rgba(0,0,0,.6); }
.ba-badge-after { background: var(--color-accent); }

/* --- Calculator --- */
.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.calc-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.calc-card h3 { margin-bottom: 24px; }

.input-group { margin-bottom: 24px; }
.input-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.range-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.range-row input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--color-border);
  border-radius: 3px;
  outline: none;
}
.range-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
}
.range-value {
  min-width: 52px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.type-options { display: flex; flex-direction: column; gap: 8px; }

.type-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--color-surface-alt);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all 0.15s;
  text-align: left;
}
.type-btn i { width: 18px; height: 18px; color: var(--color-text-muted); }
.type-btn:hover { border-color: var(--color-border); }
.type-btn.active {
  border-color: var(--color-accent);
  background: #fff;
}
.type-btn.active i { color: var(--color-accent); }

.calc-result {
  margin-top: 32px;
  padding: 24px;
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  text-align: center;
}
.calc-result-label {
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.calc-result-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.calc-result-note {
  font-size: 0.813rem;
  color: var(--color-text-muted);
}

.calc-benefits h3 { margin-bottom: 20px; }
.benefits-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 0.938rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.benefits-list li i {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  margin-top: 3px;
}

/* --- Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.step-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 16px;
}
.step-card h4 { margin-bottom: 8px; }
.step-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Partners Banner --- */
.banner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.banner-left {
  background: var(--color-primary);
  color: #fff;
  padding: 48px;
}
.banner-left h3 { color: #fff; font-size: 1.5rem; margin-bottom: 12px; }
.banner-left > p { opacity: 0.85; font-size: 0.938rem; margin-bottom: 32px; }

.banner-stats {
  display: flex;
  gap: 32px;
}
.banner-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
}
.banner-stat span {
  font-size: 0.875rem;
  opacity: 0.8;
}

.banner-right {
  background: var(--color-primary-light);
  padding: 48px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.banner-right h4 { color: #fff; margin-bottom: 12px; font-size: 1.2rem; }
.banner-right p { opacity: 0.85; font-size: 0.938rem; margin-bottom: 24px; }

/* --- CTA --- */
.cta-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cta-form-card {
  background: var(--color-surface);
  padding: 48px;
}
.cta-form-card h2 { margin-bottom: 8px; }
.cta-form-card > p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cta-form .full-width { grid-column: 1 / -1; }

.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.938rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  transition: border-color 0.15s;
  outline: none;
}
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  border-color: var(--color-accent);
}
.cta-form textarea { resize: vertical; min-height: 80px; }

.form-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.cta-contact {
  background: var(--color-primary);
  color: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-contact strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.938rem;
}
.cta-contact-item i { width: 18px; height: 18px; opacity: 0.8; }
.cta-contact a { color: #fff; }
.cta-contact a:hover { text-decoration: underline; }

/* --- About page: Cards grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.card-icon i { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.938rem; color: var(--color-text-muted); line-height: 1.7; }

/* --- About: Numbered advantages --- */
.advantage-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.advantage-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 12px;
}
.advantage-card h4 { margin-bottom: 4px; }
.advantage-card small {
  font-size: 0.813rem;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 12px;
}
.advantage-card p {
  font-size: 0.938rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
  margin-top: 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--color-primary); }

/* --- Modal --- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,.5);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px 0;
}
.modal-head h3 { font-size: 1.25rem; }

.modal-close {
  background: none;
  border: none;
  padding: 4px;
  color: var(--color-text-muted);
  transition: color 0.15s;
}
.modal-close:hover { color: var(--color-text); }
.modal-close svg { width: 20px; height: 20px; }

.modal-body { padding: 20px 28px 28px; }

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.938rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.15s;
}
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  border-color: var(--color-accent);
}
.modal-form textarea { resize: vertical; min-height: 80px; }

.modal-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* --- Toast notification --- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 400;
  background: var(--color-primary);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 0.938rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width: 1024px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .hero { gap: 32px; }
  .hero-image img { height: 400px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-grid { grid-template-columns: 1fr; }
  .banner { grid-template-columns: 1fr; }
  .banner-right { padding: 32px 48px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav, .header-actions { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { display: block; pointer-events: none; }
  .mobile-nav.open { pointer-events: auto; }

  .hero {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 40px;
    gap: 32px;
  }
  .hero-image { order: -1; }
  .hero-image img { height: 300px; }

  .trust-bar { grid-template-columns: 1fr; gap: 16px; }

  .section { padding: 56px 0; }
  .section-header { flex-direction: column; align-items: flex-start; }

  .offer-card { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }

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

  .banner-stats { flex-direction: column; gap: 16px; }

  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
}
