:root {
  /* Палитра: белый + оранжевый (акцент) */
  --bg-page: #ffffff;
  --bg-section: #ffffff;
  --bg-card: #ffffff;
  --bg-card-strong: rgba(255, 107, 0, 0.06);
  --text: #2f3440;
  --text-muted: rgba(47, 52, 64, 0.76);
  --accent: #FF6B00;
  --accent-hover: #e66000;
  --serbia-red: #FF6B00;
  --serbia-blue: #FF6B00;
  --serbia-white: #ffffff;
  --safe: #16a34a;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 36px -18px rgba(72, 76, 84, 0.18);
  --shadow-card: 0 10px 28px -18px rgba(72, 76, 84, 0.14);
  --shadow-hover: 0 18px 42px -22px rgba(72, 76, 84, 0.22);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --anim-dur: 0.6s;
  --border: 1px solid rgba(82, 86, 94, 0.14);
  --border-focus: 2px solid var(--accent);
}

/* Анимации: появление при загрузке и при скролле */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Элементы с классом .reveal анимируются при появлении в зоне видимости (скрипт добавляет .reveal) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--anim-dur) var(--ease-out), transform var(--anim-dur) var(--ease-out); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal.revealed .why-card,
.reveal.revealed .serbia-grid > div,
.reveal.revealed .team-card,
.reveal.revealed .service-card,
.reveal.revealed .price-row { animation: fadeInUp var(--anim-dur) var(--ease-out) forwards; }
.reveal .why-card { opacity: 0; }
.reveal.revealed .why-card:nth-child(1) { animation-delay: 0.05s; }
.reveal.revealed .why-card:nth-child(2) { animation-delay: 0.12s; }
.reveal.revealed .why-card:nth-child(3) { animation-delay: 0.19s; }
.reveal.revealed .why-card:nth-child(4) { animation-delay: 0.26s; }
.reveal .serbia-grid > div { opacity: 0; }
.reveal.revealed .serbia-grid > div:nth-child(1) { animation-delay: 0.1s; }
.reveal.revealed .serbia-grid > div:nth-child(2) { animation-delay: 0.25s; }
.reveal .team-card { opacity: 0; }
.reveal.revealed .team-card:nth-child(1) { animation-delay: 0.08s; }
.reveal.revealed .team-card:nth-child(2) { animation-delay: 0.2s; }
.reveal .service-card { opacity: 0; }
.reveal.revealed .service-card:nth-child(n) { animation-delay: calc(0.05s * (var(--i, 0))); }
.reveal .price-row { opacity: 0; }
.reveal.revealed .price-row { animation-delay: 0.03s; }
.reveal.revealed .price-row:nth-child(1) { animation-delay: 0.05s; }
.reveal.revealed .price-row:nth-child(2) { animation-delay: 0.08s; }
.reveal.revealed .price-row:nth-child(3) { animation-delay: 0.11s; }
.reveal.revealed .price-row:nth-child(4) { animation-delay: 0.14s; }
.reveal.revealed .price-row:nth-child(5) { animation-delay: 0.17s; }
.reveal.revealed .price-row:nth-child(n+6) { animation-delay: 0.2s; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--bg-page);
}
::selection { background: rgba(255, 107, 0, 0.22); color: var(--text); }
:focus-visible { outline: var(--border-focus); outline-offset: 2px; }
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; outline: 2px solid #fff; outline-offset: 2px; }

.perspective-wrap { perspective: 1200px; }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: var(--border);
  transition: var(--transition);
  animation: slideDown 0.5s var(--ease-out) forwards;
}
.nav-links a { position: relative; display: inline-block; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}
.nav-links a::after { display: none; }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}
.nav-back {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  text-decoration: none;
  border: var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  transition: background var(--transition), border-color var(--transition), transform 0.2s var(--ease-out);
}
.nav-back:hover {
  background: var(--bg-card-strong);
  color: var(--text);
}
.nav-back-icon {
  font-size: 1rem;
  line-height: 1;
  color: var(--accent);
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.nav-tools {
  display: flex;
  align-items: center;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.nav-toggle:hover { background: var(--bg-card-strong); }
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: var(--text);
}
.nav-links {
  flex: 1;
  justify-content: center;
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  background: var(--accent);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  display: inline-block;
  transition: background var(--transition), transform 0.25s var(--ease-out);
}
.nav-links a:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }

