/* VivaEuropa - Luxury Premium Theme */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #1c1c1c;
  --bg-accent: #2a2a2a;
  --bg-card: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: #a0a0a0;
  --accent-gold: #d4af37;
  --accent-gold-hover: #f4cf47;
  --accent-gold-light: rgba(212, 175, 55, 0.1);
  --accent-gold-glow: rgba(212, 175, 55, 0.3);
  --border-color: #333333;
  --border-gold: #d4af37;
  --shadow-color: rgba(0, 0, 0, 0.8);
  --shadow-gold: rgba(212, 175, 55, 0.2);
  --success-color: #28a745;
  --warning-color: #ffc107;
  --error-color: #dc3545;
  --gradient-primary: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4cf47 100%);
  --gradient-card: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  background: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(212, 175, 55, 0.02) 0%, transparent 50%);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: 0.2px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

h2 {
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

h3 {
  font-size: 2rem;
  color: var(--accent-gold);
}

h4 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-gold-hover);
}

a:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4rem 0;
}

.section-lg {
  padding: 6rem 0;
}

.section-sm {
  padding: 2rem 0;
}

/* Header */
.header {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(212, 175, 55, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  text-shadow: 0 0 20px var(--accent-gold-glow);
  transition: all 0.3s ease;
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width 0.3s ease;
}

.logo:hover::after {
  width: 100%;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-gold);
}

/* Mobile menu button */
.mobile-menu-toggle {
  display: none;
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent-gold);
  border-radius: 6px;
  background: none;
  cursor: pointer;
  color: var(--accent-gold);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle::before {
  content: "МЕНЮ";
}

/* English version */
html[lang="en"] .mobile-menu-toggle::before {
  content: "MENU";
}

.mobile-menu-toggle:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
  transform: translateY(-1px);
}

.mobile-menu-toggle span {
  display: none;
}

.mobile-menu-toggle.active span:nth-child(1),
.mobile-menu-toggle.active span:nth-child(2),
.mobile-menu-toggle.active span:nth-child(3) {
  display: none;
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
}

.lang-btn {
  padding: 0.25rem 0.5rem;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.lang-btn.active,
.lang-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--gradient-gold);
  color: var(--bg-primary);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(212, 175, 55, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Removed .btn::before and .btn:hover::before - NO MORE WHITE SQUARES! */

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 16px 48px rgba(212, 175, 55, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: var(--bg-primary);
}

.btn:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.btn-secondary:hover {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  border-color: var(--accent-gold-hover);
  transform: translateY(-3px) scale(1.02);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 12px;
}

.btn-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  border-radius: 8px;
}

/* Hero Section with Background Images */
.hero {
  position: relative;
  min-height: clamp(360px, 58vh, 640px);
  display: grid; 
  place-items: center;
  text-align: center; 
  padding: 96px 16px 56px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute; 
  inset: 0; 
  z-index: -1;
  background-size: cover; 
  background-position: center 40%;
  transform: translateZ(0);
  filter: saturate(.95) contrast(1.05);
}

.hero::after {
  content: "";
  position: absolute; 
  inset: 0; 
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(0,0,0,.55), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.58), rgba(0,0,0,.78));
}

/* Background images for different pages */
body[data-page="home"]     .hero::before { background-image: url("bg_home.webp"); }
body[data-page="services"] .hero::before { background-image: url("bg_services.webp"); }
body[data-page="process"]  .hero::before { background-image: url("bg_process.webp"); }
body[data-page="cities"]   .hero::before { background-image: url("bg_cities.webp"); }
body[data-page="pricing"]  .hero::before { background-image: url("bg_pricing.webp"); }
body[data-page="cases"]    .hero::before { background-image: url("bg_cases.webp"); }
body[data-page="about"]    .hero::before { background-image: url("bg_about.webp"); }
body[data-page="faq"]      .hero::before { background-image: url("bg_faq.webp"); }
body[data-page="contact"]  .hero::before { background-image: url("bg_contact.webp"); }

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-proof {
  font-size: 1.1rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-disclaimer {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-style: italic;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Cards */
.card {
  background: var(--gradient-card);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(212, 175, 55, 0.05);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 24px 64px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--accent-gold-glow),
    inset 0 1px 0 rgba(212, 175, 55, 0.1);
  border-color: var(--accent-gold);
}

.card h3 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Steps/Process */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  background-color: var(--bg-accent);
  text-align: center;
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-width: 160px;
  color: white;
  /* FORCE OVERRIDE ANY INHERITED STYLES */
  background-image: none !important;
  background-size: auto !important;
  background-position: initial !important;
  background-repeat: no-repeat !important;
  list-style: none !important;
  text-indent: 0 !important;
}

