/* =========================================================
   EDWARDHARO — fitness trainer site
   Palette: black / red / white
   Inspired by LEAFTECH (Behance) + TRENIM
   ========================================================= */

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; color: var(--accent); font-weight: 600; }

/* ---------- TOKENS ---------- */
:root {
  --bg: #0a0a0b;
  --bg-2: #111114;
  --surface: #15151a;
  --surface-2: #1c1c22;
  --line: #26262e;
  --line-2: #33333d;
  --text: #ffffff;
  --muted: #9d9da8;
  --muted-2: #6b6b75;

  --accent: #e63946;
  --accent-2: #ff4554;
  --accent-glow: rgba(230, 57, 70, 0.35);
  --accent-soft: rgba(230, 57, 70, 0.12);

  --radius: 18px;
  --radius-lg: 28px;
  --radius-sm: 12px;

  --container: 1240px;
  --pad: clamp(20px, 4vw, 80px);

  --font-display: 'Unbounded', 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --easing: cubic-bezier(.2,.7,.2,1);
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- TYPOGRAPHY ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
  max-width: 580px;
  margin: 0 0 28px;
}
.section-sub {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--muted);
  max-width: 620px;
  margin: 12px auto 0;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 600;
}
.section-head {
  text-align: center;
  margin: 0 auto clamp(40px, 6vw, 80px);
  max-width: 760px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform .25s var(--easing), background .25s var(--easing), color .25s var(--easing), box-shadow .25s var(--easing);
  white-space: nowrap;
  position: relative;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px var(--accent-glow);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--line-2);
}
.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.04);
}
.btn--lg { padding: 18px 36px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(10,10,11, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.nav__logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
}
.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
}
.nav__links {
  display: flex;
  gap: 30px;
}
.nav__links a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  transition: color .2s;
}
.nav__links a:hover { color: #fff; }
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s var(--easing);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 10px 22px; font-size: 12px; }
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 200;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav__burger span {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: .25s var(--easing);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(15,15,18,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 12px 0 24px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform .35s var(--easing), opacity .25s var(--easing), visibility 0s linear .35s;
    z-index: 99;
  }
  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: transform .35s var(--easing), opacity .25s var(--easing), visibility 0s linear 0s;
  }
  .nav__links a {
    padding: 16px var(--pad);
    border-bottom: 1px solid var(--line);
    color: #fff;
    font-size: 17px;
  }
  .nav__links a:last-child { border-bottom: none; }
  .nav__links a::after { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(0.3) contrast(1.05) brightness(0.45);
}
.hero__video {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover;
  object-position: center 25%;
  filter: contrast(1.08) brightness(0.62) saturate(0.92);
  z-index: 0;
}
.hero__video + .hero__img { display: none; }
/* На мобиле hero-видео ОСТАЁТСЯ — оно нужно, чтоб шапка была живой */
/* fallback gradient if image missing */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(230,57,70,0.25), transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(230,57,70,0.12), transparent 50%),
    linear-gradient(180deg, #0a0a0b 0%, #15151a 100%);
  z-index: -1;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.7) 0%, rgba(10,10,11,0.55) 35%, rgba(10,10,11,1) 100%),
    linear-gradient(90deg, rgba(10,10,11,0.85) 0%, rgba(10,10,11,0.4) 45%, rgba(10,10,11,0.65) 100%),
    radial-gradient(ellipse at 20% 30%, rgba(230,57,70,0.18), transparent 55%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.hero__eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.4); opacity:.6} }

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 13vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin: 0 0 30px;
  text-transform: uppercase;
}
.hero__title .glossy-line { display: block; }
.hero__sub {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 36px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  max-width: 600px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.stat__label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 600px) {
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .stat__label { font-size: 11px; }
}

/* ---------- GLOSSY TEXT EFFECT (matte bg + glossy letters) ---------- */
.glossy-line {
  background-image:
    linear-gradient(180deg,
      #ffffff 0%,
      #d8d8d8 30%,
      #5a5a5e 50%,
      #f0f0f0 70%,
      #b8b8b8 100%
    );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
  position: relative;
}
.glossy-line--outline {
  background: none;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px #fff;
  color: transparent;
  opacity: 0.92;
}

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 26px 0;
}
.marquee__track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 32px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.marquee__track span {
  color: var(--muted-2);
}
.marquee__track .dot-sep { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- ABOUT ---------- */
.about {
  padding: clamp(80px, 10vw, 140px) 0;
}
.about__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.about__media {
  position: relative;
}
.about__badge {
  position: absolute;
  bottom: 24px;
  left: -28px;
  background: var(--accent);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 50px -15px var(--accent-glow);
  z-index: 2;
}
.about__badge-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
}
.about__badge-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.bullets {
  margin: 0 0 32px;
  display: grid;
  gap: 14px;
}
.bullets li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}
.bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 14px;
  height: 2px;
  background: var(--accent);
}
.bullets li strong { color: #fff; }
.creds {
  display: grid;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.cred {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--muted);
}
.cred__num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 0.04em;
}

