/* =========================================================
   FITNESS ONE — Бенилюкс. Дизайн-система 2026
   ========================================================= */

:root {
  /* Фирменная палитра */
  --brand: #cf0500;
  --brand-deep: #9f0e0f;
  --brand-hot: #ff2019;
  --accent: #fce24f;
  --steel: #434b4e;

  /* Нейтральные */
  --ink: #0b0b0c;
  --ink-2: #131315;
  --ink-3: #1b1b1e;
  --paper: #ffffff;
  --paper-2: #f4f3f1;
  --muted: #9a9ea1;
  --muted-2: #6f7478;
  --line: rgba(255, 255, 255, .14);
  --line-dark: rgba(11, 11, 12, .12);

  --shell: 1440px;
  --gut: 48px;
  --header-h: 92px;

  --ease: cubic-bezier(.16, .84, .44, 1);
  --font: 'Inter', 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

::selection { background: var(--brand); color: #fff; }

/* ---------- Сетка ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.section { position: relative; padding: clamp(72px, 9vw, 140px) 0; }
.section--light { background: var(--paper); color: var(--ink); }
.section--paper { background: var(--paper-2); color: var(--ink); }

/* ---------- Типографика ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--brand);
}
.section--light .eyebrow, .section--paper .eyebrow { color: var(--muted-2); }

.display {
  font-size: clamp(38px, 6.4vw, 96px);
  line-height: .95;
  letter-spacing: -.03em;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
}

sup { font-size: .55em; vertical-align: super; line-height: 0; }

.h2 {
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.02;
  letter-spacing: -.025em;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
}

.h3 {
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.15;
  letter-spacing: -.015em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

.lead {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
}
.section--light .lead, .section--paper .lead { color: var(--muted-2); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head__text { max-width: 760px; }

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  --btn-bd: var(--brand);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 19px 38px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--brand-hot); border-color: var(--brand-hot); transform: translateY(-2px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--dark { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(11,11,12,.25); }
.btn--dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn--sm { padding: 13px 24px; font-size: 11px; letter-spacing: .16em; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  transition: gap .3s var(--ease);
}
.link-arrow:hover { gap: 18px; }

/* ---------- Шапка ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0));
  opacity: 1;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.site-header.is-stuck {
  background: rgba(11, 11, 12, .92);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-stuck::before { opacity: 0; }

body.no-hero .site-header {
  background: var(--ink);
  border-bottom-color: var(--line);
}
body.no-hero .site-header::before { opacity: 0; }

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: height .4s var(--ease);
}
.site-header.is-stuck .header__inner { height: 74px; }

/* Логотип */
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark {
  width: 52px; height: 52px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 4px;
  transition: width .4s var(--ease), height .4s var(--ease);
}
.site-header.is-stuck .brand__mark { width: 44px; height: 44px; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text b {
  font-size: 15px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.brand__text i {
  font-style: normal; font-size: 9.5px; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); margin-top: 3px;
}
.section--light .brand__text i { color: var(--muted-2); }

/* Меню */
.nav-main { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-list li { position: relative; }
.nav-list a {
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: 8px 0; display: inline-block; position: relative; color: #fff;
}
.nav-list a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--brand);
  transition: width .35s var(--ease);
}
.nav-list a:hover::after { width: 100%; }

.header__aside { display: flex; align-items: center; gap: 22px; }
.header__phone {
  font-size: 15px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}
.header__phone:hover { color: var(--accent); }

/* Бургер */
.burger {
  display: none;
  width: 46px; height: 46px;
  background: transparent; border: 1px solid var(--line);
  padding: 0; cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute; left: 13px; width: 20px; height: 1.5px; background: #fff;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22.5px; }
.burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Мобильное меню */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--ink);
  padding: calc(var(--header-h) + 24px) var(--gut) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  overflow-y: auto;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu .nav-list {
  flex-direction: column; align-items: flex-start; gap: 0; width: 100%;
}
.mobile-menu .nav-list li { width: 100%; border-bottom: 1px solid var(--line); }
.mobile-menu .nav-list a {
  display: block; padding: 22px 0; font-size: 22px; font-weight: 700;
  letter-spacing: -.01em; text-transform: uppercase;
}
.mobile-menu__foot { padding-top: 32px; display: grid; gap: 18px; }
.mobile-menu__phone { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.mobile-menu__meta { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  animation: heroZoom 2.6s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(6,6,7,.88) 0%, rgba(6,6,7,.55) 45%, rgba(6,6,7,.15) 75%, rgba(6,6,7,.45) 100%),
    linear-gradient(to top, rgba(6,6,7,.95) 0%, rgba(6,6,7,.25) 40%, rgba(6,6,7,.45) 100%);
}
.hero__inner {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
}
.hero__content { max-width: 900px; }
.hero__title { margin-bottom: 26px; }
.hero__title em {
  font-style: normal;
  color: var(--brand);
}
.hero__lines { display: grid; gap: 10px; margin-bottom: 38px; max-width: 620px; }
.hero__line {
  font-size: clamp(14px, 1.25vw, 19px);
  font-weight: 300;
  color: rgba(255,255,255,.82);
  padding-left: 20px;
  position: relative;
}
.hero__line::before {
  content: ''; position: absolute; left: 0; top: .68em;
  width: 8px; height: 1px; background: var(--brand);
}
.hero__line:first-child {
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Таймер */
.hero__timer {
  border-left: 1px solid var(--line);
  padding-left: 34px;
  min-width: 330px;
}
.hero__timer .eyebrow { margin-bottom: 16px; }
.countdown { display: flex; gap: 26px; list-style: none; margin: 0 0 24px; padding: 0; }
.countdown li { text-align: left; }
.countdown li span {
  display: block;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown li p {
  margin: 8px 0 0;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}

.hero__scroll {
  position: absolute; left: var(--gut); bottom: 0;
  display: none;
}

/* ---------- Показатели ---------- */
.stats { border-top: 1px solid var(--line); background: var(--ink-2); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.stats__item {
  padding: clamp(34px, 4vw, 56px) clamp(24px, 3vw, 48px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stats__item:last-child { border-right: 0; }
.stats__icon {
  width: 52px; height: 52px;
  object-fit: contain;
  object-position: left center;
}
.stats__title {
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.stats__body {
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}

/* ---------- Услуги ---------- */
.services { background: var(--ink); }
.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service__media {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 42vw, 620px);
}
.service__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
}
.service:hover .service__img { transform: scale(1.06); }
.service__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6,6,7,.1), rgba(6,6,7,.55));
}
.service__num {
  position: absolute; z-index: 2; left: 32px; top: 28px;
  font-size: 12px; font-weight: 600; letter-spacing: .24em; color: rgba(255,255,255,.75);
}
.service__body {
  padding: clamp(36px, 4.4vw, 76px);
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--line);
}
.service:nth-of-type(even) .service__media { order: 2; }
.service:nth-of-type(even) .service__body { border-left: 0; border-right: 1px solid var(--line); }
.service__title { margin-bottom: clamp(22px, 2.5vw, 38px); }
.service__list { display: grid; gap: 0; }
.service__row {
  display: grid;
  grid-template-columns: minmax(150px, .8fr) 1.2fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.service__row:first-child { border-top: 0; padding-top: 0; }
.service__row-title {
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.service__row-text { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.55; }
.service__row--full { grid-template-columns: 1fr; }

/* ---------- Клубные карты ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.card {
  background: var(--paper);
  padding: clamp(32px, 3vw, 52px);
  display: flex;
  flex-direction: column;
  transition: background .45s var(--ease), color .45s var(--ease);
}
.card:hover { background: var(--ink); color: #fff; }
.card__title {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800; letter-spacing: -.02em; text-transform: uppercase;
  margin: 0 0 6px;
}
.card__rule {
  display: block;
  width: 46px; height: 2px;
  background: var(--brand);
  margin: 18px 0 30px;
}
.card__list { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 0; flex: 1; }
.card__list li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-top: 1px solid var(--line-dark);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.5;
  transition: border-color .45s var(--ease);
}
.card:hover .card__list li { border-top-color: var(--line); }
.card__list li::before {
  content: '';
  position: absolute; left: 2px; top: 21px;
  width: 12px; height: 6px;
  border-left: 1.5px solid var(--brand);
  border-bottom: 1.5px solid var(--brand);
  transform: rotate(-45deg);
}
.card .btn { align-self: flex-start; }
.card:hover .btn--dark { --btn-bd: rgba(255,255,255,.35); --btn-fg: #fff; }
.card:hover .btn--dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Преимущества ---------- */
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 2.5vw, 40px);
}
.post-card { display: flex; flex-direction: column; }
.post-card__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--ink-3); }
.post-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__title {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700; text-transform: uppercase; letter-spacing: -.01em;
  margin: 26px 0 12px;
}
.post-card__text { font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--muted); }
.section--light .post-card__text, .section--paper .post-card__text { color: var(--muted-2); }