.cta-btn .cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 12px;
  background: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  border: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}
.cta-btn .cta-icon svg {
  fill: currentColor;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Анимация появления CTA кнопок */
@keyframes cta-appear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Задержки для последовательного появления кнопок */
.cta-btn.whatsapp {
  animation-delay: 0.1s;
}
.cta-btn.telegram {
  animation-delay: 0.2s;
}
.cta-btn.email {
  animation-delay: 0.3s;
}

/* Убедимся что текст поверх блеска */
.cta-btn > span {
  position: relative;
  z-index: 2;
}

/* Анимация свечения для email кнопки */
@keyframes email-glow {
  0%, 100% { 
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  50% { 
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.2),
                0 0 30px rgba(255, 215, 0, 0.4);
  }
}

.cta-btn .cta-text {
  line-height: 1.1;
}

.cta-btn .cta-sub {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

/* FORCE REMOVE ALL PSEUDOELEMENTS FOR CTA BUTTONS */
.cta-btn::before,
.cta-btn::after {
  content: none !important;
  display: none !important;
}

.cta-btn:hover::before,
.cta-btn:hover::after {
  content: none !important;
  display: none !important;
}

.cta-btn:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--border-gold);
  box-shadow: 
    0 16px 64px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--accent-gold-glow),
    inset 0 1px 0 rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
}

/* WhatsApp Button */
.cta-btn.whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.cta-btn.whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

/* Telegram Button */
.cta-btn.telegram {
  background: linear-gradient(135deg, #0088cc 0%, #005577 100%);
  box-shadow: 0 4px 16px rgba(0, 136, 204, 0.3);
}

.cta-btn.telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.4);
}

/* Email Button */
.cta-btn.email {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #B8860B 100%);
  box-shadow: 0 4px 16px rgba(255, 213, 79, 0.3);
  color: var(--bg-primary);
}

.cta-btn.email:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 213, 79, 0.4);
}

/* Pricing */
.pricing-card {
  background-color: var(--bg-secondary);
  border-radius: 12px;
  padding: 2rem;
  border: 2px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

.pricing-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px var(--shadow-color);
}

.pricing-card.featured:hover {
  transform: translateY(-4px) scale(1.07);
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin: 1rem 0;
}

.price-currency {
  font-size: 1.5rem;
  vertical-align: top;
}

.price-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.features-list {
  list-style: none;
  text-align: left;
  margin: 2rem 0;
}

.features-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: bold;
}

