:root {
  --bg: #1E1E1E;
  --panel: #2A2A2A;
  --accent: #e85a71;
  --accent-2: #ff4f4f;
  --muted: #cfc9dd;
  --card-bg: #252525;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --vh: 1vh;
}

@supports (-webkit-touch-callout: none) {
  :root {
    --vh: calc(var(--vh, 1vh) * 100);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  background: var(--bg);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== ANIMATED BACKGROUND ===== */
#dots-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #1E1E1E radial-gradient(circle, rgba(232, 90, 113, 0.3) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: dotsMove 30s linear infinite;
  will-change: auto;
  filter: blur(0.3px);
  opacity: 0.5;
}

@keyframes dotsMove {
  to { background-position: 50px 50px; }
}

/* ===== HEADER ===== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 28px;
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(30, 30, 30, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 200;
}

.header-left { 
  display: flex; 
  align-items: center; 
}

.header-logo { 
  height: 42px; 
  width: auto;
  filter: drop-shadow(0 0 15px rgba(232, 90, 113, 0.2));
  transition: all var(--transition-normal);
}

.header-logo:hover {
  filter: drop-shadow(0 0 25px rgba(232, 90, 113, 0.5));
  transform: scale(1.05);
}

nav { 
  display: flex; 
  align-items: center; 
  gap: 18px; 
}

nav a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

nav a:hover,
nav a:focus-visible { 
  color: #fff; 
  background: rgba(255, 255, 255, 0.03);
  outline: none;
}

nav a.active {
  color: var(--accent);
  background: rgba(232, 90, 113, 0.1);
}


/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  transition: all var(--transition-smooth);
  border-radius: 12px;
}

.cart-btn {
  position: relative;
  background: linear-gradient(135deg, rgba(232, 90, 113, 0.15), rgba(255, 79, 79, 0.15));
  border: 1px solid rgba(232, 90, 113, 0.3);
  color: #fff;
  padding: 8px 16px;
  font-size: 20px;
  border-radius: 999px;
}

.cart-btn:hover,
.cart-btn:focus-visible {
  background: linear-gradient(135deg, rgba(232, 90, 113, 0.3), rgba(255, 79, 79, 0.3));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 90, 113, 0.3);
  outline: none;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(232, 90, 113, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

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

.cart-count.hidden {
  display: none;
}

.order-btn {
  display: inline-block;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(232, 90, 113, 0.25);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.order-btn:hover,
.order-btn:focus-visible {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 24px rgba(232, 90, 113, 0.4);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  outline: none;
}

.order-btn:active {
  transform: translateY(-1px) scale(1.01);
}

.order-btn-large {
  padding: 14px 34px;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(232, 90, 113, 0.3);
}

.order-btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 24px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 16px rgba(232, 90, 113, 0.3);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover,
.scroll-top-btn:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(232, 90, 113, 0.5);
  outline: none;
}

.scroll-top-btn:active {
  transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero { 
  padding: 60px 20px 28px; 
  text-align: center; 
  position: relative;
  z-index: 10;
}

.logo-main {
  display: block;
  margin: 0 auto;
  max-width: 500px;
  width: 86%;
  height: auto;
  animation: fadeInUp 0.9s ease both;
  filter: drop-shadow(0 0 12px rgba(232, 90, 113, 0.15));
  transition: all 0.35s ease;
}

.logo-main:hover { 
  filter: drop-shadow(0 0 25px rgba(232, 90, 113, 0.4));
  transform: scale(1.05);
}

.hero-text {
  margin: 18px auto 0;
  color: var(--muted);
  max-width: 720px;
  font-size: 19px;
  line-height: 1.7;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-link:hover,
.hero-link:focus-visible {
  color: var(--accent);
  transform: translateX(5px);
  outline: none;
}

.scroll-hint {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  margin-top: 28px;
  transition: transform var(--transition-normal);
}

.scroll-hint:hover {
  transform: scale(1.2);
}

.down-arrow {
  font-size: 28px;
  color: var(--accent);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 18px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.section h2 {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 700;
  margin-bottom: 30px;
}

/* ===== SERVICES SLIDER ===== */
.services-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 80px;
  position: relative;
}

