/* --- ГАРАНТОВАНЕ ВИДАЛЕННЯ ГОРИЗОНТАЛЬНОГО СКРОЛУ --- */
html, body {
  overflow-x: hidden;
}

/* Усі елементи рахують ширину разом із padding і border */
*, *::before, *::after {
  box-sizing: border-box;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  /* Спочатку задаємо стилі для мобільних пристроїв */
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  box-sizing: border-box; /* Важливо, щоб padding не додавав ширини */
}

@media (min-width: 769px) {
  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
  }
}

.nav-brand {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  white-space: nowrap; /* Запобігти переносу */
}

.navbar .nav-brand .brand-text {
  color: #000;
}

.navbar .nav-brand .brand-accent {
  color: #FF0050;
  margin-left: 2px;
}

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

.nav-link {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: #000;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #FF0050;
  transition: width 0.3s ease;
}

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

.cta-button {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #000;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: #1f1f1f;
  transform: translateY(-1px);
}


.hero {
  /* Змінюємо padding, щоб додати відступ зверху */
  padding: 40px 0 60px;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Застосовуємо відступ ТІЛЬКИ для елемента, що йде одразу після хедера, і тільки на десктопах */
@media (min-width: 769px) {
  .navbar + * {
    padding-top: 100px; /* Висота вашої шапки */
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 0 24px;
  overflow: visible; /* ← Додай це */
}

.hero-content {
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 0, 80, 0.1);
  padding: 8px 16px;
  border-radius: 24px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #FF0050;
}

.badge-icon {
  font-size: 16px;
}

.hero-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0 0 24px 0;
}

.title-accent {
  color: #FF0050;
  position: relative;
}

.hero-description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #6B7280;
  margin: 0 0 40px 0;
  font-weight: 400;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  line-height: 1;
}

.hero-stats .stat-label {
  font-size: 14px;
  color: #6B7280;
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.primary-btn {
  background: #000;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', -apple-system, sans-serif;
}

.primary-btn:hover {
  background: #1f1f1f;
  transform: translateY(-2px);
}

.secondary-btn {
  background: transparent;
  color: #374151;
  border: none;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', -apple-system, sans-serif;
}

.secondary-btn:hover {
  color: #000;
}

.btn-icon {
  font-size: 14px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible !important;
}

.tiktok-interface {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #FF0050, #25F4EE);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder {
  width: 200px;
  height: 320px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button {
  color: white;
  font-size: 48px;
  opacity: 0.8;
}

.interface-elements {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.interface-elements > div {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 12px;
  border-radius: 20px;
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.floating-metrics {
  position: absolute;
  top: 20px;
  right: -40px;
}

.metric-card {
  background: white;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  min-width: 120px;
}

.metric-value {
  font-size: 20px;
  font-weight: 700;
  color: #10B981;
  line-height: 1;
}

.metric-label {
  font-size: 12px;
  color: #6B7280;
  margin-top: 4px;
}

.services {
  padding: 100px 0;
  background: #fafafa;
  position: relative;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.05);
  padding: 8px 16px;
  border-radius: 24px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.badge-icon {
  font-size: 16px;
}

.services-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0 0 24px 0;
}

.title-accent {
  color: #FF0050;
}

.services-description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}

.service-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card.featured {
  border: 2px solid #FF0050;
  transform: scale(1.02);
}

.service-card.featured::before {
  content: 'Популярно';
  position: absolute;
  top: -12px;
  left: 32px;
  background: #FF0050;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.service-icon {
  margin-bottom: 24px;
}

.icon-wrapper {
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.icon-wrapper.primary {
  background: rgba(255, 0, 80, 0.1);
}

.service-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.service-description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #6B7280;
  margin: 0 0 24px 0;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  color: #374151;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  padding-left: 20px;
}

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

.service-features li::before {
  content: '✓';
  color: #10B981;
  font-weight: 700;
  position: absolute;
  left: 0;
}

.services-cta {
  background: #000;
  border-radius: 16px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.services-cta .cta-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.services-cta .cta-description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.services-cta .cta-button {
  background: #FF0050;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', -apple-system, sans-serif;
  white-space: nowrap;
}

.services-cta .cta-button:hover {
  background: #e6004a;
  transform: translateY(-2px);
}

.portfolio {
  padding: 100px 0;
  background: white;
  position: relative;
}

.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.portfolio-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.portfolio-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0 0 24px 0;
}

.portfolio-description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
}

.results-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
  padding: 48px;
  background: #fafafa;
  border-radius: 16px;
}

.stat-card {
  text-align: center;
}

.stat-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.stat-number {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #000;
  display: block;
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  color: #6B7280;
  font-weight: 500;
}

.result-item {
  text-align: center;
  padding: 16px;
  background: rgba(255, 0, 80, 0.05);
  border-radius: 12px;
}

.result-metric {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #FF0050;
  display: block;
  margin-bottom: 4px;
}

.result-label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  color: #374151;
  font-weight: 500;
}

.case-video {
  margin-top: auto;
}

.video-thumbnail {
  width: 100%;
  height: 180px;
  background: linear-gradient(45deg, #FF0050, #25F4EE);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.video-thumbnail:hover {
  transform: scale(1.02);
}

.play-overlay {
  text-align: center;
  color: white;
}

.play-button {
  font-size: 32px;
  display: block;
  margin-bottom: 8px;
}

.play-text {
  font-size: 14px;
  font-weight: 600;
}

.portfolio-cta {
  text-align: center;
  padding: 20px 40px;
  background: #000;
  border-radius: 16px;
  color: white;
}

.portfolio-cta .cta-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.portfolio-cta .cta-description {
  font-family: 'Inter', -apple-system, sans-serif;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 32px 0;
}

.portfolio-cta .cta-button {
  background: #FF0050;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', -apple-system, sans-serif;
}

.portfolio-cta .cta-button:hover {
  background: #e6004a;
  transform: translateY(-2px);
}

.metric-value {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #FF0050;
  display: block;
  margin-bottom: 4px;
}

.metric-label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  color: #6B7280;
}

.platforms-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.platforms-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  color: #6B7280;
}

.platforms-logos {
  display: flex;
  gap: 20px;
}

.platform-logo {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #9CA3AF;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
}

.process {
  padding: 30px 0;
  background: white;
  position: relative;
}

.process-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.process-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
}

.process-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0 0 24px 0;
}

.process-description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
}

.timeline {
  position: relative;
  margin-bottom: 80px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #FF0050, #25F4EE);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: white;
  border: 3px solid #FF0050;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  top: 20px;
}

.marker-number {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #FF0050;
}

.timeline-content {
  width: calc(50% - 60px);
  background: #fafafa;
  border-radius: 16px;
  padding: 32px;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 60px;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 60px;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 32px;
  width: 0;
  height: 0;
  border: 12px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -24px;
  border-left-color: #fafafa;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -24px;
  border-right-color: #fafafa;
}

