:root {
  --primary-dark: #050508;
  --primary-darker: #020204;
  --primary-navy: #0a0f1a;
  --primary-blue: #111827;
  --accent-gold: #c9a227;
  --accent-gold-light: #e8d48b;
  --accent-gold-dark: #9a7b1a;
  --accent-gold-glow: rgba(201, 162, 39, 0.4);
  --accent-champagne: #f7e7ce;
  --accent-rose-gold: #b76e79;
  --accent-red: #8b2635;
  --accent-red-light: #c94c5a;
  --accent-burgundy: #722f37;
  --green: #2d8a4e;
  --green-light: #4ade80;
  --green-dark: #1a5f31;
  --white: #ffffff;
  --ivory: #fffff0;
  --cream: #fffdd0;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --gradient-gold: linear-gradient(
    135deg,
    #c9a227 0%,
    #e8d48b 25%,
    #c9a227 50%,
    #9a7b1a 75%,
    #c9a227 100%
  );
  --gradient-gold-shimmer: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  --gradient-dark: linear-gradient(
    180deg,
    var(--primary-dark) 0%,
    var(--primary-navy) 50%,
    var(--primary-blue) 100%
  );
  --gradient-hero:
    radial-gradient(
      ellipse 120% 80% at 50% 0%,
      rgba(201, 162, 39, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 80% 60% at 80% 20%,
      rgba(183, 110, 121, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      ellipse 100% 100% at 20% 80%,
      rgba(45, 138, 78, 0.03) 0%,
      transparent 40%
    ),
    linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
  --gradient-radial: radial-gradient(
    circle at 50% 50%,
    rgba(201, 162, 39, 0.1) 0%,
    transparent 70%
  );
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-light: rgba(255, 255, 255, 0.06);
  --glass-bg-heavy: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-light: rgba(255, 255, 255, 0.12);
  --glass-blur: blur(40px);
  --glass-blur-light: blur(20px);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 32px 100px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 40px rgba(201, 162, 39, 0.35);
  --shadow-gold-lg: 0 8px 60px rgba(201, 162, 39, 0.5);
  --shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-premium:
    0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --font-primary:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-elegant: "Cormorant Garamond", Georgia, serif;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-2xl: 48px;
  --radius-full: 9999px;
  --header-bg-opacity: 85;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
}
body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-300);
  background-color: var(--primary-dark);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 0;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(201, 162, 39, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(183, 110, 121, 0.02) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(45, 138, 78, 0.01) 0%,
      transparent 60%
    );
  pointer-events: none;
  z-index: -1;
}
::selection {
  background: var(--accent-gold);
  color: var(--primary-dark);
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--primary-dark);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--accent-gold-dark),
    var(--accent-gold)
  );
  border-radius: var(--radius-full);
  border: 2px solid var(--primary-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold-light);
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}
@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(201, 162, 39, 0.5);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes borderGlow {
  0%,
  100% {
    border-color: rgba(201, 162, 39, 0.3);
  }
  50% {
    border-color: rgba(201, 162, 39, 0.6);
  }
}
@keyframes textShine {
  0% {
    background-position: -100% center;
  }
  100% {
    background-position: 200% center;
  }
}
@keyframes particleFloat {
  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px) rotate(720deg);
    opacity: 0;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.btn:hover::before {
  left: 100%;
}
.btn-primary {
  background: var(--gradient-gold);
  background-size: 200% 200%;
  color: var(--primary-dark);
  box-shadow: var(--shadow-gold);
  animation: gradientShift 3s ease infinite;
}
.btn-primary::after {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-gold-lg);
}
.btn-primary:active {
  transform: translateY(-2px) scale(1);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(201, 162, 39, 0.4);
  backdrop-filter: var(--glass-blur-light);
}
.btn-outline:hover {
  background: rgba(201, 162, 39, 0.1);
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(201, 162, 39, 0.2);
}
.btn-lg {
  padding: 20px 48px;
  font-size: 1rem;
}
.btn-block {
  width: 100%;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  animation: none !important;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--transition-smooth);
  background: transparent;
  border: none;
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, calc(var(--header-bg-opacity) / 100 * 0.95));
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 1;
  transition: all var(--transition-smooth);
}
.header.scrolled::before {
  background: rgba(5, 5, 8, calc(var(--header-bg-opacity) / 100));
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}
.header.scrolled {
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  position: relative;
  z-index: 1;
}
.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: all var(--transition-smooth);
}
.logo:hover {
  transform: scale(1.02);
}
.logo-img {
  height: 52px;
  width: auto;
  filter: brightness(1.1) drop-shadow(0 0 10px rgba(201, 162, 39, 0.3));
  transition: all var(--transition-base);
}
.logo:hover .logo-img {
  filter: brightness(1.2) drop-shadow(0 0 20px rgba(201, 162, 39, 0.5));
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.1; /* КРИТИЧЕСКОЕ СВОЙСТВО: аккуратно поджимает нижнее слово к верхнему */
}
.logo-text .accent {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav {
  display: none;
  align-items: center;
  gap: 48px;
}
.nav-link {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 10px 0;
  transition: color var(--transition-fast);
}
.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width var(--transition-smooth);
  border-radius: var(--radius-full);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 50%;
  opacity: 0;
  transition: all var(--transition-smooth);
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
}
.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}
.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
  bottom: -8px;
}
.header-actions {
  display: none;
  align-items: center;
  gap: 24px;
}
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: var(--glass-blur-light);
}
.mobile-menu-btn:hover {
  background: rgba(201, 162, 39, 0.1);
  border-color: rgba(201, 162, 39, 0.3);
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 24px 0;
  border-top: 1px solid var(--glass-border);
  background: rgba(5, 5, 8, 0.98);
  backdrop-filter: blur(40px);
}
.mobile-nav.active {
  display: flex;
}
.mobile-nav-link {
  color: var(--gray-300);
  font-weight: 500;
  font-size: 1.1rem;
  padding: 16px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}