/* Переключатель языка */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 0;
}
.lang-btn {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid rgba(82, 86, 94, 0.16);
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.lang-btn:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.35);
}
.lang-btn--active {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(255, 107, 0, 0.15);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  padding: 5rem 2rem 0;
  padding-top: 5.5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-section);
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}
.hero-photo {
  position: relative;
  z-index: 1;
  width: 1000px;
  height: 393px;
  flex-shrink: 0;
  background: url('../assets/sonyabetter.webp') no-repeat center center;
  background-size: contain;
  background-color: var(--bg-dark);
  margin-top: -85px;
  border-radius: 0;
}
.hero-flag {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%) translateZ(0);
  width: min(280px, 35vw);
  opacity: 0.2;
  filter: blur(1px);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: stretch;
  width: 100%;
}
.hero-text {
  max-width: 520px;
  margin-left: 0;
  margin-right: 0;
}
.hero-text .tagline { margin-bottom: 1.25rem; }
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 900px) {
  .hero-text { max-width: none; }
  .hero-flag { display: none; }
  .hero-photo {
    width: 100%;
    max-width: 100%;
    height: 320px;
    margin-top: 0;
    background-size: contain;
    background-position: center center;
  }
}
@media (max-width: 600px) {
  .hero { padding-top: 11rem; }
  section[id] { scroll-margin-top: 170px; }
  .hero-photo {
    height: 260px;
    min-height: 200px;
  }
}
.hero-text h1 {
  font-family: inherit;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.hero-text .title-accent { color: var(--accent); }
.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--serbia-blue);
  margin-bottom: 0.75rem;
}
.hero-text .name {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.hero-text .tagline {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 2rem;
}
 .hero-points {
  list-style: none;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.hero-points li + li {
  margin-top: 0.35rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-actions {
    justify-content: center;
  }
}
@media (max-width: 900px) { .hero-text .tagline { margin-left: auto; margin-right: auto; } }

/* Появление героя при загрузке (только на главной) */
.hero.hero-animate .hero-text h1 { animation: fadeInUp var(--anim-dur) var(--ease-out) 0.15s both; }
.hero.hero-animate .hero-text .name { animation: fadeInUp var(--anim-dur) var(--ease-out) 0.3s both; }
.hero.hero-animate .hero-text .tagline { animation: fadeInUp var(--anim-dur) var(--ease-out) 0.45s both; }
.hero.hero-animate .hero-text .btn { animation: fadeInUp var(--anim-dur) var(--ease-out) 0.6s both; }
.hero.hero-animate .hero-photo { animation: fadeInScale var(--anim-dur) var(--ease-out) 0.35s both; }

.hero-card {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: 28px;
  background: var(--bg-card-strong);
  box-shadow: var(--shadow-card);
  border: var(--border);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.hero-card-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.hero-card-status {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(45, 125, 70, 0.08);
  color: var(--safe);
  font-weight: 600;
}
.hero-card-body {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}
.hero-card-photos {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: center;
}
.hero-card-photo {
  width: 120px;
  height: 72px;
  border-radius: 18px;
  background-size: cover;
  background-position: center 35%;
  box-shadow: 0 10px 28px -18px rgba(72, 76, 84, 0.22);
}
.hero-card-photo--sofia {
  background-position: center 28%;
  background-size: 120%;
}
.hero-card-photo--bojan {
  background-position: center 12%;
  background-size: 140%;
}
.hero-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.hero-card-person {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-card-person--alt {
  opacity: 0.96;
}
.hero-card-name {
  font-family: inherit;
  font-weight: 600;
  font-size: 1.1rem;
}
.hero-card-role {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-card-tags {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-card-tags li + li {
  margin-top: 0.25rem;
}
.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: var(--border);
  padding-top: 0.75rem;
}
.hero-card-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.hero-card-link:hover {
  text-decoration: underline;
}
/* 3D hover эффекты */
.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
@media (max-width: 960px) {
  .hero-card {
    margin-top: 2rem;
  }
  .hero-card-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card-photo {
    margin: 0 auto;
  }
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px -2px rgba(255, 107, 0, 0.35);
}
.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px -4px rgba(255, 107, 0, 0.4);
}
.btn:active { transform: translateY(0) scale(0.98); box-shadow: 0 2px 10px -2px rgba(255, 107, 0, 0.3); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  background: var(--accent);
  box-shadow: 0 14px 28px -18px rgba(255, 107, 0, 0.55);
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 107, 0, 0.40);
  box-shadow: none;
}
.btn-ghost:hover {
  background: rgba(255, 107, 0, 0.10);
}
.btn-large {
  padding: 0.9rem 2.1rem;
  font-size: 1rem;
}

.trust-bar {
  padding: 1.25rem 2rem;
  margin-top: 0;
  border-top: var(--border);
  border-bottom: var(--border);
}

/* Главные направления */
.focus {
  padding: 3rem 2rem 1.5rem;
}
.focus-header {
  max-width: 1200px;
  margin: 0 auto 1.75rem;
}
.focus-header .section-subtitle:empty { display: none; }

/* Скрываем пустые подзаголовки и подписи (когда перевод = "") */
.section-subtitle:empty { display: none; }
.telegram-cta-text p:empty { display: none; }

.serbia-video {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.serbia-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border);
  box-shadow: var(--shadow-card);
  background: var(--bg-card);
}
.serbia-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.serbia-video-link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.serbia-video-link:hover { text-decoration: underline; }

.serbia-channel {
  border: var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.serbia-channel-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}
.serbia-channel-note {
  color: var(--text-muted);
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .serbia-video { grid-template-columns: 1fr; }
}
.focus-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.focus-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 1.25rem 1.3rem;
  background: var(--bg-card-strong);
  border: var(--border);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: flex-end;
  min-height: 150px;
  transform-style: preserve-3d;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.focus-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  mix-blend-mode: multiply;
}
.focus-card-bg--blue { background-image: none; }
.focus-card-bg--violet { background-image: none; }
.focus-card-bg--teal { background-image: none; }
.focus-card-bg--gold { background-image: none; }
.focus-card-bg--accent { background-image: none; }
.focus-card-bg--blue,
.focus-card-bg--violet,
.focus-card-bg--teal,
.focus-card-bg--gold,
.focus-card-bg--accent { background-image: none !important; }
.focus-card-content {
  position: relative;
  z-index: 1;
}
.focus-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.focus-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.focus-card--light {
  background: var(--bg-card-strong);
}
.focus-card--cta {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
}
.focus-card--cta h3 { margin: 0; }

.why-note {
  text-align: center;
  color: var(--text);
  max-width: 68ch;
  margin: 1.75rem auto 0;
  font-size: 1.25rem;
  line-height: 1.35;
}
.why-cta {
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.focus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 900px) {
  .focus {
    padding: 2.5rem 1.25rem 1.5rem;
  }
  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .focus-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Блок «Остались вопросы» */
.questions {
  padding: 3.5rem 2rem 3rem;
}
.questions-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}
.questions-text .section-title {
  margin-bottom: 0.75rem;
}
.questions-points {
  list-style: none;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.questions-points li + li {
  margin-top: 0.35rem;
}
.questions-form-card {
  background: var(--bg-card);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  padding: 1.75rem 1.5rem;
  border: var(--border);
  transform-style: preserve-3d;
  transition: transform var(--transition), box-shadow var(--transition);
}
.questions-form-card .form-group {
  margin-bottom: 1rem;
}
.questions-form-card label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.questions-form-card input,
.questions-form-card textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: var(--border);
  background: rgba(82, 86, 94, 0.06);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.questions-form-card input::placeholder,
.questions-form-card textarea::placeholder { color: var(--text-muted); opacity: 0.8; }
.questions-form-card input:focus,
.questions-form-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255,107,0,0.25);
  outline: none;
  background: rgba(82, 86, 94, 0.08);
}
.questions-consent {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.questions-consent a {
  color: var(--accent);
}
.questions-form-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 960px) {
  .questions {
    padding: 3rem 1.25rem 2.5rem;
  }
  .questions-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Telegram CTA */
.telegram-cta {
  padding: 3rem 2rem 3.5rem;
}
.telegram-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 24px;
  padding: 2rem 2.25rem;
  background: var(--bg-card-strong);
  color: var(--text);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-card);
  transform-style: flat;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.telegram-cta-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}
