/* LS Detailing — Premium Multi-page Site */

:root {
  --bg: #F3F3F3;
  --bg-soft: #EAEAEA;
  --surface: #FFFFFF;
  --text: #1C1C1C;
  --text-muted: #6E6E6E;
  --text-faint: #A0A0A0;
  --accent: #0A0A0A;
  --border: #DDDDDD;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.1);
  --font: 'Manrope', system-ui, sans-serif;
  --container: 1240px;
  --topbar-h: 32px;
  --header-bar-h: 56px;
  --header-h: calc(var(--topbar-h) + var(--header-bar-h));
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --gold: #B8A062;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Topbar (dark strip) ---- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 111;
  background: #0A0A0A;
  color: #fff;
  padding: 5px 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 22px;
}

.topbar__desktop {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.topbar .topbar__logo,
.topbar .topbar__rating,
.topbar .topbar__phone--mobile,
.topbar .topbar__burger {
  display: none;
}

.topbar__hours {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  margin-right: auto;
}

.topbar__phone {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.topbar__phone:hover {
  opacity: 0.85;
}

.topbar .rating-badge {
  color: rgba(255, 255, 255, 0.78);
}

.topbar .rating-badge:hover {
  color: var(--gold);
}

.topbar .socials__link {
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 6px;
}

.topbar .socials__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.topbar .socials__link svg {
  width: 16px;
  height: 16px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.socials__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s var(--ease);
}

.socials--dark .socials__link {
  color: var(--text-muted);
  background: var(--bg);
}
.socials--dark .socials__link:hover {
  color: #fff;
  background: var(--accent);
}

.socials--footer .socials__link {
  width: 40px;
  height: 40px;
  color: var(--text-muted);
  background: var(--bg);
  border-radius: 10px;
}
.socials--footer .socials__link:hover {
  color: #fff;
  background: var(--accent);
}

.socials__link svg { width: 18px; height: 18px; }
.socials--footer .socials__link svg { width: 20px; height: 20px; }

/* ---- Header (light bar) ---- */
.header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 110;
  background-color: #F8F8F6;
  color: var(--text);
  transition: box-shadow 0.3s var(--ease);
}

.header--scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-bar-h);
  padding: 6px 0;
}

.header .logo {
  padding: 0;
  margin: 0;
}

.header .nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-evenly;
  gap: 0;
  min-width: 0;
  padding: 0 12px;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.rating-badge__star {
  color: var(--gold);
  margin-right: 4px;
}

.rating-badge--inline {
  margin-top: 16px;
  color: var(--text-muted);
}

.rating-badge--inline:hover {
  color: var(--gold);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__mark {
  display: block;
  width: auto;
  height: 40px;
  border-radius: 12px;
  object-fit: contain;
}

.logo__mark span { color: var(--text-muted); font-weight: 600; }

.logo__sub {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  display: block;
  margin-top: 2px;
}

.nav__mobile-extra {
  display: none;
}

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

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav__link:hover,
.nav__link--active { color: var(--accent); }

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}

.nav__link--active.nav__dropdown-trigger::after { display: none; }

/* ---- Nav dropdown (Услуги) ---- */
.nav__item { position: relative; }

.nav__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  padding: 0;
}

.nav__dropdown-icon {
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}

.nav__dropdown--open .nav__dropdown-icon { transform: rotate(180deg); }

.nav__dropdown-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 16px 0;
  z-index: 200;
}

.nav__dropdown-panel[hidden] { display: none; }

.nav__dropdown-panel-inner { padding: 0 8px; }

