/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  position: relative;
  background: linear-gradient(135deg, #ff9900 0%, #ff6b35 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* === КРАСИВЫЕ КНОПКИ === */
.gradient-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 50%, #e55a2e 100%);
  color: #000;
  cursor: pointer;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 15px;
  border: none;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(255, 149, 0, 0.4), 0 4px 16px rgba(255, 107, 53, 0.3);
  text-transform: uppercase;
  font-size: 14px;
}

.gradient-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.gradient-btn:hover::before {
  left: 100%;
}

.gradient-btn:hover {
  background: linear-gradient(135deg, #ff8500 0%, #ff5a24 50%, #dd4a1c 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 48px rgba(255, 133, 0, 0.5), 0 8px 24px rgba(255, 90, 36, 0.4);
  color: #000;
}

.gradient-btn:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(255, 133, 0, 0.4);
}

/* === УНИВЕРСАЛЬНЫЙ ОРАНЖЕВЫЙ КНОПКА === */
.orange-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 50%, #e55a2e 100%);
  color: #000;
  cursor: pointer;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 15px;
  border: none;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(255, 149, 0, 0.4), 0 4px 16px rgba(255, 107, 53, 0.3);
  text-transform: uppercase;
  font-size: 14px;
  min-width: 120px;
}

.orange-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.orange-btn:hover::before {
  left: 100%;
}

.orange-btn:hover {
  background: linear-gradient(135deg, #ff8500 0%, #ff5a24 50%, #dd4a1c 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 48px rgba(255, 133, 0, 0.5), 0 8px 24px rgba(255, 90, 36, 0.4);
  color: #000;
}

.orange-btn:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(255, 133, 0, 0.4);
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 50%, #e55a2e 100%);
  color: #000;
  cursor: pointer;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 15px;
  border: none;
  text-decoration: none;
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(255, 149, 0, 0.4), 0 4px 16px rgba(255, 107, 53, 0.3);
  text-transform: uppercase;
  min-width: 120px;
}

.learn-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.learn-more-btn:hover::before {
  left: 100%;
}

.learn-more-btn:hover {
  background: linear-gradient(135deg, #ff8500 0%, #ff5a24 50%, #dd4a1c 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 48px rgba(255, 133, 0, 0.5), 0 8px 24px rgba(255, 90, 36, 0.4);
  color: #000;
}

.learn-more-btn:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(255, 133, 0, 0.4);
}

.primary-btn {
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 50%, #e55a2e 100%);
  color: #000;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(255, 149, 0, 0.4), 0 4px 16px rgba(255, 107, 53, 0.3);
  text-transform: uppercase;
  min-width: 120px;
}

.primary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.primary-btn:hover::before {
  left: 100%;
}

.primary-btn:hover {
  background: linear-gradient(135deg, #ff8500 0%, #ff5a24 50%, #dd4a1c 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 48px rgba(255, 133, 0, 0.5), 0 8px 24px rgba(255, 90, 36, 0.4);
  color: #000;
}

.primary-btn:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(255, 133, 0, 0.4);
}

.login-btn, .register-btn, .logout-btn {
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 50%, #e55a2e 100%);
  color: #000;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 24px rgba(255, 149, 0, 0.4), 0 3px 12px rgba(255, 107, 53, 0.3);
  text-transform: uppercase;
  margin: 0 5px;
  min-width: 80px;
}

.login-btn::before, .register-btn::before, .logout-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.login-btn:hover::before, .register-btn:hover::before, .logout-btn:hover::before {
  left: 100%;
}

.login-btn:hover, .register-btn:hover, .logout-btn:hover {
  background: linear-gradient(135deg, #ff8500 0%, #ff5a24 50%, #dd4a1c 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 36px rgba(255, 133, 0, 0.5), 0 6px 18px rgba(255, 90, 36, 0.4);
  color: #000;
}

.login-btn:active, .register-btn:active, .logout-btn:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 24px rgba(255, 133, 0, 0.4);
}
}

.auth-buttons {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1000;
  display: flex;
  gap: 5px;
}

#admin-link.admin-link {
  position: fixed;
  top: 120px;
  right: 20px;
  background: #ff9900;
  color: white;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