.telegram-cta-inner h2 {
  font-size: clamp(1.7rem, 2.2vw, 2.1rem);
  margin-bottom: 0.6rem;
}
.telegram-cta-inner p {
  margin: 0;
}
.telegram-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.telegram-cta-note {
  font-size: 0.85rem;
  opacity: 0.9;
}
.telegram-cta-inner:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 960px) {
  .telegram-cta {
    padding: 2.5rem 1.25rem 3rem;
  }
  .telegram-cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  animation: fadeInUp var(--anim-dur) var(--ease-out) both;
}
.trust-bar .trust-item:nth-child(1) { animation-delay: 0.1s; }
.trust-bar .trust-item:nth-child(2) { animation-delay: 0.25s; }
.trust-bar .trust-item:nth-child(3) { animation-delay: 0.4s; }
@media (max-width: 768px) {
  .trust-bar { padding: 1rem; }
  .trust-inner { gap: 1rem; }
  .trust-item { font-size: 0.9rem; }
  .trust-item span:last-child { word-wrap: break-word; }
}
.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 107, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.2rem;
  transition: transform 0.35s var(--ease-out);
}
.trust-item:hover .trust-icon { transform: scale(1.1); }
.trust-item strong { color: var(--text); }

section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
/* Фикс для якорных переходов с фиксированной шапкой */
section[id] { scroll-margin-top: 120px; }
.section-title {
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}
section .section-subtitle { margin-left: auto; margin-right: auto; }
@media (max-width: 768px) {
  section { padding-left: 1rem; padding-right: 1rem; }
  .section-title { word-wrap: break-word; }
}