.nav__dropdown-all {
  display: block;
  padding: 8px 16px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.nav__dropdown-all:hover { color: var(--accent); }

.nav__dropdown-cats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__dropdown-cat { position: relative; }

.nav__dropdown-cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: default;
  font-family: var(--font);
  text-align: left;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav__dropdown-cat:hover .nav__dropdown-cat-btn,
.nav__dropdown-cat--open .nav__dropdown-cat-btn {
  background: var(--bg);
  color: var(--accent);
}

.nav__dropdown-sub {
  display: none;
  list-style: none;
  margin: 0;
  padding: 4px 0 8px 0;
}

.nav__dropdown-cat:hover .nav__dropdown-sub,
.nav__dropdown-cat--open .nav__dropdown-sub { display: block; }

.nav__dropdown-link {
  display: block;
  padding: 7px 16px 7px 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  border-radius: 6px;
}
.nav__dropdown-link:hover { color: var(--accent); }

@media (min-width: 769px) {
  .nav__dropdown-cat-btn { pointer-events: none; }
  .nav__dropdown-cat-btn .nav__dropdown-icon { display: none; }

  .nav__dropdown-sub {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 260px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 8px 0;
    margin-left: 4px;
  }

  .nav__dropdown-panel { min-width: 240px; }
}

.header__cta {
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  background: var(--gold);
  color: #fff;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.header__cta:hover { background: #c9b06f; transform: translateY(-1px); }

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
  flex-shrink: 0;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s;
}
.burger--active span:first-child { transform: rotate(45deg) translate(3px, 3px); }
.burger--active span:last-child { transform: rotate(-45deg) translate(3px, -3px); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn--dark { background: var(--accent); color: #fff; }
.btn--dark:hover { background: #2a2a2a; transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); }

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

.btn--hero {
  background-color: #2b2b2e;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 38px;
  padding-right: 38px;
}
.btn--hero:hover {
  background-color: #353538;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn--outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ---- Page offset ---- */
.page-top {
  padding-top: var(--header-h);
}

/* ---- Hero (home) ---- */
.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}

.hero__top-scrim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0) 75%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 600px;
  padding-top: 28px;
  padding-bottom: 50px;
}

.hero__top {
  max-width: 100%;
}

.hero__title {
  color: #fff;
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.hero__subtitle {
  color: #fff;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.4;
  margin-bottom: 0;
  opacity: 0.92;
}

.hero__bottom {
  margin-top: auto;
  padding-top: 0;
}

.hero__actions {
  margin: 0;
}

.hero__trust-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 36px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.hero__trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 0 1 auto;
  max-width: 230px;
  min-width: 0;
}

.hero__trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #0a0a0a;
}

.hero__trust-text {
  color: #fff;
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(0, 0, 0, 0.6);
}

@media (min-width: 1200px) {
  .hero__trust-list {
    gap: 40px;
  }
}

@media (max-width: 1199px) and (min-width: 769px) {
  .hero__trust-list {
    flex-wrap: wrap;
    row-gap: 20px;
  }

  .hero__trust-item {
    flex: 0 0 calc(50% - 20px);
    max-width: none;
  }
}

/* ---- Page hero (inner pages) ---- */
.page-back-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.page-back-nav__link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.page-back-nav__link:hover {
  opacity: 0.62;
}

.page-back-nav__separator {
  opacity: 0.45;
}

.service-hero--photo .page-back-nav,
.advantages__hero .page-back-nav {
  color: rgba(255, 255, 255, 0.88);
}

.page-hero {
  padding: 56px 0 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-hero__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.page-hero__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-hero__desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
}

.privacy-content {
  max-width: 900px;
}

.privacy-content h2 {
  margin: 40px 0 16px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}

.privacy-content p,
.privacy-content li {
  color: var(--text-muted);
  line-height: 1.75;
}

.privacy-content ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.privacy-content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero--photo {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  border-bottom: none;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.page-hero--photo .container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 48px;
  padding-bottom: 64px;
}

.page-hero--photo .container::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: none;
  top: -40px;
  bottom: -56px;
  background: radial-gradient(
    ellipse 85% 100% at 50% 100%,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.22) 42%,
    rgba(0, 0, 0, 0.06) 68%,
    transparent 88%
  );
  pointer-events: none;
  z-index: -1;
}

.page-hero--photo .page-hero__label,
.page-hero--photo .page-hero__title,
.page-hero--photo .page-hero__desc {
  color: #fff;
}

.page-hero--photo .page-hero__desc {
  opacity: 0.92;
  max-width: 640px;
}

/* ---- Sections ---- */
.section { padding: 96px 0; }
.section--surface { background: var(--surface); }
.section--soft { background: var(--bg-soft); }

.section-head {
  margin-bottom: 56px;
}

.section-head--center {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-head__tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.section-head__title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-head__desc {
  font-size: 17px;
  color: var(--text-muted);
}

/* ---- Services photo grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card-img {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  height: 240px;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card-img__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.service-card-img__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
}

.service-card-img__title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

@media (hover: hover) {
  .service-card-img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }

  .service-card-img:hover .service-card-img__photo {
    transform: scale(1.05);
  }
}

@media (hover: none) {
  .service-card-img:active {
    transform: scale(0.98);
    transition: transform 0.15s ease;
  }
}

/* ---- Philosophy ---- */
.philosophy-section {
  padding: 110px 0;
}

.philosophy {
  display: flex;
  align-items: center;
  gap: 48px;
}

.philosophy__video {
  flex: 0 0 40%;
  max-width: 40%;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--surface);
}