#admin-link.admin-link:hover {
  background: #e68a00;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 153, 0, 0.4);
}

.login-btn:hover, .register-btn:hover, .logout-btn:hover {
  background: #34495e;
  color: white;
  transform: translateY(-1px);
}

.admin-btn, .upload-btn, .cancel-btn, .danger-btn {
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 50%, #e55a2e 100%);
  color: #000;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 24px rgba(255, 149, 0, 0.4), 0 3px 12px rgba(255, 107, 53, 0.3);
  text-transform: uppercase;
  margin: 5px;
}

.admin-btn::before, .upload-btn::before, .cancel-btn::before, .danger-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.admin-btn:hover::before, .upload-btn:hover::before, .cancel-btn:hover::before, .danger-btn:hover::before {
  left: 100%;
}

.admin-btn:hover, .upload-btn:hover {
  background: linear-gradient(135deg, #ff8500 0%, #ff5a24 50%, #dd4a1c 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 36px rgba(255, 133, 0, 0.5), 0 6px 18px rgba(255, 90, 36, 0.4);
  color: #000;
}

.cancel-btn:hover {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 50%, #d35400 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 36px rgba(243, 156, 18, 0.5), 0 6px 18px rgba(230, 126, 34, 0.4);
  color: #fff;
}

.danger-btn:hover {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 50%, #a93226 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 36px rgba(231, 76, 60, 0.5), 0 6px 18px rgba(192, 57, 43, 0.4);
  color: #fff;
}

.admin-btn:active, .upload-btn:active, .cancel-btn:active, .danger-btn:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 24px rgba(255, 133, 0, 0.4);
}

.admin-btn:hover {
  background: #34495e;
  color: white;
  transform: translateY(-1px);
}

.upload-btn:hover {
  background: #27ae60;
  color: white;
  transform: translateY(-1px);
}

.cancel-btn:hover {
  background: #f39c12;
  color: white;
  transform: translateY(-1px);
}

.danger-btn:hover {
  background: #e74c3c;
  color: white;
  transform: translateY(-1px);
}

