/* ========== DESIGN TOKENS ========== */
:root {
  --green-900: #1a3a1a;
  --green-800: #1e4d20;
  --green-700: #24612a;
  --green-600: #2d7a32;
  --green-500: #367C2B;
  --green-400: #4a9e3f;
  --green-300: #6bbe5a;
  --green-200: #a3d99a;
  --green-100: #d4edcf;
  --green-50: #eef7ec;

  --yellow-500: #FFDE00;
  --yellow-400: #FFE733;
  --yellow-300: #FFED66;
  --yellow-600: #E6C800;
  --yellow-700: #BFA600;

  --neutral-950: #0a0f0a;
  --neutral-900: #111a11;
  --neutral-800: #1c2b1c;
  --neutral-700: #2e3d2e;
  --neutral-600: #4a5c4a;
  --neutral-500: #6b7d6b;
  --neutral-400: #8fa18f;
  --neutral-300: #b3c2b3;
  --neutral-200: #d4ddd4;
  --neutral-100: #eaf0ea;
  --neutral-50: #f5f8f5;
  --white: #ffffff;

  --font: 'Inter', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 48px rgba(0,0,0,0.16);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --container: clamp(1240px, 94vw, 1800px);
  --transition: 250ms ease;
}
/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.15; text-wrap: balance; }
button { cursor: pointer; font-family: inherit; border: none; }
input, textarea { font-family: inherit; }

/* ========== UTILITY ========== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 56px 0; width: 100%; }
#perevagy { padding-top: 16px; }
.section--dark { background: var(--neutral-950); color: var(--neutral-100); }
.section--green { background: var(--green-500); color: var(--white); }
.section--light { background: var(--neutral-50); }

/* ========== HEADER (Shifton-style) ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}
.header.scrolled {
  box-shadow: 0 4px 6px -2px rgba(0,0,0,0.03), 0 12px 24px -4px rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.95);
}
.header__inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 8px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo__img {
  height: 40px;
  width: auto;
  display: block;
}
/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 32px;
}
.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--neutral-600);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
}
.nav__link:hover {
  color: var(--green-600);
  background: var(--green-50);
}
.nav__link--active {
  color: var(--green-600);
  background: rgba(54,124,43,0.08);
  font-weight: 600;
}
/* Nav dropdown (services sub-menu) */
.nav__item {
  position: relative;
}
.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -12px;
  width: 280px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  box-shadow: 0 4px 6px -2px rgba(0,0,0,0.03), 0 12px 24px -4px rgba(0,0,0,0.06), 0 24px 48px -8px rgba(0,0,0,0.08);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: all 0.25s cubic-bezier(0.22,0.68,0,1);
  z-index: 200;
}
.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-700);
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}
.nav__dropdown-link:hover {
  background: var(--green-50);
  color: var(--green-600);
}
.nav__dropdown-link:hover svg {
  color: #fff;
  background: var(--green-500);
}
.nav__dropdown-link svg {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 8px;
  color: var(--green-500);
  background: var(--green-50);
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}
/* Header right */
.header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.header__phones {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.header__phone {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-700);
  transition: color 0.2s;
  white-space: nowrap;
}
.header__phone:hover { color: var(--green-500); }

/* Social icons */
.header__socials {
  display: flex;
  gap: 4px;
}
.header__soc {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}
.header__soc:hover { transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,0,0,0.12); }
.header__soc--ig {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}
.header__soc--tt { background: #000; color: #fff; }
.header__soc--yt { background: #FF0000; color: #fff; }

/* Language switcher */
.header__lang {
  position: relative;
  display: flex;
  align-items: center;
}
.header__lang-active {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-600);
  cursor: pointer;
  padding: 6px 12px;
  border: 1.5px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
  user-select: none;
  min-height: 36px;
}
.header__lang-active:hover {
  border-color: rgba(0,0,0,0.12);
  color: var(--neutral-800);
  background: var(--neutral-50);
}
.header__lang.open .header__lang-active {
  border-color: var(--green-500);
  color: var(--green-600);
  background: var(--green-50);
}
.header__lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  box-shadow: 0 4px 6px -2px rgba(0,0,0,0.03), 0 12px 24px -4px rgba(0,0,0,0.06);
  min-width: 100px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: all 0.25s cubic-bezier(0.22,0.68,0,1);
  z-index: 50;
}
.header__lang.open .header__lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.header__lang-item {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-600);
  border-radius: 8px;
  transition: all 0.2s;
}
.header__lang-item:hover {
  background: var(--green-50);
  color: var(--green-600);
}
/* CTA button — animated border like original */
.header__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--green-500);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 100px;
  transition: transform 0.2s;
  white-space: nowrap;
  z-index: 0;
}
.header__cta::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 100px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    var(--yellow-500),
    var(--green-300),
    var(--yellow-500),
    var(--green-400),
    var(--yellow-500)
  );
  animation: border-spin 2s linear infinite;
  z-index: -2;
}
.header__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: var(--green-500);
  z-index: -1;
}
.header__cta:hover {
  transform: scale(1.05);
}
/* Menu Button (mobile) */
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-600);
  cursor: pointer;
  white-space: nowrap;
  min-height: 36px;
  line-height: 1;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
  user-select: none;
}
.menu-btn:hover {
  border-color: rgba(0,0,0,0.12);
  color: var(--neutral-800);
}
.menu-btn.active {
  border-color: rgba(0,0,0,0.12);
  color: var(--neutral-800);
}
/* Mobile submenu toggle */
.nav__sub-toggle {
  display: none;
}
/* ========== HEADER BREADCRUMB ========== */
.header-breadcrumb {
  display: none;
}
.header-breadcrumb__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  padding: 16px 0 0;
}
.header-breadcrumb__nav a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.header-breadcrumb__nav a:hover {
  color: #fff;
}
.header-breadcrumb__nav span {
  color: #fff;
  font-weight: 600;
}
.header-breadcrumb__nav svg {
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
/* ========== HERO ========== */
.hero {
  padding-top: 68px;
  padding-bottom: 40px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__content {
  position: relative;
  z-index: 2;
}
.hero__buttons {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: nowrap;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  color: var(--green-700);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  animation: badge-pulse 2.5s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(54,124,43,0.2); }
  50% { transform: scale(1.2); box-shadow: 0 0 40px 10px rgba(54,124,43,0.25); }
}
.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--neutral-950);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--green-500);
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 6px;
  background: var(--yellow-500);
  opacity: 0.4;
  border-radius: 4px;
  z-index: -1;
}
.hero__sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--neutral-600);
  margin-bottom: 36px;
  max-width: 520px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  white-space: nowrap;
  position: relative;
  z-index: 0;
  transition: all var(--transition);
}
.btn::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 100px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    var(--yellow-500),
    var(--green-300),
    var(--yellow-500),
    var(--green-400),
    var(--yellow-500)
  );
  opacity: 0;
  animation: border-spin 2s linear infinite;
  pointer-events: none;
  z-index: -2;
  transition: opacity 0.3s ease;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  z-index: -1;
}
.btn--primary::after { background: var(--green-500); }
.btn--secondary::after { background: var(--white); }
.btn:hover::before {
  opacity: 1;
}
.btn--primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(54,124,43,0.3);
}
.btn--primary:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(54,124,43,0.35);
}
.btn--secondary {
  background: var(--white);
  color: var(--neutral-800);
  border: 1.5px solid var(--neutral-200);
}
.btn--secondary:hover {
  border-color: var(--green-500);
  color: var(--green-600);
  transform: translateY(-2px);
}
.btn--yellow {
  background: var(--yellow-500);
  color: var(--neutral-950);
  box-shadow: 0 4px 16px rgba(255,222,0,0.3);
}
.btn--yellow:hover {
  background: var(--yellow-400);
  transform: translateY(-2px);
}
/* Hero stats */
.hero__stats {
  display: flex;
  gap: 32px;
}
.hero__stat {
  display: flex;
  flex-direction: column;
}
.hero__stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--green-500);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero__stat-label {
  font-size: 13px;
  color: var(--neutral-500);
  margin-top: 4px;
}
/* Hero visual */
.hero__visual {
  position: relative;
  animation: visual-float 6s ease-in-out infinite;
  margin-top: 60px;
}
@keyframes visual-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.hero__image {
  border-radius: var(--radius-xl);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero__image-content {
  text-align: center;
  color: var(--green-200);
  z-index: 1;
}
.hero__image-content svg { margin: 0 auto 16px; opacity: 0.6; }
.hero__image-content p { font-size: 14px; opacity: 0.6; }
/* Mobile-only CTA button */
.hero__mobile-cta {
  display: none;
}

.hero__brand {
  text-align: center;
  margin-top: 110px;
  font-size: clamp(28px, 9vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.hero__brand-green { color: var(--green-500); }
.hero__brand-yellow { color: var(--yellow-500); }
.hero__brand-white { color: var(--neutral-900); }

/* Floating card */
.hero__float {
  position: absolute;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float-y 4s ease-in-out infinite;
}
.hero__float--top {
  top: -16px;
  left: -24px;
}
.hero__float--bottom {
  bottom: auto;
  top: 50%;
  right: -32px;
  animation-delay: -2s;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero__float-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.hero__float-icon--green { background: var(--green-50); color: var(--green-500); }
.hero__float-icon--yellow { background: rgba(255,222,0,0.15); }
.hero__float-text { font-size: 12px; font-weight: 700; color: var(--neutral-950); line-height: 1.2; }
.hero__float-sub { font-size: 11px; color: var(--neutral-700); font-weight: 500; }

/* ========== BRANDS BAR ========== */
.brands {
  padding: 24px 0;
  border-top: 1px solid var(--neutral-100);
  border-bottom: 1px solid var(--neutral-100);
  background: var(--neutral-50);
}
.brands__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neutral-400);
  text-align: center;
  margin-bottom: 24px;
}
.brands__marquee {
  overflow: hidden;
  position: relative;
}
.brands__marquee::before,
.brands__marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.brands__marquee::before { left: 0; background: linear-gradient(90deg, var(--neutral-50), transparent); }
.brands__marquee::after { right: 0; background: linear-gradient(-90deg, var(--neutral-50), transparent); }
.brands__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marquee-scroll 20s linear infinite;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brands__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition), transform var(--transition);
}
.brands__item:hover { transform: scale(1.08); }
.brands__item img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brands__item--text {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
/* ========== ADVANTAGES ========== */
.advantages__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-500);
  margin-bottom: 16px;
}
.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--green-300);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--neutral-950);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-title em {
  font-style: normal;
  color: var(--green-500);
}
.section-desc {
  font-size: 17px;
  color: var(--neutral-500);
  line-height: 1.7;
}
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.advantage-card {
  background: var(--white);
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--green-500), var(--yellow-500));
  border-radius: 0 0 4px 0;
  transition: height 0.4s var(--transition);
}
.advantage-card:hover {
  border-color: var(--green-200);
  box-shadow: 0 12px 32px rgba(54,124,43,0.08);
  transform: translateY(-6px);
}
.advantage-card:hover::before { height: 100%; }
.advantage-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--green-500);
  transition: all var(--transition);
}
.advantage-card:hover .advantage-card__icon {
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  color: var(--white);
}
.advantage-card__num {
  font-size: 40px;
  font-weight: 800;
  color: var(--green-100);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.advantage-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: 8px;
}
.advantage-card__text {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.7;
}
/* ========== SERVICES ========== */
.services__box {
  background: var(--neutral-950);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
}
.services__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.services__header .section-label { color: var(--green-400); }
.services__header .section-title { color: var(--yellow-500); }
.services__header .section-desc { color: var(--neutral-400); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  background: linear-gradient(160deg, rgba(54,124,43,0.5) 0%, rgba(255,255,255,0.2) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
  display: flex;
  flex-direction: column;
  z-index: 0;
}
/* Animated border */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 40%,
    var(--green-400) 50%,
    var(--yellow-500) 55%,
    transparent 60%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: border-spin 4s linear infinite;
  z-index: -1;
}
@keyframes border-spin {
  to { --border-angle: 360deg; }
}
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.services__grid:hover .service-card {
  opacity: 0.4;
  transform: scale(0.92);
  filter: brightness(0.6);
}
.services__grid:hover .service-card:hover {
  opacity: 1;
  transform: scale(1.12);
  filter: brightness(1);
  box-shadow: 0 0 60px rgba(54,124,43,0.3), 0 20px 40px rgba(0,0,0,0.3);
  background: linear-gradient(160deg, rgba(54,124,43,0.6) 0%, rgba(255,255,255,0.25) 100%);
  z-index: 2;
}
/* Shimmer effect on hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.08) 45%,
    rgba(255,222,0,0.06) 50%,
    rgba(54,124,43,0.1) 55%,
    transparent 70%
  );
  background-size: 250% 100%;
  background-position: 200% 0;
  border-radius: var(--radius-lg);
  transition: none;
  pointer-events: none;
  z-index: 1;
}
.service-card:hover::after {
  animation: shimmer 1.5s ease infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}
.service-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(54,124,43,0.12);
  border: 1px solid rgba(54,124,43,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.service-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.service-card__text {
  font-size: 14px;
  color: var(--neutral-400);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}
.service-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-400);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.service-card:hover .service-card__link { gap: 10px; color: var(--yellow-500); }

/* ========== STATS ========== */
.stats {
  padding: 32px 0;
}
.stats__box {
  background:
    linear-gradient(135deg, var(--green-800) 0%, var(--green-500) 50%, var(--green-700) 100%);
  padding: 64px 48px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.stats__box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 120px,
      rgba(255,255,255,0.03) 120px,
      rgba(255,255,255,0.03) 121px
    );
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.stat-item { text-align: center; }
.stat-item__value {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--yellow-500);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item__label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
/* ========== HOW IT WORKS ========== */
.steps__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
/* Animated connecting line */
.steps__grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: var(--neutral-200);
  z-index: 0;
  border-radius: 2px;
}
.steps__grid::after {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--yellow-500));
  z-index: 0;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.steps__grid.animated::after {
  transform: scaleX(1);
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 20px;
  transition: transform 0.3s ease;
}
.step-card:hover { transform: translateY(-6px); }
.step-card__number {
  width: 64px;
  height: 64px;
  background: var(--green-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 24px;
  border: 4px solid var(--white);
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(54,124,43,0.2);
}
.step-card__number::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--green-500);
  opacity: 0;
  z-index: -1;
}
.step-card__number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--green-500);
  opacity: 0;
  z-index: -1;
}
.step-card.active .step-card__number {
  background: var(--green-500);
  color: var(--yellow-500);
  box-shadow: 0 6px 24px rgba(54,124,43,0.4);
  transform: scale(1.6);
}
.step-card.active .step-card__number::before {
  animation: ripple 2s ease-out infinite;
}
.step-card.active .step-card__number::after {
  animation: ripple 2s ease-out 0.6s infinite;
}
@keyframes ripple {
  0% { inset: -4px; opacity: 0.4; }
  100% { inset: -28px; opacity: 0; }
}
.step-card__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: 8px;
  transition: color 0.3s;
}
.step-card.active .step-card__title { color: var(--green-600); }
.step-card__text {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.65;
}
.step-card__icon {
  font-size: 20px;
  margin-top: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}
