:root {
  --bg-dark: #f5f4f3;
  --bg-card: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --accent: #b81a32;
  --accent-hover: #9a162a;
  --serbia-red: #c6362c;
  --serbia-blue: #0c4076;
  --serbia-white: #ffffff;
  --safe: #2d7d46;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 25px 50px -12px rgba(0,0,0,0.08);
  --shadow-card: 0 4px 24px -4px rgba(0,0,0,0.06), 0 8px 32px -8px rgba(0,0,0,0.04);
  --shadow-hover: 0 20px 40px -12px rgba(0,0,0,0.12);
  --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(0,0,0,0.06);
  --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(24px); 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, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(184, 26, 50, 0.15); 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.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  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:hover::after { transform: scaleX(1); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}
.nav-logo:hover { color: var(--text); }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }

/* Переключатель языка */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 1.5rem;
}
.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(0,0,0,0.12);
  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(0,0,0,0.2);
}
.lang-btn--active {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(184, 26, 50, 0.06);
}

.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: linear-gradient(135deg, var(--bg-dark) 0%, #e8e6e7 50%, var(--bg-dark) 100%);
  pointer-events: none;
}
.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: 1fr;
  gap: 0;
  align-items: start;
  text-align: center;
  width: 100%;
}
.hero-text {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-text .tagline { margin-bottom: 1.25rem; }
@media (max-width: 900px) {
  .hero-content { text-align: center; }
  .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-photo {
    height: 260px;
    min-height: 200px;
  }
}
.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.hero-text .title-accent { color: var(--accent); }
.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;
}
@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; }

.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(184, 26, 50, 0.35);
}
.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px -4px rgba(184, 26, 50, 0.4);
}
.btn:active { transform: translateY(0) scale(0.98); box-shadow: 0 2px 10px -2px rgba(184, 26, 50, 0.3); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.trust-bar {
  background: var(--bg-card);
  padding: 1.25rem 2rem;
  margin-top: 0;
  border-top: var(--border);
  border-bottom: var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
}
.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: center;
  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(196, 30, 58, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  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-title {
  font-family: 'Playfair Display', serif;
  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 { background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 50%, var(--bg-dark) 100%); }
.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);
  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: hidden;
  box-shadow: var(--shadow-card);
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--serbia-blue));
  opacity: 0;
  transition: opacity var(--transition);
}
.why-card:hover {
  transform: translateY(-6px) rotateX(2deg);
  box-shadow: var(--shadow-hover);
  border-color: rgba(184, 26, 50, 0.12);
}
.why-card:hover::before { opacity: 1; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text); }
.why-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; }
.why-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-card);
  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 { background: var(--bg-card); }
.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: rgba(0,0,0,0.03);
  border-radius: var(--radius);
  border: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 2px 12px -4px rgba(0,0,0,0.06);
}

.about .section-subtitle { margin-bottom: 2rem; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
@media (max-width: 768px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--bg-card);
  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: translateZ(10px) rotateY(-1deg); box-shadow: var(--shadow-hover); }
.team-card h3 { font-family: 'Playfair Display', serif; 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-card.sofia { border-left: 4px solid var(--accent); }

.services { background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.service-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 2rem;
  transform-style: preserve-3d;
  transition: transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: scale(1.02) translateZ(5px);
  border-color: rgba(196, 30, 58, 0.3);
}
.service-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(196, 30, 58, 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 { background: var(--bg-card); padding: 4rem 2rem; }
.form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255,255,255,0.8);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.form-wrap:focus-within { transform: translateY(-2px); box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1); }
.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: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 26, 50, 0.12);
}
.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(184, 26, 50, 0.08); color: var(--accent); border: 1px solid rgba(184, 26, 50, 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;
  background: var(--bg-card);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

footer {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  margin-top: 3rem;
  border-top: var(--border);
  box-shadow: 0 -1px 0 rgba(0,0,0,0.04);
}
.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; gap: 1.5rem; }

/* Страница «Услуги и цены» */
.prices-section {
  padding: 4rem 2rem 5rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.prices-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  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 { 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: 4rem;
  z-index: 10;
  background: rgba(255,255,255,0.95);
  padding: 0.75rem 0;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.prices-anchors a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--bg-dark);
  transition: background var(--transition), color var(--transition), transform 0.25s var(--ease-out);
}
.prices-anchors a:hover { color: var(--accent); background: rgba(184,26,50,0.08); transform: scale(1.05); }
.prices-category {
  margin-bottom: 0.5rem;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}
.prices-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.2s ease;
}
.prices-category-header:hover { background: rgba(0,0,0,0.02); }
.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: 1px solid rgba(0,0,0,0.06); }
.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: 1px solid rgba(0,0,0,0.04);
  transition: background 0.15s ease;
}
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: rgba(0,0,0,0.02); }
.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: linear-gradient(135deg, rgba(184,26,50,0.06) 0%, rgba(12,64,118,0.04) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(184,26,50,0.12);
}
.prices-cta p { color: var(--text-muted); margin-bottom: 1rem; }

/* Мобильная адаптация: строки прайса и навигация */
@media (max-width: 768px) {
  .nav { padding: 0.75rem 1rem; }
  .nav-inner { flex-wrap: wrap; gap: 0.75rem; }
  .lang-switcher { margin-right: 0; margin-bottom: 0; }
  .nav-logo { font-size: 1rem; }
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .nav-links a { font-size: 0.85rem; }
  .prices-section { padding: 3rem 1rem 4rem; }
  .prices-anchors {
    top: 3.5rem;
    padding: 0.5rem 0.25rem;
    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(0,0,0,0.08);
    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;
}