.services-panel {
  position: relative;
  overflow: visible;
  padding: 0 20px;
}

.slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  will-change: transform;
  overflow: visible;
}

.slide {
  min-width: 100%;
  flex-shrink: 0;
  padding: 0 15px;
  box-sizing: border-box;
}

.service-card {
  text-align: center;
  background: linear-gradient(135deg, var(--card-bg) 0%, #2d2d2d 100%);
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  min-height: 300px;
  max-height: 340px;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232, 90, 113, 0.1), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 90, 113, 0.2);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
  hyphens: auto;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 14px;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.service-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.add-to-cart-btn {
  background: linear-gradient(135deg, rgba(232, 90, 113, 0.12), rgba(255, 79, 79, 0.12));
  border: 1px solid rgba(232, 90, 113, 0.3);
  color: var(--muted);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  font-family: inherit;
}

.add-to-cart-btn:hover,
.add-to-cart-btn:focus-visible {
  background: linear-gradient(135deg, rgba(232, 90, 113, 0.25), rgba(255, 79, 79, 0.25));
  color: #fff;
  border-color: rgba(232, 90, 113, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 90, 113, 0.3);
  outline: none;
}

.add-to-cart-btn.added {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  border-color: #22c55e;
  color: #fff;
  cursor: pointer;
}

.add-to-cart-btn.added:hover,
.add-to-cart-btn.added:focus-visible {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, rgba(232, 90, 113, 0.2), rgba(255, 79, 79, 0.2));
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(232, 90, 113, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 24px;
  transition: all var(--transition-normal);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover:not(:disabled),
.slider-btn:focus-visible { 
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(232, 90, 113, 0.4);
  outline: none;
}

.slider-btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.95);
}

.slider-btn:disabled {
  cursor: not-allowed;
}

#prev { 
  left: -70px;
}

#next { 
  right: -70px;
}

/* ===== FORM SECTION ===== */
.order-section {
  text-align: center;
  position: relative;
  z-index: 8;
  margin: 120px auto 100px;
  max-width: 1200px;
  padding: 0 20px;
}

.order-section h2 {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 700;
  margin-bottom: 50px;
  color: #fff; /* Сделали цвет текста белым */
}

.order-section form {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-smooth);
}

.order-section form:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 90, 113, 0.2);
}

.field { 
  display: block; 
  margin-bottom: 20px; /* Уменьшили отступ */
  position: relative;
  text-align: left;
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field input, 
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1E1E1E;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.field input:focus, 
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 90, 113, 0.2);
}

.field input.error,
.field textarea.error {
  border-color: #ff4444;
  box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.2);
}

.error-msg {
  display: none;
  color: #ff4444;
  font-size: 13px;
  margin-top: 6px;
  font-weight: 500;
}

.error-msg.show {
  display: block;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.form-footer {
  margin-top: 30px; /* Уменьшили отступ */
}
.submit-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(232, 90, 113, 0.25);
  transition: all var(--transition-smooth);
}

.submit-btn:hover,
.submit-btn:focus-visible {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 24px rgba(232, 90, 113, 0.4);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  outline: none;
}

.submit-btn:active {
  transform: translateY(-1px) scale(1.01);
}

.success-msg {
  color: #4ade80;
  margin-top: 16px;
  display: none;
  font-weight: 600;
  font-size: 15px;
  animation: fadeInUp 0.4s ease;
}

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

.form-note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.6;
  text-align: center;
  font-style: italic;
  transition: opacity var(--transition-fast);
}

.form-note:hover {
  opacity: 0.9;
}