.step-card.active .step-card__icon { opacity: 1; }

/* ========== CTA ========== */
.cta {
  padding: 96px 0;
  background: var(--neutral-50);
}
.cta__box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--neutral-950);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.cta__left {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta__label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-400);
  margin-bottom: 16px;
}
.cta__title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cta__title em {
  font-style: normal;
  color: var(--yellow-500);
}
.cta__desc {
  font-size: 16px;
  color: var(--neutral-400);
  line-height: 1.7;
  margin-bottom: 32px;
}
.cta__phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.cta__phone {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}
.cta__phone:hover { color: var(--yellow-500); }
.cta__messengers {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.cta__social {
  display: flex;
  gap: 10px;
}
.cta__social-link {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cta__social-link svg { width: 24px; height: 24px; }
.cta__social-link:hover {
  transform: scale(1.2) rotate(-8deg);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.cta__social-link--ig {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}
.cta__social-link--tt {
  background: #000000;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.cta__social-link--yt {
  background: #FF0000;
  color: #fff;
}
/* Contact form */
.cta__right {
  padding: 64px 48px;
  background: rgba(255,255,255,0.04);
}
.cta__form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-400);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(245,248,245,0.95);
  border: 1px solid rgba(200,210,200,0.3);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-500);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--neutral-600); }
.cta__right .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ========== FAQ ========== */
.faq-section { padding: 48px 0; }
.faq-container { max-width: 800px; }
.faq-header { text-align: center; margin-bottom: 40px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--neutral-200);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--green-300); }
.faq-item.open { border-color: var(--green-500); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}
.faq-item.open .faq-q { color: var(--green-600); }
.faq-q svg {
  flex-shrink: 0;
  color: var(--green-500);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-a p {
  font-size: 15px;
  color: var(--neutral-600);
  line-height: 1.7;
}
/* ========== AI BLOCK ========== */
.ai-block {
  padding: 24px 0 32px;
  text-align: center;
}
.ai-block__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--neutral-400);
  margin-bottom: 20px;
}
.ai-block__icons {
  display: flex;
  justify-content: center;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.ai-block__icon {
  height: 36px;
  width: auto;
  opacity: 0.7;
  transition: all 0.3s;
  cursor: pointer;
}
.ai-block__icon:hover {
  opacity: 1;
  transform: scale(1.15);
}
/* ========== FOOTER ========== */
.footer { margin-top: auto;
  background: var(--neutral-950);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 8px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copy {
  font-size: 13px;
  color: var(--neutral-500);
}
.footer__links {
  display: flex;
  gap: 24px;
}
.footer__link {
  font-size: 13px;
  color: var(--neutral-500);
  transition: color var(--transition);
}
.footer__link:hover { color: var(--green-400); }

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--neutral-100);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-500);
  font-size: 20px;
  cursor: pointer;
  transition: all var(--transition);
}
.modal__close:hover { background: var(--neutral-200); color: var(--white); }
.modal__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--green-500);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.modal__badge {
  background: var(--green-50);
  border: 1px solid var(--green-200);
  color: var(--green-700);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  text-align: center;
  display: block;
  margin-bottom: 20px;
}
.modal__phones {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
}
.modal__phone {
  font-size: 17px;
  font-weight: 700;
  color: var(--green-600);
  transition: color var(--transition);
}
.modal__phone:hover { color: var(--green-400); }
.modal__form { display: flex; flex-direction: column; gap: 16px; }
.modal__field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.modal__field input,
.modal__field textarea {
  width: 100%;
  background: var(--neutral-50);
  border: 1.5px solid var(--neutral-200);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--neutral-900);
  outline: none;
  transition: border-color var(--transition);
}
.modal__field input:focus,
.modal__field textarea:focus {
  border-color: var(--green-500);
}
.modal__field input::placeholder,
.modal__field textarea::placeholder { color: var(--neutral-400); }
.modal__field textarea { resize: vertical; min-height: 100px; }
.modal__submit {
  background: var(--yellow-500);
  color: var(--neutral-950);
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}
.modal__submit:hover { background: var(--yellow-600); transform: translateY(-2px); }

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__float { animation: none; }
  @keyframes pulse-dot { 0%, 100% { opacity: 1; } }
}
/* ========== PAGE HERO ========== */
.page-hero { margin-top: 72px; position: relative; overflow: hidden; }
.page-hero__bg { width: 100%; height: 420px; background-position: center; background-size: cover; background-repeat: no-repeat; position: relative; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.6)); }
.page-hero__content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 48px; }
.page-hero--green { margin-top: 64px; background: linear-gradient(135deg, var(--green-800), var(--green-500)); padding: 10px 0 clamp(30px, 5vw, 60px); text-align: center; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color 0.25s; }
.breadcrumb a:hover { color: #fff; }

/* ========== BEFORE/AFTER SLIDER ========== */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba-card { background: var(--white); border: 1px solid var(--neutral-100); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); transition: all var(--transition); }
.ba-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.ba-compare { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; cursor: ew-resize; user-select: none; -webkit-user-select: none; touch-action: none; }
.ba-compare img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-compare .ba-after { clip-path: inset(0 0 0 50%); z-index: 2; }
.ba-compare .ba-before { filter: brightness(0.85); }
.ba-handle { position: absolute; top: 0; left: 50%; width: 3px; height: 100%; background: var(--yellow-500); z-index: 5; pointer-events: none; transform: translateX(-50%); }
.ba-handle::after { content: '\21D4'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; background: var(--white); border: 3px solid var(--yellow-500); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--neutral-700); box-shadow: 0 2px 8px rgba(0,0,0,0.15); pointer-events: auto; cursor: ew-resize; }
.ba-label { position: absolute; top: 12px; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 100px; z-index: 10; pointer-events: none; }
.ba-label-before { left: 12px; background: rgba(0,0,0,0.6); color: #fff; }
.ba-label-after { right: 12px; background: var(--green-500); color: #fff; }
.ba-card-info { padding: 16px 20px; }
.ba-card-title { font-size: 15px; font-weight: 700; color: var(--neutral-900); }
.ba-card-desc { font-size: 13px; color: var(--neutral-500); margin-top: 4px; }

/* ========== MAP ========== */
#chartdiv a[href*="amcharts"],
#chartdiv > div > a,
#chartdiv [title*="amCharts"],
#chartdiv canvas + div { display: none !important; pointer-events: none !important; opacity: 0 !important; height: 0 !important; overflow: hidden !important; }
#chartdiv { width: 100%; height: 560px; border-radius: var(--radius-xl); overflow: hidden; }
.map-wrap { background: var(--neutral-50); padding: 0; border: none; }
.map-legend { display: flex; justify-content: center; gap: 32px; margin-top: 16px; }
.map-legend-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--neutral-600); }
.map-legend-dot { width: 16px; height: 16px; border-radius: 4px; }
.map-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.map-stat { background: var(--white); border: 1px solid var(--neutral-100); border-radius: 16px; padding: 24px; text-align: center; transition: all var(--transition); }
.map-stat:hover { border-color: var(--green-300); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.map-stat__val { font-size: 32px; font-weight: 800; color: var(--green-500); }
.map-stat__lbl { font-size: 13px; color: var(--neutral-500); margin-top: 4px; }
.region-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(6px); z-index: 1001; display: none; align-items: center; justify-content: center; padding: 24px; }
.region-modal-overlay.active { display: flex; }
.region-modal { background: var(--white); border-radius: var(--radius-xl); padding: 40px; max-width: 640px; width: 100%; max-height: 80vh; overflow-y: auto; position: relative; animation: modal-in 0.3s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes modal-in { from { transform: scale(0.9) translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.region-modal__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; background: var(--neutral-100); border: none; border-radius: 50%; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.region-modal__close:hover { background: var(--neutral-200); }
.region-modal h3 { font-size: 22px; font-weight: 800; color: var(--green-500); margin-bottom: 24px; }
.work-card { background: var(--neutral-50); border: 1px solid var(--neutral-100); border-radius: 12px; padding: 16px; margin-bottom: 12px; transition: border-color var(--transition); }
.work-card:hover { border-color: var(--green-300); }
.work-card h4 { font-size: 15px; font-weight: 700; color: var(--neutral-900); margin-bottom: 6px; }
.work-card p { font-size: 13px; color: var(--neutral-500); line-height: 1.6; }
.work-card__count { font-size: 11px; font-weight: 600; color: var(--green-500); background: var(--green-50); padding: 2px 8px; border-radius: 100px; }

/* ========== REGION MEGA MENU ========== */
.region-mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  margin-left: -370px;
  width: 740px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  box-shadow: 0 4px 6px -2px rgba(0,0,0,0.03), 0 12px 24px -4px rgba(0,0,0,0.06), 0 24px 48px -8px rgba(0,0,0,0.08);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.22,0.68,0,1);
  z-index: 200;
  display: flex;
  gap: 0;
}
.nav__item:hover .region-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.region-mega__col {
  flex: 1;
  min-width: 0;
}
.region-mega__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-700);
  border-radius: 10px;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}