.mobile-nav-link:hover {
  color: var(--accent-gold);
  padding-left: 10px;
}
.mobile-divider {
  border: none;
  border-top: 1px solid var(--glass-border);
  margin: 16px 0;
}
.mobile-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 0;
}
.mobile-phone i {
  color: var(--accent-gold);
}
@media (min-width: 1200px) {
  .nav {
    display: flex;
  }
  .header-actions {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .mobile-menu-btn {
    display: flex;
  }
  .nav {
    display: none !important;
  }
  .header-actions {
    display: none !important;
  }
  .mobile-nav.active {
    display: flex !important;
  }
}
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  background: var(--primary-dark);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 100% 70% at 30% 20%,
      rgba(201, 162, 39, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 80% 50% at 70% 30%,
      rgba(183, 110, 121, 0.06) 0%,
      transparent 40%
    ),
    radial-gradient(
      ellipse 60% 40% at 90% 70%,
      rgba(45, 138, 78, 0.04) 0%,
      transparent 40%
    ),
    radial-gradient(
      ellipse 120% 100% at 10% 90%,
      rgba(139, 38, 53, 0.05) 0%,
      transparent 50%
    );
  animation: heroGradient 20s ease-in-out infinite;
}
@keyframes heroGradient {
  0%,
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  25% {
    opacity: 0.9;
    transform: scale(1.02) rotate(0.5deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) rotate(0deg);
  }
  75% {
    opacity: 0.95;
    transform: scale(1.02) rotate(-0.5deg);
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 162, 39, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 39, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 10%,
    transparent 70%
  );
  opacity: 0.5;
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 15s linear infinite;
}
.hero-particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.hero-particle:nth-child(2) {
  left: 20%;
  animation-delay: 2s;
}
.hero-particle:nth-child(3) {
  left: 30%;
  animation-delay: 4s;
}
.hero-particle:nth-child(4) {
  left: 40%;
  animation-delay: 1s;
}
.hero-particle:nth-child(5) {
  left: 50%;
  animation-delay: 3s;
}
.hero-particle:nth-child(6) {
  left: 60%;
  animation-delay: 5s;
}
.hero-particle:nth-child(7) {
  left: 70%;
  animation-delay: 2.5s;
}
.hero-particle:nth-child(8) {
  left: 80%;
  animation-delay: 4.5s;
}
.hero-particle:nth-child(9) {
  left: 90%;
  animation-delay: 1.5s;
}
.hero-particle:nth-child(10) {
  left: 15%;
  animation-delay: 3.5s;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 8, 0) 0%,
    rgba(5, 5, 8, 0.3) 70%,
    rgba(5, 5, 8, 0.8) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(
    135deg,
    rgba(201, 162, 39, 0.1) 0%,
    rgba(201, 162, 39, 0.05) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 162, 39, 0.2);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease-out;
  position: relative;
  overflow: hidden;
}
.hero-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 3s ease-in-out infinite;
}
.hero-badge i {
  color: var(--accent-gold);
  font-size: 1rem;
  animation: glow 2s ease-in-out infinite;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s ease-out 0.1s both;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.hero-title .highlight {
  display: inline-block;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: -0.15em;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  opacity: 0.5;
}
.hero-text {
  font-size: 1.25rem;
  line-height: 1.9;
  color: var(--gray-400);
  margin-bottom: 44px;
  max-width: 600px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 70px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.stat-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(40px);
  border: 1px solid rgba(201, 162, 39, 0.15);
  padding: 32px 24px;
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(201, 162, 39, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity var(--transition-base);
}
.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(201, 162, 39, 0.1);
}
.stat-card:hover::before {
  opacity: 1;
}
.stat-card:hover::after {
  opacity: 1;
}
.stat-card i {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 18px;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(201, 162, 39, 0.3));
  transition: all var(--transition-base);
}
.stat-card:hover i {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px rgba(201, 162, 39, 0.5));
}
.stat-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .hero {
    padding: 160px 0 120px;
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .stat-card {
    padding: 40px 32px;
  }
}
.section {
  padding: 120px 0;
  position: relative;
}
.section-white {
  background: var(--primary-dark);
}
.section-gray {
  background: linear-gradient(
    180deg,
    var(--primary-navy) 0%,
    var(--primary-dark) 100%
  );
}
.section-dark {
  background: linear-gradient(
    180deg,
    var(--primary-darker) 0%,
    var(--primary-navy) 50%,
    var(--primary-dark) 100%
  );
  color: var(--white);
}
.section-header {
  text-align: center;
  margin-bottom: 70px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 20px;
  position: relative;
}
.section-label::before,
.section-label::after {
  content: "";
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold));
}
.section-label::after {
  background: linear-gradient(90deg, var(--accent-gold), transparent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-text {
  font-size: 1.15rem;
  color: var(--gray-400);
  line-height: 1.9;
}
@media (min-width: 768px) {
  .section {
    padding: 140px 0;
  }
}
.services-grid-three {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.service-card-link {
  text-decoration: none;
}
.service-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-2xl);
  padding: 48px 40px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(201, 162, 39, 0.08) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity var(--transition-base);
}
.service-card:hover {
  transform: translateY(-12px);
  border-color: rgba(201, 162, 39, 0.25);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(201, 162, 39, 0.08);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card:hover::after {
  opacity: 1;
}
.service-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(201, 162, 39, 0.15) 0%,
    rgba(201, 162, 39, 0.05) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: all var(--transition-smooth);
  position: relative;
  z-index: 1;
}
.service-icon::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}
.service-card:hover .service-icon {
  background: var(--gradient-gold);
  transform: scale(1.08) rotate(-3deg);
  box-shadow: var(--shadow-gold);
}
.service-card:hover .service-icon::before {
  opacity: 1;
}
.service-icon i {
  font-size: 1.6rem;
  color: var(--accent-gold);
  transition: all var(--transition-base);
}
.service-card:hover .service-icon i {
  color: var(--primary-dark);
}
.service-icon-green {
  background: linear-gradient(
    135deg,
    rgba(45, 138, 78, 0.15) 0%,
    rgba(45, 138, 78, 0.05) 100%
  );
}
.service-icon-green i {
  color: var(--green-light);
}
.service-card-green:hover .service-icon {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  box-shadow: 0 4px 30px rgba(45, 138, 78, 0.4);
}
.service-card-green:hover .service-icon i {
  color: var(--white);
}
.service-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.service-desc {
  color: var(--gray-400);
  margin-bottom: 28px;
  line-height: 1.8;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}
