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

:root {
  --orange: #E8610A;
  --orange-light: #FF7B2A;
  --black: #0a0a0a;
  --dark: #111111;
  --card: #181818;
  --border: rgba(255,255,255,0.07);
  --text: #f0ede8;
  --muted: #8a8580;
  --font-heading: 'Russo One', sans-serif;
  --font-body: 'Exo 2', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── TOP BAR ── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  background: var(--orange);
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 5%;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.5px;
}
.topbar-left { display: flex; align-items: center; gap: 1.5rem; }
.topbar-item { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.92); }
.topbar-item svg { width: 13px; height: 13px; stroke: #fff; flex-shrink: 0; }
.topbar-right { display: flex; align-items: center; gap: 1.2rem; }
.topbar-phone { color: #fff; font-weight: 700; text-decoration: none; font-size: 0.8rem; letter-spacing: 0.5px; }
.topbar-phone:hover { opacity: 0.85; }
.topbar-status { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,0.9); }
.topbar-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.4} }
/* ── NAV ── */
nav {
  position: fixed; top: 30px; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 5%;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95), transparent);
  backdrop-filter: blur(2px);
  transition: background 0.3s;
}
nav.scrolled { background: rgba(10,10,10,0.97); border-bottom: 1px solid var(--border); }
.logo { font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: 2px; }
.logo span { color: var(--orange); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { background: var(--orange); color: #fff; border: none; padding: 10px 22px; font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: background 0.2s; clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); }
.nav-cta:hover { background: var(--orange-light); }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 200; padding: 4px; }
.burger span { width: 24px; height: 2px; background: var(--text); transition: transform 0.35s, opacity 0.35s; transform-origin: center; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU OVERLAY ── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(10,10,10,0.98);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  visibility: hidden; pointer-events: none;
  opacity: 0; transform: translateY(-20px);
  transition: opacity 0.35s, transform 0.35s, visibility 0.35s;
  backdrop-filter: blur(8px);
}
.mobile-menu.open {
  visibility: visible; pointer-events: all;
  opacity: 1; transform: none;
}
.mobile-menu ul { list-style: none; text-align: center; width: 100%; }
.mobile-menu ul li { border-bottom: 1px solid var(--border); }
.mobile-menu ul li:first-child { border-top: 1px solid var(--border); }
.mobile-menu ul a {
  display: block; padding: 22px 5%;
  font-family: var(--font-heading); font-size: 1.6rem; letter-spacing: 2px;
  color: var(--text); text-decoration: none; text-transform: uppercase;
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-menu ul a:active { color: var(--orange); }
.mobile-menu-cta {
  margin-top: 2rem;
  background: var(--orange); color: #fff; border: none;
  padding: 16px 40px; font-family: var(--font-body); font-size: 1rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: background 0.2s;
}
.mobile-menu-cta:active { background: var(--orange-light); }
.mobile-menu-contacts {
  margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.9rem;
}
.mobile-menu-contacts a { color: var(--text); text-decoration: none; font-size: 1.1rem; font-weight: 500; }
body.menu-open { overflow: hidden; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/photo-1530046339160-ce3e530c7d2f.jfif');
  background-size: cover; background-position: center 40%;
  filter: brightness(0.35) contrast(1.1);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.3) 60%, transparent 100%);
}
.hero-noise {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-accent-line {
  position: absolute; left: 0; top: 50%; width: 5px; height: 180px;
  background: var(--orange); transform: translateY(-50%);
  box-shadow: 0 0 40px rgba(232,97,10,0.6);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 5%; max-width: 820px;
  animation: heroIn 1s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes heroIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1.5rem;
}
.hero-tag::before { content: ''; width: 32px; height: 2px; background: var(--orange); }
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05; letter-spacing: -1px;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero p { font-size: 1.1rem; color: rgba(240,237,232,0.7); max-width: 500px; margin-bottom: 2.5rem; font-weight: 300; line-height: 1.8; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #fff; padding: 15px 30px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%); transition: background 0.2s, transform 0.2s; }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--text); padding: 14px 28px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border: 1px solid rgba(255,255,255,0.25); transition: border-color 0.2s, transform 0.2s; }
.btn-secondary:hover { border-color: rgba(255,255,255,0.6); transform: translateY(-2px); }
.hero-stats {
  position: absolute; bottom: 50px; right: 5%; z-index: 2;
  display: flex; gap: 2px;
  animation: heroIn 1.2s 0.3s cubic-bezier(0.22,1,0.36,1) both;
}
.h-stat { background: rgba(18,18,18,0.9); backdrop-filter: blur(8px); padding: 20px 28px; border-top: 2px solid var(--orange); text-align: center; }
.h-stat strong { display: block; font-family: var(--font-heading); font-size: 1.8rem; color: var(--orange); }
.h-stat span { font-size: 0.72rem; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }

/* ── SECTIONS ── */
section { padding: 90px 5%; }
.section-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--orange); display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.section-label::after { content: ''; flex: 1; max-width: 40px; height: 1px; background: var(--orange); }
.section-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 1rem; }
.section-sub { color: var(--muted); max-width: 520px; line-height: 1.8; }