@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__badge { left: 16px; bottom: 16px; }
}

/* ---------- FRAME (matte image wrap) ---------- */
.frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--surface);
  border: 1px solid var(--line);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.92) saturate(0.95);
  transition: transform .8s var(--easing), filter .6s var(--easing);
}
.frame:hover img {
  transform: scale(1.03);
  filter: contrast(1.08) brightness(1) saturate(1);
}
.frame__matte {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 50%, rgba(10,10,11,0.35) 85%, rgba(10,10,11,0.7) 100%),
    radial-gradient(ellipse at 80% 0%, rgba(230,57,70,0.12), transparent 55%);
}
.frame__matte::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .25 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  mix-blend-mode: overlay;
}
.frame--tall {
  aspect-ratio: 3/4;
}
.about__media .frame {
  aspect-ratio: 3/4;
}

/* ---------- SERVICES (fullbleed photo bg) ---------- */
.services {
  padding: clamp(60px, 8vw, 120px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.services__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.services__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: contrast(1.08) brightness(0.7) saturate(0.85);
}
.services__bg-matte {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(230,57,70,0.18), transparent 55%),
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.7) 100%);
}
.services__bg-matte::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .25 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.35;
  mix-blend-mode: overlay;
}
/* Glass cards over photo background */
.services .service-card {
  background: rgba(17,17,20,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
}
.services .service-card:hover {
  background: rgba(17,17,20,0.85);
  border-color: rgba(255,255,255,0.18);
}
.services .service-card--accent {
  background: linear-gradient(160deg, var(--accent) 0%, #b3232f 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--easing), border-color .25s var(--easing), background .25s var(--easing);
  min-height: 280px;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  background: var(--surface-2);
}
.service-card__num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.16em;
  margin-bottom: 6px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
.service-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  flex: 1;
}
.service-card__link {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 10px;
  transition: color .2s, transform .25s var(--easing);
  align-self: flex-start;
  position: static;
}
/* Делаем всю карточку кликабельной — overlay по всей карточке */
.service-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}
/* Текст и заголовки выше overlay, но не блокируют клик */
.service-card__num,
.service-card h3,
.service-card p { position: relative; z-index: 1; pointer-events: none; }
.service-card__link:hover { color: var(--accent); }
.service-card--accent {
  background: linear-gradient(160deg, var(--accent) 0%, #b3232f 100%);
  border-color: transparent;
}
.service-card--accent .service-card__num { color: #fff; opacity: 0.7; }
.service-card--accent p { color: rgba(255,255,255,0.85); }
.service-card--accent:hover {
  background: linear-gradient(160deg, var(--accent-2) 0%, var(--accent) 100%);
  transform: translateY(-6px);
}

@media (max-width: 1080px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .services__grid { grid-template-columns: 1fr; } }

/* ---------- PRICES ---------- */
.prices {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* prices__side removed — теперь Прайс это чистый блок без сбоковых фото */
.prices__group {
  margin-top: 60px;
}
.prices__group:first-of-type { margin-top: 0; }
.prices__group-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.prices__group-title h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.01em;
  margin: 0;
}
.prices__group-meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-grid {
  display: grid;
  gap: 18px;
}
.price-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.price-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) {
  .price-grid--four { grid-template-columns: repeat(2, 1fr); }
  .price-grid--three { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .price-grid--four { grid-template-columns: 1fr; }
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .35s var(--easing), border-color .25s, background .25s;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.price-card__name {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.price-card__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}
.price-card__cur {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--muted);
  font-weight: 600;
}
.price-card__hint {
  font-size: 13px;
  color: var(--muted);
}
.price-card__hint b { color: var(--accent); font-weight: 700; }
.price-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background .25s, border-color .25s, color .25s;
}
.price-card__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
/* «Популярно» — лёгкий акцентный фон, БЕЗ постоянной красной рамки */
.price-card--featured {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(230,57,70,0.10), transparent 60%),
    var(--surface-2);
}
.price-card__badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--accent);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prices__note {
  margin-top: 26px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(230,57,70,0.25);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  color: #fff;
  font-size: 14px;
}
.prices__note span b { color: var(--accent); }

/* ---------- TARIFF CARDS ---------- */
.tariff-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform .4s var(--easing), border-color .25s;
}
.tariff-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
}
.tariff-card__head {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.tariff-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.tariff-card__price {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--muted);
  font-weight: 600;
}
.tariff-card__price span {
  font-size: 48px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tariff-card__list {
  display: grid;
  gap: 12px;
  flex: 1;
}
.tariff-card__list li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}
.tariff-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
}
.tariff-card__list li.ok { color: #fff; }
.tariff-card__list li.ok::before {
  background: var(--accent);
  border-color: var(--accent);
}
.tariff-card__list li.ok::after {
  content: '';
  position: absolute;
  left: 5px; top: 8px;
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.tariff-card__list li.no::after {
  content: '×';
  position: absolute;
  left: 5px; top: 1px;
  font-weight: 700;
  color: var(--muted-2);
  font-size: 14px;
}
/* Premium — лёгкий акцент, БЕЗ постоянной красной рамки */
.tariff-card--featured {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(230,57,70,0.10), transparent 60%),
    var(--surface-2);
}
.tariff-card--featured:hover { transform: translateY(-6px); }
.tariff-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .tariff-card--featured { transform: none; }
  .tariff-card--featured:hover { transform: translateY(-6px); }
}