.form-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.form-note a:hover,
.form-note a:focus-visible {
  color: var(--accent-2);
  text-decoration: underline;
  outline: none;
}

@media (max-width: 520px) {
  .field input,
  .field textarea {
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
  }
  
  textarea {
    min-height: 120px;
  }
}

/* ===== TEAM PAGE STYLES ===== */
.team-hero {
  padding: 100px 20px 60px;
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto;
}

/* ===== TEAM PAGE STYLES ===== */
.team-hero {
  padding: 100px 20px 60px;
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 30px;
  padding: 10px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
}

.back-link:hover {
  color: var(--accent);
  background: rgba(232, 90, 113, 0.08);
  border-color: rgba(232, 90, 113, 0.2);
  transform: translateX(-4px);
}

.team-hero h1 {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.6s ease;
}

.team-hero-text {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease;
}

.teal-info {
  max-width: 1100px;
  margin: 0 auto 70px;
  padding: 40px 35px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
  transition: all var(--transition-smooth);
}

.teal-info:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 90, 113, 0.2);
}

.teal-info h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #fff;
}

.teal-info p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.team-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 70px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  position: relative;
  z-index: 10;
}

.team-member {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.6s ease backwards;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }
.team-member:nth-child(5) { animation-delay: 0.5s; }
.team-member:nth-child(6) { animation-delay: 0.6s; }

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 90, 113, 0.2);
}

.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, rgba(232, 90, 113, 0.15), rgba(255, 79, 79, 0.15));
  border: 2px solid rgba(232, 90, 113, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  transition: all var(--transition-normal);
}

.team-member:hover .team-avatar {
  transform: scale(1.1);
  border-color: rgba(232, 90, 113, 0.6);
  background: linear-gradient(135deg, rgba(232, 90, 113, 0.25), rgba(255, 79, 79, 0.25));
}

.team-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.team-bio {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.team-member:hover .skill-tag {
  background: linear-gradient(135deg, rgba(232, 90, 113, 0.15), rgba(255, 79, 79, 0.15));
  color: #fff;
  border-color: rgba(232, 90, 113, 0.3);
  transform: translateY(-2px);
}

.team-values {
  max-width: 1100px;
  margin: 0 auto 70px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.values-header {
  text-align: center;
  margin-bottom: 45px;
}

.values-header h2 {
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 700;
}

.values-header p {
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.value-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 90, 113, 0.2);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  font-size: 42px;
  margin-bottom: 18px;
}

.value-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.value-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Team page order section */
.team-values + .order-section {
  max-width: 1100px;
  margin: 0 auto 70px;
}

.team-values + .order-section h2 {
  margin-bottom: 20px;
}

.team-values + .order-section p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Team page responsive */
@media (max-width: 820px) {
  .team-hero {
    padding: 80px 20px 50px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .burger-menu {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 80px 20px 20px;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(232, 90, 113, 0.2);
    z-index: 205;
    overflow-y: auto;
  }


  nav.active {
    right: 0;
  }

  nav a {
    padding: 16px 20px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    text-align: left;
  }

  .order-btn {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
  }

  .team-hero {
    padding: 70px 20px 40px;
  }
  
  .teal-info {
    padding: 35px 24px;
  }
}

@media (max-width: 520px) {
  .order-section {
    margin: 60px auto 50px;
    padding: 0 15px;
  }

  .order-section h2 {
    font-size: 24px;
    margin-bottom: 35px;
  }

  .order-section form {
    padding: 28px 20px;
  }

  .field {
    margin-bottom: 22px;
  }

  .field:not(:last-of-type) {
    padding-bottom: 22px;
  }
}

/* ===== FOOTER ===== */
footer {
  margin-top: 120px;
  padding: 0;
  position: relative;
  z-index: 100;
  background: linear-gradient(180deg, rgba(30, 30, 30, 0) 0%, rgba(42, 42, 42, 0.6) 100%);
  backdrop-filter: blur(15px);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(232, 90, 113, 0.3) 20%, 
    rgba(255, 79, 79, 0.5) 50%, 
    rgba(232, 90, 113, 0.3) 80%, 
    transparent 100%
  );
  animation: glowLine 3s ease-in-out infinite;
}

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

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 28px 24px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 0;
}