/* Footer */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .nav {
    padding: 1rem;
    gap: 0.5rem;
  }
  
  .mobile-menu-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu .nav-link {
    display: block;
    width: 100%;
    padding: 0.875rem 0.5rem;
    border-radius: 8px;
    border: 1px solid transparent;
  }
  
  .nav-menu .nav-link:focus,
  .nav-menu .nav-link:hover {
    border-color: var(--border-gold);
    background: var(--bg-card);
  }
  
  .hero {
    padding: 6rem 0 4rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 480px) {
  /* Treat 360px as critical breakpoint */
  h1 {
    font-size: 1.75rem;
  }
  
  .btn {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    width: 100%;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .card {
    padding: 1.5rem;
  }

  .cta-buttons .cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Desktop wide breakpoint */
@media (min-width: 1280px) {
  .container {
    max-width: 1320px;
  }
}

/* Card image helper */
.card .card-img,
.city-hero-img {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  margin-bottom: 1rem;
}

/* Contact CTA Section */
.contact-cta {
  margin-top: 48px;
  padding: 32px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  box-shadow: var(--shadow-gold) 0 8px 32px, inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.contact-cta h2 {
  text-align: center;
  margin: 0 0 24px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.contact-actions {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

/* Contact Action Buttons */
.contact-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
}

.contact-actions .btn .icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
}

/* Removed .contact-actions .btn::before and :hover::before - NO MORE WHITE SQUARES! */

/* WhatsApp Button */
.btn-wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Telegram Button */
.btn-tg {
  background: linear-gradient(135deg, #0088cc 0%, #005577 100%);
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 136, 204, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Email Button */
.btn-mail {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #B8860B 100%);
  box-shadow: 0 8px 24px rgba(255, 213, 79, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: var(--bg-primary);
  font-weight: 800;
}

.btn-mail:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 213, 79, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Mobile responsiveness for contact buttons */
@media (max-width: 768px) {
  .contact-cta {
    margin-top: 32px;
    padding: 24px 20px;
  }
  
  .contact-cta h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }
  
  .contact-actions {
    gap: 12px;
  }
  
  .contact-actions .btn {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
}

/* ===== BEAUTIFUL CTA BUTTONS (NO SQUARES!) ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  min-width: 180px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  animation: cta-appear 0.6s ease-out both;
  text-align: center;
  vertical-align: middle;
  line-height: 1.2;
}

/* Блеск эффект для всех кнопок - НЕ МЕШАЕТ ЦЕНТРИРОВАНИЮ */
.cta-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: all 0.6s ease;
  z-index: 1;
  pointer-events: none;
}

.cta-btn:hover::before {
  left: 100%;
}

/* Обеспечиваем что текст поверх эффекта */
.cta-btn > * {
  position: relative;
  z-index: 2;
}

/* WhatsApp Button - Vibrant Green */
.cta-btn.whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  border: 2px solid rgba(37, 211, 102, 0.4);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-btn.whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5), 0 8px 20px rgba(0, 0, 0, 0.25);
  border-color: rgba(37, 211, 102, 0.7);
  background: linear-gradient(135deg, #2FE373 0%, #15A085 100%);
}

/* Telegram Button - Rich Blue */
.cta-btn.telegram {
  background: linear-gradient(135deg, #0088cc 0%, #0055A5 100%);
  color: white;
  border: 2px solid rgba(0, 136, 204, 0.4);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.25), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-btn.telegram:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 136, 204, 0.5), 0 8px 20px rgba(0, 0, 0, 0.25);
  border-color: rgba(0, 136, 204, 0.7);
  background: linear-gradient(135deg, #1199DD 0%, #0066BB 100%);
}

/* Email Button - Bright Gold */
.cta-btn.email {
  background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
  color: #000000;
  font-weight: 800;
  border: 2px solid rgba(255, 215, 0, 0.5);
  box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: cta-appear 0.6s ease-out both, email-glow 3s ease-in-out 2s infinite;
}

.cta-btn.email:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 140, 0, 0.6), 0 8px 20px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 215, 0, 0.8);
  background: linear-gradient(135deg, #FFE55C 0%, #FF9500 100%);
}

/* Активное состояние для всех CTA кнопок */
.cta-btn:active {
  transform: translateY(-1px) scale(0.98);
  transition: all 0.1s ease;
}

/* Улучшенная анимация на мобильных */
@media (max-width: 768px) {
  .hero-cta {
    padding: 20px 16px;
    gap: 16px;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
    font-size: 15px;
    padding: 14px 24px;
  }
}

/* Удаляем дублирующееся определение - используем только одно выше */

/* WhatsApp - Vibrant Green */
.cta-btn.whatsapp {
  background: linear-gradient(135deg, #1DB584 0%, #25D366 50%, #128C7E 100%);
  color: #ffffff;
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 
    0 12px 35px rgba(29, 181, 132, 0.4),
    0 6px 18px rgba(0, 0, 0, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.25);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-btn.whatsapp:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 18px 45px rgba(29, 181, 132, 0.6),
    0 10px 30px rgba(0, 0, 0, 0.25),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
  border-color: rgba(37, 211, 102, 0.8);
  background: linear-gradient(135deg, #20C997 0%, #2CE080 50%, #15A574 100%);
}

/* Telegram - Rich Blue */
.cta-btn.telegram {
  background: linear-gradient(135deg, #1E88E5 0%, #42A5F5 50%, #1565C0 100%);
  color: #ffffff;
  border-color: rgba(30, 136, 229, 0.5);
  box-shadow: 
    0 12px 35px rgba(30, 136, 229, 0.4),
    0 6px 18px rgba(0, 0, 0, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.25);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-btn.telegram:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 18px 45px rgba(30, 136, 229, 0.6),
    0 10px 30px rgba(0, 0, 0, 0.25),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
  border-color: rgba(30, 136, 229, 0.8);
  background: linear-gradient(135deg, #2196F3 0%, #64B5F6 50%, #1976D2 100%);
}

/* Email - Luxurious Orange */
.cta-btn.email {
  background: linear-gradient(135deg, #FF6D00 0%, #FF5722 50%, #D84315 100%);
  color: #ffffff;
  font-weight: 800;
  border-color: rgba(255, 109, 0, 0.6);
  box-shadow: 
    0 12px 35px rgba(255, 109, 0, 0.5),
    0 6px 18px rgba(0, 0, 0, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.cta-btn.email:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 18px 45px rgba(255, 109, 0, 0.7),
    0 10px 30px rgba(0, 0, 0, 0.25),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 109, 0, 0.8);
  background: linear-gradient(135deg, #FF7043 0%, #FF6F00 50%, #E64100 100%);
}

/* Активное состояние */
.cta-btn:active {
  transform: translateY(-1px) scale(0.98);
  transition: all 0.1s ease;
}

/* Анимации появления */
@keyframes cta-entrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cta-btn {
  animation: cta-entrance 0.6s ease-out both;
}

.cta-btn.whatsapp { animation-delay: 0.1s; }
.cta-btn.telegram { animation-delay: 0.2s; }
.cta-btn.email { animation-delay: 0.3s; }

/* Удаляем дублирующееся определение */

/* Специальные стили для идеального центрирования эмодзи и текста */
.cta-btn {
  font-variant-emoji: text;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.cta-btn > * {
  display: inline-block;
  vertical-align: middle;
}

/* Container Styles */
.cta-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  text-align: center;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 24px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cta-buttons,
  .hero-cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    text-align: center;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== BRAND HERO STYLES ===== */
/* Контейнер бренда */
.brand-hero{
  display:grid; gap:12px; justify-items:center;
  padding-inline:16px; margin-bottom:14px;
  animation: brand-enter .9s ease-out both;
  text-wrap: balance;
  align-items: center;
}

/* Логотип-бренд */
.brand-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)) drop-shadow(0 0 20px rgba(212,175,55,.3));
  position: relative;
  margin: 0;
  padding: 0;
  display: block;
  line-height: 0;
  animation: logo-glow 3s ease-in-out infinite alternate;
}

/* Заголовок-бренд (для страниц без логотипа) */
.brand-title{
  font-weight: 800;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: 0.01em;
  line-height: 1.05;
  background: linear-gradient(180deg, #FFD24D, #E0B100);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
  position: relative;
  margin: 0;
}

/* Элегантная «дорогая» подсветка */
.brand-title::after{
  content:""; position:absolute; inset:0 0 10% 0; pointer-events:none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  mix-blend-mode: screen; opacity:.35; transform: translateX(-40%);
  animation: sweep 2.6s ease-out .6s 1 both;
}

/* Слоган */
.brand-tagline{
  font-size: clamp(16px, 2.4vw, 22px);
  font-weight: 600; opacity:.92; text-align:center;
  max-width: min(780px, 92vw);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.35));
  animation: tagline-enter 1.1s ease-out .1s both;
  margin: 0;
}

/* Лид-текст */
.brand-lead{
  margin-top: 2px;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 500;
  opacity: .95;
  text-align: center;
  max-width: min(900px, 94vw);
  text-wrap: balance;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.35));
  animation: lead-enter .9s ease-out .05s both;
  margin: 0;
}

/* Микроанимации премиум-класса */
@keyframes brand-enter{
  from{ transform: translateY(12px); opacity:0 }
  to{ transform: translateY(0); opacity:1 }
}
@keyframes tagline-enter{
  from{ transform: translateY(10px); opacity:0 }
  to{ transform: translateY(0); opacity:1 }
}
@keyframes sweep{
  from{ transform: translateX(-60%); opacity:.0 }
  60% { opacity:.35 }
  to{ transform: translateX(120%); opacity:0 }
}
@keyframes lead-enter{
  from{ transform: translateY(8px); opacity:0 }
  to{ transform: translateY(0); opacity:1 }
}

/* Анимация свечения логотипа */
@keyframes logo-glow{
  from{ 
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)) drop-shadow(0 0 20px rgba(212,175,55,.3));
  }
  to{ 
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)) drop-shadow(0 0 30px rgba(212,175,55,.5)) drop-shadow(0 0 40px rgba(212,175,55,.2));
  }
}

