/* Ultra-Modern CSS for Wisconsin Window Repair - Conversion Optimized */

/* CSS Variables for modern color scheme */
:root {
  --primary-bg: #ffffff;
  --secondary-bg: #f8fafc;
  --tertiary-bg: #f1f5f9;
  --accent-amber: #f59e0b;
  --accent-orange: #ea580c;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-light: #64748b;
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.1);
  --shadow-heavy: rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, var(--accent-amber), var(--accent-orange));
  --gradient-secondary: linear-gradient(135deg, var(--accent-blue), #1d4ed8);
  --gradient-success: linear-gradient(135deg, var(--accent-green), #059669);
}

/* Smooth scrolling and base styles */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: hidden;
  padding-top: 60px; /* Reduced padding for better spacing */
}

/* Responsive body padding */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 56px;
  }
}

@media (max-width: 360px) {
  body {
    padding-top: 52px;
  }
}

/* Header styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: white;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 100%;
}

/* Header scroll effect */
header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Header container */
header .max-w-7xl {
  width: 100%;
  max-width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Desktop styles - ensure navigation and CTA are visible */
@media (min-width: 769px) {
  header .max-w-7xl {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 80rem;
  }
  
  header nav {
    display: flex !important;
    gap: 2rem;
  }
  
  header .cta-button-primary {
    display: inline-flex !important;
    margin-left: 1rem;
  }
  

  
  /* Logo adjustments for desktop */
  header img {
    height: 5rem !important;
    max-height: 5rem;
    width: auto;
  }
}

/* Large desktop styles - extra wide screens */
@media (min-width: 1280px) {
  header .max-w-7xl {
    padding-left: 3rem;
    padding-right: 3rem;
    max-width: 90rem;
  }
  
  header nav {
    gap: 2.5rem;
  }
  
  header .cta-button-primary {
    margin-left: 1.5rem;
  }
}

/* Extra large desktop styles - ultra wide screens */
@media (min-width: 1536px) {
  header .max-w-7xl {
    padding-left: 4rem;
    padding-right: 4rem;
    max-width: 100rem;
  }
  
  header nav {
    gap: 3rem;
  }
  
  header .cta-button-primary {
    margin-left: 2rem;
  }
}

/* Tablet styles - medium screens */
@media (min-width: 481px) and (max-width: 768px) {
  header .max-w-7xl {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 100%;
  }
  
  header .h-20 {
    height: 5rem;
    min-height: 5rem;
  }

  /* Logo adjustments for tablet */
  header img {
    height: 4rem !important;
    max-height: 4rem;
    width: auto;
  }
  
  /* Ensure proper spacing on tablet */
  header .flex {
    gap: 1rem;
  }
}

/* Mobile header adjustments */
@media (max-width: 480px) {
  header .max-w-7xl {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
  }
  
  header .h-20 {
    height: 4.5rem;
    min-height: 4.5rem;
  }

  /* Logo adjustments for mobile */
  header img {
    height: 3.5rem !important;
    max-height: 3.5rem;
    width: auto;
  }
  
  /* Ensure proper spacing on mobile */
  header .flex {
    gap: 0.75rem;
  }
}

@media (max-width: 360px) {
  header .max-w-7xl {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    max-width: 100%;
  }
  
  header .h-20 {
    height: 4rem;
    min-height: 4rem;
  }

  header img {
    height: 3rem !important;
    max-height: 3rem;
  }
  
  /* Ensure proper spacing on very small screens */
  header .flex {
    gap: 0.5rem;
  }
}

/* Hero background elements control */
.hero-bg-element {
  pointer-events: none;
  z-index: 1;
}

.hero-bg-element.top-right {
  top: 8rem;
  right: 4rem;
}

.hero-bg-element.bottom-left {
  bottom: 8rem;
  left: 4rem;
}

/* Responsive hero background elements */
@media (max-width: 768px) {
  .hero-bg-element.top-right {
    top: 6rem;
    right: 2rem;
    width: 12rem;
    height: 12rem;
  }
  
  .hero-bg-element.bottom-left {
    bottom: 6rem;
    left: 2rem;
    width: 16rem;
    height: 16rem;
  }
}

@media (max-width: 480px) {
  .hero-bg-element.top-right {
    top: 4rem;
    right: 1rem;
    width: 8rem;
    height: 8rem;
  }
  
  .hero-bg-element.bottom-left {
    bottom: 4rem;
    left: 1rem;
    width: 12rem;
    height: 12rem;
  }
}

@media (max-width: 360px) {
  .hero-bg-element {
    display: none;
  }
}



/* iOS Safari поддержка */
@supports (-webkit-touch-callout: none) {
  header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
  }
}

