/* ============================================
   DISTRICTS SECTION - PREMIUM DESIGN
   отдельные районы по мойке огон index
   ============================================ */

.districts {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.districts::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.districts::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.districts > * {
  position: relative;
  z-index: 1;
}

/* Header */
.districts-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.districts-subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: #667eea;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.districts-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2d3748;
  margin: 0 0 20px;
  line-height: 1.2;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.districts-description {
  font-size: 1.1rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}

/* Grid Layout */
.districts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

/* District Card */
.district-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px 30px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 2px solid transparent;
}

.district-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.district-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.25);
  border-color: rgba(102, 126, 234, 0.3);
}

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

/* District Icon */
.district-icon {
  font-size: 3rem;
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  transition: all 0.4s ease;
}

.district-card:hover .district-icon {
  transform: rotate(-10deg) scale(1.1);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

/* District Content */
.district-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.district-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.district-card:hover .district-name {
  color: #667eea;
}

.district-desc {
  font-size: 0.95rem;
  color: #718096;
  margin: 0;
  line-height: 1.5;
}

/* Price */
.district-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.price-label {
  font-size: 0.85rem;
  color: #a0aec0;
  font-weight: 500;
}

.price-value {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.price-currency {
  font-size: 1rem;
  color: #4a5568;
  font-weight: 600;
}

/* Arrow */
.district-arrow {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%) translateX(-10px);
  font-size: 2rem;
  color: #667eea;
  opacity: 0;
  transition: all 0.4s ease;
  font-weight: 300;
}

.district-card:hover .district-arrow {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* FAQ Card Special Style */
.district-card--faq {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
}

.district-card--faq .district-name,
.district-card--faq .district-desc {
  color: #ffffff;
}

.district-card--faq .district-icon {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.district-card--faq:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.district-card--faq .district-arrow {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .districts-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
  }
  
  .districts-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .districts {
    padding: 60px 15px;
  }
  
  .districts-header {
    margin-bottom: 40px;
  }
  
  .districts-title {
    font-size: 1.8rem;
  }
  
  .districts-description {
    font-size: 1rem;
  }
  
  .districts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .district-card {
    padding: 25px 20px;
  }
  
  .district-icon {
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
  }
  
  .district-name {
    font-size: 1.15rem;
  }
  
  .district-desc {
    font-size: 0.9rem;
  }
  
  .price-value {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .districts-title {
    font-size: 1.5rem;
  }
  
  .district-card {
    padding: 20px 15px;
    gap: 15px;
  }
  
  .district-icon {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }
  
  .district-name {
    font-size: 1.05rem;
  }
  
  .district-arrow {
    right: 15px;
    font-size: 1.5rem;
  }
}

/* Animation on Scroll */
.districts.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.districts.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Animation for Cards */
.district-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.district-card:nth-child(1) { animation-delay: 0.1s; }
.district-card:nth-child(2) { animation-delay: 0.2s; }
.district-card:nth-child(3) { animation-delay: 0.3s; }
.district-card:nth-child(4) { animation-delay: 0.4s; }
.district-card:nth-child(5) { animation-delay: 0.5s; }
.district-card:nth-child(6) { animation-delay: 0.6s; }
.district-card:nth-child(7) { animation-delay: 0.7s; }
.district-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover Effect for Touch Devices */
@media (hover: none) {
  .district-card:hover {
    transform: none;
  }
  
  .district-card:active {
    transform: scale(0.98);
  }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
  .districts {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  }
  
  .districts-title {
    color: #ffffff;
  }
  
  .districts-description {
    color: #cbd5e0;
  }
  
  .district-card {
    background: #2d3748;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  .district-name {
    color: #ffffff;
  }
  
  .district-desc {
    color: #a0aec0;
  }
  
  .district-price {
    border-top-color: #4a5568;
  }
  
  .price-currency {
    color: #cbd5e0;
  }
}

/* Hide districts section on mobile devices прячет от телефона */
@media (max-width: 768px) {
  #districts,
  .districts {
    display: none !important;
  }
}

/* Optional: Hide on tablets too */
@media (max-width: 1024px) {
  #districts,
  .districts {
    display: none !important;
  }
}

/* 📱 МОБІЛЬНА АДАПТАЦІЯ КНОПКИ КОНТАКТІВ */
@media (max-width: 768px) {
  .contact-btn-main {
    padding: 0.6rem;
    font-size: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .contact-btn-main::before {
    content: '💬';
    font-size: 1.3rem;
  }
  
  .contact-btn-main .arrow,
  .contact-btn-main .btn-text {
    display: none;
  }
}
/* === CSS Variables === */
:root {
  --primary: #31d7ec;
  --primary-light: #2a7781;
  --accent: #1E90FF;
  --accent-glow: #4DB8FF;
  --accent-gradient: linear-gradient(135deg, #1E90FF, #00C9A7);
  --bg-body: #f0f4f800;
  --bg-card: rgba(255, 255, 255, 0);
  --bg-glass: rgba(255, 255, 255, 0.15);
  --text-dark: #185f44;
  --text-primary: #2c3e50;
  --text-secondary: #555;
  --text-muted: #5A6A7A;
  --text-light: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(30, 144, 255, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --border-glass: rgba(255, 255, 255, 0.2);
  --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* === Reset & Base === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

mark {
  background: transparent;
  color: inherit;
}

/* === Animations === */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

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

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

@keyframes bubbleRise {
  0% {
    bottom: -20px;
    opacity: 0;
    transform: translateX(0) scale(0.5);
  }
  20% {
    opacity: 1;
    transform: translateX(5px) scale(1);
  }
  50% {
    transform: translateX(-5px) scale(1.1);
  }
  80% {
    opacity: 0.8;
    transform: translateX(3px) scale(1);
  }
  100% {
    bottom: 110%;
    opacity: 0;
    transform: translateX(0) scale(0.8);
  }
}

@keyframes dustScatter {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  20% {
    opacity: 1;
    transform: translate(calc(-50% + var(--dx) * 0.3), calc(-50% + var(--dy) * 0.3)) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.3);
    filter: blur(3px);
  }
}

@keyframes buttonPulse {
  0% { transform: translateY(-3px) scale(1.02); }
  50% { transform: translateY(-3px) scale(1.05); }
  100% { transform: translateY(-3px) scale(1.02); }
}

@keyframes phoneRing {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-15deg); }
  40% { transform: rotate(15deg); }
  60% { transform: rotate(-10deg); }
  80% { transform: rotate(10deg); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Header === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 29, 58, 0.041);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(6, 119, 100, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: auto;
  padding: 14px 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  text-shadow: 
    0 0 10px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(255, 255, 255, 0.4);
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
}

.logo-link:hover {
  opacity: 1;
  text-shadow: 
    0 0 15px rgba(255, 255, 255, 1),
    0 0 30px rgba(255, 255, 255, 0.6);
}

.logo-link img {
  margin-right: 1px;
  object-fit: contain;
}

.logo {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-light) !important;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo::before {
  content: '✦';
  color: var(--accent);
  font-size: 20px;
}

.header-phones {
  display: flex;
  gap: 16px;
  align-items: center;
}

.header-phones a {
  color: var(--accent-glow) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.2);
  transition: all var(--transition);
  white-space: nowrap;
}

.header-phones a:hover {
  background: rgba(30, 144, 255, 0.2);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.nav-menu ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: block;
}

.nav-menu li a:hover {
  color: #fff;
  background: rgba(30, 144, 255, 0.15);
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-light);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  user-select: none;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* === Hero Section === */
.hero {
  position: relative;
  text-align: center;
  padding: 160px 24px 120px;
  background: linear-gradient(135deg, #0b1d3a18 0%, #132d5b25 40%, #1E4D8C 70%, #2868B0 100%);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
  color: var(--text-light);
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(30, 144, 255, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(0, 201, 167, 0.1) 0%, transparent 40%);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-body), transparent);
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: auto;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  display: block;
  background: linear-gradient(135deg, #4DB8FF, #00C9A7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

canvas#three-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.1;
  pointer-events: none;
}

/* === Buttons === */
.btn-primary {
  display: inline-block;
  background: var(--accent-gradient);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(30, 144, 255, 0.35);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(30, 144, 255, 0.5);
  color: #fff;
}

.link-button {
  display: inline-block;
  background: var(--accent-gradient);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(30, 144, 255, 0.25);
}

.link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 144, 255, 0.4);
  color: #fff;
  text-decoration: none;
}

/* === Calculator Button === */
.calc-block {
  text-align: center;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-calc-magic {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 600;
  color: #00695c;
  background: rgba(0, 150, 136, 0.05);
  border: 2px dashed #009688;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 150, 136, 0.1);
}

.btn-calc-icon {
  font-size: 15px;
  transition: transform 0.1s ease;
}

.btn-calc-magic::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  transition: left 0.6s ease;
}

.btn-calc-magic:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #009688 0%, #00796b 100%);
  border-style: solid;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 150, 136, 0.3);
  animation: buttonPulse 0.4s ease-out;
}

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