.region-mega__link::before {
  content: '';
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  background-color: var(--green-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23367C2B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}
.region-mega__count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--green-600);
  background: var(--green-50);
  padding: 2px 8px;
  border-radius: 100px;
  min-width: 24px;
  text-align: center;
}
.region-mega__link:hover .region-mega__count {
  background: var(--green-500);
  color: #fff;
}
.region-mega__link:hover {
  background: var(--green-50);
  color: var(--green-600);
}
.region-mega__link:hover::before {
  background-color: var(--green-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
/* ========== REGION PAGE WORKS ========== */
.work-page-card {
  background: var(--white);
  border: 1px solid var(--neutral-100);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s;
}
.work-page-card:hover {
  border-color: var(--green-200);
  box-shadow: 0 12px 32px rgba(54,124,43,0.08);
}
.work-page-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.work-page-card__num {
  width: 44px;
  height: 44px;
  background: var(--green-500);
  color: var(--yellow-500);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}
.work-page-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0;
  line-height: 1.3;
}
.work-page-card__desc {
  font-size: 15px;
  color: var(--neutral-600);
  line-height: 1.7;
  margin: 0 0 20px;
}
.work-page-card__photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.work-page-card__photo {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.work-page-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
  cursor: pointer;
}
.work-page-card__photo img:hover {
  transform: scale(1.05);
}
@media (max-width: 640px) {
  .work-page-card { padding: 20px; border-radius: 16px; }
  .work-page-card__photos { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .work-page-card__title { font-size: 16px; }
}
/* ========== SERVICES ARCHIVE (Shifton-style cards) ========== */
.svc-archive-hero {
  margin-top: 64px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #eef7ec 0%, #d4edcf 50%, #c0e4b0 100%);
  padding: 10px 20px clamp(30px, 5vw, 60px);
  text-align: center;
}
.svc-archive-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(54,124,43,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(106,190,90,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.svc-archive-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(54,124,43,0.12);
  border: 1px solid rgba(54,124,43,0.2);
  color: var(--green-600);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.svc-archive-hero__title {
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 800;
  color: var(--neutral-950);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.svc-archive-hero__title span {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.svc-archive-hero__desc {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--neutral-600);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.svc-archive-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 2;
}
.svc-archive-hero__wave svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* Grid — 4 columns like Shifton */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
/* Card — clean, image-first like Shifton */
.svc-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
}
.svc-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.06);
}
.svc-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}
/* Card top — hidden, not needed in this design */
.svc-card__top { display: none; }
.svc-card__tag { display: none; }
.svc-card__icon { display: none; }
.svc-card__desc { display: none; }

/* Card image — large, top of card */
.svc-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.svc-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.svc-card:hover .svc-card__img img {
  transform: scale(1.06);
}
/* Shimmer glare effect */
.svc-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  z-index: 3;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.4) 40%,
    rgba(255,255,255,0.7) 50%,
    rgba(255,255,255,0.4) 60%,
    transparent 100%
  );
  pointer-events: none;
  transform: skewX(0deg);
}
.svc-card:hover::after {
  animation: svc-shimmer 0.6s ease forwards;
}
@keyframes svc-shimmer {
  0% { left: -100%; }
  100% { left: 130%; }
}
/* Card title — centered below image */
.svc-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
  text-align: center;
  padding: 20px 20px 0;
  margin: 0;
  line-height: 1.35;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Card footer — button-style like Shifton "More details" */
.svc-card__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-500);
  margin: 16px 20px 20px;
  padding: 12px 24px;
  border: 1.5px solid var(--neutral-200);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
.svc-card:hover .svc-card__footer {
  background: var(--green-500);
  color: #fff;
  border-color: var(--green-500);
  gap: 10px;
}
.svc-card__footer svg {
  transition: transform 0.3s;
}
.svc-card:hover .svc-card__footer svg {
  transform: translateX(3px);
}
/* ========== INNER PAGE LAYOUTS ========== */
/* Two-column content grid (services damage section, about text) */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.content-grid--center { align-items: center; }

/* Contacts grid */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contacts-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
/* Process/Steps 4-col grid (service pages, about page) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-card { display: flex; flex-direction: column; align-items: center;
  background: var(--white);
  border: 1px solid var(--neutral-100);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}
.process-card__num {
  width: 56px;
  height: 56px;
  background: var(--green-500);
  color: var(--yellow-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(54,124,43,0.25);
}
.process-card__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: 8px;
}
.process-card__text {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.6;
}
/* Damage checklist */
.damage-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.damage-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--green-50);
  border-left: 4px solid var(--green-500);
  padding: 14px 18px;
  border-radius: 8px;
}
.damage-item svg { flex-shrink: 0; }
.damage-item span {
  font-size: 15px;
  color: var(--neutral-800);
  font-weight: 500;
}
/* Service hero banner */
.svc-hero {
  margin-top: 64px;
  position: relative;
  overflow: hidden;
}
.svc-hero__bg {
  width: 100%;
  height: 420px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.svc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}
.svc-hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 32px;
  padding-top: 10px;
}
.svc-hero__title {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  max-width: 700px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.svc-hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin-top: 12px;
}
/* Social links vertical (contacts page) */
.social-links-list { margin-top: 15px;
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.social-link-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--neutral-700);
  transition: color 0.25s;
}
.social-link-row:hover { color: var(--green-500); }
.social-link-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  flex-shrink: 0;
}
/* Map iframe container */
.map-iframe-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  border: 1px solid var(--neutral-100);
}
.map-iframe-wrap iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}
.map-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  text-align: center;
}
.map-btn:hover { transform: scale(1.03); }
.map-btn--apple { background: var(--neutral-950); }
.map-btn--google { background: var(--green-500); }

/* Contact info phone */
.contact-phone {
  font-size: 22px;
  font-weight: 700;
  color: var(--green-500);
  transition: color 0.25s;
}
.contact-phone:hover { color: var(--green-600); }