.service-list {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.service-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: var(--gray-300);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}
.service-card:hover .service-list li {
  color: var(--gray-200);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.3);
}
.service-list-green li::before {
  background: var(--green-light);
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  position: relative;
  z-index: 1;
}
.service-more:hover {
  gap: 16px;
  color: var(--accent-gold-light);
}
.service-more.green {
  color: var(--green-light);
}
.service-more.green:hover {
  color: var(--white);
}
@media (min-width: 768px) {
  .services-grid-three {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}
.cases-section {
  overflow: hidden;
}
.cases-slider-wrapper {
  position: relative;
  margin: 0 -24px;
  padding: 0 24px;
}
.cases-slider {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 24px 0;
  scrollbar-width: none;
}
.cases-slider::-webkit-scrollbar {
  display: none;
}
.case-card {
  flex: 0 0 360px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 32px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.case-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gold);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.case-card:hover {
  transform: translateY(-10px);
  border-color: rgba(201, 162, 39, 0.2);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}
.case-card:hover::before {
  opacity: 1;
}
.case-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.case-category {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.case-category.criminal {
  background: linear-gradient(
    135deg,
    rgba(139, 38, 53, 0.3),
    rgba(139, 38, 53, 0.1)
  );
  color: var(--accent-red-light);
  border: 1px solid rgba(139, 38, 53, 0.3);
}
.case-category.civil {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.2),
    rgba(59, 130, 246, 0.1)
  );
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.case-category.bankruptcy {
  background: linear-gradient(
    135deg,
    rgba(45, 138, 78, 0.2),
    rgba(45, 138, 78, 0.1)
  );
  color: var(--green-light);
  border: 1px solid rgba(45, 138, 78, 0.3);
}
.case-client {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-left: 12px;
}
.case-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 14px;
  font-weight: 600;
}
.case-short {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.case-result {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green-light);
  font-size: 0.9rem;
  font-weight: 500;
}
.case-result i {
  font-size: 1rem;
  filter: drop-shadow(0 0 5px rgba(74, 222, 128, 0.3));
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(201, 162, 39, 0.2) 0%,
    rgba(201, 162, 39, 0.1) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: var(--accent-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 10;
  transition: all var(--transition-fast);
}
.slider-btn:hover {
  background: var(--gradient-gold);
  color: var(--primary-dark);
  box-shadow: var(--shadow-gold);
}
.slider-btn-left {
  left: -10px;
}
.slider-btn-right {
  right: -10px;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-700);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.slider-dot.active {
  background: var(--accent-gold);
  width: 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px rgba(201, 162, 39, 0.4);
}
@media (max-width: 480px) {
  .cases-slider-wrapper {
    margin: 0 -12px;
    padding: 0 12px;
  }
  .cases-slider {
    gap: 16px;
    padding: 16px 0;
  }
  .case-card {
    flex: 0 0 calc(100vw - 48px);
    min-width: 280px;
    max-width: 340px;
    padding: 24px 20px;
  }
  .case-category {
    padding: 6px 12px;
    font-size: 0.65rem;
  }
  .case-client {
    font-size: 0.75rem;
  }
  .case-title {
    font-size: 1.1rem;
    line-height: 1.3;
  }
  .case-short {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  .case-result {
    font-size: 0.85rem;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }
  .slider-btn-left {
    left: -6px;
  }
  .slider-btn-right {
    right: -6px;
  }
}
@media (max-width: 360px) {
  .cases-slider-wrapper {
    margin: 0 -8px;
    padding: 0 8px;
  }
  .cases-slider {
    gap: 12px;
  }
  .case-card {
    flex: 0 0 calc(100vw - 36px);
    min-width: 260px;
    padding: 20px 16px;
  }
  .case-category {
    padding: 5px 10px;
    font-size: 0.6rem;
  }
  .case-title {
    font-size: 1rem;
  }
  .case-short {
    font-size: 0.8rem;
  }
  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
    opacity: 0.8;
  }
}
.team-grid-three {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.team-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-2xl);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}
.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-burgundy));
  opacity: 0;
  transition: opacity var(--transition-base);
}
.team-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 200px;
  background: radial-gradient(
    ellipse,
    rgba(139, 38, 53, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity var(--transition-base);
}
.team-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(139, 38, 53, 0.1);
}
.team-card:hover::before {
  opacity: 1;
}
.team-card:hover::after {
  opacity: 1;
}
.team-card-green::before {
  background: linear-gradient(90deg, var(--green), var(--green-dark));
}
.team-card-green::after {
  background: radial-gradient(
    ellipse,
    rgba(45, 138, 78, 0.1) 0%,
    transparent 70%
  );
}
.team-card-green:hover {
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(45, 138, 78, 0.1);
}
.team-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(
    135deg,
    var(--accent-red),
    var(--accent-burgundy)
  );
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 15px rgba(139, 38, 53, 0.4);
  z-index: 2;
}
.team-badge-green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 4px 15px rgba(45, 138, 78, 0.4);
}
.team-badge i {
  font-size: 0.6rem;
}
.team-avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}
.team-avatar-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  border: 3px solid var(--accent-gold);
  box-shadow:
    0 0 0 3px rgba(201, 162, 39, 0.15),
    0 8px 30px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-smooth);
  background: var(--primary-navy);
}
.team-card:hover .team-avatar-img {
  transform: scale(1.03);
  box-shadow:
    0 0 0 4px rgba(201, 162, 39, 0.25),
    0 12px 40px rgba(0, 0, 0, 0.5);
}
.team-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 4px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.team-position {
  display: block;
  color: var(--accent-red-light);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}
