/* =========================================
   1. VARIABLES & CONFIG
   ========================================= */
:root {
  /* Colors */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #10b981;
  --accent-light: #d1fae5;
  --text: #1f2937;
  --text-light: #6b7280;
  --text-muted: #9ca3af;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --bg-dark: #111827;
  --border: #e5e7eb;
  --error: #dc2626;
  --warning: #f59e0b;
  
  /* Shadows */
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.06);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Spacing & sizing */
  --radius: 16px;
  --radius-sm: 8px;
  --container-width: 1200px;
  --header-height: 80px;
  --touch-target: 44px;
  
  /* Transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* =========================================
   2. RESET & BASE STYLES
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, i {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

/* =========================================
   3. LAYOUT UTILITIES
   ========================================= */
.container {
  width: min(var(--container-width), 92%);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  color: var(--text);
}

.section__subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin-inline: auto;
}

.section__title--center {
  text-align: center;
}

.center {
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================
   4. BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
  min-height: var(--touch-target);
}

.btn i {
  font-size: 1.1em;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgb(37 99 235 / 0.35);
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgb(37 99 235 / 0.45);
}

.btn--outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn__loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn.loading .btn__text {
  display: none;
}

.btn.loading .btn__loader {
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================================
   5. HEADER & NAVIGATION
   ========================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.02);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
}

.logo__icon {
  color: var(--primary);
  font-size: 1.4rem;
}

.logo__highlight {
  color: var(--primary);
}

.logo__city {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
  background: var(--bg-alt);
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: 4px;
}

.logo--footer {
  font-size: 1.2rem;
  color: #fff;
}
.logo--footer .logo__city {
  display: none;
}
.logo--footer .logo__highlight {
  color: var(--primary);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
}

.nav__toggle {
  display: none;
  width: var(--touch-target);
  height: var(--touch-target);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1.3rem;
  background: transparent;
}

.nav__toggle:hover {
  background: var(--bg-alt);
}

.nav__menu {
  display: flex;
  gap: 0.5rem;
}

.nav__link {
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: var(--transition);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--primary);
  background: var(--primary-light);
}

/* Header Phone */
.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  padding: 10px 18px;
  background: var(--primary-light);
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}

.header__phone:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.header__phone-icon {
  font-size: 1.1rem;
}

/* =========================================
   6. HERO SECTION
   ========================================= */