/* Contact address block */
.address-block {
  display: flex;
  align-items: center;
  gap: 14px;
}
.address-icon {
  width: 48px;
  height: 48px;
  background: var(--green-500);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* About page image */
.about-img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
/* Section subtitle for inner pages */
.inner-desc {
  font-size: 16px;
  color: var(--neutral-600);
  line-height: 1.8;
  margin-bottom: 24px;
}
.inner-desc:last-of-type { margin-bottom: 0; }

/* Section heading for inner pages */
.inner-heading {
  font-size: 18px;
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: 16px;
}
/* ========== LARGE SCREENS (27"+) ========== */
@media (min-width: 1400px) {
  body { font-size: 18px; }

  /* Header */
  .header__inner { height: 72px; }
  .logo__img { height: 46px; }
  .nav__link { font-size: 15px; padding: 10px 16px; }
  .header__phone { font-size: 14px; }
  .header__soc { width: 36px; height: 36px; border-radius: 10px; }
  .header__cta { font-size: 14px; padding: 10px 24px; }
  .nav__dropdown { width: 320px; }
  .nav__dropdown-link { font-size: 14px; padding: 12px 16px; }
  .nav__dropdown-link svg { width: 38px; height: 38px; padding: 9px; }

  /* Hero */
  .hero { padding-top: 86px; padding-bottom: 72px; }
  .hero h1 { font-size: 68px; }
  .hero__sub { font-size: 21px; max-width: 600px; }
  .hero__stat-value { font-size: 40px; }
  .hero__stat-label { font-size: 14px; }
  .hero__brand { font-size: 96px; margin-top: 130px; }
  .hero__float-text { font-size: 14px; }
  .hero__float-sub { font-size: 12px; }
  .hero__float-icon { width: 38px; height: 38px; }
  .hero__badge { font-size: 14px; padding: 8px 18px; }

  /* Sections */
  .section { padding: 80px 0; }
  .section-title { font-size: 48px; }
  .section-label { font-size: 14px; }
  .section-desc { font-size: 18px; }

  /* Advantages */
  .advantages__grid { gap: 24px; }
  .advantage-card { padding: 44px 36px; }
  .advantage-card__title { font-size: 22px; }
  .advantage-card__text { font-size: 16px; }
  .advantage-card__icon { width: 64px; height: 64px; border-radius: 18px; }
  .advantage-card__num { font-size: 48px; }

  /* Services */
  .services__box { padding: 80px 64px; }
  .services__grid { gap: 20px; }
  .service-card { padding: 40px 34px; }
  .service-card__icon { width: 56px; height: 56px; }
  .service-card__title { font-size: 22px; }
  .service-card__text { font-size: 16px; }
  .service-card__link { font-size: 14px; }

  /* Stats */
  .stats__box { padding: 80px 64px; }
  .stat-item__value { font-size: 64px; }
  .stat-item__label { font-size: 16px; }

  /* Steps */
  .step-card__number { width: 80px; height: 80px; font-size: 28px; border-width: 5px; }
  .step-card__title { font-size: 20px; }
  .step-card__text { font-size: 15px; }

  /* CTA */
  .cta { padding: 100px 0; }
  .cta__title { font-size: 48px; }
  .cta__desc { font-size: 18px; }
  .cta__phone { font-size: 30px; }
  .cta__left { padding: 80px 64px; }
  .cta__right { padding: 80px 64px; }
  .cta__social-link { width: 68px; height: 68px; border-radius: 18px; }
  .cta__social-link svg { width: 28px; height: 28px; }
  .cta__form-title { font-size: 24px; }
  .form-group input, .form-group textarea { font-size: 16px; padding: 16px 18px; }
  .form-group label { font-size: 14px; }

  /* FAQ */
  .faq-container { max-width: 900px; }
  .faq-q { font-size: 20px; padding: 24px 30px; }
  .faq-a p { font-size: 17px; }
  .faq-item { border-radius: 16px; }

  /* Brands */
  .brands { padding: 32px 0; }
  .brands__label { font-size: 13px; margin-bottom: 28px; }
  .brands__item--text { font-size: 34px; }

  /* AI block */
  .ai-block { padding: 32px 0 40px; }
  .ai-block__title { font-size: 20px; }
  .ai-block__icon { height: 44px; }

  /* Footer */
  .footer { padding: 12px 0; }
  .footer__copy { font-size: 14px; }
  .footer__link { font-size: 14px; }

  /* Modal */
  .modal { padding: 56px 48px; max-width: 540px; }
  .modal__title { font-size: 36px; }
  .modal__badge { font-size: 16px; padding: 12px 24px; }
  .modal__phone { font-size: 20px; }
  .modal__field input, .modal__field textarea { font-size: 16px; padding: 16px 18px; }
  .modal__submit { font-size: 18px; padding: 18px; }

  /* Inner pages */
  .svc-hero__bg { height: 520px; }
  .svc-hero__title { font-size: 64px; }
  .svc-hero__sub { font-size: 22px; max-width: 600px; }
  .content-grid { gap: 88px; }
  .process-grid { gap: 24px; }
  .process-card { display: flex; flex-direction: column; align-items: center; padding: 40px 32px; }
  .process-card__num { width: 72px; height: 72px; font-size: 26px; }
  .process-card__title { font-size: 20px; }
  .process-card__text { font-size: 16px; }
  .damage-item { padding: 20px 24px; border-radius: 10px; }
  .damage-item span { font-size: 17px; }
  .inner-desc { font-size: 18px; }
  .inner-heading { font-size: 22px; }
  .contact-phone { font-size: 26px; }
  .address-icon { width: 56px; height: 56px; border-radius: 14px; }
  .map-iframe-wrap iframe { height: 540px; }
  .map-iframe-wrap { border-radius: 24px; }
  .map-btn { padding: 18px; font-size: 15px; border-radius: 16px; }
  .map-stat__val { font-size: 40px; }
  .map-stat__lbl { font-size: 15px; }
  .about-img { border-radius: 20px; }
  .ba-grid { gap: 28px; }
  .ba-card { border-radius: 20px; }
  .ba-compare { aspect-ratio: 16/10; }
  .breadcrumb { font-size: 14px; }
  .page-hero--green { padding: 56px 0; }
}
@media (min-width: 1920px) {
  body { font-size: 18px; }
  .hero h1 { font-size: 68px; }
  .hero__sub { font-size: 22px; max-width: 640px; }
  .hero__stat-value { font-size: 40px; }
  .hero__brand { font-size: 96px; }
  .hero { padding-top: 86px; padding-bottom: 72px; }
  .section { padding: 88px 0; }
  .section-title { font-size: 48px; }
  .section-desc { font-size: 19px; }
  .advantages__grid { gap: 24px; }
  .advantage-card { padding: 44px 36px; }
  .advantage-card__title { font-size: 22px; }
  .advantage-card__icon { width: 64px; height: 64px; }
  .services__grid { gap: 20px; }
  .service-card { padding: 40px 36px; }
  .service-card__title { font-size: 22px; }
  .stat-item__value { font-size: 64px; }
  .stat-item__label { font-size: 17px; }
  .stats__box { padding: 88px 64px; }
  .services__box { padding: 88px 64px; }
  .step-card__number { width: 80px; height: 80px; font-size: 28px; }
  .step-card__title { font-size: 20px; }
  .cta__title { font-size: 48px; }
  .cta__phone { font-size: 32px; }
  .cta__left { padding: 88px 64px; }
  .cta__right { padding: 88px 64px; }
  .cta__social-link { width: 72px; height: 72px; border-radius: 18px; }
  .faq-q { font-size: 20px; padding: 24px 32px; }
  .faq-a p { font-size: 17px; }
  .header__inner { height: 72px; }
  .logo__img { height: 44px; }
  .nav__link { font-size: 15px; padding: 10px 16px; }
  .header__phone { font-size: 14px; }
  .header__soc { width: 36px; height: 36px; }
  .header__cta { font-size: 14px; padding: 10px 24px; }
  .svc-hero__bg { height: 540px; }
  .svc-hero__title { font-size: 64px; }
  .svc-hero__sub { font-size: 22px; }
  .content-grid { gap: 96px; }
  .process-card { display: flex; flex-direction: column; align-items: center; padding: 40px 32px; }
  .process-card__num { width: 72px; height: 72px; font-size: 26px; }
  .process-card__title { font-size: 20px; }
  .process-card__text { font-size: 15px; }
  .damage-item { padding: 20px 24px; }
  .damage-item span { font-size: 17px; }
  .inner-desc { font-size: 18px; }
  .inner-heading { font-size: 20px; }
  .contact-phone { font-size: 26px; }
  .map-iframe-wrap iframe { height: 560px; }
  .map-stat__val { font-size: 40px; }
  .ba-grid { gap: 32px; }
  .ai-block__icon { height: 44px; }
  .brands__item--text { font-size: 32px; }
  .modal { padding: 56px 48px; max-width: 540px; }
  .modal__title { font-size: 36px; }
}
@media (min-width: 2560px) {
  body { font-size: 20px; }
  .hero h1 { font-size: 76px; }
  .hero__sub { font-size: 24px; }
  .hero { padding-top: 96px; padding-bottom: 80px; }
  .section { padding: 100px 0; }
  .section-title { font-size: 56px; }
  .stat-item__value { font-size: 72px; }
  .stats__box { padding: 100px 80px; }
  .services__box { padding: 100px 80px; }
  .cta__left { padding: 100px 80px; }
  .cta__right { padding: 100px 80px; }
  .cta__title { font-size: 56px; }
  .cta__phone { font-size: 36px; }
  .svc-hero__bg { height: 600px; }
  .svc-hero__title { font-size: 72px; }
  .header__inner { height: 80px; }
  .logo__img { height: 48px; }
  .nav__link { font-size: 16px; }
  .nav__dropdown { width: 320px; }
  .nav__dropdown-link { font-size: 15px; padding: 12px 16px; }
  .nav__dropdown-link svg { width: 38px; height: 38px; }
  .advantage-card { padding: 48px 40px; }
  .advantage-card__title { font-size: 24px; }
  .advantage-card__text { font-size: 17px; }
  .service-card__title { font-size: 24px; }
  .service-card__text { font-size: 17px; }
  .faq-q { font-size: 22px; }
  .faq-a p { font-size: 18px; }
  .process-card__num { width: 80px; height: 80px; font-size: 28px; }
  .process-card__title { font-size: 22px; }
  .process-card__text { font-size: 17px; }
  .brands__item--text { font-size: 36px; }
}
/* ========== RESPONSIVE (small screens) ========== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 540px; }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .steps__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps__grid::before { display: none; }
  .steps__grid::after { display: none; }
  .cta__box { grid-template-columns: 1fr; }
  .cta__right { padding: 48px; }
  .nav { display: none; }
  .menu-btn { display: flex !important; }
  .header:has(.nav.active) {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
    z-index: 10000;
  }
  .nav.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 16px 24px 32px;
    gap: 4px;
    z-index: 9999;
    overflow-y: auto;
    margin-left: 0;
    justify-content: flex-start;
    align-items: stretch;
  }
  .nav.active > * { display: flex !important; visibility: visible !important; }
  .nav.active .nav__link { padding: 12px 16px; font-size: 15px; border-radius: 10px; }
  .nav.active .nav__item {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .nav.active .nav__link--has-sub {
    flex: 1;
  }
  .nav.active .nav__sub-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--green-50);
    border: 1.5px solid var(--green-200);
    border-radius: 8px;
    color: var(--green-600);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s ease;
  }
  .nav.active .nav__sub-toggle:hover {
    background: var(--green-100);
  }
  .nav.active .nav__sub-toggle.open {
    background: var(--green-500);
    border-color: var(--green-500);
    color: #fff;
  }
  .nav.active .nav__sub-toggle.open svg {
    transform: rotate(180deg);
  }
  .nav.active .nav__sub-toggle svg {
    transition: transform 0.25s ease;
  }
  .nav.active .nav__dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    width: 100%; box-shadow: none; border: none; padding: 0 0 0 16px;
    border-radius: 0; border-left: 2px solid var(--green-200);
    margin-top: 4px;
    display: block;
  }
  .nav.active .nav__sub-toggle {
    display: none !important;
  }
  .nav.active > .nav__link { display: block; width: 100%; padding: 12px 16px; font-size: 15px; border-radius: 10px; }
  .nav.active > .nav__link:hover { background: var(--green-50); }
  .header__cta--desktop { display: none; }
  .header__phones {
    display: flex;
    flex-direction: row;
    gap: 16px;
    position: absolute;
    bottom: -36px;
    left: 0;
    right: 0;
    justify-content: center;
    background: var(--green-50);
    padding: 8px 16px;
    border-bottom: 1px solid var(--green-100);
  }
  .header__phone { font-size: 14px; font-weight: 700; color: var(--green-700); }
  .header { margin-bottom: 36px; }
  .header__socials { display: flex !important; gap: 4px; order: -1; }
  .header__soc { width: 24px; height: 24px; min-width: 24px; border-radius: 6px; }
  .header__soc svg { width: 12px; height: 12px; }
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-hero__bg { height: 320px; }
  .map-iframe-wrap iframe { height: 380px; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .services__box { padding: 32px 20px; }
  .hero { padding-top: 110px; padding-bottom: 48px; }
  .hero__stats { gap: 16px; flex-wrap: wrap; }
  .hero__stat { flex: 1 1 auto; min-width: 0; }
  .hero__stat-value { font-size: 22px; }
  .hero__stat-label { font-size: 11px; }
  * { max-width: 100%; box-sizing: border-box; }
  .hero__content { text-align: center; }
  .hero__sub { max-width: 100%; }
  .hero__buttons { flex-wrap: wrap; justify-content: center; }
  .hero__buttons .btn { font-size: 13px; padding: 10px 20px; white-space: normal; width: 100%; justify-content: center; }
  .hero__stats { justify-content: center; text-align: center; }
  .section-title { text-align: center; }
  .section-desc { text-align: center; }
  .section-label { text-align: center; }
  .advantages__header { text-align: center; }
  .services__header { text-align: center; }
  .steps__header { text-align: center; }
  .faq-header { text-align: center; }
  .cta__label { text-align: center; }
  .cta__title { text-align: center; }
  .cta__desc { text-align: center; }
  .cta__phones { justify-content: center; text-align: center; }
  .cta__messengers { justify-content: center; }
  .cta__social { justify-content: center; }
  .cta__form-title { text-align: center; }
  .svc-archive-hero { text-align: center; }
  .advantage-card { text-align: center; }
  .advantage-card__icon { margin: 0 auto; }
  .service-card { text-align: center; }
  .service-card__icon { margin: 0 auto; }
  .step-card { text-align: center; }
  .step-card__icon { margin: 0 auto; }
  .svc-card { text-align: center; }
  .blog-card__body { text-align: center; }
  .svc-hero__content { text-align: center; }
  .svc-desc { text-align: center; }
  .svc-desc__text { text-align: center; }
  .inner-heading { text-align: center; }
  .gar-hero-block { text-align: center; }
  .about-section { text-align: center; }
  .work-page-card { text-align: center; }
  .damage-item { text-align: left; align-items: flex-start; }
  .blog-post__content { text-align: left; }
  .hero__buttons .btn svg { width: 16px; height: 16px; flex-shrink: 0; }
  .advantages__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; max-width: 100%; overflow: hidden; }
  .service-card { padding: 20px 12px; max-width: 100%; align-items: center; word-wrap: break-word; overflow-wrap: break-word; }
  .service-card__title { font-size: 16px; }
  .service-card__text { font-size: 13px; }
  .service-card__link { justify-content: center; font-size: 13px; }
  .services__box { padding: 20px 8px; overflow: hidden; border-radius: 12px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stats { padding: 20px 0; }
  .stats__box { padding: 40px 20px; }
  .steps__grid { grid-template-columns: 1fr; }
  .hero__float { display: none; }
  .cta__left, .cta__right { padding: 32px 24px; }
  .cta__phone { font-size: 20px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .modal { padding: 32px 24px; }
  .modal__title { font-size: 24px; }
  .modal__phones { flex-direction: column; align-items: center; gap: 8px; }
  .ba-grid { grid-template-columns: 1fr; }
  #chartdiv { height: 360px; }
  .map-stats { grid-template-columns: 1fr; }
  .map-wrap { padding: 16px; }
  .content-grid { gap: 32px; }
  .contacts-grid { gap: 32px; }
  .contacts-sub-grid { grid-template-columns: 1fr; gap: 20px; }
  .process-grid { grid-template-columns: 1fr; gap: 12px; }
  .process-card { display: flex; flex-direction: column; align-items: center; padding: 24px 20px; }
  .process-card__num { width: 48px; height: 48px; font-size: 18px; }
  .svc-hero__bg { height: 260px; }
  .svc-hero__content { padding-bottom: 32px; }
  .damage-item { padding: 12px 14px; }
  .damage-item span { font-size: 14px; }
  .contact-phone { font-size: 18px; }
  .address-icon { width: 40px; height: 40px; }
  .map-iframe-wrap iframe { height: 300px; }
  .map-buttons { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .svc-card__title { font-size: 15px; padding: 16px 16px 0; }
  .svc-card__footer { margin: 12px 16px 16px; padding: 10px 16px; font-size: 13px; }
  .svc-archive-hero__wave { height: 40px; }
  .map-btn { padding: 14px; }
  .map-stat__val { font-size: 24px; }
  .region-modal { padding: 24px; max-height: 90vh; }
  .page-hero--green { padding: 32px 0; }
  .breadcrumb { font-size: 12px; }
}
/* ── Single Work (region_works) ── */
.work-detail { max-width: 800px; }
.work-detail__text p { margin-bottom: 16px; color: var(--neutral-700); line-height: 1.8; }
.work-detail__text p:last-child { margin-bottom: 0; }

.work-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work-gallery__item { display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition); }
.work-gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-gallery__item img { width: 100%; height: 100%; object-fit: cover; }