.timeline-badge {
  display: inline-block;
  background: #FF0050;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.timeline-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.timeline-description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #6B7280;
  margin: 0 0 24px 0;
}

.timeline-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-checklist li {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  color: #374151;
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.timeline-checklist li:last-child {
  border-bottom: none;
}

.timeline-checklist li::before {
  content: '✓';
  color: #10B981;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 8px;
}

.process-features {
  margin-bottom: 80px;
}

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

.feature-card {
  text-align: center;
  padding: 32px 24px;
  background: #fafafa;
  border-radius: 16px;
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}

.feature-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin: 0 0 12px 0;
}

.feature-description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #6B7280;
  margin: 0;
}

.process-guarantee {
  background: linear-gradient(135deg, #000 0%, #1f1f1f 100%);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.guarantee-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.guarantee-icon {
  font-size: 48px;
}

.guarantee-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.guarantee-description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 400px;
}

.guarantee-cta {
  background: #FF0050;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', -apple-system, sans-serif;
  white-space: nowrap;
}

.guarantee-cta:hover {
  background: #e6004a;
  transform: translateY(-2px);
}

.pricing {
  padding: 100px 0;
  background: #fafafa;
  position: relative;
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.pricing-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.pricing-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0 0 24px 0;
}

.pricing-description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  padding: 8px 24px;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.toggle-label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #FF0050;
}

input:checked + .slider:before {
  transform: translateX(30px);
}

.discount-badge {
  background: #10B981;
  color: white;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 12px;
  margin-left: 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 40px 32px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
  border-color: #FF0050;
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #FF0050;
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.card-header {
  text-align: center;
  margin-bottom: 32px;
}

.package-name {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 0 0 8px 0;
}

.package-subtitle {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  color: #6B7280;
  margin: 0;
}

.price-block {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.currency {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #374151;
}

.amount {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #000;
}

.amount.hidden {
  display: none;
}

.period {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  color: #6B7280;
  font-weight: 500;
}

.price-note {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  color: #9CA3AF;
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
}

.feature-icon {
  color: #000000;
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}

.feature-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}

.best-for {
  background: rgba(255, 0, 80, 0.05);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 32px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  color: #374151;
  text-align: center;
}

.package-cta {
  width: 100%;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', -apple-system, sans-serif;
  border: none;
}

.package-cta.primary {
  background: #FF0050;
  color: white;
}

.package-cta.primary:hover {
  background: #e6004a;
  transform: translateY(-2px);
}

.package-cta.secondary {
  background: transparent;
  color: #374151;
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.package-cta.secondary:hover {
  border-color: #FF0050;
  color: #FF0050;
}

.pricing-extras {
  background: white;
  border-radius: 16px;
  padding: 48px;
  margin-bottom: 48px;
}

.extras-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 0 0 32px 0;
  text-align: center;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.extra-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #fafafa;
  border-radius: 12px;
}

.extra-icon {
  font-size: 32px;
}

.extra-name {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
}

.extra-price {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  color: #6B7280;
}

.pricing-guarantee {
  background: #000;
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  color: white;
}

.guarantee-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.guarantee-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 500px;
  margin: 0 auto;
}

/* JavaScript для переключення цін */
.yearly-active .monthly {
  display: none;
}

.yearly-active .yearly {
  display: inline !important;
}

.faq {
  padding: 100px 0;
  background: white;
  position: relative;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
}

.faq-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0 0 24px 0;
}

.faq-description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
}

.faq-content {
  margin-bottom: 80px;
}

.faq-categories {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.category-btn {
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.1);
  color: #6B7280;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-btn:hover,
.category-btn.active {
  background: #FF0050;
  border-color: #FF0050;
  color: white;
}

.faq-lists {
  position: relative;
  min-height: 400px;
}

.faq-list {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-list.active {
  display: block;
  opacity: 1;
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: #FF0050;
}

.faq-question {
  padding: 24px 32px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(255, 0, 80, 0.02);
}

.faq-question h3 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin: 0;
  line-height: 1.4;
  flex: 1;
  padding-right: 20px;
}

.faq-toggle {
  font-size: 24px;
  font-weight: 300;
  color: #FF0050;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 32px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.faq-item.open .faq-answer {
  padding: 0 32px 32px;
  max-height: 1000px;
}

.faq-answer p {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  margin: 16px 0;
}

.faq-answer p:first-child {
  margin-top: 24px;
}

.faq-answer ul {
  margin: 16px 0;
  padding-left: 20px;
}

.faq-answer li {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 8px;
}

.faq-answer strong {
  color: #000;
  font-weight: 600;
}

.faq-cta {
  background: #fafafa;
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-cta .cta-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 0 0 8px 0;
}

.faq-cta .cta-description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  color: #6B7280;
  margin: 0;
}

.faq-cta .cta-actions {
  display: flex;
  gap: 16px;
}

.faq-cta .cta-button {
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', -apple-system, sans-serif;
  border: none;
  white-space: nowrap;
}

.faq-cta .cta-button.primary {
  background: #FF0050;
  color: white;
}

.faq-cta .cta-button.primary:hover {
  background: #e6004a;
  transform: translateY(-2px);
}

.faq-cta .cta-button.secondary {
  background: transparent;
  color: #374151;
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.faq-cta .cta-button.secondary:hover {
  border-color: #FF0050;
  color: #FF0050;
}

.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  position: relative;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
}

.contact-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0 0 24px 0;
}

.contact-description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}

.contact-form-section {
  position: relative;
}

.contact-form {
  background: white;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  display: block;
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  color: #374151;
  transition: all 0.2s ease;
  background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #FF0050;
  box-shadow: 0 0 0 3px rgba(255, 0, 80, 0.1);
}

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