.btn-calc-magic:hover .btn-calc-icon {
  transform: rotate(15deg) scale(1.2);
}

.btn-calc-magic:active {
  transform: translateY(0) scale(0.98);
}

.calc-microcopy {
  margin-top: 12px;
  font-size: 14px;
  color: #666666;
  font-weight: 400;
  letter-spacing: 0.2px;
  max-width: 320px;
  line-height: 1.4;
}

/* Calculator Particles */
.bubbles-container,
.dust-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  border-radius: 50px;
}

.bubble {
  position: absolute;
  bottom: -20px;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgb(2, 185, 246));
  border-radius: 50%;
  opacity: 0;
  box-shadow: 
    inset -2px -2px 4px rgba(0, 0, 0, 0.873),
    0 0 8px rgba(173, 216, 230, 0.5);
}

.bubble:nth-child(1) { left: 15%; width: 10px; height: 10px; }
.bubble:nth-child(2) { left: 35%; width: 14px; height: 14px; }
.bubble:nth-child(3) { left: 55%; width: 8px; height: 8px; }
.bubble:nth-child(4) { left: 75%; width: 12px; height: 12px; }
.bubble:nth-child(5) { left: 90%; width: 10px; height: 10px; }

.btn-calc-magic:hover .bubble {
  animation: bubbleRise 1.5s ease-out forwards;
}