.work-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-related__card { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--neutral-100); transition: transform var(--transition), box-shadow var(--transition); }
.work-related__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green-300); }
.work-related__card img { width: 100%; height: 200px; object-fit: cover; }
.work-related__title { padding: 16px; font-size: 14px; font-weight: 600; color: var(--neutral-800); }

/* Lightbox */
.work-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 1100; display: none; align-items: center; justify-content: center; }
.work-lightbox.active { display: flex; }
.work-lightbox__img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-md); }
.work-lightbox__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; background: rgba(255,255,255,0.15); border: none; border-radius: 50%; color: #fff; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.work-lightbox__close:hover { background: rgba(255,255,255,0.3); }
.work-lightbox__prev, .work-lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: rgba(255,255,255,0.15); border: none; border-radius: 50%; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.work-lightbox__prev:hover, .work-lightbox__next:hover { background: rgba(255,255,255,0.3); }
.work-lightbox__prev { left: 16px; }
.work-lightbox__next { right: 16px; }
.work-lightbox__counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 600; }

@media (max-width: 768px) {
  .work-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .work-related { grid-template-columns: 1fr; }
  .work-lightbox__prev { left: 8px; }
  .work-lightbox__next { right: 8px; }
}
@media (max-width: 480px) {
  .work-gallery { grid-template-columns: 1fr; }
}
/* ── Work card as link in modal ── */
.work-card--link { display: block; text-decoration: none; color: inherit; cursor: pointer; transition: border-color var(--transition), box-shadow var(--transition); }
.work-card--link:hover { border-color: var(--green-400); box-shadow: var(--shadow-md); }
.work-card--link::after { content: 'Детальніше →'; display: block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--green-500); }


/* Page spacer — fills gap on tall screens */
.page-spacer { display: none; }
@media (min-width: 1200px) {
  .page-spacer { display: block; flex: 1; background: var(--neutral-50); }
}

}



/* ── 404 Page ── */
body.error404 { background: var(--neutral-50); }
.err404 { margin-top: 72px; flex: 1; overflow: visible; display: flex; align-items: center; justify-content: center; background: var(--neutral-50); padding: 80px 0 60px; }
.err404__inner { text-align: center; max-width: 600px; margin: 0 auto; padding: 0 24px; }
.err404__visual { position: relative; margin-bottom: 32px; min-height: 280px; display: flex; align-items: center; justify-content: center; }
.err404__bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 320px; height: 320px; opacity: 0.6; pointer-events: none; }
.err404__blob { width: 100%; height: 100%; animation: blob404 8s ease-in-out infinite; }
@keyframes blob404 { 0%,100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.08) rotate(15deg); } }
.err404__tractor { position: relative; z-index: 1; animation: bounce404 3s ease-in-out infinite; }
@keyframes bounce404 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.err404__num { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: clamp(72px, 12vw, 110px); font-weight: 900; color: var(--green-600); line-height: 1; position: relative; z-index: 2; margin-top: -20px; }
.err404__gear svg { animation: spin404 6s linear infinite; }
@keyframes spin404 { to { transform: rotate(360deg); } }
.err404__title { font-size: clamp(22px, 3.5vw, 32px); font-weight: 800; color: var(--neutral-900); margin-bottom: 12px; }
.err404__desc { font-size: 16px; color: var(--neutral-600); max-width: 440px; margin: 0 auto 32px; line-height: 1.6; }
.err404__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn--outline { background: transparent; border: 2px solid var(--green-500); color: var(--green-600); padding: 12px 28px; border-radius: 100px; font-weight: 600; font-size: 15px; transition: all var(--transition); }
.btn--outline:hover { background: var(--green-500); color: var(--white); }
@media (max-width: 480px) { .err404__bg { width: 220px; height: 220px; } .err404__tractor svg { width: 180px; } .err404__visual { min-height: 200px; } }


/* ── Guarantee Page ── */
.gar-hero-block { text-align: center; max-width: 700px; margin: 0 auto; }
.gar-hero-block__icon { width: 96px; height: 96px; background: var(--green-50); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.gar-hero-block__title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--green-600); margin-bottom: 16px; }
.gar-hero-block__desc { font-size: 17px; line-height: 1.7; color: var(--neutral-600); }

.gar-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 1100px; margin: 0 auto; }
.gar-card { flex: 0 1 320px; background: var(--white); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--neutral-100); transition: all var(--transition); }
.gar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gar-card__icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.gar-card--green .gar-card__icon { background: var(--green-50); color: var(--green-600); }
.gar-card--red .gar-card__icon { background: #fef2f2; color: #dc2626; }
.gar-card__title { font-size: 17px; font-weight: 700; color: var(--neutral-900); margin-bottom: 8px; }
.gar-card__text { font-size: 14px; line-height: 1.6; color: var(--neutral-600); }

.gar-process { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 1000px; margin: 0 auto; }
.gar-process .process-card { flex: 0 1 300px; display: flex; flex-direction: column; align-items: center; }

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

@media (max-width: 768px) {
  .gar-card { flex: 1 1 100%; }
  .gar-process .process-card { flex: 1 1 100%; }
}

/* Form fields dark text on light bg */
.form-group input, .form-group textarea { color: var(--neutral-800) !important; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--neutral-400) !important; }

/* Messengers + FB in CTA */
.cta__messengers .cta__social-link,
.cta__social .cta__social-link[aria-label="Facebook"] { color: var(--white); }
.cta__messengers .cta__social-link svg,
.cta__social .cta__social-link[aria-label="Facebook"] svg { fill: var(--white); }
.cta__messengers .cta__social-link { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.cta__messengers .cta__social-link[aria-label="Viber"] { background: #7360F2; }
.cta__messengers .cta__social-link[aria-label="Telegram"] { background: #26A5E4; }
.cta__messengers .cta__social-link[aria-label="WhatsApp"] { background: #25D366; }
.cta__social .cta__social-link[aria-label="Facebook"] { background: #1877F2; }

/* ── Hero Video ── */
.svc-hero__content--video { display: flex; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 40px; }
.svc-hero__text { flex: 1; }
.svc-hero__video { position: relative; width: 280px; height: 500px; flex-shrink: 0; border-radius: 16px; overflow: hidden; cursor: pointer; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.svc-hero__video img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; background: rgba(0,0,0,0.5); border: 3px solid white; border-radius: 50%; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: all 0.3s; }
.svc-hero__play:hover { background: rgba(54,124,43,0.8); transform: translate(-50%, -50%) scale(1.1); }
.svc-hero__video iframe { border-radius: 16px; }
@media (max-width: 991px) { .svc-hero__content--video { flex-direction: column; } .svc-hero__video { width: 220px; height: 390px; } }
@media (max-width: 480px) { .svc-hero__video { width: 180px; height: 320px; } }

/* ── Video Shorts Grid ── */
.video-shorts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1400px; margin: 0 auto; }
.video-short { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 9/16; cursor: pointer; box-shadow: var(--shadow-lg); transition: transform var(--transition), box-shadow var(--transition); }
.video-short:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.video-short img { width: 100%; height: 100%; object-fit: cover; }
.video-short__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; background: rgba(0,0,0,0.45); border: 2px solid rgba(255,255,255,0.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: all 0.3s; }
.video-short:hover .video-short__play { background: rgba(54,124,43,0.7); border-color: white; transform: translate(-50%, -50%) scale(1.1); }
.video-short iframe { width: 100%; height: 100%; border: none; border-radius: 16px; }
@media (max-width: 991px) { .video-shorts { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 480px) { .video-shorts { grid-template-columns: repeat(2, 1fr); gap: 8px; } .video-short { aspect-ratio: 9/14; border-radius: 10px; } .video-short__play { width: 40px; height: 40px; } .video-short__play svg { width: 16px; height: 16px; } }

/* ========== BLOG CARDS ========== */
.blog-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  transition: all var(--transition);
  position: relative;
}
.blog-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent 10%, rgba(54,124,43,0.45) 40%, rgba(255,222,0,0.35) 55%, transparent 90%);
  transition: none;
  pointer-events: none;
}
.blog-card:hover::after {
  animation: blog-shimmer 0.8s ease forwards;
}
@keyframes blog-shimmer {
  from { left: -100%; }
  to { left: 100%; }
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-300);
}
.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.blog-card__img {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--neutral-100);
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card__img img {
  transform: scale(1.05);
}
.blog-card__body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}
.blog-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: auto;
  padding-bottom: 16px;
  color: var(--neutral-900);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__btn {
  display: block;
  padding: 10px 16px;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--green-600);
  transition: all var(--transition);
  text-align: center;
}
.blog-card:hover .blog-card__btn {
  background: var(--green-500);
  color: #fff;
  border-color: var(--green-500);
}