.why { padding: 4rem 2rem; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: var(--bg-card-strong);
  border: var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transform-style: preserve-3d;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: visible;
  isolation: isolate;
  box-shadow: var(--shadow-card);
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 107, 0, 0.35);
}
.why-card:hover::before { opacity: 1; }
.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.why-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}
.why-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-card-strong);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border: var(--border);
  box-shadow: var(--shadow-card);
}
.why-cta p { color: var(--text-muted); max-width: 500px; }

.serbia { padding: 4rem 2rem; }
.serbia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: 2rem; }
@media (max-width: 768px) { .serbia-grid { grid-template-columns: 1fr; } }
.serbia-list { list-style: none; }
.serbia-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.serbia-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}
.serbia-list li strong { color: var(--safe); }
.serbia-cta {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: var(--shadow-card);
}

.about .section-subtitle { margin-bottom: 2rem; }
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.team-card {
  background: var(--bg-card-strong);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: var(--border);
  transform-style: preserve-3d;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-card);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.team-card h3 { font-family: inherit; font-size: 1.75rem; margin-bottom: 0.5rem; }
.team-card .role { color: var(--accent); font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; }
.team-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

.team-photo {
  width: 110px;
  height: 110px;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
  margin-bottom: 1.25rem;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 18px 40px -18px rgba(72, 76, 84, 0.2);
}