/* ---------- Галерея ---------- */
.gallery { padding-bottom: 0; }
.gallery__stage { position: relative; margin-top: clamp(32px, 4vw, 56px); }
.gallery-main .slick-slide { position: relative; }
.gallery-main .gallery__item {
  height: clamp(320px, 56vw, 760px);
  background-size: cover !important;
  background-position: center !important;
}
.gallery-thumbs { margin-top: 14px; }
.gallery-thumbs .gallery__item {
  height: 92px;
  margin-right: 10px;
  background-size: cover !important;
  background-position: center !important;
  opacity: .38;
  cursor: pointer;
  transition: opacity .35s var(--ease);
}
.gallery-thumbs .slick-current .gallery__item,
.gallery-thumbs .gallery__item:hover { opacity: 1; }

.gallery__nav {
  position: absolute; right: 0; top: -78px;
  display: flex; gap: 8px;
}
.slick-arrow.carousel_arrow {
  width: 52px; height: 52px;
  border: 1px solid var(--line);
  background: transparent;
  position: relative; cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  font-size: 0;
  display: inline-block;
}
.slick-arrow.carousel_arrow:hover { background: var(--brand); border-color: var(--brand); }
.slick-arrow.carousel_arrow::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 9px; height: 9px;
  border-top: 1.5px solid #fff; border-right: 1.5px solid #fff;
}
.carousel_left::after { transform: translate(-35%, -50%) rotate(-135deg); }
.carousel_right::after { transform: translate(-65%, -50%) rotate(45deg); }