/* Мобилка: чуть больше воздуха и центрирование */
@media (max-width:768px){
  .brand-hero{ gap: 8px }
  .brand-logo{ max-width: 300px; }
  .brand-title{ font-size: clamp(34px, 9vw, 46px); }
  .brand-tagline{ font-size: clamp(15px, 4.2vw, 18px); max-width: 96vw; }
  .brand-lead{ font-size: clamp(14px, 4vw, 16px); padding-inline: 6px }
}

/* Без вмешательства в существующие CTA/статистику, но добавим лёгкий отступ, чтобы бренд не слипался с кнопками */
.hero .brand-hero + *{ margin-top: 8px }

/* Небольшой отступ от лид-текста до блока статистики/CTA, чтобы ничего не слипалось */
.brand-lead + *{ margin-top: 10px }

/* Дополнительные переменные */
:root{
  --panel: rgba(18,18,18,.82);
  --panel-2: rgba(16,16,16,.78);
  --line: rgba(255,255,255,.12);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-visible {
  opacity: 1;
  transform: none;
}

/* Focus styles for keyboard navigation */
.nav-link:focus,
.btn:focus,
.cta-btn:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Service Cards Styles */
.services-grid {
  display: grid; 
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border-color); 
  border-radius: 16px; 
  overflow: hidden;
  box-shadow: var(--shadow-gold) 0 4px 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold) 0 8px 30px;
}