/* ── SERVICES ── */
#услуги { background: var(--dark); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 4rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; }
.service-card {
  background: var(--card); padding: 2.5rem 2rem;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  cursor: default; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,97,10,0.05), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { border-color: var(--orange); transform: translateY(-4px); background: #1e1e1e; }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 52px; height: 52px; margin-bottom: 1.5rem; }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 0.75rem; letter-spacing: 0.5px; }
.service-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }
.service-num { position: absolute; top: 1.5rem; right: 1.5rem; font-family: var(--font-heading); font-size: 3rem; color: rgba(255,255,255,0.03); line-height: 1; }

/* ── WHY US ── */
#преимущества { position: relative; overflow: hidden; }
#преимущества::before {
  content: ''; position: absolute; right: -200px; top: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,97,10,0.08), transparent 70%);
  pointer-events: none;
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-photo { position: relative; border-radius: 2px; overflow: hidden; aspect-ratio: 4/5; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85) contrast(1.05); transition: transform 0.6s; }
.why-photo:hover img { transform: scale(1.03); }
.why-photo::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(232,97,10,0.25); pointer-events: none; }
.why-badge { position: absolute; bottom: -20px; right: -20px; background: var(--orange); padding: 24px 28px; text-align: center; }
.why-badge strong { display: block; font-family: var(--font-heading); font-size: 2.2rem; }
.why-badge span { font-size: 0.75rem; letter-spacing: 1px; opacity: 0.85; }
.features { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.feature { display: flex; gap: 1.2rem; align-items: flex-start; }
.feature-dot { min-width: 36px; height: 36px; background: rgba(232,97,10,0.12); border: 1px solid rgba(232,97,10,0.3); display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.feature-dot svg { width: 16px; height: 16px; stroke: var(--orange); }
.feature h4 { font-family: var(--font-heading); font-size: 0.95rem; margin-bottom: 0.3rem; }
.feature p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

/* ── GALLERY ── */
#галерея { background: var(--dark); }
.gallery-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 260px 260px;
  gap: 4px;
}
.gallery-item { overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8) contrast(1.1) saturate(0.9); transition: transform 0.5s, filter 0.5s; }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(0.9) contrast(1.05) saturate(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay { position: absolute; inset: 0; background: rgba(232,97,10,0.15); opacity: 0; transition: opacity 0.3s; display: flex; align-items: center; justify-content: center; }
.gallery-overlay svg { width: 28px; height: 28px; stroke: #fff; }
.gi-1 { grid-column: 1 / 6; grid-row: 1 / 2; }
.gi-2 { grid-column: 6 / 9; grid-row: 1 / 2; }
.gi-3 { grid-column: 9 / 13; grid-row: 1 / 3; }
.gi-4 { grid-column: 1 / 4; grid-row: 2 / 3; }
.gi-5 { grid-column: 4 / 9; grid-row: 2 / 3; }

/* ── REVIEWS ── */
#отзывы { overflow: hidden; }
.reviews-header { margin-bottom: 3rem; }
.reviews-track { display: flex; gap: 1.5rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-card { min-width: 340px; background: var(--card); padding: 2rem; flex-shrink: 0; scroll-snap-align: start; border-left: 3px solid transparent; transition: border-color 0.3s; }
.review-card:hover { border-color: var(--orange); }
.stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.star { color: var(--orange); font-size: 14px; }
.review-text { font-size: 0.9rem; color: rgba(240,237,232,0.75); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 0.75rem; }
.reviewer-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 0.85rem; color: #fff; flex-shrink: 0; }
.reviewer strong { display: block; font-size: 0.9rem; font-weight: 600; }
.reviewer span { font-size: 0.78rem; color: var(--muted); }
.reviews-nav { display: flex; gap: 8px; margin-top: 1.5rem; }
.rev-btn { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.15); background: transparent; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.rev-btn:hover { background: var(--orange); border-color: var(--orange); }

/* ── CTA BAND ── */
.cta-band {
  background: var(--orange);
  padding: 70px 5%;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.07); border-radius: 50%;
}
.cta-band::after {
  content: ''; position: absolute; right: 120px; bottom: -120px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,0.05); border-radius: 50%;
}
.cta-band h2 { font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; color: #fff; }
.cta-band p { color: rgba(255,255,255,0.8); margin-top: 0.5rem; font-size: 0.95rem; }
.btn-white { background: #fff; color: var(--orange); padding: 15px 32px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border: none; cursor: pointer; clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%); transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.cta-form { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; position: relative; z-index: 1; }
.cta-fields { display: flex; flex-direction: column; gap: 8px; }
.cta-input {
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35);
  color: #fff; padding: 14px 18px;
  font-family: var(--font-body); font-size: 0.95rem;
  width: 240px; outline: none;
}
.cta-input::placeholder { color: rgba(255,255,255,0.7); }

/* ── FOOTER ── */
footer { background: #080808; padding: 60px 5% 30px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { font-size: 1.3rem; margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: 0.85rem; color: var(--muted); line-height: 1.8; max-width: 260px; }
.footer-col h4 { font-family: var(--font-heading); font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { color: var(--muted); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--text); }
.contact-item { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.8rem; font-size: 0.88rem; color: var(--muted); }
.contact-item svg { width: 16px; height: 16px; stroke: var(--orange); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.78rem; color: var(--muted); }
.socials { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; transition: background 0.2s, border-color 0.2s; cursor: pointer; text-decoration: none; }
.social-btn:hover { background: var(--orange); border-color: var(--orange); }
.social-btn svg { width: 15px; height: 15px; stroke: var(--text); fill: none; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.25s; }
.reveal-delay-3 { transition-delay: 0.35s; }

/* ── DIVIDER ── */
.divider-line { height: 1px; background: var(--border); margin: 0 5%; }

/* ══════════════════════════════════════════
   RESPONSIVE — 320 / 360 / 576 / 768 / 992 / 1200 / 1400+
   База (без media) = экраны 1400px и шире
   ══════════════════════════════════════════ */

/* ── ≤1400px: большие ноутбуки ── */
@media (max-width: 1400px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-content { max-width: 720px; }
}

/* ── ≤1200px: ноутбуки / маленькие десктопы ── */
@media (max-width: 1200px) {
  .hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
  .hero-bg { background-position: center 30%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { gap: 3rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 2rem; }
  .h-stat { padding: 16px 22px; }
  .h-stat strong { font-size: 1.5rem; }
}

/* ── ≤992px: планшеты (альбомная) ── */
@media (max-width: 992px) {
  section { padding: 70px 5%; }
  .why-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .why-photo { max-width: 560px; aspect-ratio: 4/3; }
  .why-badge { bottom: 0; right: 0; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: 220px;
  }
  .gi-1, .gi-2, .gi-3, .gi-4, .gi-5 { grid-column: auto; grid-row: auto; }
  .gi-1 { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero-content { max-width: 620px; }
}

/* ── ≤768px: планшеты (портрет) / большие смартфоны ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none !important; }
  .burger { display: flex; }
  nav { padding: 16px 5%; }
  .topbar-right { display: none; }
  .topbar { justify-content: center; }
  .topbar-left { gap: 1rem; }
  section { padding: 60px 5%; }
  .services-header, .gallery-header { flex-direction: column; align-items: flex-start; }
  .hero { flex-direction: column; justify-content: center; padding: 140px 0 60px; min-height: 100svh; }
  .hero-content { width: 100%; }
  .hero-accent-line { height: 120px; }
  .hero-stats {
    position: static;
    margin: 3rem 5% 0;
    width: 90%;
    animation-delay: 0.15s;
  }
  .h-stat { flex: 1 1 0; padding: 14px 10px; }
  .h-stat strong { font-size: 1.35rem; }
  .h-stat span { font-size: 0.62rem; letter-spacing: 1px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 60px 5%; }
  .cta-form { width: 100%; }
  .cta-fields { width: 100%; max-width: 420px; }
  .cta-input { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── ≤576px: смартфоны ── */
@media (max-width: 576px) {
  section { padding: 50px 5%; }
  .topbar-item:nth-child(2) { display: none; }
  .hero { padding: 130px 0 50px; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .hero p { font-size: 1rem; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 2px; }
  .h-stat { flex: 1 1 calc(50% - 2px); }
  .h-stat:first-child { flex: 1 1 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 2rem 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .gi-1 { grid-column: auto; }
  .why-photo { aspect-ratio: 1/1; }
  .why-badge { padding: 18px 22px; }
  .why-badge strong { font-size: 1.7rem; }
  .review-card { min-width: 280px; padding: 1.5rem; }
  .cta-band { padding: 50px 5%; }
  .cta-form { flex-direction: column; align-items: stretch; }
  .cta-fields { max-width: none; }
  .btn-white { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .mobile-menu ul a { font-size: 1.35rem; padding: 18px 5%; }
}

/* ── ≤360px: узкие смартфоны ── */
@media (max-width: 360px) {
  body { font-size: 15px; }
  .topbar { padding: 6px 3%; font-size: 0.68rem; }
  .topbar-left { gap: 0.6rem; }
  .logo { font-size: 1.25rem; }
  section { padding: 44px 4%; }
  .hero h1 { font-size: 2.1rem; }
  .section-title { font-size: 1.8rem; }
  .h-stat strong { font-size: 1.2rem; }
  .review-card { min-width: 252px; padding: 1.25rem; }
  .service-card { padding: 1.75rem 1.25rem; }
  .mobile-menu ul a { font-size: 1.2rem; }
}

/* ── ≤320px: минимальная ширина ── */
@media (max-width: 320px) {
  .topbar { padding: 5px 2%; font-size: 0.62rem; }
  .hero h1 { font-size: 1.9rem; }
  .hero-tag { letter-spacing: 2px; font-size: 0.68rem; }
  .section-title { font-size: 1.6rem; }
  .review-card { min-width: 232px; }
  .h-stat { flex: 1 1 100%; }
  .btn-primary, .btn-secondary { padding: 13px 18px; font-size: 0.82rem; }
  .why-badge { padding: 14px 16px; }
  .why-badge strong { font-size: 1.4rem; }
}