/* Touch device поддержка */
@supports (-webkit-overflow-scrolling: touch) {
  header {
    -webkit-overflow-scrolling: touch;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
  }
}

/* Custom animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes floatDelayed {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
  40%, 43% { transform: translate3d(0,-30px,0); }
  70% { transform: translate3d(0,-15px,0); }
  90% { transform: translate3d(0,-4px,0); }
}

@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Animation classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(60px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInScale 1s ease-out forwards;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatDelayed 3s ease-in-out infinite 1.5s;
}

/* Staggered animation delays */
.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }
.fade-in-up:nth-child(5) { animation-delay: 0.5s; }
.fade-in-up:nth-child(6) { animation-delay: 0.6s; }

/* Navigation styles */
.nav-link {
  position: relative;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.nav-link:hover {
  color: var(--accent-amber);
  background-color: rgba(245, 158, 11, 0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

/* CTA Button styles */
.cta-button-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-button-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

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

.cta-button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.cta-button-primary:active {
  transform: translateY(-1px);
}

.cta-button-secondary {
  background: var(--gradient-secondary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-button-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Floating CTA Button */
.floating-cta-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  animation: float 3s ease-in-out infinite;
}

.floating-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px var(--shadow-light);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

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

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

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-medium);
  border-color: var(--accent-amber);
}

.service-icon {
  font-size: 4rem;
  color: var(--accent-amber);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--accent-orange);
}

/* Feature Cards */
.feature-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px var(--shadow-light);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(245, 158, 11, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.feature-card:hover::after {
  opacity: 1;
  transform: rotate(45deg) translate(50%, 50%);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow-medium);
  border-color: var(--accent-amber);
}

.feature-icon {
  font-size: 3.5rem;
  color: var(--accent-amber);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  color: var(--accent-orange);
}

/* Gallery Items */
.gallery-item {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px var(--shadow-light);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px var(--shadow-medium);
}

.gallery-item img {
  transition: all 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Testimonial Cards */
.testimonial-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 15px var(--shadow-light);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--shadow-medium);
  border-color: var(--accent-amber);
}

/* Special Offer Card */
.special-offer-card {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--accent-amber);
  animation: pulse 2s ease-in-out infinite;
}

.special-offer-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(245, 158, 11, 0.1), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

/* Brand Logos */
.brand-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.brand-logo:hover {
  color: var(--accent-amber);
  transform: scale(1.1);
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-light);
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-amber);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
}

.form-input::placeholder {
  color: var(--text-light);
}



/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .service-card,
  .feature-card {
    padding: 1.5rem;
  }
  
  .service-icon,
  .feature-icon {
    font-size: 3rem;
  }
  
  .floating-cta-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  /* Мобильная фиксация header */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
  }

  /* Дополнительная фиксация для iOS Safari */
  @supports (-webkit-touch-callout: none) {
    header {
      position: fixed;
      top: 0;
    }
  }

  /* Show CTA button in header on mobile */
  header .cta-button-primary {
    display: inline-flex !important;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
  }

  /* Navigation adjustments for mobile */
  header nav {
    display: none;
  }


}

/* Extra small devices */
@media (max-width: 480px) {
  /* Фиксация для маленьких экранов */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
  }



  /* Extra small screen adjustments */
  header .flex {
    gap: 0.5rem;
  }
  
  /* CTA button adjustments for very small screens */
  header .cta-button-primary {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    margin-left: 0.25rem;
  }
}