.services { padding: 4rem 2rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.service-card {
  background: var(--bg-card-strong);
  border: var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transform-style: preserve-3d;
  transition: transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 0, 0.3);
}
.service-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 107, 0, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; }

.form-section { padding: 4rem 2rem; }
.form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card-strong);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: var(--border);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.form-wrap:focus-within { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.form-section .section-title { text-align: center; }
.form-section .section-subtitle { text-align: center; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(82, 86, 94, 0.06);
  border: var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: 0.8; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}
.form-group input:focus-visible,
.form-group textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group .hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.35rem; }
.form-section .btn { width: 100%; margin-top: 0.5rem; }
.form-message {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.form-message--success { background: rgba(45, 125, 70, 0.12); color: var(--safe); border: 1px solid rgba(45, 125, 70, 0.3); }
.form-message--error { background: rgba(255, 107, 0, 0.08); color: var(--accent); border: 1px solid rgba(255, 107, 0, 0.25); }
.form-consent { font-size: 0.8rem; color: var(--text-muted); margin-top: 1rem; text-align: center; }
.form-consent a { color: var(--accent); text-decoration: underline; }
.form-consent a:hover { color: var(--accent-hover); }

.contacts-section { padding-bottom: 0; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; margin-top: 2rem; }
@media (max-width: 768px) { .contacts-grid { grid-template-columns: 1fr; } }
.contacts-info h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.contacts-info p,
.contacts-info a {
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}
.contacts-info a:hover { color: var(--accent); }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

footer {
  padding: 2.5rem 2rem;
  margin-top: 3rem;
  border-top: var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-inner p, .footer-inner a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-inner a {
  transition: color var(--transition), transform 0.2s var(--ease-out);
}
.footer-inner a:hover { color: var(--accent); transform: translateX(4px); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 1.5rem;
}

a[href^="tel:"] {
  white-space: nowrap;
}
.footer-links a[href^="tel:"] {
  flex-shrink: 0;
  min-width: min-content;
}

/* Ссылка на Telegram в блоке контактов — явно как кликабельная (перебивает .contacts-info a) */
.contacts-info a.contact-tg-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(255, 107, 0, 0.55);
  transition: color var(--transition), text-decoration-color var(--transition);
}
.contacts-info a.contact-tg-link:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .footer-links {
    justify-content: flex-start;
    width: 100%;
    margin-top: 0.35rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(82, 86, 94, 0.12);
  }
}

/* Страница «Услуги и цены» */
.prices-section {
  /* запас под фиксированную шапку + язык + safe area */
  padding: max(7.25rem, calc(env(safe-area-inset-top, 0px) + 5.75rem)) 2rem 5rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
}
.prices-section::before {
  content: '';
  position: absolute;
  z-index: 0;
  /* центр орнамента — у зоны заголовка, не у верхнего края секции */
  top: clamp(5.5rem, 14vw, 7.5rem);
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(280px, 72vw);
  height: min(280px, 72vw);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ddd' stroke-width='0.8' opacity='0.5'%3E%3Cpath d='M32 8v48M16 24l16-8 16 8M16 40l16-8 16 8'/%3E%3Ccircle cx='32' cy='32' r='4' fill='%23ddd'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  opacity: 0.4;
  pointer-events: none;
}
.prices-section .section-title,
.prices-section .section-subtitle,
.prices-section .prices-list,
.prices-section .prices-cta {
  position: relative;
  z-index: 1;
}
.prices-section .section-title { text-align: center; margin-top: 0; }
.prices-section .section-subtitle { text-align: center; margin-bottom: 2rem; }
.prices-anchors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  position: sticky;
  /* сразу под фиксированной шапкой, иначе плашка наезжает на текст при скролле */
  top: calc(env(safe-area-inset-top, 0px) + 4.75rem);
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius);
  border: var(--border);
  box-shadow: 0 10px 28px rgba(72, 76, 84, 0.12);
}
.prices-anchors a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(82, 86, 94, 0.08);
  transition: background var(--transition), color var(--transition), transform 0.25s var(--ease-out);
}
.prices-anchors a:hover { color: var(--accent); background: rgba(255,107,0,0.2); transform: scale(1.05); }
.prices-category {
  margin-bottom: 0.5rem;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.prices-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-card);
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.2s ease;
}
.prices-category-header:hover { background: rgba(255, 107, 0, 0.06); }
.prices-category-header::after {
  content: '';
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.prices-category.open .prices-category-header::after { transform: rotate(-135deg); }
.prices-category-body { display: none; border-top: var(--border); }
.prices-category.open .prices-category-body { display: block; }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: var(--border);
  transition: background 0.15s ease;
}

