/* ===== БАЗОВЫЕ СТИЛИ ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: 'Inter', 'DM Sans', sans-serif;
  background-color: #EDE8E3;
  color: #1C1C1C;
  line-height: 1.45;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body[dir="rtl"] {
  text-align: right;
  font-family: 'Inter', 'DM Sans', 'Segoe UI', system-ui, sans-serif;
}
body[dir="rtl"] .hero-content, body[dir="rtl"] .section-label, body[dir="rtl"] h1, body[dir="rtl"] h2, body[dir="rtl"] h3, body[dir="rtl"] p { text-align: right; }

/* Progress bar */
.progress-bar { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background-color: #BA1F29; z-index: 1001; transition: width 0.1s ease; }
.scroll-top { position: fixed; bottom: 30px; right: 30px; background: #1C1C1C; color: white; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s, background 0.2s; z-index: 99; border: 1px solid rgba(255,255,255,0.2); font-size: 1.5rem; }
.scroll-top:hover { background: #BA1F29; }
.scroll-top.show { opacity: 1; visibility: visible; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.section { padding: 120px 0; }
.section-light { background-color: #EDE8E3; }
.section-dark { background-color: #E4DDD6; }
.section-why { background-color: #F3EFEA; }

/* Типографика */
h1, h2, h3, .hero h1, .proof-number, .red-statement h2 { font-family: 'Playfair Display', 'Cormorant', serif; font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: 3.2rem; line-height: 1.2; margin-bottom: 1.5rem; }
.section-label { font-family: 'Inter', 'DM Sans', sans-serif; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; color: #BA1F29; margin-bottom: 1rem; }

/* ========== ШАПКА (логотип-картинка) ========== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: nowrap;
  gap: 30px;
}
.logo-img {
  width: 138px;
  height: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: nowrap;
}
/* Обычные ссылки */
.nav-links a:not(.btn-getintouch) {
  text-decoration: none;
  color: #1C1C1C;
  font-size: 1.05rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-links a:not(.btn-getintouch):hover,
.nav-links a:not(.btn-getintouch).active {
  color: #BA1F29;
}
/* Кнопка GET IN TOUCH */
.btn-getintouch {
  display: inline-block;
  background: transparent;
  border: 1px solid #BA1F29;
  color: #BA1F29;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color 0.2s, color 0.2s;
}
.btn-getintouch:hover {
  background-color: #BA1F29;
  color: white;
}
/* Переключатель языков */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(28,28,28,0.3);
  border-radius: 40px;
  padding: 5px 14px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  background: transparent;
  transition: all 0.2s;
}
.lang-switch:hover { border-color: #BA1F29; background: rgba(186,31,41,0.05); }
.lang-switch span { color: #1C1C1C; }
.lang-switch .active-lang { color: #BA1F29; font-weight: 700; }
.lang-switch .separator { color: #aaa; margin: 0 2px; }

/* Бургер (скрыт на десктопе) */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}
.burger span {
  width: 28px;
  height: 2px;
  background-color: #1C1C1C;
  transition: 0.3s;
}

/* Адаптив */
@media (max-width: 1100px) {
  .navbar { padding: 16px 32px; gap: 20px; }
  .nav-links { gap: 1.2rem; }
}
@media (max-width: 900px) {
  .navbar { flex-wrap: wrap; gap: 16px; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
}
@media (max-width: 768px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #EDE8E3;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    padding-top: 2rem;
    transition: left 0.3s ease;
    z-index: 999;
    flex-wrap: nowrap;
  }
  .nav-links.active { left: 0; }
  .navbar { flex-wrap: nowrap; }
}
@media (max-width: 480px) {
  .logo-img { width: 140px; }
  .hero h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .red-statement h2 { font-size: 1.8rem; }
  .hero-line { width: 50px; }
}

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-color: #EDE8E3;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  right: -5%;
  top: 10%;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle, rgba(186,31,41,0.12) 0%, rgba(186,31,41,0) 80%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1.4s ease-out forwards;
}
@keyframes heroFadeIn { to { opacity: 1; transform: translateY(0); } }
.hero-tag { font-size: 0.8rem; letter-spacing: 0.15em; font-weight: 600; color: #BA1F29; margin-bottom: 1rem; }
.hero h1 { font-size: 5.5rem; line-height: 1.05; margin-bottom: 1rem; }
.hero-line { width: 70px; height: 2px; background-color: #BA1F29; margin: 1rem 0 1.5rem; }
.hero-sub { font-size: 1.2rem; line-height: 1.5; color: #1C1C1C; max-width: 500px; margin-bottom: 2rem; }
.btn-primary {
  background: transparent;
  border: 1px solid #1C1C1C;
  color: #1C1C1C;
  padding: 10px 24px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-block;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn-primary:hover { color: #BA1F29; border-color: #BA1F29; }

/* Fade-up */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Problem */
.problem-grid { display: flex; flex-direction: column; margin-top: 2rem; }
.problem-item { padding: 1.5rem 0; border-bottom: 1px solid rgba(28,28,28,0.12); opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.problem-item.visible-item { opacity: 1; transform: translateY(0); }
.problem-item h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 0.5rem; }
.positioning-highlight { font-weight: 700; color: #BA1F29; }

.shift-section { padding: 140px 0; }
.red-line-top { width: 60px; height: 2px; background-color: #BA1F29; margin-bottom: 2rem; }
.invisible-text { color: #888; font-weight: 500; }
.chosen-text { color: #BA1F29; font-weight: 700; }
.shift-block { display: flex; gap: 2rem; background: rgba(0,0,0,0.02); padding: 2rem; margin-top: 2rem; flex-wrap: wrap; border: 1px solid rgba(28,28,28,0.1); }

.services-grid { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2rem; }
.service-card { flex: 1; border-bottom: 1px solid rgba(28,28,28,0.1); padding-bottom: 1.5rem; }
.service-number { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: #BA1F29; line-height: 1; margin-bottom: 0.5rem; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 600; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.95rem; line-height: 1.4; color: #2c2c2c; }

.pillars-grid { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
.pillar-card { flex: 1; background: #F9F6F0; padding: 2rem 1.8rem; border-radius: 16px; transition: transform 0.2s; }
.pillar-card:hover { transform: translateY(-3px); }
.pillar-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.pillar-card p { font-size: 0.95rem; line-height: 1.4; color: #2c2c2c; }

.process-steps-horizontal { display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 2rem; gap: 1rem; }
.process-step-h { flex: 1; text-align: left; position: relative; padding: 0 1rem; }
.process-step-h:not(:last-child)::after { content: ""; position: absolute; right: -1rem; top: 20%; height: 60%; width: 1px; background-color: rgba(28,28,28,0.2); }
body[dir="rtl"] .process-step-h:not(:last-child)::after { right: auto; left: -1rem; }
.process-step-h strong { font-size: 1.2rem; font-weight: 700; color: #BA1F29; display: block; margin-bottom: 0.5rem; }
.process-step-h p { font-size: 0.85rem; line-height: 1.4; color: #3a3a3a; }

.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin: 2rem 0; }
.proof-item { border-top: 1px solid rgba(28,28,28,0.12); padding-top: 1.5rem; }
.proof-number { font-size: 2.5rem; font-weight: 600; line-height: 1; margin-bottom: 0.5rem; }
.proof-desc { font-size: 0.9rem; line-height: 1.4; color: #3a3a3a; }

.two-columns { display: flex; gap: 4rem; flex-wrap: wrap; justify-content: space-between; }
.two-columns > div { flex: 1; }

.marquee { background-color: #E4DDD6; padding: 14px 0; margin-top: 60px; overflow: hidden; white-space: nowrap; font-weight: 500; font-size: 0.9rem; letter-spacing: 0.03em; }
.marquee-content { display: inline-block; animation: scrollMarquee 22s linear infinite; padding-left: 20px; }
.marquee:hover .marquee-content { animation-play-state: paused; }
.marquee-content span { margin-right: 60px; }
@keyframes scrollMarquee { 0% { transform: translateX(0%); } 100% { transform: translateX(-50%); } }

.red-statement { background-color: #BA1F29; padding: 100px 0; text-align: center; }
.red-statement h2 { font-size: 4rem; color: white; max-width: 900px; margin: 0 auto; }

.quote { background: #E4DDD6; padding: 2rem; margin-top: 2rem; border-left: 3px solid #BA1F29; transition: transform 0.3s; }
.quote.visible { transform: scale(1.01); }
.results-list { display: flex; flex-direction: column; margin-top: 2rem; }
.result-item { padding: 1.5rem 0; border-bottom: 1px solid rgba(28,28,28,0.12); }
.result-item:last-child { border-bottom: none; }

.red-divider { width: 60px; height: 2px; background-color: #BA1F29; margin: 2rem 0 1.5rem; }
.list-plain { list-style: none; }
.list-plain li { padding: 1rem 0; border-bottom: 1px solid rgba(28,28,28,0.1); }
.highlight-red { color: #BA1F29; font-weight: 600; }

.cta-section { padding: 140px 0; }
.contact-grid { display: flex; gap: 3rem; flex-wrap: wrap; margin-top: 2rem; }
.contact-info, .contact-form { flex: 1; }
input, textarea { width: 100%; padding: 12px 0; margin-bottom: 24px; border: none; border-bottom: 1px solid rgba(28,28,28,0.2); background: transparent; font-size: 1rem; }
input:focus, textarea:focus { outline: none; border-bottom-color: #BA1F29; }
.form-message { margin-top: 16px; font-size: 0.85rem; color: #BA1F29; text-align: center; }

/* ===== ФУТЕР (только копирайт) ===== */
footer {
  background-color: #EDE8E3;
  border-top: 1px solid rgba(28,28,28,0.1);
  padding: 40px 20px;
  text-align: center;
}
.footer-copyright {
  font-size: 0.8rem;
  color: #5a5a5a;
}

@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr; }
  .services-grid, .pillars-grid, .process-steps-horizontal { flex-direction: column; }
  .process-step-h:not(:last-child)::after { display: none; }
  .two-columns { flex-direction: column; gap: 2rem; }
  .container { padding: 0 24px; }
  .section, .shift-section { padding: 80px 0; }
  .red-statement h2 { font-size: 2.5rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .red-statement h2 { font-size: 1.8rem; }
  .hero-line { width: 50px; }
}
/* ===== Текстовое название компании в шапке (две строки) ===== */
.logo {
  display: flex;
  align-items: center;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #1C1C1C;
}
.logo-line1, .logo-line2 {
  letter-spacing: 0.08em;
}
.logo-line2 {
  font-size: 1.5rem;
  font-weight: 700;
}


/* ===== Слоган в Hero ===== */
.hero-slogan {
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #BA1F29;
  margin-top: 1rem;
  font-weight: 500;
}
