/* ============================================================
   Sofden — системы замещения волос. Чистая рукописная вёрстка.
   ============================================================ */

/* ---------- Шрифты (самостоятельно захостены, только нужные подмножества) ---------- */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/open-sans/open-sans-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/open-sans/open-sans-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/open-sans/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/open-sans/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto/roboto-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto/roboto-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto/roboto-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto/roboto-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Дизайн-токены ---------- */
:root {
  --color-primary: #34bcf2;
  --color-primary-dark: #1a9fd6;
  --color-text: #1a1f26;
  --color-text-secondary: #5c6570;
  --color-text-muted: #8a9099;
  --color-bg: #f8f9fa;
  --color-bg-alt: #f8f9fa;
  --color-dark: #0f1720;
  --color-border: #e6eaee;
  --color-white: #ffffff;

  --font-body: "Open Sans", -apple-system, Segoe UI, sans-serif;
  --font-heading: "Roboto", -apple-system, Segoe UI, sans-serif;

  --container-width: 1140px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 12px 32px rgba(15, 23, 32, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 32, 0.14);
  --transition: 0.25s ease;
  --header-height: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body, h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
  text-transform: uppercase;
}
/* Единственное исключение на оригинале — заголовок блока преимуществ. */
#advantages .section__title { text-transform: none; }
/* На оригинале это блок "заголовок слева / 2 колонки карточек справа" (col-4/col-8), а не заголовок сверху во всю ширину. */
.advantages-layout { display: flex; gap: 48px; align-items: flex-start; }
.advantages-layout__title.section__title { flex: 0 0 30%; text-align: left; margin-bottom: 0; }
.advantages-layout__grid { flex: 1; }
@media (max-width: 900px) {
  .advantages-layout { flex-direction: column; gap: 24px; }
  .advantages-layout__title.section__title { text-align: center; }
}
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p { color: var(--color-text-secondary); }