.btn-calc-magic:hover .bubble:nth-child(1) { animation-delay: 0s; }
.btn-calc-magic:hover .bubble:nth-child(2) { animation-delay: 0.1s; }
.btn-calc-magic:hover .bubble:nth-child(3) { animation-delay: 0.2s; }
.btn-calc-magic:hover .bubble:nth-child(4) { animation-delay: 0.15s; }
.btn-calc-magic:hover .bubble:nth-child(5) { animation-delay: 0.25s; }

.dust {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(180, 160, 140, 0.8), rgba(180, 160, 140, 0.3));
  border-radius: 50%;
  opacity: 0;
  filter: blur(1px);
}

.dust:nth-child(1) { width: 3px; height: 3px; }
.dust:nth-child(2) { width: 5px; height: 5px; }
.dust:nth-child(3) { width: 4px; height: 4px; }
.dust:nth-child(4) { width: 3px; height: 3px; }
.dust:nth-child(5) { width: 5px; height: 5px; }
.dust:nth-child(6) { width: 4px; height: 4px; }

.btn-calc-magic:hover .dust {
  animation: dustScatter 1.2s ease-out forwards;
}

.btn-calc-magic:hover .dust:nth-child(1) { animation-delay: 0s; --dx: -60px; --dy: -40px; }
.btn-calc-magic:hover .dust:nth-child(2) { animation-delay: 0.05s; --dx: 70px; --dy: -30px; }
.btn-calc-magic:hover .dust:nth-child(3) { animation-delay: 0.1s; --dx: -50px; --dy: 50px; }
.btn-calc-magic:hover .dust:nth-child(4) { animation-delay: 0.08s; --dx: 60px; --dy: 45px; }
.btn-calc-magic:hover .dust:nth-child(5) { animation-delay: 0.12s; --dx: -75px; --dy: 20px; }
.btn-calc-magic:hover .dust:nth-child(6) { animation-delay: 0.07s; --dx: 80px; --dy: -15px; }

/* === Contact Buttons === */
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 400px;
  margin: 10px auto;
  padding: 0 5px;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: #ffffffea;
  border: 2px solid #e0e0e0;
  border-radius: 14px;
  text-decoration: none;
  color: #333333;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.953);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  flex-shrink: 0;
  transition: all 0.35s ease;
}

