:root {
  --primary: #1e5f9e;
  --primary-dark: #0a3a5c;
  --accent: #f39c12;
  --accent-dark: #e67e22;
  --gray-bg: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #475569;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1e2a3e;
  background-color: #ffffff;
  scroll-behavior: smooth;
}

/* Кнопки */
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 40px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 18px rgba(243, 156, 18, 0.25);
}
.btn-accent:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: white;
  box-shadow: 0 12px 22px rgba(243, 156, 18, 0.35);
}
.btn-outline-accent {
  border: 2px solid var(--accent);
  color: var(--accent-dark);
  border-radius: 40px;
  font-weight: 600;
  padding: 10px 24px;
  transition: 0.2s;
}
.btn-outline-accent:hover {
  background-color: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Заголовки секций */
.section-title {
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.section-title:after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 70px;
  height: 4px;
  background: var(--accent);
  border-radius: 4px;
}

/* Hero */
.hero {
  background: linear-gradient(120deg, #f1f5f9 0%, #ffffff 100%);
  padding: 60px 0 40px 0;
  border-bottom: 1px solid #e2e8f0;
}
.hero-img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Карточки */
.card-hover {
  transition: all 0.25s ease;
  border: none;
  border-radius: 28px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 35px -12px rgba(0, 0, 0, 0.1);
}

/* Калькулятор (если используется) */
.calculator-card {
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
  padding: 28px 24px;
}
.range-slider {
  width: 100%;
  accent-color: var(--accent);
}

/* Отзывы */
.feedback-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 20px -10px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid #eef2ff;
}

/* Футер */
.footer {
  background-color: #0a2a3b;
  color: #cbd5e1;
}
.footer a {
  color: #f1c40f;
  text-decoration: none;
}

/* Контактные иконки */
.contact-icon {
  background: white;
  width: 48px;
  height: 48px;
  border-radius: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
  margin-right: 12px;
}

/* Сообщения об ошибках */
.invalid-feedback-custom {
  font-size: 0.875rem;
  color: #dc3545;
  margin-top: 0.25rem;
}

/* Изображения в портфолио (карусели) */
.portfolio-img {
  height: 280px !important;
  width: 100% !important;
  object-fit: cover;
}

/* Стрелки карусели (поверх изображений) */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 8px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero {
    text-align: center;
  }
  .section-title:after {
    left: 50%;
    transform: translateX(-50%);
  }
  .section-title {
    text-align: center;
    width: 100%;
  }
  .hero-img {
    max-height: 280px;
  }
  .portfolio-img {
    height: 200px !important;
  }
}