/* Blog pagination */
.blog-pagination { margin-top: 48px; text-align: center; }
.blog-pagination ul { list-style: none; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.blog-pagination li { display: inline; }
.blog-pagination a, .blog-pagination .current {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  transition: all var(--transition);
}
.blog-pagination a { color: var(--neutral-600); background: var(--neutral-50); border: 1px solid var(--neutral-200); }
.blog-pagination a:hover { background: var(--green-50); border-color: var(--green-300); color: var(--green-700); }
.blog-pagination .current { background: var(--green-500); color: #fff; border: 1px solid var(--green-500); }

/* ========== SINGLE BLOG POST ========== */
.blog-post { max-width: 820px; margin: 0 auto; }
.blog-post__hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}
.blog-post__hero-img img {
  width: 100%;
  height: auto;
  display: block;
}
.blog-post__content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--neutral-800);
}
.blog-post__content h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 40px 0 16px;
  color: var(--neutral-900);
}
.blog-post__content h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--neutral-900);
}
.blog-post__content p { margin-bottom: 20px; }
.blog-post__content ul, .blog-post__content ol {
  margin: 0 0 20px 24px;
}
.blog-post__content li { margin-bottom: 8px; }
.blog-post__content img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}
.blog-post__content blockquote {
  border-left: 4px solid var(--green-500);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--green-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--neutral-700);
}
.blog-post__content a {
  color: var(--green-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-post__content a:hover { color: var(--green-800); }

/* Post navigation */
.blog-post__nav {
  display: flex;
  gap: 20px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--neutral-200);
}
.blog-post__nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  transition: all var(--transition);
  text-decoration: none;
}
.blog-post__nav-link:hover {
  border-color: var(--green-300);
  background: var(--green-50);
}
.blog-post__nav-link--next { text-align: right; }
.blog-post__nav-label {
  font-size: 13px;
  color: var(--neutral-400);
  font-weight: 600;
}
.blog-post__nav-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--neutral-800);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== BLOG RESPONSIVE ========== */
@media (max-width: 991px) {
  .blog-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .blog-cards { grid-template-columns: 1fr; gap: 16px; }
  .blog-post__nav { flex-direction: column; }
  .blog-post__nav-link--next { text-align: left; }
  .blog-post__content { font-size: 16px; }
  .blog-post__content h2 { font-size: 24px; }
  .blog-post__content h3 { font-size: 20px; }
}

/* ========== FULL RESPONSIVE FIX — all breakpoints ========== */

/* ── 1281px: large laptop ── */
@media (max-width: 1281px) {
  .blog-cards { grid-template-columns: repeat(3, 1fr); }
  .hero__float { padding: 10px 14px; }
  .hero__float-text { font-size: 13px; }
}

/* ── 991px: tablet landscape ── */
@media (max-width: 991px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .video-shorts { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .blog-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .region-mega { position: static; width: 100%; flex-direction: column; gap: 4px; padding: 8px 0; box-shadow: none; border: none; }
  .region-mega__col { width: 100%; }
}

/* ── 768px: tablet portrait ── */
@media (max-width: 768px) {
  /* Container & sections */
  .section { padding: 48px 0; }
  .services__box, .stats__box { padding: 48px 28px; border-radius: 12px; }

  /* Hero */
  .hero__grid { gap: 32px; }
  .hero__visual { max-width: 100%; }

  /* Grids */
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .blog-cards { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; gap: 16px; }

  /* CTA */
  .cta { padding: 64px 0; }
  .cta__left, .cta__right { padding: 40px 28px; }
  .cta__title { font-size: clamp(24px, 4vw, 36px); }
  .cta__phone { font-size: 18px; }
  .cta__form-title { font-size: 18px; }

  /* Forms */
  .form-group input, .form-group textarea, .modal__field input, .modal__field textarea { min-height: 44px; padding: 12px 14px; font-size: 14px; }

  /* Modal */
  .modal { padding: 36px 28px; max-width: 420px; }
  .modal__title { font-size: 24px; }
  .modal__phones { flex-direction: column; gap: 12px; }

  /* Region modal */
  .region-modal { padding: 24px; max-width: 90vw; border-radius: 12px; }
  .region-modal h3 { font-size: 18px; }

  /* Lightbox */
  .work-lightbox__close { width: 40px; height: 40px; font-size: 20px; top: 12px; right: 12px; }
  .work-lightbox__prev, .work-lightbox__next { width: 40px; height: 40px; font-size: 18px; }

  /* Footer */
  .footer__inner { text-align: center; flex-direction: column; gap: 12px; }
  .footer__links { gap: 12px; justify-content: center; flex-wrap: wrap; }

  /* FAQ */
  .faq-container { max-width: 100%; }
  .faq-q { padding: 14px 16px; }

  /* Brands */
  .brands { padding: 16px 0; }

  /* Blog post */
  .blog-post { max-width: 100%; }
  .blog-post__nav { gap: 12px; }

  /* Guarantee */
  .gar-hero-block { max-width: 100%; }
  .gar-card { flex: 1 1 45%; }

  /* Service hero video */
  .svc-hero__content--video { flex-direction: column; }
  .svc-hero__video { width: 200px; height: 360px; }

  /* Work page cards */
  .work-page-card { padding: 16px; border-radius: 12px; }
  .work-page-card__photos { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Contacts */
  .contacts-grid { grid-template-columns: 1fr; gap: 32px; }
  .contacts-sub-grid { grid-template-columns: 1fr; gap: 16px; }

  /* AI block */
  .ai-block__icons { gap: 16px; }
  .ai-block__icon { height: 28px; }
}

/* ── 640px: large mobile ── */
@media (max-width: 640px) {
  /* Container & sections */
  .container { padding: 0 16px; }
  .section { padding: 36px 0; }
  .services__box, .stats__box { padding: 32px 16px; border-radius: 12px; }

  /* Header */
  .header__inner { height: 56px; }
  .logo__img { height: 32px; }
  .header__cta { padding: 8px 16px; font-size: 12px; }
  .header__soc { width: 40px; height: 40px; min-width: 40px; }

  /* Hero */
  .hero { padding-top: 110px; padding-bottom: 36px; }
  .svc-archive-hero { margin-top: 100px; }
  .page-hero { margin-top: 100px; }
  .hero__float { display: none; }
  .hero__mobile-cta {
    display: block;
    text-align: center;
    margin: 20px auto 0;
    padding: 14px 32px;
    background: var(--green-500);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    max-width: 280px;
    animation: mobileCta-pulse 1.8s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(54,124,43,0.6);
  }
  @keyframes mobileCta-pulse {
    0% { box-shadow: 0 0 0 0 rgba(54,124,43,0.6); transform: scale(1); background: var(--green-500); color: #fff; }
    50% { box-shadow: 0 0 0 18px rgba(54,124,43,0); transform: scale(1.07); background: var(--yellow-500); color: var(--green-900); }
    100% { box-shadow: 0 0 0 0 rgba(54,124,43,0); transform: scale(1); background: var(--green-500); color: #fff; }
  }
  .hero__brand { font-size: clamp(48px, 8vw, 72px); margin-top: 24px; }

  /* Typography */
  .section-title { font-size: clamp(24px, 5vw, 40px); }
  .section-desc { font-size: 14px; }
  .advantage-card__title { font-size: 16px; }
  .advantage-card__text { font-size: 13px; }
  .advantage-card__num { font-size: 32px; }
  .step-card__title { font-size: 14px; }
  .step-card__text { font-size: 12px; }

  /* Stats — 2 columns */
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* CTA */
  .cta__box { border-radius: 12px; }
  .cta__left, .cta__right { padding: 24px 16px; }
  .cta__title { font-size: 20px; }
  .cta__desc { font-size: 14px; }
  .cta__messengers { gap: 8px; }
  .cta__social { gap: 8px; }
  .cta__form-title { font-size: 16px; margin-bottom: 16px; }
  .form-group { margin-bottom: 12px; }

  /* Modal */
  .modal-overlay { padding: 16px; }
  .modal { padding: 24px 16px; max-width: 100%; }
  .modal__close { width: 36px; height: 36px; font-size: 18px; min-width: 36px; min-height: 36px; }
  .modal__title { font-size: 20px; margin-bottom: 12px; }
  .modal__badge { font-size: 12px; padding: 6px 14px; }

  /* Region modal */
  .region-modal-overlay { padding: 12px; }
  .region-modal { padding: 16px; max-height: 85vh; }
  .region-modal__close { width: 32px; height: 32px; font-size: 16px; }

  /* Lightbox */
  .work-lightbox__img { max-width: 92vw; max-height: 75vh; }
  .work-lightbox__close { width: 36px; height: 36px; font-size: 18px; }
  .work-lightbox__counter { font-size: 12px; }

  /* Footer */
  .footer { padding: 20px 0; }
  .footer__link { font-size: 12px; }
  .footer__copy { font-size: 11px; }

  /* FAQ */
  .faq-q { font-size: 14px; padding: 12px 14px; }
  .faq-a p { font-size: 13px; }

  /* AI block */
  .ai-block { padding: 16px 0 20px; }
  .ai-block__title { font-size: 14px; margin-bottom: 12px; }

  /* Before/After */
  .ba-card { border-radius: 12px; }
  .ba-label { font-size: 9px; padding: 2px 8px; top: 8px; }
  .ba-handle::after { width: 32px; height: 32px; }
  .ba-card-info { padding: 12px 14px; }
  .ba-card-title { font-size: 13px; }
  .ba-card-desc { font-size: 12px; }

  /* Video shorts — 2 columns, compact */
  .video-shorts { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .video-short { aspect-ratio: 9/14; border-radius: 12px; }
  .video-short__play { width: 44px; height: 44px; }

  /* Service cards */
  .svc-card__title { font-size: 14px; padding: 12px 12px 0; }
  .svc-card__footer { font-size: 12px; padding: 8px 16px; margin: 12px 12px 12px; }

  /* Blog cards */
  .blog-card__title { font-size: 14px; }
  .blog-card__btn { font-size: 12px; padding: 8px 12px; }

  /* Blog post */
  .blog-post__hero-img { margin-bottom: 24px; border-radius: 12px; }
  .blog-post__content ul, .blog-post__content ol { margin: 0 0 16px 16px; }

  /* Single service hero */
  .svc-hero__title { font-size: clamp(20px, 4vw, 40px); }
  .svc-hero__sub { font-size: 14px; }

  /* Damage items */
  .damage-item { gap: 10px; padding: 10px 12px; }
  .damage-item span { font-size: 13px; }

  /* Work page cards */
  .work-page-card__num { width: 36px; height: 36px; font-size: 14px; }
  .work-page-card__title { font-size: 14px; }
  .work-page-card__photos { gap: 6px; }

  /* Guarantee */
  .gar-hero-block__icon { width: 64px; height: 64px; }
  .gar-hero-block__title { font-size: clamp(20px, 4vw, 32px); }
  .gar-card { flex: 1 1 100%; }

  /* Social links (contacts page) */
  .social-links-list { flex-direction: row; flex-wrap: wrap; gap: 12px; justify-content: center; }
  .social-link-row { font-size: 14px; }
  .contacts-grid { text-align: center; }
  .contact-phone { text-align: center; display: block; }
  .address-row { text-align: center; }
  .address-row p { text-align: center; }
  .map-buttons { justify-content: center; flex-wrap: wrap; }

  /* Buttons min-height */
  .btn { min-height: 44px; }
  .modal__submit { min-height: 44px; }
}

/* ── 480px: small mobile ── */
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .section { padding: 28px 0; }

  /* Header */
  .header__inner { height: 48px; gap: 4px; }
  .logo__img { height: 28px; }
  .header__lang-active { font-size: 11px; padding: 2px 6px; min-height: 32px; }
  .menu-btn { font-size: 11px; padding: 2px 6px; min-height: 32px; }
  .header__phones { display: flex; gap: 12px; bottom: -32px; padding: 6px 12px; }
  .header__phone { font-size: 13px; }
  .header { margin-bottom: 32px; }

  /* Stats — 1 column */
  .stats__grid { grid-template-columns: 1fr; gap: 20px; }

  /* CTA */
  .cta { padding: 40px 0; }
  .cta__left, .cta__right { padding: 20px 14px; }
  .form-group input, .form-group textarea { padding: 10px 12px; }

  /* Modal */
  .modal__phones { gap: 8px; }
  .modal__field input, .modal__field textarea { padding: 10px 12px; font-size: 13px; }
  .modal__field textarea { min-height: 80px; }

  /* Region modal */
  .region-modal { padding: 12px; width: 100%; }
  .work-card h4 { font-size: 13px; }
  .work-card p { font-size: 12px; }

  /* Lightbox */
  .work-lightbox__prev { left: 4px; }
  .work-lightbox__next { right: 4px; }

  /* Section title */
  .section-title { font-size: clamp(20px, 4.5vw, 32px); }

  /* Buttons */
  .btn { min-height: 40px; padding: 8px 18px; font-size: 13px; }
}

/* ── 360px: minimal mobile ── */
@media (max-width: 360px) {
  .container { padding: 0 10px; }

  .hero h1 { font-size: 28px; margin-bottom: 12px; }
  .hero__sub { font-size: 14px; margin-bottom: 24px; }
  .hero__badge { font-size: 11px; padding: 4px 10px; margin-bottom: 16px; }
  .hero__buttons { gap: 8px; margin-bottom: 32px; }
  .hero__buttons .btn { padding: 8px 14px; font-size: 12px; }
  .hero__stats { gap: 16px; }
  .hero__stat-value { font-size: 20px; }
  .hero__stat-label { font-size: 11px; }

  .svc-archive-hero__title { font-size: 22px; }
  .svc-archive-hero__desc { font-size: 13px; }

  .cta__phone { font-size: 16px; }
  .blog-card__body { padding: 12px 14px 16px; }
}

/* ── Service card grid ── */
.svc-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.svc-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--neutral-100);
  transition: transform 0.2s, box-shadow 0.2s;
}
.svc-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.svc-card--accent {
  background: var(--neutral-950);
  color: #fff;
  border-color: transparent;
}
.svc-card--accent:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.svc-card--accent .svc-card__text { color: rgba(255,255,255,0.65); }
.svc-card__icon { margin-bottom: 8px; display: block; }
.svc-card__title { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.svc-card__text { font-size: 14px; color: var(--neutral-500); margin: 0; line-height: 1.6; }
.section--light .svc-card { background: #fff; }

/* ── Split block (poради + вартість) ── */
.svc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.svc-split__highlight {
  background: var(--green-500);
  color: #fff;
  border-radius: 16px;
  padding: 36px 32px;
}
.svc-split__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.svc-split__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}
.svc-split__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
}
.svc-split__plain {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid var(--neutral-100);
}
.svc-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--neutral-100);
}
.svc-price-row:last-of-type { border-bottom: none; }
.svc-price-row__title { font-weight: 600; font-size: 15px; }
.svc-price-row__text { font-size: 14px; color: var(--neutral-500); text-align: right; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .svc-split { grid-template-columns: 1fr; }
  .svc-split__highlight, .svc-split__plain { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .svc-card-grid { grid-template-columns: 1fr; }
  .svc-price-row { flex-direction: column; gap: 2px; }
  .svc-price-row__text { text-align: left; }
}

/* ── Delivery items inside split ── */
.svc-split__delivery-item { margin-bottom: 20px; }
.svc-split__delivery-item:last-of-type { margin-bottom: 0; }
.svc-split__delivery-item h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.svc-split__delivery-item p { font-size: 14px; color: var(--neutral-500); margin: 0; line-height: 1.6; }

/* ── Specialization grid ── */
.svc-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.svc-spec {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--neutral-100);
  transition: transform 0.2s, box-shadow 0.2s;
}
.svc-spec:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.svc-spec__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.svc-spec__icon { flex-shrink: 0; }
.svc-spec__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: var(--neutral-900);
}
.svc-spec__text {
  font-size: 14px;
  color: var(--neutral-500);
  margin: 0;
  line-height: 1.6;
}