.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-wrap {
  margin-bottom: 8px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 20px rgba(232, 90, 113, 0.3));
  transition: all var(--transition-normal);
}

.footer-logo-img:hover {
  filter: drop-shadow(0 0 30px rgba(232, 90, 113, 0.6));
  transform: scale(1.05);
}

.footer-tagline {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 400px;
  opacity: 0.8;
}

.footer-copyright {
  color: var(--muted);
  font-size: 13px;
  opacity: 0.5;
  margin-top: 8px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-column a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: all var(--transition-fast);
  position: relative;
  padding-left: 0;
}

.footer-column a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all var(--transition-normal);
  color: var(--accent);
  z-index: -1;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #fff;
  padding-left: 20px;
  outline: none;
}

.footer-column a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-contact {
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.socials-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  opacity: 0.7;
  white-space: nowrap;
}

.socials-label::before {
  display: none !important;
}

.socials {
  display: flex;
  gap: 12px;
}

.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

.social-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.85;
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1;
}

.social-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px rgba(232, 90, 113, 0.3);
}

.social-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--accent-2);
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-6px) scale(1.08);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(232, 90, 113, 0.4);
  outline: none;
}

.social-link:hover::before,
.social-link:focus-visible::before {
  opacity: 1;
}

.social-link:hover img,
.social-link:focus-visible img {
  opacity: 1;
  transform: scale(1.15) rotate(5deg);
}

.social-link:hover .social-tooltip,
.social-link:focus-visible .social-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-12px);
}

.social-link:active {
  transform: translateY(-4px) scale(1.02);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.badge {
  color: var(--muted);
  font-size: 12px;
  opacity: 0.6;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
}

.badge:hover {
  opacity: 0.9;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.badge strong {
  color: var(--accent);
  font-weight: 600;
}

/* ===== CART MODAL ===== */
.cart-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.cart-modal.active {
  display: flex;
}

.cart-modal-content {
  background: var(--card-bg);
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(232, 90, 113, 0.4);
  animation: slideUp 0.3s ease;
}

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

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

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-header h2 {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.cart-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.cart-close:hover,
.cart-close:focus-visible {
  background: rgba(255, 79, 79, 0.2);
  border-color: var(--accent-2);
  color: #fff;
  transform: rotate(90deg);
  outline: none;
}

.cart-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}

.cart-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 10px 0;
}

.cart-service-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  user-select: none;
}

.footer-content {
  padding: 36px 20px 20px;
}

.footer-tagline {
  font-size: 14px;
}

.footer-column {
  text-align: center;
}

.footer-column a {
  justify-content: center;
}

.cart-service-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(232, 90, 113, 0.3);
  transform: scale(1.05);
}

.cart-service-item:has(.cart-checkbox:checked) {
  background: linear-gradient(135deg, rgba(232, 90, 113, 0.2), rgba(255, 79, 79, 0.2));
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(232, 90, 113, 0.3);
}