.checkbox-group {
  margin-bottom: 32px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  color: #6B7280;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #FF0050;
  border-color: #FF0050;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 12px;
  font-weight: 700;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.form-submit {
  width: 100%;
  background: #FF0050;
  color: white;
  border: none;
  padding: 18px 32px;
  border-radius: 8px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover {
  background: #e6004a;
  transform: translateY(-2px);
}

.submit-icon {
  transition: transform 0.2s ease;
}

.form-submit:hover .submit-icon {
  transform: translateX(4px);
}

.form-benefits {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.benefit-item {
  text-align: center;
  flex: 1;
}

.benefit-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.benefit-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  color: #6B7280;
  font-weight: 500;
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.methods-title,
.office-title,
.social-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 0 0 24px 0;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.method-icon.telegram {
  background: rgba(0, 136, 204, 0.1);
}

.method-icon.phone {
  background: rgba(34, 197, 94, 0.1);
}

.method-icon.email {
  background: rgba(239, 68, 68, 0.1);
}

.method-label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.method-value {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
}

.method-note {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  color: #9CA3AF;
}

.office-address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.address-icon {
  font-size: 20px;
  margin-top: 2px;
}

.address-line {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}

.office-hours {
  background: #fafafa;
  padding: 20px;
  border-radius: 12px;
}

.hours-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin-bottom: 12px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
}

.hours-days {
  color: #6B7280;
}

.hours-time {
  color: #000;
  font-weight: 500;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #fafafa;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  color: #374151;
}

.social-link:hover {
  background: rgba(255, 0, 80, 0.05);
  transform: translateY(-2px);
}

.social-icon {
  font-size: 16px;
}

.contact-cta {
  background: #000;
  border-radius: 16px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.contact-cta .cta-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.contact-cta .cta-description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.contact-cta .cta-telegram {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0088cc;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.contact-cta .cta-telegram {
  background: #007bb5;
  transform: translateY(-2px);
}

.footer {
  background: #000;
  color: white;
  padding: 60px 0 32px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

.footer-logo {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.footer .footer-brand .brand-text {
  color: white;
}

.footer .footer-brand .brand-accent {
  color: #FF0050;
}

.footer-tagline {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 280px;
}

.footer-stats {
  display: flex;
  gap: 48px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #FF0050;
  display: block;
  margin-bottom: 4px;
}

.footer-stats .stat-label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-nav {
  display: flex;
  gap: 48px;
}

.nav-group {
  display: flex;
  gap: 32px;
}

.footer-link {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.footer-link:hover {
  color: #FF0050;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.contact-primary {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FF0050;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.contact-primary:hover {
  background: #e6004a;
  transform: translateY(-1px);
}

.contact-secondary {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-secondary:hover {
  color: white;
}

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

.footer-legal {
  display: flex;
  align-items: center;
  gap: 24px;
}

.copyright {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.legal-links {
  display: flex;
  gap: 16px;
}

.legal-link {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

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

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* --- Покращення мобільної навігації --- */

/* Приховуємо кнопку "гамбургер" на великих екранах */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001; /* Поверх всього */
  padding: 10px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #000;
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

/* =============================================== */
/* --- ФІНАЛЬНА ВЕРСІЯ МОБІЛЬНИХ СТИЛІВ --- */
/* =============================================== */
@media (max-width: 768px) {
  
  /* --- Навігація --- */
  .nav-container {
    padding: 12px 20px;
  }
  
  /* Ховаємо десктопні посилання і кнопку CTA з хедера */
  .nav-menu .nav-item {
    display: none;
  }
   .nav-menu .nav-item-cta {
    display: list-item; /* Показуємо тільки всередині активного меню */
  }
  
  /* Показуємо іконку гамбургера */
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #000;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
  }
  
  /* Стилізуємо саме меню як оверлей */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 0;
    gap: 20px;
    z-index: 1000;
  }
  
  /* Активний стан мобільного меню */
  .nav-menu.active {
    right: 0;
  }
   /* Показуємо пункти меню, коли воно активне */
  .nav-menu.active .nav-item {
    display: list-item;
  }
  
  .nav-link {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    padding: 15px;
  }
  
  .nav-link::after {
    display: none;
  }

  /* Кнопка CTA всередині мобільного меню */
  .nav-item-cta .cta-button {
    padding: 14px 40px;
    font-size: 16px;
  }
  
  /* Анімація іконки "гамбургер" в "хрестик" */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Заборона скролу тіла, коли меню відкрите */
  body.no-scroll {
      overflow: hidden;
  }

  /* --- Секція Hero --- */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-top: 60px;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
  }

  /* ЦЕ ГОЛОВНИЙ ФІКС! Ховаємо блок, що створював скрол */
  .floating-metrics {
    display: none;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* --- Інші секції --- */
  .services-grid, .cases-grid, .testimonials-grid, .pricing-grid, .extras-grid, .social-grid {
    grid-template-columns: 1fr;
  }

  .services-title, .portfolio-title, .testimonials-title, .process-title, .pricing-title, .faq-title, .contact-title {
    font-size: 32px;
  }

  .service-card, .case-card, .testimonial-card, .pricing-card {
    padding: 24px;
  }

  .service-card.featured, .pricing-card.featured {
    transform: none;
  }

  .case-card.featured, .testimonial-card.featured {
    grid-row: span 1;
  }

  .services-cta, .faq-cta, .contact-cta, .process-guarantee {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 32px 24px;
  }

  .services-cta .cta-button, .faq-cta .cta-actions, .guarantee-cta, .contact-cta .cta-telegram {
    width: 100%;
  }

   .faq-cta .cta-actions {
    flex-direction: column;
   }

  .results-stats {
    grid-template-columns: 1fr 1fr;
    padding: 32px 24px;
  }

  .portfolio-cta {
    padding: 20px 24px;
  }

  .proof-stats, .platforms-row {
    flex-direction: column;
    gap: 24px;
  }
   
  .social-proof {
    padding: 32px 24px;
  }
  
    .stat-item {
    white-space: nowrap;
    flex-shrink: 0;
  }

    .faq-question {
    padding: 24px 20px; /* Зменшили горизонтальні відступи з 32px до 20px */
  }

    .faq-item.open .faq-answer {
    padding: 0 20px 24px; /* Так само зменшили відступи для тексту відповіді */
  }
  /* --- Процес --- */
/* ---- ПРОЦЕС: мобільна версія (фікс) ---- */
/* === МОБІЛЬНИЙ ТАЙМЛАЙН: ФІКС 60 px === */
@media (max-width: 768px) {

  /* 1. Лінія й маркери строго по центру */
  .timeline::before,
  .timeline-marker {
    left: 30px;                /* ½ маркера (60 px) */
  }

  /* 2. Забираємо внутрішній padding */
  .timeline-item { padding-left: 0; }

  /* 3. Усі картки — однакові:
        • зліва 60 px місця під лінію,
        • справа — нуль,
        • ширина = 100 % мінус ці 60 px */
  .timeline-content {
    width: calc(100% - 60px);
    margin: 0 0 0 60px;        /* top right bottom left */
    box-sizing: border-box;    /* раптом буде власний padding */
  }

  /* 4. Перекриваємо старі margin-right */
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-right: 0 !important;
  }

  /* 5. Стрілочка-«хвостик" тільки зліва */
  .timeline-content::before {
    left: -20px !important;
    right: auto !important;
    border-right-color: #fafafa !important;
    border-left-color: transparent !important;
  }
}
  
  /* --- Контакти --- */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
   
  .contact-form {
    padding: 32px 24px;
  }
   
  .form-benefits {
    flex-direction: row;
    gap: 16px;
    justify-content: space-around;
  }
   
  .benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  /* --- Футер --- */
  .footer-main, .footer-content, .footer-bottom {
      flex-direction: column;
      gap: 32px;
      align-items: center;
      text-align: center;
  }
  .footer-stats { justify-content: center; gap: 40px;}
  .footer-nav { flex-direction: column; gap: 20px;}
  .nav-group { justify-content: center; flex-wrap: wrap; gap: 20px;}
  .footer-contact { align-items: center; }
  .footer-legal { flex-direction: column; gap: 12px; }
}

/* 1 */
.navbar{
  height:60px;                    /* одна высота для всего бара */
}

/* 2 */
.nav-container{
  height:100%;                    /* тянем контейнер на всю высоту */
}

/* 3 */
.nav-menu{
  align-items:center;             /* все li/ссылки по центру */
}

/* 4 */
.nav-link,
.navbar .cta-button{
  height:100%;                    /* кликабельная зона = вся шапка */
  display:flex;
  align-items:center;
}

/* Hover-ефекти для кнопок */
.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 0, 80, 0.3);
}

.portfolio-cta. primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 0, 80, 0.3);
  background: #ff0000;
}

/* Анімація статистики */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Parallax для фонових елементів */
.hero-visual::before {
  background: linear-gradient(135deg, #FF0050 0%, #25F4EE 100%);
  animation: float 6s ease-in-out infinite;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 0, 80, 0.15) 0%, rgba(255, 0, 80, 0) 70%);
  transform: translate(-50%, -50%);
  z-index: -1; /* Позаду мокапу */
}

/* === Гарантія результату: mobile-friendly візитка === */
@media (max-width: 768px) {

  /* Батьківський блок уже стоїть “column”, тож лише вирівнюємо */
  .process-guarantee {               /* <- чорна картка */
    gap: 24px;                       /* трохи повітря між частинами */
    text-align: center;
  }

  /* Ставимо іконку над текстом, а не ліворуч */
  .guarantee-content {
    flex-direction: column;          /* була row */
    align-items: center;             /* по центру */
    gap: 16px;                       /* відступ між щитом і текстом */
  }

    /* ДОДАЙТЕ ЦЕ ПРАВИЛО НИЖЧЕ */
  .guarantee-text {
    text-align: center;
  }

  .guarantee-icon {
    font-size: 64px;                 /* більший “щит” видно краще */
  }


  /* Кнопка на всю ширину картки */
  .guarantee-cta {
    width: 100%;
  }
}

/* Трохи “підсвітимо” картку і на десктопі / планшеті */
.process-guarantee {
  background: radial-gradient(circle at top left, #1a1a1a 0%, #000 100%);
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.social-list { list-style: none; padding: 0; margin: 0; }


.social-list i {       /* самі значки */
  font-size: 18px;
  width: 22px;         /* фіксована ширина, щоб текст було рівно */
  text-align: center;
  color: #374151;      /* можна задати кольори під бренд */
}

/* компактний рядок іконок у контактах */
.social-icons{
  display:flex;
  gap:16px;
}

.icon-link{
  width:44px;          /* квадратна кнопка-плитка */
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fafafa;
  border-radius:8px;
  font-size:18px;
  color:#374151;
  text-decoration:none;
  transition:background .2s, transform .2s;
}

.icon-link:hover{
  background:rgba(255,0,80,.05);
  transform:translateY(-2px);
}

.icon-link i{
  font-size:20px;
  color:#374151; /* темно-сірий, як увесь текст у контактах */
}

/* === ОНОВЛЕНИЙ І АДАПТИВНИЙ СТИЛЬ СЕКЦІЇ "ПРОЦЕСС" === */

.process {
  padding: 100px 0;
  background: white;
  position: relative;
  overflow-x: hidden;
}

.process-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.process-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
}

.process-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0 0 24px 0;
}

.process-description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
}

/* --- Стилизація Таймлайну --- */
.timeline {
  position: relative;
  margin: 0 auto;
  padding: 0 0 40px; /* Прибираємо верхній відступ */
  width: 100%;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 52px; /* Починаємо лінію з центру першого маркера (20px top + 32px половина висоти) */
  bottom: 0;
  width: 4px;
  background-color: #f0f2f5;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.06);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  position: relative;
  width: calc(50% - 40px); /* Ширина карточки мінус відступ від центру */
  padding: 32px;
  background: #fafafa;
  border: 1px solid #f0f2f5;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-content {
   transform: translateY(-5px);
   box-shadow: 0 15px 30px rgba(0, 0, 0, 0.07);
}

/* Розташування карточок зліва та справа */
.timeline-item:nth-child(odd) .timeline-content {
  float: left;
  text-align: right; /* Вирівнювання тексту */
}

.timeline-item:nth-child(even) .timeline-content {
  float: right;
}

/* Стрілочки-хвостики */
.timeline-content::after {
  content: '';
  position: absolute;
  top: 32px;
  width: 0;
  height: 0;
  border: 12px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::after {
  right: -24px;
  border-left-color: #fafafa;
}

.timeline-item:nth-child(even) .timeline-content::after {
  left: -24px;
  border-right-color: #fafafa;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border: 4px solid white;
  box-shadow: 0 5px 25px rgba(255, 0, 80, 0.25);
  transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  transform: translateX(-50%) scale(1.05);
}

.marker-number {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(45deg, #FF0050, #ff5c93);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Очищення float */
.timeline-item::after {
  content: "";
  display: table;
  clear: both;
}

/* Стилі всередині карточки (залишаються без змін) */
.timeline-badge, .timeline-title, .timeline-description, .timeline-checklist {
  text-align: left; /* Завжди вирівнюємо по лівому краю всередині */
}
.timeline-badge { display: inline-block; background: #FF0050; color: white; padding: 6px 14px; border-radius: 16px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.timeline-title { font-size: 24px; font-weight: 700; color: #000; margin: 0 0 16px 0; }
.timeline-description { font-size: 16px; line-height: 1.5; color: #6B7280; margin: 0 0 24px 0; }
.timeline-checklist { list-style: none; padding: 0; margin: 0; }
.timeline-checklist li { font-size: 15px; color: #374151; padding: 10px 0 10px 24px; position: relative; border-bottom: 1px solid rgba(0, 0, 0, 0.04); }
.timeline-checklist li:last-child { border-bottom: none; }
.timeline-checklist li::before { content: '✓'; color: #10B981; font-weight: 700; position: absolute; left: 0; top: 10px; }


/* === КЛЮЧОВИЙ ФІКС ДЛЯ МОБІЛЬНИХ === */
@media (max-width: 768px) {
  /* 1. Зміщуємо лінію вліво */
  .timeline::before {
    left: 20px; /* Фіксований відступ зліва */
    transform: translateX(0);
  }

  /* 2. Всі карточки розташовуємо справа від лінії */
  .timeline-item {
      margin-bottom: 30px;
  }
  
  .timeline-content {
    width: 100%; /* Карточка займає всю доступну ширину */
    float: right; /* Завжди справа */
    padding: 24px;
    padding-left: 50px; /* Залишаємо місце для лінії та маркера */
  }

  /* 3. Переміщуємо маркери на ліву лінію */
  .timeline-marker {
    left: 20px; /* Такий самий відступ, як у лінії */
    transform: translateX(-50%); /* Центруємо маркер відносно лінії */
    width: 50px;
    height: 50px;
  }
  
  .marker-number{
      font-size: 16px;
  }
  
  /* 4. Карточки більше не мають вирівнювання праворуч */
  .timeline-item:nth-child(odd) .timeline-content {
    text-align: left;
  }
  
  /* 5. Налаштовуємо хвостики, щоб вони вказували на ліву лінію */
  .timeline-content::after {
    left: -24px;
    right: auto;
    border-right-color: #fafafa;
    border-left-color: transparent;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after {
     left: -24px;
     right: auto;
     border-right-color: #fafafa;
     border-left-color: transparent;
  }
  
}

/*
  ========================================
  СТИЛІ ДЛЯ ВІДЖЕТА ПОРІВНЯННЯ ПЛАТФОРМ
  ========================================
*/

/* --- Стилі для десктопа --- */
.platform-advantages {
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  width: 420px;
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 3;
  transition: all 0.3s ease;
  animation: slideInAdvantages 0.8s ease-out 0.6s both;
}

.platform-advantages:hover {
  transform: translateY(-50%) translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.advantages-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.advantages-header h4 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.advantages-header p {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  color: #6B7280;
  margin: 0;
}

.comparison-metrics {
  margin-bottom: 32px;
}

.metric-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.platform-label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.platform-label.tiktok {
  background: rgba(255, 0, 80, 0.1);
  color: #FF0050;
}

.platform-label.traditional {
  background: rgba(0, 0, 0, 0.05);
  color: #6B7280;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px;
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.metric-row:hover {
  background: rgba(255, 0, 80, 0.02);
  border-color: rgba(255, 0, 80, 0.1);
}

.metric-row:last-child {
  margin-bottom: 0;
}

.metric-item {
  text-align: center;
  padding: 12px;
  background: white;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.metric-item.winner {
  border: 1px solid rgba(255, 0, 80, 0.2);
  background: rgba(255, 0, 80, 0.02);
}

.metric-item.loser {
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0.7;
}

.metric-item .metric-value {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.metric-item.winner .metric-value {
  color: #FF0050;
}

.metric-item.loser .metric-value {
  color: #6B7280;
}

.metric-item .metric-label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 11px;
  color: #6B7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vs-indicator {
  width: 24px;
  height: 24px;
  background: #FF0050;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 0, 80, 0.3);
}

.advantages-summary {
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.advantage-point {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: rgba(255, 0, 80, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 0, 80, 0.08);
}

.advantage-point:last-child {
  margin-bottom: 0;
}

.advantage-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.advantage-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  color: #374151;
  font-weight: 500;
}

@keyframes slideInAdvantages {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}


/* --- Адаптивні стилі для мобільних пристроїв --- */
@media (max-width: 768px) {
  .platform-advantages {
    /* Повертаємо блок у звичайний потік сторінки */
    position: static;
    transform: none;
    
    /* Центруємо та додаємо відступ зверху */
    width: 100%;
    max-width: 420px; 
    margin: 40px auto 0;
    
    /* Скидаємо позиціонування */
    top: auto;
    right: auto;
    z-index: auto;
    animation: none; /* Вимикаємо анімацію на мобільних */
  }

  .platform-advantages:hover {
    transform: translateY(-2px); /* Спрощений hover-ефект */
  }

  /* Трохи зменшуємо елементи всередині для компактності */
  .advantages-header h4 {
    font-size: 18px;
  }
  .metric-row {
    padding: 12px;
    gap: 12px;
  }
  .metric-item .metric-value {
    font-size: 16px;
  }
  .vs-indicator {
    width: 20px;
    height: 20px;
    font-size: 9px;
  }
}


/* ================================================== */
/* ФІНАЛЬНІ СТИЛІ ДЛЯ СЕКЦІЇ "ЧОМУ МИ" (BENTO)   */
/* ================================================== */
.why-us-final {
  padding: 120px 0;
  background-color: #fdfdff;
  display: flex;
  justify-content: center;
}

.why-us-final-container {
  max-width: 1200px;
  width: 100%;
  padding: 0 24px;
}

/* Header styles for this section */
.why-us-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

/* ================================================== */
/* СТИЛІ ДЛЯ СЕКЦІЇ "ДЛЯ КОГО МИ"           */
/* ================================================== */
.who-for-section {
  padding: 30px 0;
  background-color: #fdfdff;
}

.who-for-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.target-card {
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.target-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 30, 50, 0.08);
  border-color: #FF0050;
}

.target-card-icon {
  font-size: 28px;
  color: #FF0050;
  margin-bottom: 24px;
  width: 56px;
  height: 56px;
  background-color: rgba(255, 0, 80, 0.07);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.target-card-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 16px 0;
}

.target-card-challenge {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.target-card-challenge p,
.target-card-solution p {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
}

.target-card-challenge p strong,
.target-card-solution p strong {
  color: #374151;
  font-weight: 600;
}

.target-card-solution {
  margin-top: auto; /* Притискає блок з рішенням до низу картки, якщо висота різна */
}

/* Адаптивність */
@media (max-width: 992px) {
  .target-grid {
    grid-template-columns: 1fr; /* На планшетах та мобільних буде одна колонка */
    gap: 32px;
  }
}

/* ======================================================= */
/* СТИЛІ ДЛЯ СЕКЦІЇ РЕЗУЛЬТАТІВ V7 (REFINED EDITORIAL) */
/* ======================================================= */

.showcase-stats {
    padding: 30px 0;
    background-color: #ffffff;
}

.showcase-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px; /* Більше простору між колонками */
    row-gap: 48px;
    margin-top: 80px;
}

.showcase-item {
    position: relative;
}

.item-content {
    padding-bottom: 24px;
}

.main-stat-text {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.stat-highlight {
    color: #FF0050; /* Повертаємо акцентний колір для цифр */
    font-weight: 800;
}

.sub-stat-text {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 16px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

/* Анімований розділювач */
.animated-divider {
    height: 3px;
    width: 100%;
    background-color: #f0f0f0; /* Основна лінія */
    position: relative;
    overflow: hidden;
}

.animated-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #FF0050; /* Акцентна лінія */
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.showcase-item:hover .animated-divider::after {
    width: 40%; /* Анімація заповнення на 40% */
}


/* Адаптивність */
@media (max-width: 992px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-stat-text {
        font-size: 18px;
    }
    .sub-stat-text {
        font-size: 15px;
    }
}

/* ================================================== */
/* СТИЛІ ДЛЯ СЕКЦІЇ БЛОГУ                       */
/* ================================================== */

.blog-section {
    padding: 15px 0;
    background-color: #fdfdff;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.blog-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.blog-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 60px;
}

.blog-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 30, 50, 0.08);
}

.card-image-link {
    display: block;
    overflow: hidden;
}

.card-image-link img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

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

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
}

.card-category {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    background-color: rgba(255, 0, 80, 0.1);
    color: #FF0050;
    border-radius: 20px;
}

.card-date {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6B7280;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px 0;
    flex-grow: 1;
}

.card-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-title a:hover {
    color: #FF0050;
}

.card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #6B7280;
    margin: 0 0 24px 0;
}

.read-more-link {
    font-weight: 600;
    color: #FF0050;
    text-decoration: none;
    margin-top: auto;
    align-self: flex-start;
}

.read-more-link:hover {
    text-decoration: underline;
}

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

/* Адаптивність для блогу */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================== */
/* СТИЛІ ДЛЯ СЕКЦІЇ БЛОГУ                  */
/* ================================================== */
/* ================================================== */
/* ОНОВЛЕНІ СТИЛІ ДЛЯ СЕКЦІЇ БЛОГУ (v.3)      */
/* ================================================== */


.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.blog-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.blog-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px; /* Відстань між картками */
    margin-bottom: 60px;
}

.blog-card {
    background: white;
    border: 1px solid #eef0f3; /* Трохи помітніша, але м'яка рамка */
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    /* Плавний перехід для всіх властивостей */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Базова тінь, ледь помітна */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    flex-basis: 360px; /* Базова ширина картки */
    max-width: 360px;
}

.blog-card:hover {
    /* Більш витончений ефект при наведенні */
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(30, 30, 50, 0.08);
    border-color: #e5e7eb;
}

/* --- ФІНАЛЬНІ СТИЛІ ДЛЯ ЗОБРАЖЕНЬ В КАРТКАХ БЛОГУ --- */

.card-image-link {
    display: block;
    overflow: hidden;
    /* Задаємо чіткі пропорції 2 до 1 */
    aspect-ratio: 2 / 1;
    background-color: #f0f0f0; /* Фон на випадок помилки завантаження */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.card-image-link img {
    width: 100%;
    height: 100%;
    /* Цей режим тепер працюватиме ідеально, бо пропорції збігаються */
    object-fit: cover; 
    transition: transform 0.4s ease;
}

.blog-card:hover .card-image-link img {
    transform: scale(1.05); /* Збільшення картинки при наведенні */
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Дозволяє текстовому блоку зайняти весь вільний простір */
}

.card-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.card-category {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    background-color: rgba(255, 0, 80, 0.08);
    color: #FF0050;
    border-radius: 20px;
}

.card-date {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6B7280;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px 0;
    /* Дозволяє заголовку зайняти необхідний простір, але не більше */
    flex-grow: 1; 
}

.card-title a {
    color: #111827; /* Трохи м'якіший чорний */
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-title a:hover {
    color: #FF0050;
}

.card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #4B5563; /* Трохи темніший сірий для кращої читабельності */
    margin: 0 0 24px 0;
}

.read-more-link {
    font-weight: 600;
    color: #FF0050;
    text-decoration: none;
    margin-top: auto; /* Завжди притискає посилання донизу картки */
    align-self: flex-start;
    transition: color 0.2s ease;
}

.read-more-link:hover {
    text-decoration: underline;
}

.blog-footer {
    text-align: center;
}
/* Адаптивність для блогу */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================== */
/* СТИЛІ ДЛЯ СТОРІНКИ СТАТТІ                */
/* ================================================== */

.article-page {
    padding-top: 100px; /* Відступ від фіксованої навігації */
    padding-bottom: 100px;
    background: white;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.article-category-tag {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    background-color: rgba(255, 0, 80, 0.1);
    color: #FF0050;
    border-radius: 20px;
}

.article-publish-date {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6B7280;
}

.article-title {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #000;
    margin: 0 0 24px 0;
}

.article-lead {
    font-size: 18px;
    line-height: 1.6;
    color: #6B7280;
    max-width: 650px;
    margin: 0 auto;
}

.article-main-image {
    margin: 0 0 60px 0;
    border-radius: 16px;
    overflow: hidden;
}

.article-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-main-image figcaption,
.article-content figcaption {
    font-size: 14px;
    color: #9CA3AF;
    text-align: center;
    margin-top: 12px;
}

.article-content {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #374151;
}

.article-content p {
    margin-bottom: 1.5em;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 1.2;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.article-content a {
    color: #FF0050;
    text-decoration: underline;
    transition: color 0.2s;
}

.article-content a:hover {
    color: #000;
}

.article-content strong {
    font-weight: 600;
    color: #000;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.article-content li {
    margin-bottom: 0.5em;
}

.article-content blockquote {
    margin: 2em 0;
    padding: 1em 1.5em;
    border-left: 4px solid #FF0050;
    background-color: #fafafa;
    font-style: italic;
    font-size: 18px;
    color: #374151;
}

.article-content figure {
    margin: 2em 0;
}

.article-content figure img {
    width: 100%;
    border-radius: 12px;
}

.article-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}

.back-to-blog-btn {
    display: inline-block;
    background: #fafafa;
    color: #374151;
    border: 1px solid #e5e7eb;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.back-to-blog-btn:hover {
    border-color: #FF0050;
    color: #FF0050;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .article-title {
        font-size: 36px;
    }
    .article-content {
        font-size: 16px;
    }
    .article-content h2 {
        font-size: 28px;
    }
}

.blog-card {
  /* ... ваші існуючі стилі ... */
  opacity: 0;
  transform: translateY(40px);
}

.blog-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================== */
/* СТИЛІ ДЛЯ СТОРІНКИ АРХІВУ БЛОГУ         */
/* ================================================== */

.blog-archive-page {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: #fdfdff;
}

/* Використовуємо ті самі стилі, що й для інших секцій */
.blog-archive-page .blog-header {
    margin-bottom: 60px;
}

/* Зробимо сітку більш гнучкою для великої кількості статей */
.blog-archive-page .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

/* ======================================================= */
/* ✨ СТИЛЬ ДЛЯ ВЕЛИКИХ, АКЦЕНТНИХ ЗОБРАЖЕНЬ В СТАТТЯХ */
/* ======================================================= */

/* Стиль для "широких" зображень, що виходять за межі тексту */
.article-content .figure-wide {
    /* Робимо блок ширшим за основний контейнер тексту (800px) */
    max-width: 1100px; 
    
    /* Магія центрування широкого блоку */
    width: calc(100% + 80px); 
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    
    margin-top: 4em;
    margin-bottom: 4em;
}

/* Підпис для широкого зображення також центруємо */
.article-content .figure-wide figcaption {
    max-width: 800px; /* Обмежуємо ширину підпису шириною тексту */
    margin-left: auto;
    margin-right: auto;
}

/* Add this new class to your styles.css file */
.btn-primary-nav {
  background: #000;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', -apple-system, sans-serif;
  text-decoration: none; /* Ensures the link doesn't have an underline */
  display: inline-block; /* Ensures padding and other styles apply correctly */
}

.btn-primary-nav:hover {
  background: #1f1f1f;
  transform: translateY(-2px);
}

/* =================================== */
/* СТИЛІ ДЛЯ ЛОГОТИПА В НАВІГАЦІЇ   */
/* =================================== */

.nav-brand img {
  height: 150px;      /* <-- Встановлюємо висоту логотипа. Можете змінити за потреби. */
  width: auto;       /* <-- Ширина налаштується автоматично, щоб зберегти пропорції. */
  display: block;    /* <-- Прибирає можливі технічні відступи під зображенням. */
  vertical-align: middle; /* Додатково центруємо по вертикалі */
}

/* ===== UNISON PARTNERS • ISOLATED PRICING 2.0 ===== */
:root{
  --up-accent-from:#ff0080;
  --up-accent-to:#ff0050;
  --up-bg:#fdfdfd;
  --up-dark:#0f172a;
  --up-muted:#6b7280;
  --up-radius:18px;
  --up-glass:rgba(255,255,255,.75);
}
.up-pricing-section{
  padding:30px 0;
  background:var(--up-bg);
  font-family:'Inter',sans-serif;
}
.up-wrap{max-width:1180px;margin:auto;padding:0 24px;}

.up-pricing-header{text-align:center;max-width:640px;margin:0 auto 70px;}
.up-title{font-size:44px;font-weight:800;color:var(--up-dark);margin:0;}
.up-accent{background:linear-gradient(90deg,var(--up-accent-from),var(--up-accent-to));-webkit-background-clip:text;color:transparent;}
.up-subtitle{font-size:18px;color:var(--up-muted);margin-top:18px;}

.up-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(310px,1fr));
  gap:36px;
}

/* ─── Card ─────────────────────────────────────── */
.up-card{
  position:relative;
  background:var(--up-glass);
  border:1px solid rgba(255,255,255,.4);
  border-radius:var(--up-radius);
  padding:46px 34px;
  text-align:center;
  box-shadow:0 18px 48px rgba(0,0,0,.08);
  backdrop-filter:blur(14px);
  transition:.35s cubic-bezier(.25,.8,.25,1);
}
.up-card:hover{transform:translateY(-8px) scale(1.02);}

.up-popular{border:2px solid var(--up-accent-to);box-shadow:0 8px 40px rgba(255,0,80,.25);}
.up-badge{
  position:absolute;top:-15px;left:50%;transform:translateX(-50%);
  background:linear-gradient(90deg,var(--up-accent-from),var(--up-accent-to));
  color:#fff;font-size:12px;font-weight:700;
  padding:5px 16px;border-radius:14px;
}

.up-name{font-size:26px;font-weight:700;color:var(--up-dark);margin:0 0 6px;}
.up-tag{font-size:14px;color:var(--up-muted);margin:0 0 26px;}

.up-price{font-size:40px;font-weight:800;margin-bottom:26px;line-height:1.05;letter-spacing:-.02em;}
.up-currency{font-size:.6em;vertical-align:super;margin-right:2px;}
.up-period{display:block;font-size:14px;font-weight:600;color:var(--up-muted);}

.up-features{list-style:none;padding:0;margin:0 0 34px;text-align:left;}
.up-features li{padding:9px 0;font-size:15px;color:var(--up-dark);
  border-bottom:1px solid rgba(0,0,0,.05);}
.up-features li:last-child{border:none;}

.up-btn{
  display:inline-block;width:100%;padding:16px 0;
  font-size:16px;font-weight:600;text-decoration:none;text-align:center;
  border-radius:14px;border:2px solid var(--up-accent-to);
  color:var(--up-accent-to);background:transparent;transition:.25s;
}
.up-btn:hover{background:linear-gradient(90deg,var(--up-accent-from),var(--up-accent-to));color:#fff;}

.up-btn--primary{
  background:linear-gradient(90deg,var(--up-accent-from),var(--up-accent-to));
  color:#fff;
}
.up-btn--primary:hover{filter:brightness(1.08);}

@media(max-width:640px){
  .up-title{font-size:32px;}
  .up-card{padding:36px 26px;}
}

/* Покращені стилі для "підвалу" сайту (футера) */

/* Основний блок футера (лого + соцмережі) */
.footer-main {
  display: flex;
  justify-content: space-between; /* Розносимо елементи по боках */
  align-items: center; /* Вирівнюємо по центру по вертикалі */
  flex-wrap: wrap; /* Дозволяємо переноситись на мобільних */
  gap: 20px;
}

/* Стилі для логотипа у футері */
.footer-logo img {
  height: 150px; /* Ви можете змінити цю висоту */
  width: auto;
  display: block;
}

/* Новий блок з іконками соцмереж */
.footer-social {
  text-align: right; /* Вирівнюємо праворуч на десктопі */
}

.social-title {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.social-icons-wrapper {
  display: flex;
  gap: 12px; /* Відстань між іконками */
  justify-content: flex-end;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%; /* Робимо іконки круглими */
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon-link:hover {
  background-color: #FF0050; /* Використовуємо ваш фірмовий колір */
  transform: translateY(-2px); /* Ефект підйому при наведенні */
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column; /* Ставимо лого та іконки одне під одним */
    align-items: center; /* Центруємо все */
    gap: 30px;
  }

  .footer-brand, .footer-social {
    text-align: center; /* Центруємо текст */
  }

  .social-icons-wrapper {
    justify-content: center; /* Центруємо іконки */
  }
  .footer-brand {
  display: flex;          /* Робимо блок гнучким */
  flex-direction: column; /* Розташовуємо елементи один під одним */
  align-items: center;    /* Вирівнюємо все по центру по горизонталі */
  text-align: center;     /* Додатково центруємо текст для надійності */
}
}

/* Стилі для логотипа-зображення в футері */
.footer-logo {
  margin-bottom: 12px; /* Відступ між логотипом та слоганом під ним */
}

.footer-logo img {
  display: block; /* Прибирає зайві відступи під зображенням */
  height: 100px;   /* Встановлюємо висоту. Можете змінити це значення */
  width: auto;    /* Зберігаємо пропорції зображення */
}

/* --- СТИЛІ ДЛЯ АНІМАЦІЇ КАРТОК "ДЛЯ КОГО МИ" --- */

.target-card {
  /* ... ваші існуючі стилі ... */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.target-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Додатковий ефект затримки для кожної картки */
.target-card:nth-child(2) {
  transition-delay: 0.1s;
}
.target-card:nth-child(3) {
  transition-delay: 0.2s;
}

/* --- АНІМАЦІЯ ДЛЯ СЕКЦІЇ РЕЗУЛЬТАТІВ ("ЧОМУ МИ") --- */

.showcase-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.showcase-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Створюємо ефект послідовної появи для кожного елемента */
.showcase-item:nth-child(2) { transition-delay: 0.1s; }
.showcase-item:nth-child(3) { transition-delay: 0.15s; }
.showcase-item:nth-child(4) { transition-delay: 0.25s; }
.showcase-item:nth-child(5) { transition-delay: 0.3s; }
.showcase-item:nth-child(6) { transition-delay: 0.4s; }

/* --- АНІМАЦІЯ ДЛЯ ТАРИФНИХ ПЛАНІВ --- */

/* Задаємо початковий стан для анімації */
.up-card {
  /* ... існуючі стилі ... */
  opacity: 0;
  transform: translateY(40px);
  /* Переконуємось, що перехід застосовується до всіх властивостей */
  transition: all .35s cubic-bezier(.25,.8,.25,1);
}

/* Стан, коли картка видима на екрані */
.up-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Коли картка видима І на неї наводять курсор */
.up-card.is-visible:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Невеликі затримки для послідовної появи */
.up-grid .up-card:nth-child(2) {
  transition-delay: 0.1s;
}
.up-grid .up-card:nth-child(3) {
  transition-delay: 0.2s;
}

/* --- АНІМАЦІЯ ДЛЯ FAQ --- */

/* Початковий стан для анімації питань */
.faq-item {
  /* ... ваші існуючі стилі ... */
  opacity: 0;
  transform: translateY(30px);
  /* Переконуємось, що перехід застосовується до всіх властивостей */
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, border-color 0.2s ease;
}

/* Кінцевий стан після появи на екрані */
.faq-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Затримка для послідовної появи (можете додати більше, якщо питань багато) */
.faq-list .faq-item:nth-child(2) { transition-delay: 0.1s; }
.faq-list .faq-item:nth-child(3) { transition-delay: 0.2s; }
.faq-list .faq-item:nth-child(4) { transition-delay: 0.3s; }

/* --- АНІМАЦІЯ ДЛЯ КОНТАКТНОЇ СЕКЦІЇ --- */

/* Початковий стан для форми (зліва) */
.contact-form-section {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* Початковий стан для інфо-блоку (справа) */
.contact-info-section {
  opacity: 0;
  transform: translateX(40px);
  /* Зробимо затримку для красивішого ефекту */
  transition: opacity 0.7s ease-out 0.2s, transform 0.7s ease-out 0.2s;
}

/* Кінцевий, видимий стан для обох блоків */
.contact-form-section.is-visible,
.contact-info-section.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== UNISON PARTNERS • ISOLATED PRICING 3.0 (REFINED) ===== */
:root {
  --up-accent-from: #ff0080;
  --up-accent-to: #ff0050;
  --up-dark: #0f172a;
  --up-muted: #6b7280;
  --up-radius: 18px;
}

.up-pricing-section {
  padding: 100px 0;
  background: #fafafa; /* Змінено фон на солідний, як у інших секціях */
  font-family: 'Inter', sans-serif;
}

.up-wrap {
  max-width: 1200px; /* Змінено для сумісності з каруселлю */
  margin: auto;
  padding: 0 24px;
}

.up-pricing-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 70px;
}

.up-title {
  font-size: 44px;
  font-weight: 700; /* Змінено з 800 на 700 для відповідності заголовкам */
  color: var(--up-dark);
  margin: 0;
}

.up-accent {
  background: linear-gradient(90deg, var(--up-accent-from), var(--up-accent-to));
  -webkit-background-clip: text;
  color: transparent;
}

.up-subtitle {
  font-size: 18px;
  color: var(--up-muted);
  margin-top: 18px;
}

/* --- Card Styles --- */
.up-card {
  position: relative;
  background: white; /* Змінено фон на білий */
  border: 1px solid #eef0f3; /* Додано м'яку рамку */
  border-radius: var(--up-radius);
  padding: 46px 34px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* Змінено тінь на більш м'яку */
  transition: .35s cubic-bezier(.25,.8,.25,1);
  display: flex;
  flex-direction: column;
}

.up-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(30,30,50,0.08); /* Покращена тінь при наведенні */
}

.up-popular {
  border: 2px solid var(--up-accent-to);
  transform: scale(1.03); /* ВИДІЛЕННЯ: картка трохи більша за замовчуванням */
  z-index: 5;
}

.up-popular:hover {
  transform: translateY(-5px) scale(1.05); /* Покращений ефект наведення */
}

.up-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--up-accent-from), var(--up-accent-to));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 14px;
}

.up-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--up-dark);
  margin: 0 0 6px;
}

.up-tag {
  font-size: 14px;
  color: var(--up-muted);
  margin: 0 0 26px;
}

.up-price {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 26px;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--up-dark);
}

.up-currency {
  font-size: .6em;
  vertical-align: super;
  margin-right: 2px;
}

.up-period {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--up-muted);
}

.up-features {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  text-align: left;
  flex-grow: 1; /* ФІКС: список розтягується, вирівнюючи кнопки */
}

.up-features li {
  padding: 9px 0;
  font-size: 15px;
  color: var(--up-dark);
  border-bottom: 1px solid rgba(0,0,0,.05);
}

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

.up-btn {
  display: inline-block;
  width: 100%;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-radius: 14px;
  border: 2px solid var(--up-accent-to);
  color: var(--up-accent-to);
  background: transparent;
  transition: .25s;
}

.up-btn:hover {
  background: linear-gradient(90deg, var(--up-accent-from), var(--up-accent-to));
  color: #fff;
  border-color: transparent;
}

.up-btn--primary {
  background: linear-gradient(90deg, var(--up-accent-from), var(--up-accent-to));
  color: #fff;
}

.up-btn--primary:hover {
  filter: brightness(1.08);
}

@media(max-width: 640px) {
  .up-title { font-size: 32px; }
  .up-card { padding: 36px 26px; }
  .up-popular { transform: none; } /* Прибираємо ефект збільшення на мобільних для плавності */
  .up-grid .up-card { flex-basis: 85%; } /* Картка займає 85% екрану, щоб було видно наступну */
}

/* --- СТИЛІ ДЛЯ КАРУСЕЛІ ТАРИФІВ --- */
.up-carousel-wrapper {
  position: relative;
  margin: 0 -12px;
}

.up-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 30px 12px 20px; /* <-- НА ЦЕЙ ОНОВЛЕНИЙ РЯДОК */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.up-grid::-webkit-scrollbar {
  display: none;
}

.up-grid .up-card {
  flex: 0 0 90%;
  scroll-snap-align: center;
  margin: 0 12px;
}

@media (min-width: 640px) {
  .up-grid .up-card {
    flex-basis: 340px;
  }
}

.up-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  z-index: 10;
  display: none;
}

.up-carousel-btn:hover {
  background-color: #FF0050;
  color: white;
  border-color: #FF0050;
  transform: translateY(-50%) scale(1.05);
}

.up-carousel-btn.prev { left: -22px; }
.up-carousel-btn.next { right: -22px; }

@media (min-width: 1024px) {
  .up-carousel-btn { display: block; }
  .up-carousel-wrapper { margin: 0; }
  .up-grid { padding: 30px 0 20px; } /* Збільшуємо верхній відступ і тут */
}