/* ── Mobile optimization (services) ── */
@media (max-width: 768px) {
  .svc-spec-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc-spec { padding: 20px; }
  .svc-spec__title { font-size: 15px; }
  .svc-spec__text { font-size: 13px; }

  .svc-card-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc-card-grid--2 { grid-template-columns: 1fr; }
  .svc-card { padding: 20px; }

  .svc-split { grid-template-columns: 1fr; }
  .svc-split__highlight,
  .svc-split__plain { padding: 28px 22px; border-radius: 14px; }
  .svc-split__list li { font-size: 14px; }

  .svc-price-row { flex-direction: column; gap: 2px; }
  .svc-price-row__text { text-align: left; }
  .svc-price-row__title { font-size: 14px; }
  .svc-price-row__text { font-size: 13px; }

  .svc-split__delivery-item h3 { font-size: 15px; }
  .svc-split__delivery-item p { font-size: 13px; }

  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .process-card { padding: 20px 16px; }
  .process-card__num { width: 44px; height: 44px; font-size: 18px; }
  .process-card__title { font-size: 15px; }
  .process-card__text { font-size: 13px; }

  .content-grid { grid-template-columns: 1fr; gap: 40px; }

  .section { padding: 48px 0; }
  .section-title { font-size: clamp(22px, 5vw, 30px); }
}

@media (max-width: 480px) {
  .svc-hero__bg { height: 240px; }
  .svc-hero__title { font-size: 22px; }
  .svc-hero__sub { font-size: 13px; margin-top: 8px; }

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

  .section { padding: 36px 0; }
  .section-title { font-size: 20px; }
  .section-label { font-size: 11px; }

  .damage-item { padding: 12px 14px; font-size: 13px; }
  .inner-desc { font-size: 14px; }

  .btn { padding: 10px 20px; font-size: 13px; }
}

/* ── Compact steps timeline ── */
.svc-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.svc-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--neutral-100);
  border-radius: 12px;
  padding: 18px 20px;
  transition: box-shadow 0.2s;
}
.svc-step:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.svc-step__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--green-500);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.svc-step__body { flex: 1; min-width: 0; }
.svc-step__title { font-size: 15px; font-weight: 700; margin: 0 0 2px; }
.svc-step__text { font-size: 13px; color: var(--neutral-500); margin: 0; line-height: 1.5; }
@media (max-width: 768px) {
  .svc-steps { grid-template-columns: 1fr; }
}

/* ========== BLOG V2 — Nazarov-style ========== */

/* ── Hero ── */
.blog-hero {
  position: relative;
  padding: 60px 0 40px;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 50%, var(--green-500) 100%);
  color: #fff;
  overflow: hidden;
}
.blog-hero__bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,222,0,0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
}
.blog-hero .header-breadcrumb__nav,
.blog-hero .header-breadcrumb__nav a { color: rgba(255,255,255,0.7); }
.blog-hero__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin: 16px 0 12px;
}
.blog-hero__accent {
  background: linear-gradient(135deg, var(--yellow-500), var(--yellow-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blog-hero__desc {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  line-height: 1.6;
}
.blog-hero--single { padding: 60px 0 32px; }

/* ── Post top row (single) ── */
.post-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.post-meta-item svg { opacity: 0.7; }
.post-meta-sep { opacity: 0.4; }
.post-meta-cat {
  padding: 3px 12px;
  border-radius: 50px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: background var(--transition);
}
.post-meta-cat:hover { background: rgba(255,255,255,0.25); }

/* ── Category pills ── */
.blog-cats-section {
  background: var(--white);
  padding: 0 0 20px;
  border-bottom: 1px solid var(--neutral-100);
}
.blog-cats-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 20px;
}
.blog-cat-pill {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-600);
  background: var(--neutral-50);
  border: 1.5px solid var(--neutral-200);
  text-decoration: none;
  transition: all var(--transition);
}
.blog-cat-pill:hover {
  background: var(--green-50);
  border-color: var(--green-300);
  color: var(--green-700);
}
.blog-cat-pill.active {
  background: var(--green-500);
  color: #fff;
  border-color: var(--green-500);
}
.blog-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: rgba(0,0,0,0.1);
  font-size: 11px;
  font-weight: 700;
  margin-left: 4px;
}
.blog-cat-pill.active .blog-cat-count { background: rgba(255,255,255,0.25); }

/* ── Featured post ── */
.blog-featured-section {
  background: var(--neutral-50);
  padding: 48px 0;
}
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: stretch;
  text-decoration: none;
  background: var(--white);
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.blog-featured:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-lg);
}
.blog-featured__img {
  overflow: hidden;
  aspect-ratio: 16/10;
}
.blog-featured__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-featured:hover .blog-featured__img img { transform: scale(1.04); }
.blog-featured__body {
  padding: 32px 32px 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.blog-featured__label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-500);
}
.blog-featured__label::before { content: '★ '; }
.blog-featured__cat {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--green-50);
  color: var(--green-600);
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
}
.blog-featured__title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--neutral-900);
}
.blog-featured__excerpt {
  font-size: 15px;
  color: var(--neutral-500);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-featured__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--neutral-400);
  margin-top: 4px;
}

/* ── Blog grid & cards v2 ── */
.blog-grid-section {
  background: var(--white);
  padding: 56px 0 80px;
}
.blog-related-section {
  background: var(--neutral-50);
  padding: 60px 0;
}
.blog-section-header {
  margin-bottom: 36px;
}
.blog-section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--neutral-900);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card-v2 {
  border-radius: 18px;
  border: 1.5px solid var(--neutral-200);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.blog-card-v2:hover {
  border-color: var(--green-300);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(54,124,43,0.12);
}
.blog-card-v2__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--neutral-100);
}
.blog-card-v2__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card-v2:hover .blog-card-v2__img img { transform: scale(1.05); }
.blog-card-v2__body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-v2__cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.blog-card-v2__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-v2__excerpt {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-v2__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--neutral-100);
}
.blog-card-v2__date {
  font-size: 13px;
  color: var(--neutral-400);
}
.blog-card-v2__read {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-500);
  transition: color var(--transition);
}
.blog-card-v2:hover .blog-card-v2__read { color: var(--green-700); }

/* ── 3-column layout (single) ── */
.post-3col {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.post-center { min-width: 0; }

/* Sidebars */
.post-sidebar-left,
.post-sidebar-right {
  position: relative;
}
.post-sidebar-sticky {
  position: sticky;
  top: 88px;
}
.post-sidebar-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neutral-400);
  margin-bottom: 16px;
}

/* Left sidebar — recommended */
.post-rec-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--neutral-100);
  text-decoration: none;
  transition: opacity var(--transition);
}
.post-rec-card:hover { opacity: 0.7; }
.post-rec-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.post-rec-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-700);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Right sidebar — TOC */
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.toc-list li {
  margin-bottom: 2px;
}
.toc-link {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-500);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: all var(--transition);
  line-height: 1.4;
}
.toc-link:hover {
  color: var(--green-600);
  background: var(--green-50);
}
.toc-link.active {
  color: var(--green-700);
  border-left-color: var(--green-500);
  background: var(--green-50);
  font-weight: 700;
}
.toc-link--sub {
  padding-left: 24px;
  font-size: 12px;
}