@media (max-width: 360px) {
  /* Фиксация для мини экранов */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
  }

  header .h-20 {
    height: 4rem;
    min-height: 4rem;
  }



  header .max-w-7xl {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  
  /* Ensure proper spacing on very small screens */
  header .flex {
    gap: 0.5rem;
  }
  
  /* CTA button adjustments for ultra small screens */
  header .cta-button-primary {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    margin-left: 0.25rem;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  /* Фиксация для landscape */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
  }

  header .h-20 {
    height: 3.5rem;
    min-height: 3.5rem;
  }



  header img {
    height: 2.5rem !important;
    max-height: 2.5rem;
  }
  
  #main-content {
    padding-top: 2.5rem !important; /* 40px */
  }
  
  /* CTA button adjustments for landscape */
  header .cta-button-primary {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    margin-left: 0.5rem;
  }
}





















/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--accent-amber);
  color: white;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 100;
  font-size: 14px;
  font-weight: 500;
  transition: top 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.skip-link:focus {
  top: 6px;
  opacity: 1;
  pointer-events: auto;
}

/* Skip link responsive adjustments */
@media (max-width: 768px) {
  .skip-link {
    left: 4px;
    padding: 6px 10px;
    font-size: 13px;
  }
  
  .skip-link:focus {
    top: 4px;
  }
}

@media (max-width: 480px) {
  .skip-link {
    left: 2px;
    padding: 5px 8px;
    font-size: 12px;
  }
  
  .skip-link:focus {
    top: 2px;
  }
}

/* Skip link browser support and accessibility */
.skip-link:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

.skip-link:hover {
  background: var(--accent-orange);
}





/* Hero section spacing optimization */
#main-content {
  padding-top: 5rem !important; /* 80px - reduced from pt-20 (128px) */
}

@media (max-width: 768px) {
  #main-content {
    padding-top: 4rem !important; /* 64px */
  }
}

@media (max-width: 480px) {
  #main-content {
    padding-top: 3.5rem !important; /* 56px */
  }
}

@media (max-width: 360px) {
  #main-content {
    padding-top: 3rem !important; /* 48px */
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* Loading Animation */
.image-loading {
  background: linear-gradient(90deg, var(--secondary-bg) 25%, var(--border-light) 50%, var(--secondary-bg) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Trust Badge Animation */
.trust-badge {
  animation: float 3s ease-in-out infinite;
}

/* Urgency Badge */
.urgency-badge {
  animation: bounce 2s ease-in-out infinite;
}

/* Special Offer Section Background */
.special-offer-section {
  position: relative;
  overflow: hidden;
}

.special-offer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shine 4s infinite;
}

/* Contact Form Success/Error States */
.form-success {
  border-color: var(--accent-green);
  background-color: rgba(16, 185, 129, 0.05);
}

.form-error {
  border-color: #ef4444;
  background-color: rgba(239, 68, 68, 0.05);
}



/* Focus Visible for Better Accessibility */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 2px;
}



/* Enhanced Hover Effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--shadow-medium);
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--accent-amber);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Notification System */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  color: white;
  font-weight: 500;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  max-width: 300px;
  box-shadow: 0 8px 25px var(--shadow-medium);
}

.notification.show {
  transform: translateX(0);
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.show {
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--accent-amber);
}

/* Logo Styles */
.logo-container {
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-container img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.logo-container:hover img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Enhanced Mobile Styles */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .special-offer-card {
        padding: 1.5rem;
    }
    
    .cta-button-primary,
    .cta-button-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .service-card,
    .feature-card {
        margin: 0 0.5rem;
    }
}

/* Performance Optimizations */
.will-change {
  will-change: transform, opacity;
}



 

/* Мобильная фиксация header */
@media only screen and (max-device-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: white;
  }
}

/* Фиксация для телефонов */
@media only screen and (max-device-width: 480px) and (orientation: portrait) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: white;
  }
}

/* Фиксация для landscape на телефонах */
@media only screen and (max-device-width: 896px) and (orientation: landscape) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: white;
  }
}

/* Общая фиксация header */
header[data-fixed="true"],
header.fixed-header,
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background: white;
}
 