.team-position-green {
  color: var(--green-light);
}
.team-experience {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: 0.85rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.team-experience i {
  color: var(--accent-gold);
}
.team-specialties {
  list-style: none;
  text-align: left;
  padding: 20px 0 0;
  margin: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}
.team-specialties li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--gray-300);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}
.team-card:hover .team-specialties li {
  color: var(--gray-200);
}
.team-specialties li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-red-light);
  box-shadow: 0 0 6px rgba(201, 76, 90, 0.4);
}
.team-specialties-green li::before {
  background: var(--green-light);
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.4);
}
.team-contact {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}
.team-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-300);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
}
.team-contact a:hover {
  color: var(--accent-gold);
  background: rgba(201, 162, 39, 0.1);
}
.team-contact a i {
  color: var(--accent-gold);
}
@media (min-width: 640px) and (max-width: 1023px) {
  .team-grid-three {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .team-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}
@media (min-width: 1024px) {
  .team-grid-three {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .team-card {
    padding: 36px 32px;
  }
  .team-avatar-img {
    width: 150px;
    height: 150px;
  }
}
@media (min-width: 1280px) {
  .team-grid-three {
    gap: 40px;
  }
  .team-card {
    padding: 44px 40px;
  }
  .team-avatar-img {
    width: 160px;
    height: 160px;
  }
  .team-name {
    font-size: 1.5rem;
  }
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
.contact-info {
  padding-right: 0;
}
.contact-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 18px;
}
.contact-text {
  color: var(--gray-400);
  margin-bottom: 40px;
  font-size: 1.15rem;
  line-height: 1.9;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item {
  display: flex;
  gap: 24px;
}
.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(201, 162, 39, 0.15) 0%,
    rgba(201, 162, 39, 0.05) 100%
  );
  border: 1px solid rgba(201, 162, 39, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-smooth);
}
.contact-item:hover .contact-icon {
  background: var(--gradient-gold);
  box-shadow: var(--shadow-gold);
}
.contact-item:hover .contact-icon i {
  color: var(--primary-dark);
}
.contact-icon i {
  font-size: 1.3rem;
  color: var(--accent-gold);
  transition: color var(--transition-fast);
}
.contact-item h4 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 6px;
  font-weight: 600;
}
.contact-item a,
.contact-item p {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.7;
  transition: color var(--transition-fast);
}
.contact-item a:hover {
  color: var(--accent-gold);
}
.contact-form-wrapper {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-2xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.contact-form-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 32px;
}
.form-group {
  margin-bottom: 24px;
  position: relative;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--white);
  transition: all var(--transition-fast);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 0 0 3px rgba(201, 162, 39, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c9a227' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 18px;
}
.form-group select option {
  background: var(--primary-dark);
  color: var(--white);
}
.form-group.error input,
.form-group.error textarea {
  border-color: var(--accent-red);
}
.error-message {
  color: var(--accent-red-light);
  font-size: 0.85rem;
  margin-top: 10px;
  display: none;
}
.form-group.error .error-message {
  display: block;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
}
.checkbox-label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent-gold);
  cursor: pointer;
  border-radius: 4px;
}
.checkbox-label a {
  color: var(--accent-gold);
  text-decoration: none;
}
.checkbox-label a:hover {
  text-decoration: underline;
}
.success-message {
  display: none;
  background: linear-gradient(
    135deg,
    rgba(45, 138, 78, 0.2) 0%,
    rgba(45, 138, 78, 0.1) 100%
  );
  border: 1px solid rgba(45, 138, 78, 0.3);
  color: var(--green-light);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  margin-top: 24px;
  text-align: center;
  font-weight: 500;
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .contact-info {
    padding-right: 50px;
  }
}
.footer {
  background: var(--primary-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 56px 0;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-gold),
    transparent
  );
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.footer-logo .logo-text {
  color: var(--white);
}
.footer-links {
  display: flex;
  gap: 12px 24px; /* Уменьшаем отступ между ссылками с 48px до 24px, а 12px — это безопасный шаг между строками, если они перенесутся */
  flex-wrap: wrap;
  justify-content: center;
  width: 100%; /* Даем блоку развернуться на всю доступную ширину */
}
.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
  position: relative;
}
.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width var(--transition-fast);
}
.footer-links a:hover {
  color: var(--accent-gold);
}
.footer-links a:hover::after {
  width: 100%;
}
.footer-copyright {
  color: var(--gray-600);
  font-size: 0.9rem;
}
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--primary-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-smooth);
  z-index: 90;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold-lg);
}
.callback-widget {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 99;
}
.callback-widget.visible .callback-btn {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.callback-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--primary-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all var(--transition-smooth);
  animation: pulse 2s ease-in-out infinite;
}
.callback-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-gold-lg);
  animation: none;
}
.callback-form {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 30, 0.98) 0%,
    rgba(10, 10, 15, 0.98) 100%
  );
  backdrop-filter: blur(40px);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius-xl);
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: all var(--transition-smooth);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
.callback-form.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.callback-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.callback-header span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 600;
}
.callback-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-400);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.callback-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.callback-form input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 14px;
  transition: all var(--transition-fast);
}
.callback-form input::placeholder {
  color: var(--gray-500);
}
.callback-form input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}
.callback-success {
  display: none;
  text-align: center;
  padding: 20px 0;
  color: var(--green-light);
  font-weight: 500;
}
.callback-success i {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: var(--green-light);
}
@media (max-width: 480px) {
  .scroll-top {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    right: 16px;
    bottom: 20px;
  }
  .callback-widget {
    right: 16px;
    bottom: 76px;
  }
  .callback-btn {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }
  .callback-form {
    width: calc(100vw - 48px);
    right: -8px;
    bottom: 70px;
  }
}
@media (max-width: 360px) {
  .scroll-top {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
    right: 12px;
    bottom: 16px;
  }
  .callback-widget {
    right: 12px;
    bottom: 64px;
  }
  .callback-btn {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}
.appointment-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}
.appointment-modal.active {
  opacity: 1;
  visibility: visible;
}
.appointment-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.9);
  backdrop-filter: blur(10px);
}
.appointment-modal-content {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 30, 0.98) 0%,
    rgba(10, 10, 15, 0.98) 100%
  );
  backdrop-filter: blur(40px);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius-2xl);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(201, 162, 39, 0.1);
  transform: scale(0.9) translateY(20px);
  transition: all var(--transition-smooth);
}
.appointment-modal.active .appointment-modal-content {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-400);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.appointment-modal-header {
  text-align: center;
  padding: 48px 40px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}