.cart-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.cart-service-name {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.cart-checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.cart-checkbox:checked ~ .cart-checkmark {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(232, 90, 113, 0.4);
}

.cart-checkbox:checked ~ .cart-service-name {
  color: var(--accent);
}

.cart-service-item:has(.cart-checkbox:checked) {
  background: rgba(232, 90, 113, 0.08);
  border-color: rgba(232, 90, 113, 0.3);
}

.cart-checkbox:focus-visible ~ .cart-checkmark {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.cart-footer {
  padding: 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.clear-cart-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 14px;
  font-family: inherit;
}

.clear-cart-btn:hover,
.clear-cart-btn:focus-visible {
  background: rgba(255, 79, 79, 0.15);
  border-color: rgba(255, 79, 79, 0.3);
  color: #ff6b6b;
  transform: translateY(-2px);
  outline: none;
}

/* ===== SERVICE MODAL ===== */
.service-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1001;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}

.service-modal.active {
  display: flex;
}

.service-modal-content {
  background: var(--card-bg);
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(232, 90, 113, 0.3);
  animation: slideUp 0.4s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.service-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.service-modal-close:hover {
  background: var(--accent);
  transform: rotate(90deg);
  border-color: var(--accent);
}

.service-modal-body {
  padding: 50px 40px;
}

.service-modal-icon {
  font-size: 60px;
  text-align: center;
  margin-bottom: 20px;
}

.service-modal-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.service-modal-desc {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: center;
}

.service-modal-section {
  margin-bottom: 30px;
}

.service-modal-section h4 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 700;
}

.service-features {
  display: grid;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.feature-item::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.service-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.info-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.info-label {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  opacity: 0.7;
}

.info-value {
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
}

.service-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.service-card-clickable {
  cursor: pointer;
  flex: 1;
}

@media (max-width: 520px) {
  .service-modal-body {
    padding: 40px 24px;
  }
  
  .service-modal-title {
    font-size: 26px;
  }
  
  .service-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-logo-wrap {
    display: flex;
    justify-content: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-column a::before {
    display: none;
  }

  .footer-column a:hover {
    padding-left: 0;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateY(18px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 820px) {
  header { 
    padding: 12px 16px; 
  }
  
  .header-logo { 
    height: 38px; 
  }
  
  nav {
    gap: 12px;
  }
  
  .logo-main { 
    max-width: 360px; 
  }
  
  .services-wrap {
    padding: 0 60px;
  }
  
  .slider-btn { 
    width: 44px; 
    height: 44px; 
    font-size: 20px; 
  }
  
  #prev { left: -55px; }
  #next { right: -55px; }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

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

  .burger-menu {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 80px 20px 20px;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(232, 90, 113, 0.2);
    z-index: 205;
    overflow-y: auto;
  }


  nav.active {
    right: 0;
  }

  nav a {
    padding: 16px 20px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    text-align: left;
  }

  nav a:hover {
    background: rgba(232, 90, 113, 0.1);
  }

  .cart-btn {
    width: 100%;
    justify-content: center;
    margin: 10px 0;
    padding: 14px;
  }

  .order-btn {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
  }
  
  .logo-main { 
    max-width: 300px; 
  }
  
  .hero-text {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .order-btn-large {
    width: 100%;
    padding: 16px;
    font-size: 16px;
  }

  .hero-link {
    font-size: 14px;
  }
  
  .services-wrap {
    padding: 0 10px;
  }
  
  .services-panel {
    overflow: hidden;
    padding: 0;
    margin: 0 -10px;
  }
  
  .slide {
    padding: 0 10px;
  }
  
  .service-card { 
    padding: 24px 18px;
    min-height: 280px;
    max-height: none;
  }
  
  .service-card h3 {
    font-size: 18px;
    min-height: auto;
    margin-bottom: 12px;
  }
  
  .service-card p {
    font-size: 13px;
    line-height: 1.6;
    -webkit-line-clamp: 5;
  }
  
  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
    opacity: 0.9;
  }
  
  #prev { 
    left: 0;
    transform: translateY(-50%) translateX(-50%);
  }
  
  #next { 
    right: 0;
    transform: translateY(-50%) translateX(50%);
  }
  
  .service-expand-btn {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
  }
  
  .order-wrap { 
    padding: 24px; 
  }
  
  .footer-content {
    padding: 36px 20px 20px;
  }

  .footer-main {
    gap: 30px;
    margin-bottom: 30px;
  }

  .footer-brand-section {
    text-align: center;
  }

  .footer-logo-wrap {
    display: flex;
    justify-content: center;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-links {
    text-align: center;
  }

  .footer-column a::before {
    display: none;
  }

  .footer-column a:hover {
    padding-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
  }

  .footer-socials {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .socials {
    justify-content: center;
  }

  .footer-badges {
    justify-content: center;
    width: 100%;
  }
  
  .cart-modal-content {
    width: 95%;
    max-height: 90vh;
  }
  
  .cart-footer {
    flex-direction: column;
  }
  
  .cart-footer .order-btn {
    width: 100%;
  }

  .scroll-top-btn {
    bottom: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
  
  .cart-services-list {
    gap: 8px;
    padding: 5px 0;
  }
  
  .cart-service-item {
    padding: 10px 14px;
    font-size: 13px;
  }
  
  .cart-service-name {
    font-size: 13px;
  }
  
  .cart-checkmark {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  .service-actions {
    gap: 8px;
    flex-direction: column;
    width: 100%;
  }
  
  .service-actions .add-to-cart-btn,
  .service-actions .order-btn-small {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* ===== SERVICE EXPAND BUTTON ===== */
.service-expand-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(232, 90, 113, 0.1);
  border: 1px solid rgba(232, 90, 113, 0.3);
  border-radius: 8px;
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-smooth);
  z-index: 5;
}

.service-expand-btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(232, 90, 113, 0.4);
}

.service-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Improve text selection */
::selection {
  background: rgba(232, 90, 113, 0.3);
  color: #fff;
}

/* Smooth scrolling for modern browsers */
@supports (scroll-behavior: smooth) {
  html {
    scroll-behavior: smooth;
  }
}

/* ===== PAGE LOAD ANIMATION ===== */
@keyframes fadeInPage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  animation: fadeInPage 0.4s ease-in;
}

/* Улучшение для карточек услуг */
.service-card {
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Оптимизация скролла */
html {
  scroll-padding-top: 80px;
}

/* Улучшенный фокус для доступности */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Hover эффект для всех интерактивных элементов */
a, button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Улучшение тач-зон для мобильных */
@media (max-width: 520px) {
  /* Увеличение области нажатия для кнопок */
  .burger-menu {
    padding: 12px;
    margin: -4px;
  }
  
  nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  
  .slider-btn {
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Убрать hover эффекты на тач-устройствах */
  .service-card:hover {
    transform: none;
  }
  
  .service-card:active {
    transform: scale(0.98);
    transition: transform 0.1s;
  }
  
  button, a, .btn {
    -webkit-tap-highlight-color: rgba(232, 90, 113, 0.2);
  }
}


/* ===== LOCKED SERVICES ===== */
.service-card.locked {
  position: relative;
  filter: blur(2px);
  pointer-events: none;
  opacity: 0.6;
}

.service-card.locked::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  border-radius: 16px;
  z-index: 1;
}

.service-card.locked .service-actions {
  display: none;
}

.locked-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(232, 90, 113, 0.5);
  white-space: nowrap;
  pointer-events: auto;
  cursor: not-allowed;
}

/* ===== LOCKED MODAL ===== */
.locked-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.locked-modal.active {
  display: flex;
}

.locked-modal-content {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 50px 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(232, 90, 113, 0.3);
  animation: slideUp 0.4s ease;
}

.locked-modal-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.locked-modal-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.locked-modal-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.locked-modal-close {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 16px rgba(232, 90, 113, 0.25);
}

.locked-modal-close:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 24px rgba(232, 90, 113, 0.4);
}

/* ===== LOCKED ITEMS IN CART ===== */
.locked-service-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  user-select: none;
  opacity: 0.5;
}

.locked-service-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(232, 90, 113, 0.2);
  transform: scale(1.02);
  opacity: 0.7;
}

.locked-service-item .cart-service-name {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.locked-badge-small {
  font-size: 12px;
  opacity: 0.8;
}