/* На странице цен показываем только CTA, цены/«по запросу» не выводим */
.prices-section .price-row {
  grid-template-columns: 1fr auto;
}
.prices-section .price-row-right {
  display: none !important;
}
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: rgba(255, 107, 0, 0.06); }
.price-row-left { min-width: 0; }
.price-row-name {
  display: block;
  font-weight: 500;
  color: var(--text);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.price-row-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.45;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.price-row-right {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.price-row-right.subtle { color: var(--text-muted); font-weight: 500; }
.price-row-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
.price-row-link:hover { text-decoration: underline; }
.prices-cta {
  text-align: center;
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--bg-card-strong);
  border-radius: var(--radius);
  border: 1px solid rgba(255,107,0,0.25);
}
.prices-cta p { color: var(--text-muted); margin-bottom: 1rem; }

/* Мобильная адаптация: строки прайса и навигация */
@media (max-width: 960px) {
  .nav-inner {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }
  .nav-back { order: 1; }
  .nav-end {
    order: 2;
    margin-left: auto;
  }
  .nav-links {
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.45rem;
    display: none;
    padding: 0;
    margin: 0;
    border-top: none;
  }
  .nav--open .nav-links {
    display: flex;
    padding: 0.65rem 0 0.15rem;
    margin-top: 0.35rem;
    border-top: 1px solid rgba(82, 86, 94, 0.12);
  }
  .nav-toggle { display: inline-flex; }
  .nav-links a {
    font-size: 0.82rem;
    padding: 0.5rem 0.85rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 380px) {
  .nav-back-label { display: none; }
}
@media (max-width: 768px) {
  .nav { padding: 0.75rem 1rem; }
  .lang-switcher { margin-bottom: 0; }
  .prices-section {
    padding: max(6.75rem, calc(env(safe-area-inset-top, 0px) + 5.5rem)) 1rem 4rem;
  }
  .prices-section::before {
    top: clamp(5.5rem, 24vw, 7rem);
    width: min(240px, 78vw);
    height: min(240px, 78vw);
  }
  .prices-anchors {
    top: calc(env(safe-area-inset-top, 0px) + 5rem);
    padding: 0.5rem 0.35rem;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
  }
  .prices-anchors a { font-size: 0.75rem; padding: 0.35rem 0.65rem; }
  .prices-category-header { font-size: 1.05rem; padding: 0.9rem 1rem; }
  .price-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 0.5rem;
    padding: 1rem;
  }
  .price-row-left { order: 1; }
  .price-row-right {
    order: 2;
    text-align: left;
    padding-top: 0.25rem;
    border-top: 1px dashed rgba(82, 86, 94, 0.15);
    margin-top: 0.25rem;
  }
  .price-row-link {
    order: 3;
    align-self: flex-start;
    margin-top: 0.5rem;
  }
}
@media (max-width: 600px) {
  .price-row { padding: 0.9rem; }
  .price-row-name { font-size: 0.95rem; }
  .price-row-desc { font-size: 0.8rem; }
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}
/* hero-nav-actions удалён: больше нет кнопок слева */