.appointment-modal-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
}
.modal-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(201, 162, 39, 0.15) 0%,
    rgba(201, 162, 39, 0.05) 100%
  );
  border: 2px solid rgba(201, 162, 39, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--accent-gold);
}
.appointment-modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 600;
}
.appointment-modal-header p {
  color: var(--gray-400);
  font-size: 1rem;
}
.appointment-form {
  padding: 0;
}
.appointment-modal-body {
  padding: 32px 40px;
}
.appointment-modal-body label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-300);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.appointment-success {
  text-align: center;
  padding: 60px 40px;
}
.appointment-success i {
  font-size: 4rem;
  color: var(--green-light);
  margin-bottom: 20px;
  display: block;
}
.appointment-success h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 10px;
}
.appointment-success p {
  color: var(--gray-400);
}
.time-slots-hint {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 8px;
  font-style: italic;
}
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}
.case-modal.active {
  opacity: 1;
  visibility: visible;
}
.case-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.9);
  backdrop-filter: blur(10px);
}
.case-modal-content {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 30, 0.98) 0%,
    rgba(10, 10, 15, 0.98) 100%
  );
  backdrop-filter: blur(40px);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius-2xl);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
  transform: scale(0.9) translateY(20px);
  transition: all var(--transition-smooth);
}
.case-modal.active .case-modal-content {
  transform: scale(1) translateY(0);
}
.case-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-400);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
}
.case-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.case-modal-header {
  padding: 36px 36px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.case-modal-body {
  padding: 32px 36px;
}
.case-modal-section {
  margin-bottom: 28px;
}
.case-modal-section h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 14px;
}
.case-modal-section p {
  color: var(--gray-300);
  line-height: 1.8;
}
.case-modal-result {
  background: linear-gradient(
    135deg,
    rgba(45, 138, 78, 0.15) 0%,
    rgba(45, 138, 78, 0.05) 100%
  );
  border: 1px solid rgba(45, 138, 78, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.case-modal-result h4 {
  color: var(--green-light);
}
.case-modal-result h4 i {
  margin-right: 8px;
}
.service-hero {
  position: relative;
  padding: 180px 0 100px;
  background: linear-gradient(
    180deg,
    var(--primary-dark) 0%,
    var(--primary-navy) 100%
  );
  overflow: hidden;
}
.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 50% at 30% 20%,
      rgba(201, 162, 39, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 60% 40% at 70% 80%,
      rgba(139, 38, 53, 0.05) 0%,
      transparent 50%
    );
}
.service-hero-content {
  position: relative;
  z-index: 1;
}
.service-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(
    135deg,
    rgba(201, 162, 39, 0.1),
    rgba(201, 162, 39, 0.05)
  );
  border: 1px solid rgba(201, 162, 39, 0.2);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 24px;
}
.service-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}
.service-hero-desc {
  font-size: 1.2rem;
  color: var(--gray-400);
  max-width: 600px;
  line-height: 1.8;
}
.service-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .service-details-grid {
    grid-template-columns: 2fr 1fr;
    gap: 60px;
  }
}
.service-main-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 600;
}
.service-main-content p {
  color: var(--gray-400);
  line-height: 1.9;
  margin-bottom: 24px;
}
.service-list-detailed {
  list-style: none;
  margin: 24px 0;
}
.service-list-detailed li {
  position: relative;
  padding: 16px 20px 16px 48px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  color: var(--gray-300);
  transition: all var(--transition-fast);
}
.service-list-detailed li:hover {
  background: rgba(201, 162, 39, 0.05);
  border-color: rgba(201, 162, 39, 0.2);
}
.service-list-detailed li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.4);
}
.service-sidebar {
  position: sticky;
  top: 120px;
}
.service-cta-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
}
.service-cta-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}
.service-cta-card p {
  color: var(--gray-400);
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.review-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition-smooth);
}
.review-card:hover {
  border-color: rgba(201, 162, 39, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-gold),
    var(--accent-gold-dark)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-dark);
}
.review-author {
  flex: 1;
}
.review-author h4 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 4px;
}
.review-author span {
  font-size: 0.85rem;
  color: var(--gray-500);
}
.review-rating {
  display: flex;
  gap: 4px;
}
.review-rating i {
  color: var(--accent-gold);
  font-size: 0.9rem;
}
.review-text {
  color: var(--gray-300);
  line-height: 1.8;
  font-size: 0.95rem;
}
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.article-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-smooth);
  text-decoration: none;
  display: block;
}
.article-card:hover {
  border-color: rgba(201, 162, 39, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}
.article-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-dark));
  position: relative;
  overflow: hidden;
}
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}
.article-card:hover .article-image img {
  transform: scale(1.05);
}
.article-content {
  padding: 28px;
}
.article-date {
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.article-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.article-excerpt {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.7;
}
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}
.privacy-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin: 40px 0 20px;
  font-weight: 600;
}
.privacy-content h2:first-child {
  margin-top: 0;
}
.privacy-content p {
  color: var(--gray-400);
  line-height: 1.9;
  margin-bottom: 20px;
}
.privacy-content ul {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}
.privacy-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--gray-400);
  line-height: 1.7;
}
.privacy-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn-lg {
    padding: 18px 32px;
  }
  .section {
    padding: 80px 0;
  }
  .stat-card {
    padding: 24px 16px;
  }
  .stat-value {
    font-size: 2.2rem;
  }
  .service-card,
  .team-card {
    padding: 32px 24px;
  }
  .team-avatar-img {
    width: 120px;
    height: 120px;
  }
}
.privacy-section,
.page-header-section {
  padding: 160px 0 100px;
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    var(--primary-dark) 0%,
    var(--primary-navy) 100%
  );
}
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(
    180deg,
    var(--primary-dark) 0%,
    var(--primary-navy) 100%
  );
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.page-subtitle {
  font-size: 1.2rem;
  color: var(--gray-400);
  max-width: 600px;
}
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 32px;
  transition: all var(--transition-fast);
  padding: 10px 0;
}
.back-link:hover {
  gap: 14px;
  color: var(--accent-gold-light);
}
.privacy-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}
.privacy-date {
  color: var(--gray-400);
  margin-bottom: 40px;
  font-size: 0.95rem;
}
.privacy-intro {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--gray-300);
  margin-bottom: 32px;
  padding: 24px;
  background: rgba(201, 162, 39, 0.05);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.privacy-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin: 40px 0 16px;
  font-weight: 600;
  position: relative;
  padding-left: 20px;
}
.privacy-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
}
.privacy-content p {
  color: var(--gray-400);
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 1rem;
}
.privacy-content ul {
  margin: 16px 0 24px;
  padding-left: 0;
  list-style: none;
}
.privacy-content ul li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: var(--gray-300);
  line-height: 1.7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.privacy-content ul li:last-child {
  border-bottom: none;
}
.privacy-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.3);
}
.privacy-content .contact-list {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 20px;
}
.privacy-content .contact-list li {
  border-bottom: none;
  padding: 12px 0 12px 40px;
}
.privacy-content .contact-list li i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-gold);
  font-size: 1rem;
}
.privacy-content .contact-list a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.privacy-content .contact-list a:hover {
  color: var(--accent-gold);
}
.privacy-nav {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.review-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.review-card:hover {
  border-color: rgba(201, 162, 39, 0.25);
  transform: translateY(-8px);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(201, 162, 39, 0.05);
}
.review-card:hover::before {
  opacity: 1;
}
.review-stars {
  margin-bottom: 20px;
}
.review-stars i {
  color: var(--accent-gold);
  font-size: 1rem;
  margin-right: 4px;
}
.review-text {
  color: var(--gray-300);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-gold),
    var(--accent-gold-dark)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-dark);
  flex-shrink: 0;
}
.review-avatar-green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
}
.review-author strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 2px;
}
.review-author span {
  color: var(--gray-500);
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}
@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-hero {
  padding: 160px 0 100px;
  background: linear-gradient(
    135deg,
    rgba(139, 38, 53, 0.1) 0%,
    var(--primary-dark) 50%,
    var(--primary-navy) 100%
  );
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 50% at 20% 30%,
      rgba(201, 162, 39, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 60% 40% at 80% 70%,
      rgba(139, 38, 53, 0.05) 0%,
      transparent 50%
    );
}
.service-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.service-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 0.9rem;
}
.service-breadcrumb a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.service-breadcrumb a:hover {
  color: var(--accent-gold);
}
.service-breadcrumb i {
  font-size: 0.7rem;
  color: var(--gray-600);
}
.service-breadcrumb span {
  color: var(--gray-300);
}
.service-hero-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-red),
    var(--accent-burgundy)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 2.5rem;
  color: var(--white);
  box-shadow: 0 10px 40px rgba(139, 38, 53, 0.4);
}
.service-hero-icon-blue {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}
.service-hero-icon-green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 10px 40px rgba(45, 138, 78, 0.3);
}
.service-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
}
.service-hero-desc {
  font-size: 1.2rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.8;
}
.service-hero-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.service-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(139, 38, 53, 0.2);
  border: 1px solid rgba(139, 38, 53, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--accent-red-light);
}
.service-hero-badge i {
  font-size: 0.8rem;
}
.service-hero-badge.badge-blue {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}
.service-hero-badge.badge-green {
  background: rgba(45, 138, 78, 0.15);
  border-color: rgba(45, 138, 78, 0.3);
  color: var(--green-light);
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .service-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-detail-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.service-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.service-detail-card:hover {
  border-color: rgba(201, 162, 39, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.service-detail-card:hover::before {
  opacity: 1;
}
.service-detail-card-blue::before {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}
.service-detail-card-green::before {
  background: linear-gradient(90deg, var(--green), var(--green-light));
}
.service-detail-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: rgba(201, 162, 39, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--accent-gold);
  transition: all var(--transition-base);
}
.service-detail-card:hover .service-detail-icon {
  background: var(--gradient-gold);
  color: var(--primary-dark);
  transform: scale(1.1);
}
.service-detail-icon-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}
.service-detail-card-blue:hover .service-detail-icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}
.service-detail-icon-green {
  background: rgba(45, 138, 78, 0.15);
  color: var(--green-light);
}
.service-detail-card-green:hover .service-detail-icon {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
}
.service-detail-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 600;
}
.service-detail-card p {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.7;
}
.service-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .service-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.service-info-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.service-info-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    var(--accent-gold),
    var(--accent-gold-dark)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}