.philosophy__video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy__content {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 3px 1fr;
  grid-template-rows: auto auto;
  gap: 16px 32px;
  align-items: start;
}

.philosophy__divider {
  grid-column: 1;
  grid-row: 1 / -1;
}

.philosophy__label {
  grid-column: 2;
  grid-row: 1;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}

.philosophy__text {
  grid-column: 2;
  grid-row: 2;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.section-foot {
  text-align: center;
  margin-top: 48px;
}

/* ---- Advantages ---- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.adv-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

.adv-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.adv-item__icon {
  width: 40px; height: 40px;
  margin-bottom: 20px;
  color: var(--accent);
}
.adv-item__icon svg { width: 100%; height: 100%; }

.adv-item__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.adv-item__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.blog-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.35s var(--ease);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), opacity 0.35s var(--ease);
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.05);
  opacity: 0.92;
}

.blog-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.blog-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.blog-card__title a {
  transition: color 0.2s;
}

.blog-card__title a:hover {
  color: var(--text-muted);
}

.blog-card__excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.blog-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
  transition: opacity 0.2s;
}

.blog-card__link:hover {
  opacity: 0.65;
}

.blog-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.blog-grid .reveal:nth-child(3) { transition-delay: 0.12s; }

/* ---- Article page ---- */
.article-page__hero {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  background: var(--bg-soft);
}

.article-page__hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 32px 0 24px;
  transition: color 0.2s;
}

.article-back:hover { color: var(--accent); }

.article-content {
  max-width: 760px;
  margin: 0 auto 64px;
}

.article-content__tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.article-content__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.article-content__lead {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.article-content h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 32px 0 14px;
}

.article-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.article-content__list {
  margin: 0 0 20px 0;
  padding-left: 20px;
}

.article-content__list li {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.article-contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 80px;
}

.article-contact__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.article-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}

.article-contact__map { height: 280px; }

.article-contact__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.article-related {
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.article-related > h2 {
  margin-bottom: 24px;
  font-size: clamp(24px, 3vw, 32px);
}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-related__card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
}

.article-related__category {
  margin-bottom: 8px;
  color: var(--text-faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-related__card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.article-related__card > p:not(.article-related__category) {
  flex: 1;
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.article-related__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-related__actions .btn {
  flex: 1;
  min-width: 110px;
  justify-content: center;
  padding-inline: 12px;
}

@media (max-width: 768px) {
  .article-page__hero img { height: 240px; }
  .article-contact { padding: 24px; }
  .article-contact__grid { grid-template-columns: 1fr; }
  .article-contact__actions { flex-direction: column; }
  .article-contact__actions .btn { width: 100%; }
  .article-related { padding: 24px; }
  .article-related__grid { grid-template-columns: 1fr; }
}

/* ---- Process (How we work) ---- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
}

.process-step {
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.process-step__num {
  width: 56px; height: 56px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.process-step__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---- Works preview / gallery ---- */
.works-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 3/4;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.work-card:hover img { transform: scale(1.06); }

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.65));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 24px;
}

.work-card__icon {
  width: 28px;
  height: 28px;
  stroke: #fff;
  margin-bottom: 8px;
  opacity: 0.9;
  flex-shrink: 0;
}

.work-card__title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.work-card__desc {
  font-size: 11px;
  font-weight: 400;
  color: #fff;
  opacity: 0.8;
  margin-top: 4px;
  line-height: 1.4;
}