.icon { width: 1.4em; height: 1.4em; fill: currentColor; flex-shrink: 0; }
.icon--lg { width: 2.4rem; height: 2.4rem; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
/* Внешний блок остаётся стандартным центрированным контейнером (как везде на странице),
   а сужаем и прижимаем влево только текст внутри — иначе margin-left:0 прижимал бы
   весь блок к краю окна браузера, а не к обычному отступу контента. */
.container--left > * { max-width: 900px; }

.section { padding: 48px 0; }
#about { padding: 30px 0 0; }
.section--alt { background: var(--color-bg-alt); }
.section--accent { background: var(--color-primary); }
.section--accent p, .section--accent li { color: rgba(15, 23, 32, 0.75); }
.section--accent h2 { color: var(--color-text); }
.section--accent .check-list li::before { color: var(--color-text); }
.section--accent .btn--outline { background: transparent; color: #494949; border: 1px solid #494949; }
.section--accent .btn--outline:hover { background: #494949; color: #fff; }

/* На оригинале это ряд: фото | центрированный текст | кнопка справа (не под текстом). */
.approach-layout { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.approach-layout__img { flex: 0 0 22%; width: 22%; object-fit: cover; box-shadow: var(--shadow); }
.approach-layout__text { flex: 1 1 380px; text-align: center; }
.approach-layout__text h2 { margin-bottom: 16px; }
.approach-layout__text p { margin-bottom: 0; }
.approach-layout__cta { flex: 0 0 auto; margin-left: auto; }
.check-list--centered li { justify-content: center; font-weight: 700; margin-bottom: 0; line-height: 1.3; }
@media (max-width: 900px) {
  .approach-layout { flex-direction: column; }
  .approach-layout__img { flex: 0 0 auto; width: 100%; }
  .approach-layout__cta { margin: 0 auto; }
}
.section__title { text-align: center; margin-bottom: 40px; }
.section__lead { text-align: center; max-width: 640px; margin: -16px auto 40px; }

.eyebrow {
  color: var(--color-primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.eyebrow-accent { width: 80px; height: 3px; background: var(--color-primary); margin: 20px 0; }

/* ---------- Кнопки ----------
   На оригинале все кнопки одинаковые: сплошные синие, БЕЗ скруглений,
   компактный паддинг. Исключение — кнопка в hero (см. .btn--hero). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 0;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); }
.btn--outline { background: var(--color-primary); color: #fff; }
.btn--outline:hover { background: var(--color-primary-dark); transform: translateY(-2px); }
.btn--hero { padding: 8px 35px; border-radius: 50px; background: rgba(52, 188, 242, 0.9); }
.btn--hero:hover { background: rgba(26, 159, 214, 0.95); transform: translateY(-2px); }
.btn--icon { padding: 11px; border-radius: 50%; }

.check-list li { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; color: var(--color-text-secondary); }
.check-list li::before { content: "•"; color: var(--color-primary); font-weight: 700; }

/* ---------- Шапка ----------
   При загрузке страницы фон прозрачный (шапка не видна на hero).
   После начала прокрутки появляется полупрозрачная тёмная плашка —
   класс .site-header--scrolled переключается в js/main.js. */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(49, 53, 62, 0);
  height: var(--header-height);
  display: flex; align-items: center;
  transition: background-color 0.25s ease;
}
.site-header--scrolled { background: rgba(49, 53, 62, 0.8); }
.site-header__inner { display: flex; align-items: center; width: 100%; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; justify-content: space-around; flex: 1; margin-left: 20px; flex-wrap: wrap; }
.nav a { font-weight: 700; font-size: 11px; text-transform: uppercase; color: #0c94ca; transition: color var(--transition); }
.nav a:hover { color: #fff; }
.nav-toggle { display: none; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  color: #fff;
}
.hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.hero__content { position: relative; max-width: 800px; }
.hero h1 { color: #fff; text-transform: uppercase; font-size: 36px; margin-bottom: 20px; }
.hero__title-break { display: block; margin-top: 0.5em; }
.hero__lead { color: rgb(238,239,241); font-size: 17px; margin-bottom: 32px; }

/* ---------- CTA-полосы ---------- */
/* На оригинале кнопки в CTA-полосах идут друг под другом по центру,
   без рамок и отдельного фона у полосы. */
.cta-band { padding: 20px 0; }
.cta-band__row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.cta-band__row--text p { font-weight: 700; color: var(--color-text); font-size: 1.05rem; margin: 0 0 4px; text-align: center; }
.cta-band__buttons { display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* ---------- Сетки / карточки ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card h3 { margin-bottom: 10px; font-size: 1.05rem; }

.step { text-align: center; }
.step .icon--lg { color: var(--color-primary); margin: 0 auto 16px; }
.step h3 { margin-bottom: 8px; font-size: 1rem; }
/* На оригинале это 2 колонки, иконка слева от текста, заголовок секции слева. */
.section__title--left { text-align: left; }
.step--media { display: flex; align-items: center; gap: 24px; text-align: left; margin-bottom: 24px; }
.step--media .icon--lg { flex: 0 0 auto; margin: 0; }
.step--media h3 { margin-bottom: 8px; }
@media (max-width: 640px) {
  .step--media { flex-direction: column; text-align: center; }
}

/* ---------- 2-колоночные секции ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split--reverse .split__text { order: -1; }
.split__img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow); }
.split__text h2 { margin-bottom: 16px; }
.split__text p { margin-bottom: 14px; }
.split__text .btn { margin-top: 12px; }

/* Мозаика (masonry) без JS: колонки CSS вместо grid, чтобы у фото с разной
   пропорцией не оставалось пустого места снизу, как при выравнивании по рядам. */
.gallery-hover { column-count: 2; column-gap: 12px; }
.gallery-hover img { display: block; width: 100%; height: auto; margin-bottom: 12px; break-inside: avoid; transition: transform var(--transition); }
.gallery-hover img:hover { transform: scale(1.03); }

/* ---------- Фото-сетка + лайтбокс ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 36px 0 48px; }
.photo-grid img { border-radius: var(--radius-sm); aspect-ratio: 3/4; object-fit: cover; cursor: zoom-in; transition: transform var(--transition); }
.photo-grid img:hover { transform: scale(1.03); }

.lightbox {
  position: fixed; inset: 0; background: rgba(10, 14, 18, 0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius-sm); }
.lightbox__close { position: absolute; top: 24px; right: 24px; color: #fff; width: 44px; height: 44px; }
.lightbox__close .icon { width: 100%; height: 100%; }

/* ---------- Карточки систем ----------
   На оригинале: текстовая панель (по центру, uppercase) вплотную к квадратному фото, без отступов между карточками. */
#systems .grid--4 { gap: 0; }
.system-card { display: flex; align-items: stretch; background: #f7f7f7; }
.system-card__text { flex: 1 1 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 16px; }
.system-card img { flex: 1 1 50%; width: 50%; aspect-ratio: 1; object-fit: cover; }
.system-card h3 { font-size: 0.95rem; margin: 0 0 10px; line-height: 1.3; text-transform: uppercase; }
.system-card p { font-size: 0.75rem; margin: 0; text-transform: uppercase; color: var(--color-text-secondary); }

/* ---------- Аккордеон FAQ ---------- */
.accordion__item {
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}
.accordion__item[open] { border-bottom-color: var(--color-primary); }
.accordion__item summary {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-weight: 700; color: var(--color-text);
  text-transform: uppercase;
  list-style: none;
}
.accordion__q { display: flex; align-items: center; gap: 10px; }
.accordion__q .icon { color: var(--color-primary); width: 1.4em; height: 1.4em; flex-shrink: 0; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary > svg.icon { color: var(--color-primary); transition: transform var(--transition); width: 1.1em; height: 1.1em; flex-shrink: 0; }
.accordion__item[open] summary > svg.icon { transform: rotate(90deg); }
.accordion__item p { margin-top: 12px; }

/* ---------- Услуги ---------- */
.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 60px; }
.service {
  display: flex; gap: 20px; align-items: center;
  padding: 12px 0;
}
.service img, .service__whatsapp {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.service__whatsapp { display: flex; align-items: center; justify-content: center; background: #e9f9f0; color: #25d366; }
.service__head { display: flex; align-items: baseline; gap: 12px; }
.service__head h3 { font-size: 1rem; }
.service__line { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--color-border); align-self: center; }
.price { background: var(--color-primary); color: #fff; font-weight: 700; font-size: 0.85rem; white-space: nowrap; padding: 6px 14px; border-radius: 50px; }
.service p { margin-top: 4px; font-size: 0.92rem; }
.service p a { color: var(--color-primary); font-weight: 600; }

/* ---------- Тарифы ---------- */
.pricing-card {
  padding: 30px; text-align: center; background: #f7f7f7;
}
.pricing-card--featured { padding: 50px 30px; }
.pricing-card__price { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--color-text); margin: 8px 0 4px; }
.pricing-card__desc { margin-bottom: 18px; }
.pricing-card .check-list { margin-bottom: 24px; text-align: center; }
.pricing-card .check-list li {
  display: block; border-bottom: 1px solid var(--color-border); padding: 12px 0; margin-bottom: 0;
}
.pricing-card .check-list li:last-child { border-bottom: none; }
.pricing-card .check-list li::before { content: "• "; color: inherit; font-weight: inherit; }
.pricing-card .btn { width: 100%; }

.pricing-note { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.pricing-note p { flex: 2 1 500px; text-align: left; }
.pricing-note .btn { flex: 0 0 auto; }

/* ---------- Команда ---------- */
.team-card {
  display: flex; gap: 40px; align-items: center;
}
.team-card img { width: 320px; aspect-ratio: 4 / 5; object-fit: cover; flex-shrink: 0; }
.team-card h3 { text-transform: none; }
.team-card__role { color: var(--color-text-secondary); font-weight: 400; margin-bottom: 12px; }

/* ---------- Отзывы (тёмная секция) ---------- */
.section--dark {
  position: relative; padding: 80px 0;
  background-size: cover; background-position: center;
  color: #fff;
}
.section--dark__overlay { position: absolute; inset: 0; background: rgba(6, 10, 15, 0.82); }
.section--dark__content { position: relative; }
.section--dark .section__title, .section--dark .section__lead { color: #fff; }
.section--dark .section__lead { color: rgba(255,255,255,.75); }

.testimonial {
  display: flex; align-items: center; gap: 32px; text-align: left; max-width: 900px; margin: 0 auto;
}
.testimonial img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial blockquote { font-size: 1.05rem; color: rgba(255,255,255,0.85); margin: 0 0 14px; }
.testimonial cite { color: #fff; font-style: normal; font-weight: 700; text-transform: uppercase; }

/* ---------- Карусель ---------- */
.carousel { position: relative; overflow: hidden; }
.carousel__track { display: flex; align-items: flex-start; }
.carousel__slide { flex: 0 0 100%; min-width: 0; }
.carousel__photo { aspect-ratio: 1110/622; object-fit: cover; width: 100%; margin-bottom: 20px; }
.carousel__caption { text-align: center; max-width: 640px; margin: 0 auto; line-height: 1.7; }
.carousel__divider { width: 80px; height: 2px; background: #000; margin: 20px auto 0; }

/* Стрелки и точки — как в оригинале: без кружка-подложки, просто иконка,
   которая подсвечивается акцентным цветом при наведении. */
.carousel__arrow {
  position: absolute; top: 40%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: none; border: none; box-shadow: none;
  display: flex; align-items: center; justify-content: center;
  color: #bbb; z-index: 2; transition: color var(--transition);
}
.carousel__arrow:hover { color: var(--color-primary); }
.carousel__arrow .icon { width: 1rem; height: 1rem; }
.carousel--testimonials { padding-bottom: 60px; }
.carousel--testimonials .carousel__arrow {
  top: auto; bottom: 0; transform: none;
  width: 40px; height: 40px; background: #f7f7f7; color: #494949;
}
.carousel--testimonials .carousel__arrow--prev { left: calc(50% - 44px); }
.carousel--testimonials .carousel__arrow--next { left: calc(50% + 4px); right: auto; }
.carousel--testimonials .carousel__arrow:hover { background: var(--color-primary); color: #fff; }
.carousel__arrow--prev { left: -6px; }
.carousel__arrow--next { right: -6px; }
.carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.carousel__dots button { width: 10px; height: 10px; border-radius: 50%; background: #ccc; }
.carousel--testimonials .carousel__dots { display: none; }
.carousel__dots button.is-active { background: var(--color-primary); border: 1px solid rgba(204,204,204,0.5); }

/* ---------- Контакты ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.contact-card {
  border-left: 1px solid #eee; border-bottom: 1px solid #eee;
  padding: 25px 15px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.contact-card .icon--lg { color: var(--color-primary); margin-bottom: 8px; }
.contact-card__label { color: var(--color-text-muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: .05em; }
.contact-card__value { font-weight: 700; font-size: 1.1rem; }
.contact-card--actions { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 12px; border: none; }

/* ---------- Форма заявки (Contact Form 7) ---------- */
.contact-form { max-width: 480px; margin: 48px auto 0; text-align: center; }
.contact-form__title { margin-bottom: 8px; }
.contact-form__lead { margin-bottom: 24px; }
.contact-form .wpcf7-form p { text-align: left; margin-bottom: 16px; }
.contact-form .wpcf7-form label { display: block; font-weight: 700; font-size: 0.85rem; color: var(--color-text); margin-bottom: 6px; }
.contact-form .wpcf7-form-control.wpcf7-text {
  width: 100%; padding: 12px 16px; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 15px;
  color: var(--color-text); background: var(--color-white);
  transition: border-color var(--transition);
}
.contact-form .wpcf7-form-control.wpcf7-text:focus { border-color: var(--color-primary); outline: none; }
.contact-form .wpcf7-form-control.wpcf7-not-valid { border-color: #e04b4b; }
.contact-form .wpcf7-not-valid-tip { color: #e04b4b; font-size: 0.82rem; margin-top: 4px; }
.contact-form input[type="submit"].btn { width: 100%; border: none; cursor: pointer; margin-top: 4px; }
.contact-form .wpcf7-response-output {
  margin-top: 20px; padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 0.9rem; border: 1px solid var(--color-border);
}
.contact-form form.sent .wpcf7-response-output { border-color: #2fa860; color: #1f7a45; background: #eafaf1; }
.contact-form form.failed .wpcf7-response-output,
.contact-form form.aborted .wpcf7-response-output,
.contact-form form.spam .wpcf7-response-output { border-color: #e04b4b; color: #b02a2a; background: #fdecec; }
.contact-form form.invalid .wpcf7-response-output { border-color: #e0a23b; color: #93650f; background: #fdf3e3; }
@media (max-width: 620px) { .contact-form { padding: 0 16px; } }

/* ---------- Футер ---------- */
.site-footer { background: var(--color-dark); color: rgba(255,255,255,.7); padding: 32px 0; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .brand img { filter: brightness(0) invert(1); opacity: .9; }
.site-footer__contacts { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 0.9rem; }
.site-footer__contacts a, .site-footer__contacts span { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__contacts a:hover { color: var(--color-primary); }


/* ============================================================
   Адаптивность
   ============================================================ */
@media (max-width: 992px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; top: var(--header-height); left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: all var(--transition);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { padding: 4px 0; color: var(--color-text); }
  .nav a:hover { color: var(--color-primary); }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; }

  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__text { order: 0; }
  .team-card { flex-direction: column; text-align: center; padding: 32px 24px; }
  .pricing-note { flex-direction: column; text-align: center; }
  .service { flex-direction: column; text-align: center; }
  .service__head { justify-content: center; }
  .testimonial { flex-direction: column; text-align: center; }
}

@media (max-width: 620px) {
  .grid--4 { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .site-footer__inner { flex-direction: column; text-align: center; }
}