.service-info-icon-green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
}
.service-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 600;
}
.service-info-list {
  list-style: none;
}
.service-info-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.6;
}
.service-info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
}
.service-hero-civil {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1) 0%,
    var(--primary-dark) 50%,
    var(--primary-navy) 100%
  );
}
.service-hero-bankruptcy {
  background: linear-gradient(
    135deg,
    rgba(45, 138, 78, 0.1) 0%,
    var(--primary-dark) 50%,
    var(--primary-navy) 100%
  );
}
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 0;
}
.process-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--accent-gold) 0%,
    rgba(201, 162, 39, 0.3) 50%,
    var(--accent-gold) 100%
  );
  transform: translateX(-50%);
}
.process-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.process-item:last-child {
  margin-bottom: 0;
}
.process-content {
  width: 45%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 32px;
  border-radius: var(--radius-xl);
  transition: all var(--transition-smooth);
  position: relative;
}
.process-content:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.25);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(201, 162, 39, 0.08);
}
.process-content:hover::before {
  opacity: 1;
}
.process-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--white);
  font-weight: 600;
}
.process-content p {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin: 0;
}
.process-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-smooth);
}
.process-number::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 39, 0.3);
  opacity: 0;
  transition: all var(--transition-base);
}
.process-item:hover .process-number {
  transform: translateX(-50%) scale(1.15);
  box-shadow: var(--shadow-gold-lg);
}
.process-item:hover .process-number::before {
  opacity: 1;
  inset: -8px;
}
.process-item:nth-child(odd) {
  justify-content: flex-start;
}
.process-item:nth-child(odd) .process-content {
  text-align: right;
}
.process-item:nth-child(even) {
  justify-content: flex-end;
}
.process-item:nth-child(even) .process-content {
  text-align: left;
}
@media (max-width: 767px) {
  .process-timeline::before {
    left: 28px;
  }
  .process-item {
    justify-content: flex-start;
    padding-left: 70px;
    margin-bottom: 50px;
  }
  .process-item:last-child {
    margin-bottom: 0;
  }
  .process-content {
    width: 100%;
    text-align: left !important;
  }
  .process-number {
    left: 28px;
    transform: translateX(-50%);
  }
  .process-item:hover .process-number {
    transform: translateX(-50%) scale(1.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.back-to-main {
  position: fixed;
  bottom: 100px;
  left: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(
    135deg,
    rgba(201, 162, 39, 0.15) 0%,
    rgba(201, 162, 39, 0.08) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-gold-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.back-to-main::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.back-to-main:hover {
  transform: translateX(-5px);
  background: var(--gradient-gold);
  color: var(--primary-dark);
  box-shadow: var(--shadow-gold);
  border-color: transparent;
}
.back-to-main:hover i {
  color: var(--primary-dark);
}
.back-to-main i {
  font-size: 0.85rem;
  color: var(--accent-gold);
  transition: all var(--transition-base);
}
.back-to-main span {
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .back-to-main {
    left: 16px;
    bottom: 90px;
    padding: 12px 18px;
    font-size: 0.85rem;
  }
  .back-to-main span {
    display: none;
  }
  .back-to-main i {
    margin: 0;
  }
}
/* Appointment Modal Footer */
.appointment-modal-footer {
  padding: 0 40px 40px;
}

.appointment-modal-footer .btn {
  width: 100%;
}

/* Checkbox fix for modal */
.appointment-modal-body .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.appointment-modal-body .checkbox-label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent-gold);
  cursor: pointer;
  border-radius: 4px;
}

/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 30, 0.98) 0%,
    rgba(10, 10, 15, 0.98) 100%
  );
  backdrop-filter: blur(40px);
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  padding: 20px 24px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.cookie-text i {
  font-size: 2rem;
  color: var(--accent-gold);
}

.cookie-text p {
  margin: 0;
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--accent-gold);
  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-text {
    flex-direction: column;
    gap: 12px;
  }

  .cookie-text i {
    font-size: 1.5rem;
  }
}