.work-card__tag {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.work-card--video .work-card__video-thumb {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card__play {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.work-card--video:hover .work-card__play {
  border-color: rgba(255,255,255,1);
}

.work-card__video-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

/* Full gallery page */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-masonry .work-card:nth-child(4) { grid-row: span 1; }
.gallery-masonry .work-card--tall { aspect-ratio: 3/5; }
.gallery-masonry .work-card--wide { grid-column: span 2; aspect-ratio: 16/9; }

.works-more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

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

.review {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}

.review__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: var(--accent);
}
.review__stars svg { width: 14px; height: 14px; }

.review__text {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.review__author {
  font-size: 14px;
  font-weight: 600;
}

.review__meta {
  font-size: 13px;
  color: var(--text-faint);
}

/* Reviews preview (index.html) */
.reviews-row--preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.review-card--preview {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  cursor: default;
  box-shadow: none;
  transition: none;
}

.review-card--preview:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}

.review-card--preview .review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.review-card--preview .review-card__stars svg {
  width: 14px;
  height: 14px;
}

.review-card--preview .review-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
  margin-bottom: 0;
}

.review-card--preview .review-card__author {
  margin-top: auto;
  padding-top: 24px;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

/* ---- Reviews page ---- */
.page-hero .reviews-rating {
  margin-top: 20px;
}

.reviews-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.reviews-rating__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.reviews-rating__stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
}

.reviews-rating__stars svg {
  width: 17px;
  height: 17px;
}

.reviews-rating__score {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.reviews-rating__count {
  font-size: 14px;
  color: var(--text-muted);
}

.reviews-rating__btn {
  padding: 10px 20px;
  font-size: 14px;
}

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

.reviews-grid .col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reviews-grid .col:nth-child(2) {
  margin-top: 46px;
}

.reviews-grid .col:nth-child(3) {
  margin-top: 18px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 18px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--gold) 45%, var(--border));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.rc-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.rc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-soft), color-mix(in srgb, var(--bg-soft) 70%, var(--border)));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.rc-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.rc-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.rc-stars {
  display: flex;
  gap: 1px;
  margin-bottom: 10px;
}

.rc-stars svg {
  width: 12px;
  height: 12px;
  fill: var(--gold);
}

.review-card__text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-line;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card__more {
  display: inline-block;
  margin-top: 10px;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
}

.review-card__more:hover,
.review-card__more:active {
  text-decoration: underline;
}

.rc-photos {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.rc-photos img {
  flex: 1;
  min-width: 0;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* Review modal */
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.review-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.review-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.review-modal.is-open .review-modal__overlay {
  opacity: 1;
}

.review-modal__content {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: var(--shadow-hover);
  transform: scale(0.96) translateY(16px);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.review-modal.is-open .review-modal__content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.review-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.review-modal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-right: 36px;
}

.review-modal__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-soft), color-mix(in srgb, var(--bg-soft) 70%, var(--border)));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.review-modal__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.review-modal__meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.review-modal__date {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 2px;
}

.review-modal__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.review-modal__stars svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
}

.review-modal__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-line;
}

.review-modal__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.review-modal__photos[hidden] {
  display: none;
}

.review-modal__photo {
  flex: 1 1 calc(33.333% - 6px);
  min-width: 88px;
  max-width: calc(50% - 4px);
  height: 140px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: opacity 0.2s var(--ease);
}

.review-modal__photo:hover {
  opacity: 0.88;
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .reviews-grid .col {
    gap: 16px;
  }

  .reviews-grid .col:nth-child(2) {
    margin-top: 20px;
  }

  .reviews-grid .col:nth-child(3) {
    margin-top: 12px;
  }

  .reviews-grid .col .review-card:nth-child(2) {
    margin-left: 16px;
  }

  .reviews-grid .col .review-card:nth-child(3) {
    margin-left: 8px;
  }

  .review-card__text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ---- CTA banner ---- */
.cta-banner {
  padding: 80px 0;
  background: var(--bg-soft);
}

.cta-banner__inner {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.cta-banner__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.cta-banner__text {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-banner--stacked .cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.cta-banner--stacked .cta-banner__actions {
  margin-top: 28px;
}

.cta-banner--stacked .cta-banner__actions .btn {
  width: 100%;
  text-align: center;
}

/* ---- Services page ---- */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 40px;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

.service-row:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-row__num {
  font-size: 32px;
  font-weight: 800;
  color: var(--bg-soft);
  line-height: 1;
}

.service-row__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.service-row__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
}

/* ---- About page ---- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-split__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-split__img img { width: 100%; height: 100%; object-fit: cover; }

.about-split__text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.stats-bar__item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.stats-bar__num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: block;
}

.stats-bar__label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.value-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Advantages page ---- */
.page-advantages {
  background: #fff;
}

.advantages {
  background: #fff;
}

.advantages__hero {
  position: relative;
  height: 480px;
  display: flex;
  align-items: flex-end;
  background-color: #1a1a1a;
  background-image: url('../images/advantages-hero.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.advantages__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.05) 0%, rgba(10, 10, 10, 0.65) 100%);
  pointer-events: none;
}

.advantages__hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 44px;
}

.advantages__hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 720px;
}

.advantages__intro {
  padding: 56px 0 64px;
  border-bottom: 1px solid #ececec;
  background: #fff;
}

.advantages__intro-grid {
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 32px;
  align-items: stretch;
}

.advantages__intro-divider {
  width: 3px;
  background: #1a1a1a;
  min-height: 100%;
}

.advantages__intro-text {
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  max-width: 760px;
  margin-bottom: 24px;
}

.advantages__intro-stat {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.advantages__body {
  padding: 64px 0 80px;
  background: #fff;
}

.advantages__cluster {
  margin-bottom: 56px;
}

.advantages__cluster:last-of-type {
  margin-bottom: 64px;
}

.advantages__cluster-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 24px;
}

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

.advantages .advantage-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 32px;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.advantages__cluster-grid--visible .advantage-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.advantages__cluster-grid--visible .advantage-card:nth-child(2) {
  transition-delay: 0.12s;
}

@media (hover: hover) {
  .advantages__cluster-grid--visible .advantage-card:hover {
    transition-delay: 0s;
    transform: translate3d(0, -4px, 0);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
  }
}

@media (hover: none) {
  .advantages__cluster-grid--visible .advantage-card:active {
    transform: translate3d(0, 0, 0) scale(0.98);
    transition: transform 0.15s ease;
  }
}

.advantages .advantage-card__icon {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: #1a1a1a;
  flex-shrink: 0;
}

.advantages .advantage-card__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.advantages .advantage-card__text {
  font-size: 15px;
  line-height: 1.65;
  color: #666;
}

.advantages__closing {
  background: #f5f5f5;
  padding: 48px;
  border-left: 3px solid #1a1a1a;
}

.advantages__closing-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.advantages__closing-text {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  max-width: 640px;
}

.page-advantages .cta-banner {
  background: var(--bg-soft);
}

/* ---- Contacts page ---- */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}