/* Author box */
.post-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  margin-top: 48px;
  border-radius: var(--radius-lg);
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
}
.post-author-box__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.post-author-box__name {
  font-size: 16px;
  font-weight: 800;
  color: var(--neutral-900);
}
.post-author-box__role {
  font-size: 13px;
  color: var(--neutral-500);
  margin-top: 2px;
}

/* ── Blog V2 Responsive ── */
@media (max-width: 1024px) {
  .post-3col {
    grid-template-columns: 1fr;
    padding: 24px 24px 60px;
  }
  .post-sidebar-left,
  .post-sidebar-right {
    display: none;
  }
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured__body {
    padding: 24px;
  }
}
@media (max-width: 768px) {
  .blog-hero__title { font-size: 28px; }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .blog-featured__img { aspect-ratio: 16/9; }
  .post-top-row { font-size: 13px; }
  .blog-card-v2__title { font-size: 16px; }
  .post-author-box { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .blog-hero { padding: 48px 0 28px; }
  .blog-cats-row { gap: 6px; }
  .blog-cat-pill { padding: 6px 14px; font-size: 13px; }
  .blog-featured-section { padding: 32px 0; }
  .blog-grid-section { padding: 40px 0 60px; }
  .blog-card-v2__body { padding: 16px 18px 20px; }
}

/* ========== BLOG V2 — Fixes ========== */

/* 2-column layout (replaces 3-col) */
.post-2col {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* TOC Card — styled */
.toc-card {
  background: var(--white);
  border: 1.5px solid var(--green-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(54,124,43,0.08);
}
.toc-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  border-bottom: 1.5px solid var(--green-200);
}
.toc-card__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.toc-card .toc-list {
  padding: 12px 8px 16px;
}
.toc-card .toc-link {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}
.toc-card .toc-link:hover {
  background: var(--green-50);
  color: var(--green-600);
}
.toc-card .toc-link.active {
  background: var(--green-50);
  color: var(--green-700);
  font-weight: 700;
  border-left: 3px solid var(--green-500);
}
.toc-card .toc-link--sub {
  padding-left: 26px;
  font-size: 12px;
}

/* 2-col responsive */
@media (max-width: 1024px) {
  .post-2col {
    grid-template-columns: 1fr;
    padding: 24px 24px 60px;
  }
  .post-2col .post-sidebar-right {
    display: none;
  }
}

/* ========== Author Box — nazarov-style ========== */
.post-author-box {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 56px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--green-50);
  border: 1.5px solid var(--green-200);
}
.post-author-box-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--green-200);
  background: var(--white);
}
.post-author-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--neutral-900);
}
.post-author-role {
  font-size: 0.88rem;
  color: var(--neutral-500);
  margin-top: 2px;
}
.post-author-role a {
  color: var(--green-600);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.post-author-role a:hover {
  text-decoration: underline;
  color: var(--green-700);
}
@media (max-width: 600px) {
  .post-author-box {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 20px;
  }
  .post-author-box-img { margin: 0 auto; }
}
@media (min-width: 601px) {
  .post-author-box {
    flex-direction: row !important;
    text-align: left !important;
  }
  .post-author-box-img { margin: 0 !important; }
}

/* Hide old author box styles */
.post-author-box__icon,
.post-author-box__name,
.post-author-box__role { all: unset; }

/* ========== Article Content — rich styling ========== */
.blog-post__content h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 48px 0 20px;
  color: var(--neutral-900);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-100);
  position: relative;
}
.blog-post__content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--green-500);
}
.blog-post__content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--green-800);
  padding-left: 14px;
  border-left: 3px solid var(--green-400);
}
.blog-post__content p {
  margin-bottom: 20px;
  color: var(--neutral-700);
}
.blog-post__content strong {
  color: var(--neutral-900);
  font-weight: 700;
}
.blog-post__content ul,
.blog-post__content ol {
  margin: 0 0 24px 0;
  padding: 0;
  list-style: none;
}
.blog-post__content ul li,
.blog-post__content ol li {
  position: relative;
  padding: 10px 16px 10px 36px;
  margin-bottom: 6px;
  background: var(--neutral-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--neutral-100);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-700);
}
.blog-post__content ul li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-400);
}
.blog-post__content ol {
  counter-reset: article-ol;
}
.blog-post__content ol li::before {
  counter-increment: article-ol;
  content: counter(article-ol);
  position: absolute;
  left: 10px;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-500);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-post__content ol li {
  padding-left: 42px;
}
.blog-post__content blockquote {
  border-left: 4px solid var(--green-500);
  padding: 20px 28px;
  margin: 32px 0;
  background: linear-gradient(135deg, var(--green-50), var(--neutral-50));
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--neutral-600);
  font-size: 17px;
  line-height: 1.7;
  box-shadow: inset 0 0 0 1px var(--green-100);
}
.blog-post__content a {
  color: var(--green-600);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed var(--green-300);
  transition: all var(--transition);
}
.blog-post__content a:hover {
  color: var(--green-800);
  border-bottom-color: var(--green-600);
  border-bottom-style: solid;
}
.blog-post__content img {
  border-radius: var(--radius-lg);
  margin: 32px 0;
  box-shadow: var(--shadow-md);
}
.blog-post__content > p:first-child {
  font-size: 18px;
  line-height: 1.75;
  color: var(--neutral-600);
}
.blog-post__content > p:first-child::first-letter {
  font-size: 3.2em;
  float: left;
  line-height: 0.85;
  margin: 4px 12px 0 0;
  font-weight: 800;
  color: var(--green-500);
}

/* ========== Card Author Chip ========== */
.card-author-chip {
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-author-img {
  border-radius: 50%;
  object-fit: cover;
}
.card-author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-500);
}
.blog-featured__meta .card-author-img {
  width: 28px;
  height: 28px;
}
.blog-card-v2__footer .card-author-chip {
  flex-shrink: 0;
}
.blog-card-v2__footer {
  flex-wrap: wrap;
  gap: 8px;
}

/* ========== Fix: H1 wider + breadcrumbs wrap ========== */
.blog-hero--single .blog-hero__title {
  max-width: 100%;
}
.header-breadcrumb__nav {
  flex-wrap: wrap;
  line-height: 1.6;
}
.blog-hero .header-breadcrumb__nav {
  flex-wrap: wrap;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .header-breadcrumb__nav {
    font-size: 12px;
    gap: 4px;
  }
  .header-breadcrumb__nav svg {
    width: 10px;
    height: 10px;
  }
}

/* ========== Fix: breadcrumbs inline flow ========== */
.header-breadcrumb__nav {
  display: inline !important;
  line-height: 1.8;
  word-break: break-word;
}
.header-breadcrumb__nav a,
.header-breadcrumb__nav span {
  display: inline;
}
.header-breadcrumb__nav svg {
  display: inline-block;
  vertical-align: middle;
  margin: 0 2px;
}

/* ========== Fix: blog hero under header + mobile breadcrumbs ========== */
.blog-hero {
  margin-top: 64px;
}
@media (min-width: 1281px) {
  .blog-hero { margin-top: 72px; }
}
@media (max-width: 480px) {
  .blog-hero { margin-top: 56px; padding: 40px 0 24px; }
}

/* ========== Fix v2: blog hero padding for fixed header ========== */
.blog-hero {
  margin-top: 0 !important;
  padding-top: 100px !important;
}
.blog-hero--single {
  padding-top: 100px !important;
  padding-bottom: 32px !important;
}
@media (max-width: 480px) {
  .blog-hero {
    padding-top: 80px !important;
    padding-bottom: 24px !important;
  }
}

/* ========== Guarantee Table ========== */
.gar-table-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.gar-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1.5px solid var(--green-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gar-table thead th {
  background: var(--green-500);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 24px;
  text-align: left;
}
.gar-table thead th:last-child {
  text-align: center;
}
.gar-table tbody td {
  padding: 14px 24px;
  font-size: 15px;
  color: var(--neutral-700);
  border-bottom: 1px solid var(--neutral-100);
}
.gar-table tbody tr:last-child td {
  border-bottom: none;
}
.gar-table tbody tr:hover {
  background: var(--green-50);
}
.gar-table tbody td:last-child {
  text-align: center;
  color: var(--green-700);
  font-weight: 700;
}
.gar-table tbody td strong {
  color: var(--green-700);
}
.gar-table-note {
  text-align: center;
  font-size: 13px;
  color: var(--neutral-500);
  margin-top: 16px;
  font-style: italic;
}
@media (max-width: 600px) {
  .gar-table thead th,
  .gar-table tbody td {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* ========== Nashi Roboty — Info & CTA blocks ========== */
.nr-info {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 32px;
  background: var(--green-50);
  border: 1.5px solid var(--green-200);
  border-radius: var(--radius-lg);
  max-width: 820px;
  margin: 0 auto;
}
.nr-info__icon { flex-shrink: 0; margin-top: 2px; }
.nr-info__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-800);
  margin-bottom: 12px;
}
.nr-info__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nr-info__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--neutral-600);
}
.nr-info__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-400);
}

.nr-cta {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 32px;
}
.nr-cta__icon { margin-bottom: 16px; }
.nr-cta__title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: 12px;
}
.nr-cta__desc {
  font-size: 16px;
  color: var(--neutral-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .nr-info {
    flex-direction: column;
    padding: 20px;
  }
  .nr-cta { padding: 32px 16px; }
}

/* ========== Fix: not-covered cards in one row ========== */
.gar-grid--row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 991px) {
  .gar-grid--row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gar-grid--row { grid-template-columns: 1fr; }
}

/* ========== Fix: not-covered — horizontal cards ========== */
.gar-grid--row {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
  max-width: 100% !important;
}
.gar-grid--row .gar-card {
  flex: none;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
}
.gar-grid--row .gar-card__icon {
  margin-bottom: 0;
  flex-shrink: 0;
}
.gar-grid--row .gar-card__title {
  font-size: 16px;
  margin-bottom: 4px;
}
.gar-grid--row .gar-card__text {
  font-size: 14px;
}
@media (max-width: 768px) {
  .gar-grid--row {
    grid-template-columns: 1fr !important;
  }
}

/* ========== Fix v2: not-covered — vertical cards, 4 in row, equal height ========== */
.gar-grid--row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  max-width: 100% !important;
}
.gar-grid--row .gar-card {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 28px 20px;
  height: 100%;
}
.gar-grid--row .gar-card__icon {
  margin-bottom: 16px;
}
@media (max-width: 991px) {
  .gar-grid--row { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .gar-grid--row { grid-template-columns: 1fr !important; }
}

/* ========== Fix: not-covered card text left-aligned ========== */
.gar-grid--row .gar-card__text {
  text-align: left;
  width: 100%;
}

/* ========== Fix: card text centered block with left-aligned lines ========== */
.gar-grid--row .gar-card__text,
.gar-grid .gar-card__text {
  text-align: left;
  width: auto;
  display: inline-block;
  margin: 0 auto;
}
.gar-grid--row .gar-card,
.gar-grid .gar-card {
  text-align: center;
}

/* ========== FINAL: card text — left-aligned block centered in card ========== */
.gar-card .gar-card__text {
  text-align: left !important;
  display: table !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ========== About — Guarantees grid ========== */
.pn-guarantees {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pn-guarantee-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.pn-guarantee-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
}
.pn-guarantee-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.pn-guarantee-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 8px;
}
.pn-guarantee-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--neutral-500);
}
@media (max-width: 991px) {
  .pn-guarantees { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pn-guarantees { grid-template-columns: 1fr; gap: 16px; }
}