/* Callback Checkbox Styles */
.callback-checkbox {
  margin: 10px 0;
  font-size: 0.8rem;
}

.callback-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

/* Success Modal Fix for Service Pages */
.appointment-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 30, 0.98) 0%,
    rgba(10, 10, 15, 0.98) 100%
  );
}

.appointment-success.show {
  display: block;
}

.appointment-success .success-icon {
  margin-bottom: 24px;
}

.appointment-success .success-icon i {
  font-size: 4rem;
  color: var(--green-light);
  filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.4));
}

.appointment-success h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 600;
}

.appointment-success p {
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

/* Success Modal - Enhanced styles for service pages */
.appointment-success i.fas.fa-check-circle {
  display: block;
  font-size: 4rem;
  color: var(--green-light);
  margin-bottom: 20px;
  text-align: center;
  filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.4));
}

.appointment-success h4 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 12px;
  text-align: center;
  font-weight: 600;
}

.appointment-success p {
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
}

/* Ensure success modal has proper padding */
.appointment-success[style*="display: block"],
.appointment-success[style*="display:block"] {
  padding: 60px 40px !important;
}

/* ============================================
   СТИЛИЗОВАННЫЕ ЧЕКБОКСЫ (Custom Checkboxes)
   ============================================ */

/* Скрываем стандартный чекбокс */
.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

/* Контейнер для кастомного чекбокса */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
  position: relative;
  padding-left: 32px;
  user-select: none;
}

/* Кастомный чекбокс (квадрат) */
.checkbox-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

/* Галочка (скрыта по умолчанию) */
.checkbox-label::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 6px;
  height: 12px;
  border: solid var(--primary-dark);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  opacity: 0;
  transition: all var(--transition-fast);
}

/* Hover состояние */
.checkbox-label:hover::before {
  border-color: var(--accent-gold);
  background: rgba(201, 162, 39, 0.08);
  box-shadow: 0 0 15px rgba(201, 162, 39, 0.15);
}