.request-btn {
  background: #2c3e50;
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.request-btn:hover {
  background: #34495e;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

/* Admin portfolio upload styles */
.admin-portfolio-upload {
  margin-top: 20px;
  text-align: center;
}

.admin-portfolio-modal-upload {
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.admin-portfolio-modal-upload h3 {
  color: #000;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { 
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  40% { 
    transform: translateY(-15px);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
  60% { 
    transform: translateY(-7px);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* === UTILITY CLASSES === */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

.bounce-animation {
  animation: bounce 2s infinite;
}

.hover-lift:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* === TOP CONTACT BAR === */
.top-contact {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 12px 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 90%;
  width: auto;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icons-top {
  display: flex;
  gap: 12px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: block;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.social-icon:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-info-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-top p {
  font-size: 0.95rem;
  margin: 4px 0;
  color: #000;
  font-weight: 500;
}

.top-contact .contact-info-top a {
  color: #000 !important;
  text-decoration: none !important;
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  outline: none;
}

/* === AUTH BUTTONS === */
#auth-buttons,
#user-panel {
  position: fixed;
  top: calc(50px + 50px);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

#user-panel { display: none; }

.admin-link {
  display: none;
  cursor: pointer;
  color: #000;
  text-decoration: underline;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.admin-link:hover {
  background: rgba(255, 153, 0, 0.2);
  color: #ff9900;
}

/* === SECTIONS === */
.section {
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  min-height: 80vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #000;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.section-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: #000000;
  font-weight: 400;
}

h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
}

p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #333;
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #ff9900 0%, #ff6b35 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('img/hero-bg.png') no-repeat center center;
  background-size: cover;
  z-index: 1;
  opacity: 0.15;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.logo { 
  width: 200px; 
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.hero-content h2 { 
  font-size: 3.5rem; 
  color: #000; 
  margin: 10px 0; 
  white-space: nowrap; 
  text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.3);
}

.hero-content p.tagline { 
  font-size: 1.4rem; 
  color: #000; 
  margin: 5px 0; 
  white-space: nowrap; 
  font-weight: 600;
}

.scroll-down {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.scroll-down:hover { 
  animation-play-state: paused; 
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.3);
}

.scroll-icon { 
  width: 50px; 
  height: 50px; 
  transition: all 0.3s ease;
}

.scroll-down:hover .scroll-icon {
  transform: scale(1.2);
}

/* === SERVICES === */
.services { 
  background: #ffffff; 
  color: #333; 
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.service-item {
  background: linear-gradient(135deg, #ff9900 0%, #ff6b35 100%);
  border: 1px solid #ff9900;
  color: #fff;
  padding: 15px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.service-item:hover::before {
  left: 100%;
}

.service-icon {
  width: 120px;
  height: 120px;
  margin: 10px 0;
  transition: all 0.3s ease;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.service-description {
  font-size: 0.9rem;
  margin: 8px 0 0 0;
  color: #555;
  text-align: center;
}

.service-item h3 {
  font-size: 1.1rem;
  margin: 10px 0 0 0;
  text-transform: uppercase;
  font-weight: 700;
}

.service-item:hover {
  background: linear-gradient(135deg, #ff9900 0%, #ff6b35 100%);
  border-color: #ff6600;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
}

.service-item:hover .service-icon {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.2));
}

.services-modal-bottom {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.leave-request-btn {
  background: #ff9900 !important;
  color: white !important;
  font-size: 1.1rem;
  padding: 15px 35px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.leave-request-btn:hover {
  background: #ff6600 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 153, 0, 0.4);
}

/* Services Modal Content - Better mobile fit */
.services-modal-content {
  background: transparent;
  max-height: 95vh;
  overflow-y: auto;
  padding: 40px 40px;
}

.services-detail-section {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.services-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service-category {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-category h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.service-category ul {
  list-style: none;
  padding: 0;
}

.service-category li {
  color: #fff;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.service-category li:last-child {
  border-bottom: none;
}

/* === PORTFOLIO === */
.portfolio { 
  background: linear-gradient(135deg, #ff9900 0%, #ff6b35 100%); 
  color: #000; 
}

/* === BRANDS === */
.brands { 
  background: #ffffff; 
  color: #333; 
}

.portfolio-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.request-btn {
  background: rgba(255, 153, 0, 0.2);
  border-color: rgba(255, 153, 0, 0.6);
  color: #000000;
}

.request-btn:hover {
  background: rgba(255, 153, 0, 0.9);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 153, 0, 0.4);
  border-color: rgba(255, 153, 0, 0.6);
}

@media (max-width: 480px) {
  .portfolio-buttons {
    flex-direction: column;
    gap: 15px;
  }
}
.testimonials { 
  background: linear-gradient(135deg, #ff9900 0%, #ff6b35 100%); 
  color: #fff; 
}

.testimonials-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .testimonials-actions {
    flex-direction: column;
    gap: 15px;
  }
}

/* === CONTACT === */
.contact { 
  background: #ffffff; 
  color: #333; 
}

.contact-form {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 40px auto 0;
  color: #000;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-start;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-form input,
.contact-form textarea {
  background: #ffffff;
  border: 2px solid #ddd;
  color: #000;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ff9900;
  box-shadow: 0 0 10px rgba(255, 153, 0, 0.2);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-button-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* === GRID 3x3 === */
.grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 40px 0;
  justify-items: center;
  align-items: center;
}

.grid-3x3 img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.grid-3x3 img:hover {
  transform: translateY(-10px) scale(1.05) rotate(2deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 1);
}

/* === GRID 2x2 - для секции Our Work с меньшими изображениями === */
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
  justify-items: center;
  align-items: center;
}

.grid-2x2 img {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.grid-2x2 img:hover {
  transform: translateY(-8px) scale(1.03) rotate(1deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 1);
}

/* Responsive для grid-2x2 */
@media (max-width: 768px) {
  .grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .grid-2x2 img {
    max-width: 250px;
    height: 180px;
    padding: 6px;
  }
}

@media (max-width: 480px) {
  .grid-2x2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .grid-2x2 img {
    max-width: 280px;
    height: 160px;
    padding: 5px;
  }
}

/* Brands: smaller logos */
.brands-grid img {
  width: 180px;
  height: auto;
  padding: 15px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
}

/* === TESTIMONIALS LIST === */
#testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 40px 0;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  text-align: left;
  font-style: italic;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.3);
  max-height: 200px;
  overflow-y: auto;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: serif;
  line-height: 1;
}

.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #fff;
}

.testimonial-card strong {
  color: #fff;
  font-weight: 600;
}

/* Orange testimonial cards for testimonials modal */
.modal-fullscreen-orange .testimonial-card {
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.2), rgba(255, 107, 53, 0.2));
  border: 2px solid rgba(255, 153, 0, 0.4);
  box-shadow: 0 12px 30px rgba(255, 153, 0, 0.2);
}

.modal-fullscreen-orange .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 153, 0, 0.3);
  border: 2px solid rgba(255, 153, 0, 0.6);
}

.modal-fullscreen-orange .testimonial-card p {
  color: #000;
}

.modal-fullscreen-orange .testimonial-card strong {
  color: #000;
  font-weight: 600;
}

/* === MODAL FULLSCREEN WHITE === */
.modal-fullscreen-white {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 249, 250, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  justify-content: center;     /* ← можно оставить для горизонтального центрирования */
  align-items: flex-start;     /* ← ВАЖНО: не центрировать по вертикали! */
  padding: 20px;
  overflow-y: auto;
}

.modal-fullscreen-white .close {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 2.5rem;
  color: #000;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-fullscreen-white .close:hover {
  background: rgba(255, 153, 0, 0.2);
  color: #ff9900;
  transform: scale(1.1);
}

/* Orange testimonials modal */
.modal-fullscreen-orange {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 2000;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.modal-fullscreen-orange::-webkit-scrollbar {
  display: none;
}

.modal-fullscreen-orange .close {
  position: fixed;
  top: 25px;
  right: 25px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2001;
}

.modal-fullscreen-orange .close:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: scale(1.1);
}

/* === MODAL CONTENT === */

.modal-content {
  width: 100%;
  max-width: 1200px;
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid #ddd;
}

/* Portfolio modal - ORANGE BACKGROUND */
.modal-fullscreen-orange {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff9900 0%, #ff6b35 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;

  padding: 20px;
  overflow-y: auto;
}

.modal-fullscreen-orange .close {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 2.2rem;
  color: #000;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2100;
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.modal-fullscreen-orange .close:hover {
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  transform: scale(1.1);
}

/* Mobile fixes for modal close button */
@media (max-width: 768px) {
  .modal-fullscreen-orange .close {
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .modal-fullscreen-orange .close {
    top: 12px;
    right: 12px;
    font-size: 1.6rem;
    width: 35px;
    height: 35px;
  }
}

.portfolio-modal-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.portfolio-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  max-height: 80vh;
  overflow-y: auto;
}

.portfolio-images-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.portfolio-images-grid img:hover {
  transform: scale(1.05);
}

.services-detail-section {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.services-detail-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #000;
  font-weight: 700;
}

.services-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.service-category {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #ddd;
}

.service-category h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #000;
  font-weight: 600;
}

.service-category ul {
  list-style: none;
  padding: 0;
}

.service-category li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #333;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.service-category li:hover {
  color: #ff9900;
  padding-left: 10px;
}

.service-category li:last-child {
  border-bottom: none;
}

/* === BRANDS MODAL === */
.brands-modal-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.brands-modal-content img {
  width: 120px;
  height: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.brands-modal-content img:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* === TESTIMONIALS MODAL === */
.testimonials-modal-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  border: 2px solid rgba(255, 153, 0, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  margin-top: 80px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  margin-bottom: 60px;
}

.pagination button {
  padding: 10px 18px;
  font-size: 1rem;
  background: #ffffff;
  color: #ff9900;
  border: 2px solid #ff9900;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination button:hover {
  background: rgba(255, 153, 0, 0.9);
  color: #000;
  transform: translateY(-2px);
}

.pagination button.active {
  background: rgba(255, 153, 0, 0.9);
  color: #000;
}

/* === IMAGE VIEWER MODAL === */
.modal-fullscreen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff9900 0%, #ff6b35 100%);
  z-index: 3000;
  justify-content: center;
  align-items: center;
  
}

.modal-fullscreen .close {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 2.5rem;
  color: #000; /* ← чёрный крестик */
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.modal-fullscreen .close:hover {
  background: #ff9900;
  color: #000;
  transform: scale(1.1);
}

.image-viewer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px; /* ← отступы со всех сторон */
  max-width: calc(100% - 50px); /* ← гарантирует, что контейнер не выходит за границы */
  max-height: calc(100% - 50px);
  width: auto;
  height: auto;
  position: relative;
  box-sizing: border-box;
}

.fullscreen-image {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px; /* можно оставить или убрать тень */
}

.image-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #eee;
  color: #000;
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: all;
}

.nav-btn:hover {
  background: #ff9900;
  color: #000;
  transform: scale(1.1);
}

/* === AUTH MODAL === */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
}

.modal .modal-content {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  position: relative;
  border: 1px solid #ddd;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal .close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  color: #000;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal .close:hover {
  background: rgba(255, 153, 0, 0.8);
  color: #000;
  transform: scale(1.1);
}

.modal input {
  width: 100%;
  padding: 14px;
  margin: 12px 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #000;
  font-size: 1rem;
}

.modal input:focus {
  outline: none;
  border-color: rgba(255, 153, 0, 0.6);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(255, 153, 0, 0.2);
}

.modal button {
  width: 100%;
  padding: 14px;
  margin: 15px 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #ff9900;
  border: 2px solid rgba(255, 153, 0, 0.3);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.modal button:hover {
  background: rgba(255, 153, 0, 0.9);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 153, 0, 0.3);
}

.modal a {
  color: #ff9900;
  text-decoration: none;
  transition: all 0.3s ease;
}

.modal a:hover {
  color: #000;
  text-decoration: underline;
}

/* === FOOTER === */
/* === НОВЫЙ СТИЛЬ ДЛЯ ФУТЕРА === */
.footer {
  background: #fff !important;
  color: #000;
  margin-top: 60px;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #eee;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.business-hours-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #000;
  margin: 0;
}

/* Соцсети */
.social-icons {
  display: inline-flex;
  gap: 20px;
  justify-content: center;
}

.social-icon {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.15);
}

/* Контакты */
.contact-info {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}

/* Ссылки — чёрные, без подчёркиваний */
.footer .contact-info a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer .contact-info a:hover {
  color: #ff6b35;
}

.footer .contact-info a {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  outline: none;
}

/* === ФУТЕР: ОРАНЖЕВЫЕ ССЫЛКИ === */

/* Телефон и Email — оранжевые с самого начала */
.footer .contact-info a {
  color: #FF6B35; /* основной оранжевый цвет бренда */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

/* При наведении — чуть темнее и подчёркивание */
.footer .contact-info a:hover {
  color: #e55a2e; /* немного тёмнее */
  text-decoration: underline;
}

/* Соцсети — тоже оранжевые */
.footer .social-text-links a {
  color: #FF6B35;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer .social-text-links a:hover {
  color: #e55a2e;
  text-decoration: underline;
}

/* Убираем выделение при касании на мобильных */
.footer a {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  outline: none;
}

/* === НОВЫЕ СТИЛИ ДЛЯ ФУТЕРА === */

/* === ФУТЕР: БЕЛЫЙ ФОН, ЧЁРНЫЙ ТЕКСТ === */
.footer {
  background: #fff !important;
  color: #000;
  margin-top: 60px;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Заголовки секций */
.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* Часы работы */
.business-hours-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #000;
  margin: 0;
}

/* Телефон и email — оранжевые */
.contact-info {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.contact-info a {
  color: #ff6b35; /* оранжевый цвет */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: #e55a2e; /* чуть темнее при наведении */
}

/* Текстовые ссылки для соцсетей */
.social-text-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.social-text-links a {
  color: #ff6b35;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.social-text-links a:hover {
  color: #e55a2e;
  text-decoration: underline;
}

/* Убираем выделение при касании на мобильных */
.footer a {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  outline: none;
}

/* Убираем выделение при касании на мобильных */
.footer .contact-info a {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  outline: none;
}

/* Соцсети — увеличиваем иконки и добавляем отступ под заголовком */
.social-icons {
  display: inline-flex;
  gap: 20px;
  justify-content: center;
  margin-top: 10px; /* ← ОТСТУП ПОСЛЕ ЗАГОЛОВКА */
}

.social-icon {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

/* Убираем подчёркивание во всех состояниях */
.footer .contact-info a,
.footer .contact-info a:link,
.footer .contact-info a:visited,
.footer .contact-info a:hover,
.footer .contact-info a:active {
  color: #ff6b35;
  text-decoration: none !important; /* ← главное */
  font-weight: 600;
  transition: color 0.2s ease;
}

/* При наведении можно оставить подчёркивание (по желанию), но вы можете убрать и его */
.footer .contact-info a:hover {
  color: #e55a2e;
  /* text-decoration: underline; ← уберите эту строку, если не хотите подчёркивания даже при наведении */
}

/* === LEARN MORE BUTTON === */
.learn-more-btn {
  margin-top: 30px;
  font-size: 1.1rem;
  padding: 15px 35px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .service-item {
    padding: 18px;
  }
  
  .service-icon {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .top-contact { 
    top: 12px; 
    padding: 10px 16px; 
    width: 92%;
    border-radius: 16px;
  }
  
  .contact-row {
    gap: 15px;
  }
  
  .social-icon {
    width: 120px;
    height: 120px;
  }
  
  .contact-info-top p {
    font-size: 0.85rem;
  }
  
  .section { 
    padding: 80px 20px; 
    min-height: 90vh;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .grid-3x3 { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 18px;
  }
  
  .portfolio-modal-content { 
    grid-template-columns: repeat(2, 1fr); 
  }
  
  .brands-grid img { 
    width: 100px; 
  }
  
  .services-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 18px;
  }
  
  .service-item { 
    padding: 16px; 
  }
  
  .service-icon {
    width: 120px;
    height: 120px;
  }
  
  .contact-form {
    flex-direction: column;
    gap: 15px;
    padding: 30px;
  }
  
  .services-columns {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    padding: 30px 25px;
  }
}

@media (max-width: 480px) {
  .top-contact { 
    top: 10px; 
    padding: 4px 6px; 
    width: 98%;
    font-size: 0.6rem;
    border-radius: 8px;
    gap: 4px;
  }
  
  .contact-row {
    gap: 4px;
    flex-direction: row;
    flex-wrap: nowrap;
  }
  
  .social-icons-top {
    display: flex;
    gap: 3px;
    align-items: center;
  }
  
  .social-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
  }
  
  .contact-info-top {
    display: flex;
    gap: 4px;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
  }
  
  .contact-info-top p {
    font-size: 0.55rem;
    margin: 0;
    padding: 0;
    line-height: 1.2;
  }
  
  .hero { 
    min-height: 85vh; 
  }
  
  .hero-content h2 { 
    font-size: 2.2rem; 
    white-space: normal; 
    line-height: 1.2;
  }
  
  .hero-content p.tagline { 
    font-size: 1.1rem; 
    white-space: normal; 
  }
  
  .logo { 
    width: 150px; 
  }
  
  .scroll-down { 
    width: 80px; 
    height: 80px; 
  }
  
  .scroll-icon { 
    width: 32px; 
    height: 32px; 
  }
  
  .section { 
    padding: 60px 16px; 
    min-height: 80vh;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .grid-3x3 { 
    grid-template-columns: 1fr; 
    gap: 15px;
  }
  
  .portfolio-modal-content { 
    grid-template-columns: 1fr; 
  }
  
  .brands-grid img { 
    width: 100px; 
  }
  
  .services-grid { 
    grid-template-columns: 1fr; 
    gap: 15px;
  }
  
  .service-item { 
    padding: 14px; 
  }
  
  .service-icon {
    width: 120px;
    height: 120px;
  }
  
  .service-description {
    font-size: 0.8rem;
  }
  
  .contact-form {
    padding: 25px 20px;
  }
  
  .modal-content {
    padding: 25px 20px;
  }
  
  .services-detail-section {
    padding: 20px;
  }
  
  .service-category {
    padding: 15px;
  }
  
  .nav-btn {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  

  
  .fullscreen-image {
    max-height: 70vh;
  }
}

/* === SWIPE GESTURES === */
.swipe-container {
  position: relative;
  overflow: hidden;
}

.swipe-container::before,
.swipe-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  z-index: 10;
  background: linear-gradient(90deg, rgba(255, 153, 0, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.swipe-container::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 153, 0, 0.1), transparent);
}

.swipe-container::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 153, 0, 0.1), transparent);
}

.swipe-container.swipe-left::before {
  opacity: 1;
}

.swipe-container.swipe-right::after {
  opacity: 1;
}

/* === LOADING ANIMATION === */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* === ADMIN PANEL STYLES === */

.admin-modal-content {
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
}

.admin-tabs {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-tab {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 20px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.admin-tab.active {
  color: #ff9900;
  border-bottom-color: #ff9900;
}

.admin-tab:hover {
  color: #ffaa33;
}

.admin-tab-content {
  padding: 20px 0;
}

.admin-review-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  margin: 10px 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.admin-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.approve-btn {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.5);
}

.approve-btn:hover {
  background: rgba(76, 175, 80, 0.3);
}

.reject-btn {
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.5);
}

.reject-btn:hover {
  background: rgba(244, 67, 54, 0.3);
}

.danger-btn {
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.5);
}

.danger-btn:hover {
  background: rgba(244, 67, 54, 0.3);
}

.no-items {
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  text-align: center;
  padding: 20px;
}

.admin-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 30px 0;
}

/* Portfolio Upload Area */
.upload-area {
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 20px 0;
}

.upload-area:hover {
  border-color: #ff9900;
  background: rgba(255, 153, 0, 0.1);
}

.upload-area.drag-over {
  border-color: #ff9900;
  background: rgba(255, 153, 0, 0.2);
  transform: scale(1.02);
}

.upload-content {
  pointer-events: none;
}

.upload-icon {
  font-size: 48px;
  margin-bottom: 15px;
  opacity: 0.7;
}

.upload-info {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 10px;
}

.upload-preview {
  margin: 20px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  margin: 15px 0;
}

.preview-file {
  position: relative;
  display: inline-block;
}

.preview-file img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.preview-file button {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #f44336;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: all 0.3s ease;
}

.preview-file button:hover {
  background: #d32f2f;
  transform: scale(1.1);
}

.preview-file div {
  font-size: 11px;
  margin-top: 5px;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-btn {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 50%, #26a65b 100%);
  color: #fff;
  border: none;
  margin-right: 10px;
}

.cancel-btn {
  background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 50%, #6c7b7d 100%);
  color: #fff;
  border: none;
}

.danger-btn {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 50%, #a93226 100%);
  color: #fff;
  border: none;
}
}

/* Portfolio Grid for Admin */
.portfolio-grid-admin {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.portfolio-image-admin-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.portfolio-image-admin-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.portfolio-image-admin-card img:hover {
  transform: scale(1.1);
}

/* Admin Panel Responsive */
@media (max-width: 768px) {
  .admin-modal-content {
    max-width: 95vw;
    max-height: 95vh;
    padding: 20px;
  }
  
  .admin-tabs {
    flex-direction: column;
    gap: 5px;
  }
  
  .admin-tab {
    text-align: center;
  }
  
  .admin-buttons {
    flex-direction: column;
  }
  
  .portfolio-grid-admin {
    grid-template-columns: 1fr;
  }
  
  .preview-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  
  .upload-area {
    padding: 30px 20px;
  }
}

/* === REVIEW FORM MODAL STYLES === */
.review-form-modal {
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  color: #000;
}

.review-form-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.star-rating {
  text-align: center;
  margin-bottom: 20px;
}

.rating-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.star {
  font-size: 30px;
  color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.star:hover,
.star.active {
  color: #ff9900;
  transform: scale(1.2);
}

.review-textarea {
  width: 100%;
  min-height: 120px;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
  transition: all 0.3s ease;
  color: #000;
}

.review-textarea:focus {
  outline: none;
  border-color: #ff9900;
  box-shadow: 0 0 15px rgba(255, 153, 0, 0.2);
}

.review-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.review-buttons .orange-btn {
  min-width: 150px;
}

.review-buttons .gray-btn {
  min-width: 120px;
  background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 50%, #6c7b7d 100%);
  color: #fff;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 24px rgba(149, 165, 166, 0.4), 0 3px 12px rgba(127, 140, 141, 0.3);
  text-transform: uppercase;
}

.review-buttons .gray-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.review-buttons .gray-btn:hover::before {
  left: 100%;
}

.review-buttons .gray-btn:hover {
  background: linear-gradient(135deg, #7f8c8d 0%, #6c7b7d 50%, #5a6c6d 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 36px rgba(127, 140, 141, 0.5), 0 6px 18px rgba(108, 123, 125, 0.4);
  color: #fff;
}

.review-buttons .gray-btn:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 24px rgba(127, 140, 141, 0.4);
}

/* === CONTACT FORM STYLES === */
.contact-form-container {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.contact-form-full {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 153, 0, 0.3);
  width: 100%;
}

.contact-input {
  width: 100%;
  background: #ffffff;
  border: 2px solid #ddd;
  color: #000;
  padding: 15px;
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.contact-textarea {
  width: 100%;
  background: #ffffff;
  border: 2px solid #ddd;
  color: #000;
  padding: 15px;
  border-radius: 8px;
  font-size: 16px;
  min-height: 150px;
  resize: vertical;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: #ff9900;
  box-shadow: 0 0 15px rgba(255, 153, 0, 0.2);
  outline: none;
}

.contact-submit {
  width: 100%;
  margin-top: 10px;
  font-size: 16px;
  padding: 18px 32px;
  font-weight: 700;
  border-radius: 15px;
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 50%, #e55a2e 100%);
  color: #000;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(255, 149, 0, 0.4), 0 4px 16px rgba(255, 107, 53, 0.3);
}

.contact-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.contact-submit:hover::before {
  left: 100%;
}

.contact-submit:hover {
  background: linear-gradient(135deg, #ff8500 0%, #ff5a24 50%, #dd4a1c 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 48px rgba(255, 133, 0, 0.5), 0 8px 24px rgba(255, 90, 36, 0.4);
  color: #000;
}

.contact-submit:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(255, 133, 0, 0.4);
}
/* === MOBILE: ОТСТУП МЕЖДУ ИКОНКАМИ И ТЕКСТОМ В .top-contact === */
@media (max-width: 480px) {
  .top-contact {
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 95%;
    padding: 6px 12px;
    gap: 12px; /* Общий отступ между блоками */
  }

  .contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center; /* Центрируем содержимое внутри top-contact */
  }

  .social-icons-top {
    margin-right: 0px; /* Отступ СПРАВА от иконок к тексту */
  }

  .contact-info-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Текст выравниваем по левому краю относительно иконок */
    gap: 4px;
    min-width: 110px;
  }

  .contact-info-top p {
    font-size: 0.65rem;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
  }

  .social-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
  }
}
/* === МОБИЛЬНАЯ АДАПТАЦИЯ ДЛЯ ПОРТФОЛИО МОДАЛКИ === */
@media (max-width: 768px) {
  .portfolio-images-grid {
    grid-template-columns: 1fr !important;
    padding: 15px;
    gap: 15px;
  }

  .portfolio-images-grid img {
    height: auto;
    max-height: 300px;
    aspect-ratio: 4 / 3; /* сохраняет пропорции, но можно убрать */
    width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .portfolio-images-grid {
    padding: 10px;
    gap: 10px;
  }

  .portfolio-images-grid img {
    max-height: 220px;
  }
}
/* Скрываем скроллбар везде */
* {
  -ms-overflow-style: none;  /* Для Internet Explorer и Edge */
  scrollbar-width: none;     /* Для Firefox */
}

/* Скрываем скроллбар в WebKit-браузерах (Chrome, Safari, Edge) */
*::-webkit-scrollbar {
  display: none;
}