.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdfa 60%, #fff 100%);
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero__container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero__content {
  max-width: 650px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.badge i {
  font-size: 1.1em;
}

.hero__title {
  font-size: clamp(1.8rem, 5.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero__title .highlight {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__desc {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 1.75rem;
  max-width: 520px;
}

.hero__stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat {
  background: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}

.stat strong {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 800;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.features i {
  color: var(--accent);
  font-size: 1.1em;
}

.note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero__image {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__badge-float {
  position: absolute;
  top: 20%;
  right: 10%;
  background: #fff;
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

.hero__badge-float i {
  font-size: 1.5rem;
  color: var(--accent);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =========================================
   7. TRUST BAR
   ========================================= */
.trust-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  justify-content: center;
}

.trust-item i {
  color: var(--accent);
  font-size: 1.2rem;
}

/* =========================================
   8. ADVANTAGES (4 ITEMS)
   ========================================= */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.card h3 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.card p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.5;
  flex-grow: 1;
}

/* =========================================
   9. SERVICES (12 ITEMS)
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns for 12 items = 3 rows */
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card__icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  color: var(--text);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.975rem;
  margin-bottom: 1rem;
  flex-grow: 1;
  line-height: 1.5;
}

.price {
  display: inline-block;
  font-weight: 800;
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-card__time {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-card__time i {
  margin-right: 4px;
}

.services-note {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 1rem;
  font-style: italic;
}

/* =========================================
   10. PROCESS STEPS
   ========================================= */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
  display: block;
}

.process__step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 14px rgb(37 99 235 / 0.3);
}

.process__step h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process__step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* =========================================
   11. REVIEWS
   ========================================= */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.review {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
}

.review__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.review__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.review__rating {
  color: #fbbf24;
  font-size: 0.9rem;
}

.review p {
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.review__date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================================
   12. FAQ
   ========================================= */
.faq__grid {
  display: grid;
  gap: 1rem;
  max-width: 800px;
  margin-inline: auto;
}

.faq__item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq__item summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  transition: var(--transition);
  min-height: var(--touch-target);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary:hover {
  background: var(--bg-alt);
}

.faq__item summary i {
  color: var(--primary);
  width: 20px;
}

.faq__item p {
  padding: 0 20px 16px 46px;
  color: var(--text-light);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
}

/* =========================================
   13. CTA & FORM
   ========================================= */
.cta {
  background: linear-gradient(135deg, var(--bg-alt), #fff);
}

.cta__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.cta__title {
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta__title i {
  color: var(--primary);
}

.cta__text {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.cta__benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cta__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.cta__benefits i {
  color: var(--accent);
}

.form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form__group label i {
  color: var(--primary);
  width: 18px;
}

.form__input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg);
  min-height: var(--touch-target);
}

.form__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.15);
}

.form__input::placeholder {
  color: var(--text-muted);
}

.form__error {
  display: block;
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 4px;
  min-height: 1.25em;
  font-weight: 500;
}

.g-recaptcha {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
}

.disclaimer {
  display: block;
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.4;
}

.disclaimer i {
  margin-right: 4px;
}

.link {
  color: var(--primary);
  text-decoration: underline;
}

.link:hover {
  color: var(--primary-dark);
}

/* =========================================
   14. BRANDS
   ========================================= */
.brands__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.brand {
  padding: 10px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  min-width: 100px;
  text-align: center;
}

.brand:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* =========================================
   15. SERVICE AREA
   ========================================= */
.area__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin-inline: auto;
}

.area__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-weight: 500;
  justify-content: center;
}

.area__item i {
  color: var(--primary);
}

/* =========================================
   16. FOOTER
   ========================================= */
.footer {
  background: var(--bg-dark);
  color: #d1d5db;
  padding: 4rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__col h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__col h4 i {
  color: var(--primary);
}

.footer p,
.footer address {
  font-size: 0.975rem;
  line-height: 1.7;
}

.footer address {
  font-style: normal;
}

.footer a {
  transition: var(--transition);
}

.footer a:hover {
  color: #fff;
}

.footer__list li {
  margin-bottom: 0.5rem;
}

.footer__list a {
  color: #d1d5db;
}

.footer__list a:hover {
  color: #fff;
  padding-left: 4px;
}

.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #374151;
  color: #fff;
  font-size: 1.25rem;
  transition: var(--transition);
}

.social-link.telegram:hover { background: #0088cc; }
.social-link.whatsapp:hover { background: #25d366; }
.social-link.viber:hover { background: #7360f2; }
.social-link.map:hover { background: #ea4335; }

.footer__bottom {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #9ca3af;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.legal-links a {
  color: #9ca3af;
}

.legal-links a:hover {
  color: #fff;
}

/* =========================================
   17. FLOATING WIDGET
   ========================================= */
.widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 14px;
}

.widget__toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgb(16 185 129 / 0.45);
  transition: var(--transition);
  animation: pulse 2.2s infinite;
  font-size: 1.4rem;
}

.widget__toggle:hover {
  transform: scale(1.08);
  animation: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(16 185 129 / 0.65); }
  70% { box-shadow: 0 0 0 16px rgb(16 185 129 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(16 185 129 / 0); }
}

.widget__menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.95);
  transition: var(--transition);
  transform-origin: bottom right;
}

.widget[aria-expanded="true"] .widget__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.widget__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.widget__btn:hover {
  transform: scale(1.12);
}

.widget__call { background: var(--primary); }
.widget__telegram { background: #0088cc; }
.widget__whatsapp { background: #25d366; }
.widget__form { background: #8b5cf6; }

/* =========================================
   18. NOTIFICATIONS
   ========================================= */
.notification {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 300;
  background: var(--accent);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
  animation: slideIn 0.35s ease;
  font-weight: 500;
  max-width: 350px;
}

.notification.show {
  display: block;
}

.notification.error {
  background: var(--error);
}

.notification i {
  margin-right: 8px;
}

@keyframes slideIn {
  from { transform: translateX(150%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* =========================================
   19. RESPONSIVE ADAPTATION
   ========================================= */

/* Tablet & Small Desktop (max 1024px) */
@media (max-width: 1024px) {
  .container { width: 94%; }
  .section { padding: 4rem 0; }
  
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); } /* 3 cols for 12 items = 4 rows */
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .process__steps::before { display: none; }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .area__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
  /* Header */
  .header { height: 70px; }
  .header__container { padding: 0 4%; }
  .logo { font-size: 1.15rem; gap: 4px; }
  .logo__icon { font-size: 1.2rem; }
  .logo__city { font-size: 0.8rem; padding: 2px 8px; display: none; } /* Hide city on mobile */
  
  .nav__toggle { display: flex; }
  
  .nav__menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
    box-shadow: var(--shadow-lg);
    z-index: 90;
  }
  
  .nav__menu.active {
    max-height: 500px;
    opacity: 1;
  }
  
  .nav__link {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
    min-height: var(--touch-target);
    display: flex;
    align-items: center;
  }
  
  .header__phone {
    padding: 10px 14px;
    font-size: 0.95rem;
  }
  .header__phone span { display: none; } /* Show only icon on mobile */
  .header__phone-icon { font-size: 1.2rem; }

  /* Hero */
  .hero { padding: 2.5rem 0 3.5rem; }
  .hero__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .hero__content { margin-inline: auto; }
  
  .badge { justify-content: center; margin-inline: auto; }
  .hero__title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero__desc { margin-inline: auto; }
  
  .hero__stats { justify-content: center; gap: 0.75rem; }
  .stat { min-width: 80px; padding: 10px 14px; font-size: 0.9rem; }
  .stat strong { font-size: 1.25rem; }
  
  .hero__actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .btn--lg { width: 100%; max-width: 320px; }
  
  .features {
    grid-template-columns: 1fr;
    text-align: left;
    justify-items: start;
    margin-inline: auto;
    max-width: 300px;
  }
  
  .hero__image { display: none; }

  /* Trust Bar */
  .trust-bar { padding: 0.75rem 0; }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .trust-item { font-size: 0.85rem; padding: 8px 12px; }
  .trust-item i { font-size: 1rem; }

  /* Advantages */
  .advantages__grid { grid-template-columns: 1fr; gap: 1rem; }
  .card { padding: 1.25rem; }
  .card__icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
  .card h3 { font-size: 1.05rem; }
  .card p { font-size: 0.9rem; }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 cols for 12 items = 6 rows */
    gap: 0.875rem;
  }
  .service-card { padding: 1.25rem; }
  .service-card__icon { font-size: 2rem; margin-bottom: 0.75rem; }
  .service-card h3 { font-size: 1rem; }
  .service-card p { font-size: 0.875rem; margin-bottom: 0.75rem; }
  .price { font-size: 1.1rem; }
  .service-card__time { font-size: 0.8rem; }

  /* Process */
  .process__steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .process__num { width: 44px; height: 44px; font-size: 1.1rem; }
  .process__step h4 { font-size: 1rem; }
  .process__step p { font-size: 0.9rem; }

  /* Reviews */
  .reviews__grid { grid-template-columns: 1fr; gap: 1rem; }
  .review { padding: 1.25rem; }
  .review__avatar { width: 40px; height: 40px; font-size: 1rem; }
  .review__rating { font-size: 0.85rem; }

  /* FAQ */
  .faq__item summary { padding: 14px 16px; font-size: 0.95rem; }
  .faq__item p { padding: 0 16px 14px 42px; font-size: 0.9rem; }

  /* CTA Form */
  .cta__wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .cta__title { font-size: 1.5rem; }
  .cta__text { font-size: 1rem; }
  
  .form { padding: 1.25rem; }
  .form__group label { font-size: 0.9rem; }
  .form__input {
    padding: 12px 14px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  .btn--full { min-height: var(--touch-target); }
  .disclaimer { font-size: 0.8rem; }

  /* Brands */
  .brands__grid { gap: 0.5rem; }
  .brand { min-width: 75px; padding: 8px 12px; font-size: 0.85rem; }

  /* Service Area */
  .area__grid { grid-template-columns: 1fr; }
  .area__item { padding: 10px 14px; font-size: 0.95rem; }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer__col h4 { justify-content: center; }
  .footer__list { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 0.5rem 1rem;
  }
  .footer address { 
    display: flex; 
    flex-direction: column; 
    gap: 0.5rem;
    align-items: center;
  }
  .socials { justify-content: center; }
  .social-link { width: 40px; height: 40px; font-size: 1.1rem; }
  
  .footer__bottom { font-size: 0.85rem; }
  .legal-links { gap: 1rem; }

  /* Widget */
  .widget { bottom: 16px; right: 16px; }
  .widget__toggle { width: 52px; height: 52px; font-size: 1.2rem; }
  .widget__menu { gap: 10px; }
  .widget__btn { width: 46px; height: 46px; font-size: 1.1rem; }

  /* Notifications */
  .notification {
    top: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
    font-size: 0.9rem;
    padding: 14px 18px;
  }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
  .container { width: 96%; padding: 0 8px; }
  .section { padding: 3rem 0; }
  
  .services-grid { grid-template-columns: 1fr; } /* 1 col for 12 items = 12 rows */
  
  .card, .service-card { padding: 1.125rem; }
  
  .hero__title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .hero__desc { font-size: 1rem; }
  
  .btn { padding: 13px 24px; font-size: 1rem; }
  .btn--lg { padding: 14px 28px; }
  
  .form__input { padding: 11px 14px; }
  
  .trust-bar__grid { grid-template-columns: 1fr; }
  .trust-item { justify-content: flex-start; }
  
  .brands__grid { 
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .brands__grid::-webkit-scrollbar { display: none; }
  .brand { min-width: 70px; flex-shrink: 0; }
}

/* =========================================
   20. TOUCH & ACCESSIBILITY ENHANCEMENTS
   ========================================= */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .nav__link, .service-card, .card, .btn, .social-link, .widget__btn, .faq__item summary {
    min-height: var(--touch-target);
    display: flex;
    align-items: center;
  }
  
  /* Disable hover effects on touch devices */
  .card:hover, .service-card:hover, .brand:hover, .btn--primary:hover, .btn--outline:hover {
    transform: none;
  }
}

/* Prevent iOS Zoom on Input Focus */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  input, textarea, select { font-size: 16px !important; }
}

/* Print Styles */
@media print {
  .header, .footer, .widget, .hero__actions a:last-child, .g-recaptcha { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  a { text-decoration: underline; color: #000; }
  .btn { border: 1px solid #000; background: none !important; color: #000 !important; }
  .section { padding: 1rem 0; }
}