.contact-block {
  margin-bottom: 32px;
}

.contact-block__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.contact-block__value {
  font-size: 18px;
  font-weight: 600;
}

.contact-block__value--link {
  transition: color 0.2s;
}
.contact-block__value--link:hover { color: var(--text-muted); }

.contact-block__sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.contacts-socials {
  margin-top: 8px;
}

.contacts-socials .socials__link {
  width: 44px;
  height: 44px;
}

.contacts-socials .socials__link svg {
  width: 20px;
  height: 20px;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  background: var(--bg-soft);
}

.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---- Form ---- */
.form-section {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.form-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.form-wrap__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 8px;
}

.form-wrap__desc {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__group--full { grid-column: 1 / -1; }

.form__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.form__input {
  padding: 14px 18px;
  font-family: inherit;
  font-size: 15px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
}

.form__input:focus { border-color: var(--accent); }
.form__input--error { border-color: #dc2626; }
.form__input[aria-invalid="true"] { border-color: #dc2626; }

.form__textarea { resize: vertical; min-height: 120px; }

.form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__submit {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 260px;
  margin-top: 8px;
}

.form__privacy {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
}
.form__privacy a { text-decoration: underline; }

.form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
}
.form-status:empty { min-height: 0; }
.form-status--pending { color: var(--text-muted); }
.form-status--success { color: #167642; }
.form-status--warning { color: #8a5a00; }
.form-status--error { color: #b42318; }
.form-status a { color: inherit; font-weight: 700; text-decoration: underline; }

.form__submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-success {
  text-align: center;
  padding: 32px 0;
}
.form-success svg { margin: 0 auto 16px; color: #16a34a; }
.form-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }

/* ---- Sticky quick contact ---- */
.quick-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 850;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-contact__link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.quick-contact__link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}

.quick-contact__link--whatsapp { background: #1f8f55; }
.quick-contact__link--telegram { background: #2079b6; }

.quick-contact__link > span:first-child {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 9px;
}

/* ---- Footer ---- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.footer__map iframe { width: 100%; height: 100%; border: 0; }

.footer__brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.6;
}

.footer__heading {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.footer__link {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer__link:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-faint);
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.lightbox--active { opacity: 1; visibility: visible; }

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox__close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 32px;
  color: #fff;
  width: 48px; height: 48px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* ---- Service page ---- */
.service-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color 0.2s;
}
.service-back:hover { color: var(--accent); }

.service-hero {
  padding: 48px 0 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.service-hero--photo {
  padding: 0;
  border-bottom: none;
  background: none;
  overflow: hidden;
}

.service-hero__media {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.service-hero__media .container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 64px;
}

.service-hero__content {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: min(760px, 100%);
  overflow: visible;
}

.service-hero__scrim {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 50% 50% at 50% 50%,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.62) 18%,
    rgba(0, 0, 0, 0) 85%
  );
  backdrop-filter: blur(14px) brightness(0.55);
  -webkit-backdrop-filter: blur(14px) brightness(0.55);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 0%, black 18%, transparent 85%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 0%, black 18%, transparent 85%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.service-hero__content > :not(.service-hero__scrim) {
  position: relative;
  z-index: 1;
}

.service-hero--photo .service-back {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.service-hero--photo .service-back:hover {
  color: #fff;
}

.service-hero--photo .service-hero__label,
.service-hero--photo .service-hero__title,
.service-hero--photo .service-hero__intro {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4), 0 2px 24px rgba(0, 0, 0, 0.2);
}

.service-hero--photo .service-hero__intro {
  opacity: 1;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .service-hero__scrim {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.service-hero__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.service-hero__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 800px;
}

.service-hero__intro {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 720px;
}

.service-stages {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 800px;
}

.service-stage__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.service-stage__num {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-faint);
  flex-shrink: 0;
  min-width: 24px;
}

.service-stage__icon {
  display: block;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #1a1a1a;
}

.service-stage__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.service-stage__text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 0 76px;
  max-width: 720px;
}

.service-faq {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-faq__item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.service-faq__item:first-child { border-top: 1px solid var(--border); }

.service-faq__question {
  padding: 20px 40px 20px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.5;
}

.service-faq__question::-webkit-details-marker { display: none; }

.service-faq__question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-faint);
  transition: transform 0.25s var(--ease);
}

.service-faq__item[open] .service-faq__question::after {
  content: '−';
}

.service-faq__answer {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.related-services {
  border-top: 1px solid var(--border);
}

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

.related-service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.related-service-card__category {
  margin-bottom: 10px;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-service-card__title {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.related-service-card__text {
  flex: 1;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.service-cta {
  padding: 80px 0 100px;
}

.service-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.service-cta__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-cta__text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

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

.service-lead-form .form__group,
.service-lead-form .form__group--full,
.service-lead-form .form__submit,
.service-lead-form .form__privacy,
.service-lead-form .form-status {
  grid-column: 1;
}

.service-lead-form .form__submit {
  justify-self: stretch;
  min-width: 0;
}

.work-filters {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.work-filters__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.work-filters__label {
  min-width: 64px;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-filter {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.work-filter:hover,
.work-filter--active {
  border-color: var(--text);
  background: var(--text);
  color: var(--surface);
}

.work-card[hidden] { display: none !important; }

.service-cta__map-frame {
  margin-top: 16px;
  height: 220px;
}

.service-row__cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 6px;
}

.service-row__title a {
  color: inherit;
  transition: color 0.2s;
}
.service-row__title a:hover { color: var(--accent); }

.service-row__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

@media (max-width: 768px) {
  .service-cta__inner {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .service-row__actions {
    flex-direction: row;
    align-items: stretch;
    width: 100%;
  }
  .service-row__actions .btn { flex: 1; justify-content: center; }
  .related-services__grid { grid-template-columns: 1fr; }
  .related-service-card { min-height: 0; }
  .work-filters { gap: 8px; }
  .work-filters__group { gap: 8px; }
  .work-filters__label { flex-basis: 100%; }
  .work-filter { padding: 9px 13px; }
}

/* ---- Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal--visible { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .process { grid-template-columns: 1fr; gap: 32px; }
  .process::before { display: none; }

  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .works-row, .reviews-row--preview { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry .work-card--wide { grid-column: span 1; }

  .about-split { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .cta-banner__inner { grid-template-columns: 1fr; padding: 48px 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__map { height: 240px; }

  .service-row { grid-template-columns: 1fr; gap: 12px; padding: 28px; }

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

@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
    background: var(--bg-soft);
    padding: 20px 20px 24px;
  }

  .hero__top-scrim {
    display: none;
  }

  .hero__inner {
    display: contents;
  }

  .hero__top {
    order: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 14px;
  }

  .hero__title {
    color: var(--text);
  }

  .hero__subtitle {
    color: var(--text-muted);
    opacity: 1;
  }

  .hero__bg {
    order: 2;
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    background: #3a3a3a;
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .hero__bg img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .hero__bottom {
    order: 3;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 16px 0 0;
  }

  .hero__trust-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
    margin-top: 0;
    border: none;
    border-radius: 0;
    overflow: visible;
    background: transparent;
  }

  .hero__trust-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: none;
    padding: 0;
    border: none;
  }

  .hero__trust-item:nth-child(2n),
  .hero__trust-item:nth-child(n + 3) {
    border: none;
  }

  .hero__trust-icon {
    display: flex;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.95);
    color: #0a0a0a;
  }

  .hero__trust-icon svg {
    width: 14px;
    height: 14px;
  }

  .hero__trust-text {
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-shadow: none;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .page-hero--photo {
    min-height: calc(100vh - var(--header-h));
    align-items: flex-end;
  }

  .page-hero--photo .container {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .service-hero--photo {
    max-height: 70vh;
    min-height: 0;
  }

  .service-hero--photo .service-hero__media {
    height: 70vh;
    max-height: 70vh;
    min-height: 0;
    background-size: cover;
    background-position: center;
  }

  .service-hero--photo .service-hero__media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 35%, rgba(0, 0, 0, 0) 65%);
  }

  .service-hero--photo .service-hero__scrim {
    display: none !important;
  }

  .service-hero--photo .service-hero__media .container {
    position: absolute;
    inset: 0;
    z-index: 2;
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .service-hero--photo .service-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    width: 100%;
    max-width: 100%;
    padding-bottom: 28px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-hero--photo .service-hero__title {
    font-size: 26px;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .service-hero--photo .service-hero__label {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .service-hero--photo .service-hero__intro {
    font-size: 14px;
    line-height: 1.5;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .service-hero--photo .service-back {
    margin-top: 12px;
  }

  .service-stage__text {
    margin-left: 0;
  }

  .service-stage__head {
    flex-wrap: wrap;
  }

  :root {
    --topbar-h: 56px;
    --header-bar-h: 0px;
  }

  .topbar {
    padding: 0;
    z-index: 112;
    transition: box-shadow 0.3s var(--ease);
  }

  .topbar--scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  }

  .topbar__desktop {
    display: none;
  }

  .topbar__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: var(--topbar-h);
    padding: 0 16px;
  }

  .topbar .topbar__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
  }

  .topbar__logo .logo__mark {
    height: 46px;
    width: auto;
  }

  .topbar .topbar__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
  }

  .topbar__rating:hover {
    opacity: 0.85;
  }

  .topbar__rating-icon {
    color: rgba(255, 255, 255, 0.65);
    flex-shrink: 0;
  }

  .topbar__rating-score {
    color: #fff;
  }

  .topbar__rating-star {
    color: var(--gold);
  }

  .topbar .topbar__phone--mobile {
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
  }

  .topbar__phone--mobile:hover {
    opacity: 0.85;
  }

  .topbar .topbar__burger {
    display: flex;
    flex-shrink: 0;
    color: #fff;
  }

  .topbar__burger span {
    background: #fff;
  }

  .header {
    display: contents;
  }

  .header--scrolled {
    box-shadow: none;
  }

  .header__cta {
    display: none;
  }

  .header__inner {
    display: contents;
  }

  .header__inner > .logo,
  .header__inner > .burger {
    display: none !important;
  }

  .nav__mobile-extra {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    margin-top: 16px;
  }

  .nav__mobile-extra .topbar__hours {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    margin-right: 0;
  }

  .nav__mobile-extra .rating-badge {
    color: var(--text-muted);
  }

  .nav__mobile-extra .rating-badge::after {
    display: none;
  }

  .nav__mobile-extra .rating-badge__text {
    display: inline;
  }

  .nav__mobile-extra .topbar__socials {
    display: flex;
  }

  .nav__mobile-extra .topbar__socials .socials__link {
    color: var(--text-muted);
  }

  .nav__mobile-extra .topbar__socials .socials__link:hover {
    color: var(--accent);
    background: var(--bg);
  }

  .nav__mobile-extra .topbar__phone {
    color: var(--text);
    font-size: 15px;
  }

  .nav__mobile-extra .header__cta {
    display: inline-flex;
    align-self: flex-start;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #F8F8F6;
    flex-direction: column;
    padding: 20px 28px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    z-index: 109;
  }
  .nav--open { transform: translateY(0); opacity: 1; }
  .nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  .nav__link--active::after { display: none; }

  .nav__dropdown { border-bottom: 1px solid var(--border); }

  .burger { display: flex; }

  .advantages__hero-inner {
    padding: 0 20px 40px;
  }

  .advantages__hero-title {
    font-size: 28px;
  }

  .advantages__intro {
    padding: 40px 0 48px;
  }

  .advantages__intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .advantages__intro-divider {
    width: 100%;
    height: 3px;
    min-height: 0;
  }

  .advantages__closing {
    padding: 32px 24px;
  }

  .nav__dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
  }
  .nav__dropdown-panel {
    position: static;
    transform: none;
    border: none;
    box-shadow: none;
    padding: 0 0 8px;
    min-width: unset;
    background: transparent;
  }
  .nav__dropdown-all {
    color: var(--text-muted);
    border-bottom-color: var(--border);
  }
  .nav__dropdown-all:hover { color: var(--accent); }
  .nav__dropdown-cat-btn {
    pointer-events: auto;
    cursor: pointer;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text);
  }
  .nav__dropdown-cat:hover .nav__dropdown-cat-btn,
  .nav__dropdown-cat--open .nav__dropdown-cat-btn {
    background: var(--bg);
    color: var(--accent);
  }
  .nav__dropdown-cat-btn .nav__dropdown-icon { display: block; }
  .nav__dropdown-sub { padding-left: 12px; }
  .nav__dropdown-link {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-muted);
  }
  .nav__dropdown-link:hover { color: var(--accent); }
  .nav__dropdown-all { padding: 8px 0 12px; margin-bottom: 4px; }

  .burger { display: flex; }

  .section { padding: 72px 0; }
  .philosophy-section { padding: 60px 0; }

  .philosophy {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .philosophy__video {
    order: 2;
    flex: none;
    max-width: 340px;
    width: 100%;
  }

  .philosophy__content {
    order: 1;
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
  }

  .philosophy__divider {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: 3px;
    min-height: 0;
  }

  .philosophy__label {
    grid-column: 1;
    grid-row: 1;
  }

  .philosophy__text {
    grid-column: 1;
    grid-row: 3;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .gallery-masonry { grid-template-columns: 1fr; }
  .work-card__desc { display: none; }
  .stats-bar { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .form__submit { width: 100%; min-width: unset; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__map { height: 260px; order: 1; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .reviews-rating__row {
    gap: 12px;
  }

  .reviews-rating__score {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding-left: 16px; padding-right: 16px; }
  .topbar__inner { padding-left: 12px; padding-right: 12px; gap: 12px; }
  .map-wrap { height: 300px; }
  .footer__map { height: 220px; }
}

.ls-intro {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 360px;
}

.ls-intro__media {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 68%;
  overflow: visible;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ls-intro__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.ls-intro__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right, transparent 22%, rgba(243, 243, 243, 0.75) 62%, var(--bg) 84%);
  pointer-events: none;
}

.ls-intro__text {
  position: relative;
  z-index: 2;
  margin-left: 46%;
  padding: 20px 16px 20px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 360px;
}

.ls-intro__text .about-split__text {
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

.ls-team-label {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9a9a9a;
  margin: 0 0 40px;
}

.ls-block {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.ls-block--reverse {
  grid-template-columns: 1fr 300px;
}

.ls-block--reverse .ls-block__media {
  order: 2;
}

.ls-block--reverse .ls-block__content {
  order: 1;
}

.ls-block__media {
  width: 100%;
  min-height: 320px;
  background: #efefec;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ls-block__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ls-block__badge {
  display: inline-block;
  background: #efefec;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.ls-block__text {
  font-size: 16px;
  line-height: 1.65;
  color: #3a3a3a;
  margin: 0;
}

.ls-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.ls-trio__item {
  margin: 0;
}

.ls-trio__item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.ls-trio__caption {
  font-size: 13px;
  color: #6b6b6b;
  margin-top: 10px;
  text-align: center;
}

@media (max-width: 860px) {
  .ls-intro {
    flex-direction: column;
    min-height: auto;
  }

  .ls-intro__media {
    position: relative;
    width: 100%;
    height: 260px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ls-intro__media::after {
    display: none;
  }

  .ls-intro__text {
    margin-left: 0;
    padding: 20px 4px;
    min-height: auto;
  }

  .ls-intro__media img {
    object-position: center center;
  }

  .ls-block,
  .ls-block--reverse {
    grid-template-columns: 1fr;
  }

  .ls-block--reverse .ls-block__media,
  .ls-block--reverse .ls-block__content {
    order: unset;
  }

  .ls-block__media {
    min-height: 240px;
  }
}

@media (max-width: 560px) {
  .quick-contact {
    right: 12px;
    bottom: 12px;
    flex-direction: row;
  }
  .quick-contact__link {
    min-width: 46px;
    min-height: 46px;
    justify-content: center;
    padding: 10px;
  }
  .quick-contact__text { display: none; }
  .ls-trio {
    grid-template-columns: 1fr;
  }
}