/* ---------- Отзывы ---------- */
.reviews__item { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 3vw, 56px); align-items: center; }
.reviews__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.reviews__name { font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.reviews__role { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin: 8px 0 20px; }
.reviews__text { font-size: clamp(16px, 1.4vw, 21px); font-weight: 300; line-height: 1.6; color: rgba(255,255,255,.82); }
.reviews .carousel_arrowss { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 24px; }

/* ---------- Контакты и карта ---------- */
.contacts { background: var(--ink-2); border-top: 1px solid var(--line); }
.contacts__grid {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) 1.15fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.contacts__info { background: var(--ink-2); padding: clamp(32px, 4vw, 64px); }
.contacts__block { padding: 26px 0; border-top: 1px solid var(--line); }
.contacts__block:first-of-type { border-top: 0; padding-top: 0; }
.contacts__label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.contacts__value { font-size: clamp(16px, 1.35vw, 20px); font-weight: 500; line-height: 1.45; }
.contacts__value a:hover { color: var(--accent); }
.contacts__phone { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.contacts__map { min-height: 480px; background: var(--ink-3); }
#map { width: 100%; height: 100%; min-height: 480px; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding: clamp(48px, 5vw, 76px) 0 34px; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 28px; }
.footer__nav a { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.footer__nav a:hover { color: #fff; }
.footer__bottom {
  padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between;
  font-size: 12px; color: var(--muted-2); line-height: 1.6;
}
.footer__bottom a:hover { color: #fff; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 44px; }
.footer__col { min-width: 190px; }

/* ---------- Мобильная панель действий ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  display: none;
  background: rgba(11,11,12,.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px;
  gap: 10px;
}
.action-bar .btn { flex: 1; padding: 15px 10px; font-size: 11px; }

/* ---------- Внутренние страницы ---------- */
.page-shell { padding: calc(var(--header-h) + 60px) 0 clamp(64px, 8vw, 120px); min-height: 70vh; }
.page-shell .title { font-size: clamp(30px, 4vw, 56px); font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; margin: 0 0 34px; }
.page-content { max-width: 860px; font-weight: 300; color: rgba(255,255,255,.8); }
.page-content h2, .page-content h3 { color: #fff; text-transform: uppercase; letter-spacing: -.01em; margin: 40px 0 14px; }
.page-content p { margin: 0 0 18px; line-height: 1.75; }
.page-content a { color: var(--accent); text-decoration: underline; }
.page-content ul, .page-content ol { padding-left: 20px; margin: 0 0 18px; }
.page-content li { margin-bottom: 8px; }

/* ---------- Формы ---------- */
.form-modal {
  background: var(--ink-2);
  color: #fff;
  padding: clamp(28px, 4vw, 48px);
  width: min(520px, 92vw);
  border: 1px solid var(--line);
}
.form-modal h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800; text-transform: uppercase; letter-spacing: -.02em;
  margin: 0 0 10px;
}
.form-modal__note { font-size: 14px; color: var(--muted); font-weight: 300; margin-bottom: 28px; }

.wpcf7 input[type=text],
.wpcf7 input[type=tel],
.wpcf7 input[type=email],
.wpcf7 textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  padding: 14px 0;
  margin-bottom: 8px;
  border-radius: 0;
  transition: border-color .3s var(--ease);
  -webkit-appearance: none;
}
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: var(--muted-2); }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-bottom-color: var(--brand); }

.wpcf7 input[type=submit] {
  width: 100%;
  margin-top: 22px;
  padding: 19px 32px;
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  font-family: inherit;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  -webkit-appearance: none;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.wpcf7 input[type=submit]:hover { background: var(--brand-hot); border-color: var(--brand-hot); }

.wpcf7 .wpcf7-list-item { margin: 14px 0 0; }
.wpcf7 .wpcf7-list-item-label {
  font-size: 12px; color: var(--muted); font-weight: 300; line-height: 1.5;
}
.wpcf7 input[type=checkbox] { accent-color: var(--brand); margin-right: 8px; }
.wpcf7 .wpcf7-not-valid-tip { color: var(--brand-hot); font-size: 12px; }
.wpcf7 form .wpcf7-response-output {
  border-color: var(--line); color: #fff; font-size: 13px; margin: 18px 0 0; padding: 12px 14px;
}
.wpcf7-spinner { filter: invert(1); }

/* Фэнсибокс */
.fancybox-skin { background: transparent !important; padding: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.fancybox-overlay { background: rgba(6, 6, 7, .88) !important; }
.fancybox-close {
  top: 10px !important; right: 10px !important;
  width: 40px !important; height: 40px !important;
  background: transparent !important;
}
.fancybox-close::before, .fancybox-close::after {
  content: ''; position: absolute; left: 12px; top: 19px;
  width: 16px; height: 1.5px; background: #fff;
}
.fancybox-close::before { transform: rotate(45deg); }
.fancybox-close::after { transform: rotate(-45deg); }

/* ---------- Появление при скролле ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__media { animation: none; transform: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1200px) {
  :root { --gut: 32px; }
  .nav-list { gap: 22px; }
  .header__phone { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 78px; }
  .nav-main { display: none; }
  .burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__timer { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 26px; min-width: 0; }
  .service { grid-template-columns: 1fr; }
  .service:nth-of-type(even) .service__media { order: 0; }
  .service__body { border-left: 0 !important; border-right: 0 !important; border-top: 1px solid var(--line); }
  .contacts__grid { grid-template-columns: 1fr; }
  .reviews__item { grid-template-columns: 1fr; }
  .reviews__photo { max-width: 200px; }
}

@media (max-width: 900px) {
  .header__aside .btn--sm { display: none; }
  .brand__text b { font-size: 13px; letter-spacing: .12em; white-space: nowrap; }
  .brand__text i { font-size: 8.5px; letter-spacing: .16em; white-space: nowrap; }
}

@media (max-width: 760px) {
  :root { --gut: 20px; }
  body { font-size: 15px; }
  .display { font-size: clamp(30px, 8.4vw, 46px); }
  .hero__lines { margin-bottom: 28px; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .brand__text b { font-size: 13px; }
  .brand__mark { width: 44px; height: 44px; }
  .hero { min-height: 92svh; }
  .hero__inner { padding-bottom: 34px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .countdown { gap: 16px; }
  .stats__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .service__row { grid-template-columns: 1fr; gap: 6px; }
  .action-bar { display: flex; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 96px; }
  .gallery__nav { position: static; margin-top: 14px; justify-content: flex-end; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { gap: 26px; }
}
