/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: #223;
  background: #FBFCFD;
  line-height: 1.5;
}
:root{
  --accent-1: #2bb3a7;
  --accent-2: #4b84e6;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --section-bg: #f6f8fb;
  --radius: 14px;
  --shadow-soft: 0 6px 20px rgba(34,38,52,0.08);
  --shadow-sm: 0 4px 14px rgba(34,38,52,0.06);
}
.container { width: 92%; max-width: 1100px; margin: 0 auto; }
.section { padding: 64px 0; }
.section-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; color: #0f1724; }
.lead { color: var(--muted); margin-bottom: 20px; }

/* Header */
.site-header { padding: 46px 0 28px; background: linear-gradient(180deg, rgba(75,132,230,0.03), rgba(43,179,167,0.01)); border-bottom: 1px solid rgba(34,38,52,0.04); }
.site-title { font-size: 2.25rem; font-weight: 700; color: #0b1220; }
.site-tagline { margin-top: 8px; color: var(--muted); }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.service-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.service-card .muted { color: var(--muted); font-size: 0.95rem; }

/* Slider wrapper for arrows */
.slider-container {
  position: relative;
  display: flex;
  align-items: center;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.05);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}
.slider-btn.prev { left: -18px; }
.slider-btn.next { right: -18px; }
.slider-btn:hover { background: rgba(0,0,0,0.1); }

/* Reviews */
.reviews-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  margin-top: 24px;
  padding-bottom: 6px;
}
.reviews-slider::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 300px;
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform .25s ease, box-shadow .25s ease;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.review-text { color: #444; font-style: italic; }
.review-author { margin-top: 10px; font-weight: 600; color: #222; }

/* Contact */
.contact { background: var(--section-bg); }
.contact-form {
  max-width: 680px;
  margin: 10px auto 22px;
  display: grid;
  gap: 12px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(34,38,52,0.08);
  background: #fff;
  box-shadow: 0 3px 10px rgba(34,38,52,0.04);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 6px 20px rgba(75,132,230,0.08);
}
.btn { display: inline-block; padding: 12px 18px; border-radius: 999px; font-weight: 600; border: none; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); color: #fff; box-shadow: 0 8px 28px rgba(43,179,167,0.12); }
.btn-primary:hover { transform: translateY(-3px); }

/* Quick contacts */
.quick-contacts { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.icon-btn { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #111827; color: #fff; }
.icon-btn:hover { background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); }

/* Floating contact */
.floating-contact {
  position: fixed; right: 20px; bottom: 20px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff; font-weight: 600;
  text-decoration: none;
}
.floating-contact:hover { transform: translateY(-4px); }

/* Footer */
.site-footer { padding: 20px 0; text-align: center; color: var(--muted); font-size: 0.95rem; background: #fff; border-top: 1px solid rgba(34,38,52,0.04); }

/* Scrollbar hide */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* Responsive */
@media (max-width: 880px) { .site-title { font-size: 1.75rem; } }
@media (max-width: 480px) { .site-title { font-size: 1.5rem; } }

/* === EXAMPLES SLIDER === */

.examples-section {
  margin-top: 20px; /* отступ сверху между секциями */
}

.slider-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.examples-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  scroll-padding: 16px;
  width: 100%;
}

.examples-slider::-webkit-scrollbar {
  display: none; /* скрываем скроллбар */
}

.example-card {
  flex: 0 0 280px; /* карточки идут вбок, как в отзывах */
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-transform: capitalize;
  scroll-snap-align: start; /* плавное прилипающее пролистывание */
}

.example-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  filter: brightness(1.05);
}

/* Цвета категорий */
.example-design {
  background: linear-gradient(135deg, #4b84e6, #2bb3a7);
}
.example-frontend {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
}
.example-ui {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
}

/* Адаптив */
@media (max-width: 600px) {
  .examples-slider {
    gap: 12px;
    padding: 12px;
  }

  .example-card {
    flex: 0 0 80%; /* карточка занимает ~80% ширины экрана */
    height: 140px;
    font-size: 1rem;
  }
}