/* Checked состояние */
.checkbox-label input[type="checkbox"]:checked + span::before,
.checkbox-label:has(input[type="checkbox"]:checked)::before {
  background: var(--gradient-gold);
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
}

.checkbox-label input[type="checkbox"]:checked + span::after,
.checkbox-label:has(input[type="checkbox"]:checked)::after {
  transform: rotate(45deg) scale(1);
  opacity: 1;
}

/* Focus состояние для доступности */
.checkbox-label input[type="checkbox"]:focus + span::before,
.checkbox-label:has(input[type="checkbox"]:focus)::before {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25);
}

/* Стили для ссылок внутри label */
.checkbox-label a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.checkbox-label a:hover {
  text-decoration: underline;
  color: var(--accent-gold-light);
}

/* Анимация появления галочки */
@keyframes checkboxCheck {
  0% {
    transform: rotate(45deg) scale(0);
    opacity: 0;
  }
  50% {
    transform: rotate(45deg) scale(1.2);
  }
  100% {
    transform: rotate(45deg) scale(1);
    opacity: 1;
  }
}

.checkbox-label input[type="checkbox"]:checked + span::after,
.checkbox-label:has(input[type="checkbox"]:checked)::after {
  animation: checkboxCheck 0.25s ease-out;
}

/* Анимация для checked состояния */
@keyframes checkboxGlow {
  0% {
    box-shadow: 0 0 0 rgba(201, 162, 39, 0);
  }
  50% {
    box-shadow: 0 0 25px rgba(201, 162, 39, 0.5);
  }
  100% {
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
  }
}

.checkbox-label input[type="checkbox"]:checked + span::before,
.checkbox-label:has(input[type="checkbox"]:checked)::before {
  animation: checkboxGlow 0.4s ease-out;
}

/* Disabled состояние */
.checkbox-label input[type="checkbox"]:disabled + span,
.checkbox-label:has(input[type="checkbox"]:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkbox-label input[type="checkbox"]:disabled + span::before,
.checkbox-label:has(input[type="checkbox"]:disabled)::before {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Чекбоксы в callback форме */
.callback-checkbox {
  margin-bottom: 16px;
}

/* Чекбоксы в модальных окнах */
.appointment-modal-body .checkbox-label,
.callback-form .checkbox-label {
  margin-top: 8px;
  margin-bottom: 20px;
}

/* Адаптивность для мобильных */
@media (max-width: 480px) {
  .checkbox-label {
    padding-left: 30px;
    font-size: 0.85rem;
  }

  .checkbox-label::before {
    width: 20px;
    height: 20px;
  }

  .checkbox-label::after {
    left: 6px;
    top: 4px;
    width: 5px;
    height: 10px;
  }
}

/* Фикс для красивого отображения телефона в шапке сайта */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px; /* Отступ между телефоном и кнопкой */
  flex-shrink: 0; /* Запрещаем блоку сжиматься */
}

.header-phone {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap; /* Запрещаем перенос номера на вторую строку */
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-phone:hover {
  color: var(--accent-gold); /* Красивый золотой ховер при наведении */
}

/* На экранах от 1024px до 1250px чуть прижимаем меню, чтобы всё влезло */
@media (min-width: 1024px) and (max-width: 1250px) {
  .nav {
    gap: 24px; /* Уменьшаем отступ между ссылками меню (было 48px) */
  }
  .header-phone {
    font-size: 0.85rem; /* Чуть уменьшаем шрифт номера на небольших ноутбуках */
  }
}
/* Базовые стили для блока действий в шапке (по умолчанию скрыт на мобильных) */
.header-actions.desktop-only {
  display: none; /* Полностью скрываем блок на смартфонах и планшетах */
}

.header-phone {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-phone:hover {
  color: var(--accent-gold);
}

/* ====================================================
   МЕДИА-ЗАПРОСЫ: ВКЛЮЧАЕМ БЛОК ТОЛЬКО НА БОЛЬШИХ ЭКРАНАХ 
   ==================================================== */

/* На экранах от 1024px до 1200px (Планшеты вроде iPad Pro в режиме альбома) */
@media (min-width: 1024px) {
  .header-actions.desktop-only {
    display: flex; /* Показываем телефон и кнопку */
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
  }
}

/* На экранах от 1201px и выше (Полноценные мониторы ПК и ноутбуки) */
@media (min-width: 1201px) {
  .nav {
    gap: 48px; /* Возвращаем ваш исходный красивый широкий отступ для меню */
  }
  .header-actions.desktop-only {
    gap: 24px; /* Делаем отступ между телефоном и кнопкой свободнее */
  }
  .header-phone {
    font-size: 1rem; /* Возвращаем стандартный размер шрифта */
  }
}
/* Базовые стили для блока действий в шапке (по умолчанию скрыт на мобильных и планшетах) */
.header-actions.desktop-only {
  display: none; /* Полностью скрываем на смартфонах и планшетах, включая iPad Pro */
}

.header-phone {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-phone:hover {
  color: var(--accent-gold);
}

/* ====================================================
   МЕДИА-ЗАПРОСЫ: ВКЛЮЧАЕМ ПОЛНУЮ ШАПКУ ТОЛЬКО НА ПК
   ==================================================== */

/* На экранах от 1200px и выше (Полноценные мониторы ПК и ноутбуки) */
@media (min-width: 1200px) {
  .header-actions.desktop-only {
    display: flex;
    align-items: center;
    gap: 24px; /* Отступ между телефоном и золотой кнопкой */
    flex-shrink: 0;
    margin-left: 40px; /* КРИТИЧЕСКИЙ ОТСТУП: жестко отодвигает трубку от слова "КОНТАКТЫ" на 40 пикселей */
  }
  .header-phone {
    font-size: 1rem;
  }
}