.service-card__img {
  display: block; 
  width: 100%; 
  height: auto;
  aspect-ratio: 16/9; 
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.service-card__body { 
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Контент карточки (все кроме цены и кнопки) */
.service-card__content {
  flex: 1;
}

/* Нижняя часть карточки (цена + кнопка) */
.service-card__footer {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
}

/* Service card price alignment */
.service-card__footer .price {
  margin-top: 0;
  margin-bottom: 1rem;
  order: 1;
}

.service-card__footer .cta-buttons {
  order: 2;
  margin-top: auto;
}

/* Mobile adaptation for hero and service cards */
@media (max-width: 980px) { 
  .services-grid { 
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero { 
    min-height: 52vh; 
    padding: 88px 14px 40px; 
  }
  .hero::before { 
    background-position: center 25%; 
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --bg-primary: #000000;
    --bg-secondary: #111111;
    --text-primary: #ffffff;
    --accent-gold: #ffff00;
  }
}
/* Price card (v3) */
.price-card{
  border:1px solid var(--border-color);
  border-radius:16px;
  padding:20px;
  background:linear-gradient(180deg, var(--bg-card), var(--bg-secondary));
  box-shadow: var(--shadow-gold) 0 4px 20px;
  text-align:center;
  margin-top:16px
}

/* Card alignment styles for homepage */
.card {
  display: flex;
  flex-direction: column;
}

.card-body { 
  flex: 1; 
}


.price{
  display:inline-flex;
  align-items:baseline;
  gap:0;
  font-weight:800;
  font-size:clamp(32px,6.2vw,64px);
  letter-spacing:.01em
}
.price .amount{font-variant-numeric:tabular-nums;line-height:1}
.price .currency{font-weight:800;line-height:1}

/* Unified contact CTA (v3) */
/* Force update Sun Aug 17 18:02:37 PDT 2025 */

/* Email copyable span - IDENTICAL to WhatsApp/Telegram style */
.cta-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  background: #dc3545;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  user-select: text;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.cta-email:hover {
  background: #bb2d3b;
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.cta-email::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.cta-email:hover::before {
  left: 100%;
}

.cta-email .icon {
  width: 1.25rem; 
  height: 1.25rem;
  color: #fff;
  flex-shrink: 0;
  z-index: 2;
  position: relative;
}
/* Force rebuild Sun Aug 17 18:24:03 PDT 2025 */