/* ---------- STRIP DIVIDER ---------- */
.strip {
  position: relative;
  height: clamp(180px, 22vw, 320px);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: contrast(1.05) brightness(0.75) saturate(0.85);
}
.strip__matte {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,11,0.9) 0%, rgba(10,10,11,0.25) 30%, rgba(10,10,11,0.25) 70%, rgba(10,10,11,0.9) 100%),
    radial-gradient(ellipse at 50% 50%, rgba(230,57,70,0.15), transparent 65%);
}
.strip__matte::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.45;
  mix-blend-mode: overlay;
}
.strip__caption {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 2.4vw, 30px);
  letter-spacing: -0.01em;
  color: #fff;
}
.strip__line {
  color: var(--accent);
  font-size: 0.8em;
  letter-spacing: 0;
}

/* ---------- GLOSSY BANNER ---------- */
.glossy-banner {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
  overflow: hidden;
  isolation: isolate;
}
.glossy-banner__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.glossy-banner__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(230,57,70,0.55), transparent 60%),
    linear-gradient(135deg, #1a0608 0%, var(--bg) 100%);
  z-index: -1;
}
.glossy-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) grayscale(0.5) brightness(0.5) contrast(1.1);
  opacity: 0.6;
}
.glossy-banner__matte {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.5), rgba(10,10,11,0.6)),
    radial-gradient(ellipse at 50% 50%, rgba(230,57,70,0.18), transparent 70%);
}
.glossy-banner__matte::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
}
.glossy-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.glossy-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(-20px, -1.5vw, 0px);
}
.glossy-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(72px, 16vw, 240px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  background:
    linear-gradient(180deg,
      #ffffff 0%,
      #f0f0f0 25%,
      #4a0408 50%,
      #f8f8f8 70%,
      #c8c8c8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 30px rgba(230,57,70,0.5));
  margin-top: -0.05em;
  position: relative;
}
.glossy-stack .glossy-text:nth-child(2) {
  background:
    linear-gradient(180deg,
      transparent 0%,
      var(--accent) 50%,
      transparent 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.85;
}
.glossy-stack .glossy-text:nth-child(3) {
  -webkit-text-stroke: 2px rgba(255,255,255,0.4);
  background: none;
  -webkit-text-fill-color: transparent;
  opacity: 0.7;
}
.glossy-banner__caption {
  margin-top: 30px;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

/* ---------- REVIEWS ---------- */
.reviews {
  padding: clamp(80px, 10vw, 140px) 0;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 760px) { .reviews__grid { grid-template-columns: 1fr; } }

.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color .25s, transform .35s var(--easing);
  position: relative;
  overflow: hidden;
}
.review::before {
  content: '"';
  position: absolute;
  top: -30px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 200px;
  color: var(--accent-soft);
  line-height: 1;
  z-index: 0;
}
.review:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}
.review > * { position: relative; z-index: 1; }
.review__stars {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 4px;
}
.review__text {
  font-size: 16px;
  line-height: 1.55;
  color: #fff;
  margin: 0;
  flex: 1;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.review__avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--accent);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}
.review__name {
  font-weight: 700;
  font-size: 15px;
}
.review__role {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- FAQ (fullbleed photo bg) ---------- */
.faq {
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.faq__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.faq__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.06) brightness(0.65) saturate(0.85);
}
.faq__bg-matte {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(230,57,70,0.18), transparent 55%),
    linear-gradient(90deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.55) 60%, rgba(10,10,11,0.85) 100%);
}
.faq__bg-matte::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .25 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.35;
  mix-blend-mode: overlay;
}
.faq__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.faq__head { position: sticky; top: 100px; }
.faq__head .section-eyebrow { color: var(--accent); margin-bottom: 12px; }
.faq__head .h2 { margin: 0 0 16px; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,0.5); }
.faq__head .section-sub { margin: 0 0 28px; max-width: none; }
/* Glass items over photo */
.faq .faq-item {
  background: rgba(17,17,20,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
}
.faq .faq-item[open] {
  background: rgba(17,17,20,0.92);
  border-color: var(--accent);
}
.faq__list {
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 70px 22px 26px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  background: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* Round +/- toggle indicator on the right */
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  text-align: center;
  transition: background .25s, border-color .25s, transform .35s var(--easing);
}
.faq-item[open] summary::after {
  content: '\2212'; /* − minus */
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) rotate(180deg);
}
.faq-item__body {
  padding: 0 26px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 880px) {