.contact-icon-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  flex-shrink: 0;
  transition: all 0.35s ease;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  transition: transform 0.35s ease;
}

.contact-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 2px;
}

.contact-label {
  font-size: 10px;
  font-weight: 500;
  color: #888888;
  letter-spacing: 0.2px;
}

.contact-number {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.contact-arrow {
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.35s ease;
  color: inherit;
}

.contact-viber {
  border-color: #7460f2f1;
}

.contact-viber .contact-icon-logo {
  background: linear-gradient(135deg, #7460f214 0%, #5a48d100 100%);
  color: #ffffff;
}

.contact-viber .contact-icon {
  background: linear-gradient(135deg, #7360f2 0%, #5a48d1bf 100%);
  color: #ffffff;
}

.contact-viber:hover {
  background: linear-gradient(135deg, #7360f2 0%, #5a48d1 100%);
  border-color: #7360f2;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(115, 96, 242, 0.25);
}

.contact-viber:hover .contact-label {
  color: rgba(255, 255, 255, 0.85);
}

.contact-viber:hover .contact-arrow {
  opacity: 1;
  transform: translateX(0);
}

.contact-viber:hover .contact-icon svg {
  transform: rotate(-10deg) scale(1.1);
}

.contact-phone {
  border-color: #25d366;
}

.contact-phone .contact-icon {
  background: linear-gradient(135deg, #25d366 0%, #096358 100%);
  color: #ffffff;
}

.contact-phone:hover {
  background: linear-gradient(135deg, #25d366 0%, #056d61 100%);
  border-color: #25d366;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.contact-phone:hover .contact-label {
  color: rgba(255, 255, 255, 0.85);
}

.contact-phone:hover .contact-arrow {
  opacity: 1;
  transform: translateX(0);
}

.contact-phone:hover .contact-icon svg {
  animation: phoneRing 0.3s ease-in-out;
}

.contact-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-microcopy {
  text-align: center;
  font-size: 13px;
  color: #1f0404;
  margin-top: 8px;
  line-height: 1.5;
}

/* === Sections General === */
section {
  padding: 80px 24px;
  max-width: 1280px;
  margin: auto;
}

h2 {
  font-family: var(--font-heading);
  text-align: center;
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
}

h2 + p,
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* === Cards (Unified) === */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.005);
  transition: all var(--transition);
  text-align: left;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 1;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card:hover::before {
  opacity: 1;
}

.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 20px 24px 12px;
  color: var(--primary);
  line-height: 1.3;
}

.card p {
  font-size: 0.95rem;
  margin: 0 24px 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.card ul {
  margin: 0 24px 20px;
  padding: 0;
  list-style: none;
}

.card ul li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
}

.card b,
.card strong {
  color: var(--text-dark);
  font-weight: 600;
}

.card > b {
  display: block;
  margin: 0 24px 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.8;
}

.card > b a {
  color: var(--accent);
  font-weight: 600;
}

.card > b mark {
  background: transparent;
  color: var(--accent);
  font-weight: 600;
}

/* Card Variants */
.card--grout {
  border: 2px solid rgba(124, 58, 237, 0.15);
}

.card--grout:hover {
  border-color: rgba(124, 58, 237, 0.3);
}

.card-badge {
  position: absolute;
  top: 12px;
  right: -25px;
  background: var(--gradient-warm);
  color: #fbf8f8;
  padding: 4px 40px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
  z-index: 2;
}

.card-desc {
  padding: 0 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-features {
  list-style: none;
  padding: 0 20px;
  margin: 0 0 20px;
}

.card-features li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
  font-size: 13px;
  color: var(--text-secondary);
}

.card-features li:last-child {
  border-bottom: none;
}

.card-features .icon {
  display: inline-block;
  width: 24px;
  margin-right: 6px;
  font-size: 16px;
  vertical-align: middle;
}

.card-features strong {
  display: block;
  margin-bottom: 2px;
}

.card-features small {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.card-price {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-body);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.price-from {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #7c3aed;
}

.price-note {
  font-size: 12px;
  color: var(--text-muted);
}

.card-guarantee {
  padding: 12px 20px;
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(40, 167, 69, 0.06);
  border-left: 3px solid #28a745;
}

.card .btn {
  margin: 20px;
  width: calc(100% - 40px);
  justify-content: center;
}

.contact-block {
  background: #fffffffc;
  padding: 16px;
  border-radius: 8px;
  margin-top: 20px;
  border-left: 4px solid #3498db;
}

.contact-block b {
  color: var(--text-primary);
  font-size: 16px;
}

.contact-block a {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-block a:hover {
  color: #2980b9;
  text-decoration: underline;
}

.card strong {
  color: #e74c3c;
  font-weight: 700;
}

.card [itemprop="price"] {
  color: #27ae60;
  font-weight: 700;
  font-size: 18px;
}

.card .contact-block {
  border-left-color: #9b59b6;
}

/* === Services Section === */
.services {
  padding: 80px 24px;
  background: transparent;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  padding: 0;
}

/* === Process Section === */
.process-section {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
  background: radial-gradient(
    circle at center, 
    rgba(240, 244, 248, 0.8) 0%,
    rgba(240, 244, 248, 0.4) 60%,
    var(--primary) 100%
  );
}

.process-section .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
  justify-content: center;
}

.process-grid .card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(187, 169, 169, 0.7);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.process-grid .card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
}

.step-badge {
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 900;
  color: rgba(30, 144, 255, 0.05);
  line-height: 1;
  z-index: 0;
  transition: all var(--transition);
  user-select: none;
}

.process-grid .card:hover .step-badge {
  color: rgba(30, 144, 255, 0.15);
  transform: scale(1.1) rotate(-5deg);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  display: inline-block;
  background: rgba(255, 255, 255, 0.5);
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.process-grid .card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.process-grid .card p {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.process-grid .card b {
  color: var(--text-dark);
}

.step-check {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 20px;
}

.step-check li {
  padding: 8px 0 8px 28px;
  font-size: 0.9rem;
  color: var(--text-dark);
  position: relative;
  font-weight: 500;
}

.step-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--accent);
  font-weight: 900;
  font-size: 1.1rem;
}

.process-section .card:last-child {
  background: linear-gradient(135deg, rgba(56, 120, 139, 0.9), rgba(111, 125, 145, 0.9));
  color: #ffffffe8;
  text-align: center;
  padding: 50px 30px;
  border: 1px solid rgba(255, 255, 255, 0.839);
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.process-section .card:last-child p {
  color: rgba(255, 255, 255, 0.015);
  font-size: 1.3rem;
  margin-bottom: 30px;
  border: none;
}

.process-section .card:last-child b {
  color: var(--accent-glow);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* === Pricing Section === */
.pricing {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 24px;
  margin: 0;
  border-radius: 0;
  max-width: 100%;
  color: var(--text-light);
}

.pricing h2 {
  color: var(--text-light);
  margin-bottom: 40px;
}

.pricing table,
table.pricing {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-size: 0.95rem;
}

.pricing th,
.pricing td,
table.pricing th,
table.pricing td {
  padding: 16px 20px;
  text-align: center;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing th,
table.pricing th {
  background: rgba(30, 144, 255, 0.3);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  border-bottom: 2px solid rgba(30, 144, 255, 0.5);
}

.pricing td,
table.pricing td {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

.pricing tbody tr,
table.pricing tr {
  transition: background var(--transition);
}

.pricing tbody tr:hover td,
table.pricing tr:hover td {
  background: rgba(30, 144, 255, 0.15);
}

.price-table-wrapper {
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 0 24px;
  text-align: center;
}

.price-table-wrapper h2 {
  margin-bottom: 32px;
}

table.pricing td {
  background: #ffffffe6;
  color: var(--text-dark);
  vertical-align: middle;
}

table.pricing tr:hover td {
  background: #f0f7fff1;
}

/* === Why Us Section === */
.why-us {
  padding: 80px 24px;
}

.why-description {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.reason {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.reason::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.reason:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

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

.reason h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.reason p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === About Section === */
.about-company {
  background: linear-gradient(135deg, #f0f7ff, #e8f4f8);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  max-width: 900px;
  margin: 40px auto;
}

.about-intro {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-company p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 16px auto;
  text-align: center;
  line-height: 1.8;
}

.about-call {
  font-weight: 600;
  color: var(--primary) !important;
  font-style: italic;
  margin-top: 24px !important;
}

/* === Reviews Section === */
.reviews {
  background: linear-gradient(135deg, #f0f7ff, #e8f4fd);
  padding: 80px 24px;
  max-width: 100%;
  border-radius: 0;
}

.review {
  background: var(--bg-card);
  padding: 28px 32px;
  border-radius: var(--radius-md);
  margin: 0 auto 20px;
  max-width: 700px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
  font-size: 1.05rem;
  color: var(--text-dark);
  transition: all var(--transition);
}

.review:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

/* === Contact Section === */
.contact-section {
  padding: 80px 24px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.contact-form label {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 14px 18px;
  border: 2px solid #e0e7ef;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: var(--font-main);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #ffffffea;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.1);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(30, 144, 255, 0.3);
  align-self: center;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 144, 255, 0.4);
}

.or {
  text-align: center;
  margin: 24px 0;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.viber-btn {
  background: linear-gradient(135deg, #665CAC, #8B7BCF) !important;
  display: inline-block !important;
  margin: 0 auto;
  text-align: center;
}

.viber-btn:hover {
  box-shadow: 0 8px 24px rgba(102, 92, 172, 0.4) !important;
}

/* === FAQ === */
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.faq-item p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* === Footer === */
footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 40px 24px;
  margin-top: 0;
}

footer p {
  margin: 8px 0;
  font-size: 0.95rem;
}

footer a {
  color: var(--accent-glow);
}

/* === Floating Phone === */
.floating-phone {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--accent-gradient);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 60px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(30, 144, 255, 0.5);
  animation: pulse 2s infinite;
  text-decoration: none;
}

/* === SEO Hidden Sections === */
section[id$="-seo"],
section#faq-after-renovation,
section#faq-cleaning,
section#furniture-cleaning-seo {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
}

/* === Responsive === */
@media (max-width: 991px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .reasons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 29, 58, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu.open ul {
    display: flex;
  }

  .nav-menu li a {
    padding: 12px 16px;
    font-size: 15px;
  }

  .menu-toggle {
    display: block;
  }

  .header-phones {
    display: none;
  }

  .hero {
    padding: 140px 20px 100px;
    min-height: 70vh;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section {
    padding: 60px 16px;
  }

  .reasons,
  .cards,
  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-company {
    padding: 40px 24px;
  }

  .floating-phone {
    display: block;
  }

  .pricing table,
  table.pricing {
    font-size: 0.85rem;
  }

  .pricing th,
  .pricing td,
  table.pricing th,
  table.pricing td {
    padding: 10px 8px;
  }

  .btn-calc-magic {
    padding: 14px 24px;
    font-size: 16px;
    width: 100%;
    max-width: 340px;
  }

  .calc-microcopy {
    font-size: 13px;
    padding: 0 15px;
  }

  .contact-buttons {
    gap: 5px;
    margin: 10px auto;
  }

  .contact-btn {
    padding: 12px 16px;
    gap: 12px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon svg {
    width: 22px;
    height: 22px;
  }

  .contact-number {
    font-size: 16px;
  }

  .contact-arrow {
    font-size: 18px;
  }

  .step-badge {
    font-size: 4rem;
    top: -10px;
    right: -5px;
  }

  .process-section .card:last-child {
    padding: 30px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .link-button {
    width: 100%;
    text-align: center;
  }

  .card-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .card .btn {
    margin: 16px;
  }

  .card {
    padding: 16px;
    margin: 10px 0;
  }

  .card h3 {
    font-size: 20px;
  }

  .card-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 12px 16px;
  }

  .logo {
    font-size: 20px;
  }

  .hero {
    padding: 130px 16px 80px;
  }

  .btn-primary {
    padding: 14px 28px;
    font-size: 15px;
  }
}

/* ============================================================================
   📱 ВИПРАВЛЕННЯ: .fade-in на мобільному
   ============================================================================ */

/* На мобільному відразу показуємо всі fade-in елементи */
@media (max-width: 768px) {
  .fade-in,
  .fade-in.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  /* Гарантуємо видимість карток */
  #Services_G,
  #Services_G .card,
  #Services_G .card-image,
  #Services_G .contact-buttons {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }
  
  /* Фіксуємо прозорий фон карток */
  #Services_G .card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* Додатково: фікс для iOS Safari */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 768px) {
    .fade-in {
      opacity: 1 !important;
      transform: none !important;
    }
  }
}