/* ===== ГОЛОВНИЙ БАНЕР ===== */
.main-banner {
  background: linear-gradient(
    135deg,
    var(--blue) 0%,
    var(--blue-light) 60%,
    #1e5fa8 100%
  );
  color: var(--white);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}

.main-banner::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: rgba(245, 197, 24, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.banner-content .badge {
  margin-bottom: 20px;
}

.banner-content h1 {
  color: var(--white);
  margin-bottom: 18px;
}

.banner-content p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 32px;
}

.banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.banner-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.05);
}

.banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== ПЕРЕВАГИ ===== */
.benefits {
  background: var(--gray-light);
}

/* ===== ЯК МИ ПРАЦЮЄМО ===== */
.how-it-works {
  background: var(--white);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 600px;
}

.how-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.how-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

.how-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== СТАТИСТИКА ===== */
.stats-bar {
  background: var(--blue);
  padding: 52px 0;
}

.stats-bar .stat-num {
  color: var(--yellow);
}

.stats-bar .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== ПАКЕТИ ===== */
.packages {
  background: var(--gray-light);
}

/* ===== ВІДГУКИ ===== */
.reviews {
  background: var(--white);
}

/* ===== ФОРМА ===== */
.contact-form-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--white);
}

.contact-form-section .section-title h2 {
  color: var(--white);
}

.contact-form-section .section-title p {
  color: rgba(255, 255, 255, 0.75);
}

.form-wrap {
  max-width: 540px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.form-wrap .form-control {
  border-color: var(--border);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 10px;
}

/* ===== ФУТЕР ===== */
.footer-logo .logo-text {
  color: var(--white);
}

.footer-logo .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-desc {
  font-size: 0.88rem;
  margin-top: 12px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-contacts a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.footer-contacts a:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-heading {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: none;
}

/* ===== КАЛЬКУЛЯТОР ===== */
.calc-section {
  background: var(--gray-light);
}

.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.calc-inputs {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.calc-field {
  margin-bottom: 28px;
}

.calc-field:last-of-type {
  margin-bottom: 0;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calc-label-row label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dark);
}

.calc-val {
  font-weight: 700;
  color: var(--blue-light);
  font-size: 0.92rem;
  white-space: nowrap;
}

.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-light);
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-light);
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.calc-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--gray);
}

.calc-select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  background: var(--white);
  cursor: pointer;
  color: var(--dark);
}

.calc-select:focus {
  outline: none;
  border-color: var(--blue-light);
}

.calc-note {
  margin-top: 20px;
  padding: 12px 14px;
  background: rgba(37, 99, 168, 0.07);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--gray);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.5;
}

.calc-note i {
  color: var(--blue-light);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Результати */
.calc-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-result-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  transition: border-color var(--transition);
}

.calc-result-card.highlight {
  border-color: var(--blue-light);
  background: linear-gradient(135deg, #f0f6ff 0%, #fff 100%);
}

.cr-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(37, 99, 168, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--blue-light);
  flex-shrink: 0;
}

.cr-icon.orange {
  background: rgba(232, 121, 10, 0.1);
  color: var(--orange);
}

.cr-icon.green {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.cr-body {
  flex: 1;
}

.cr-label {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 2px;
}

.cr-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.calc-cta {
  margin-top: 4px;
}

@media (max-width: 768px) {
  .calc-wrap {
    grid-template-columns: 1fr;
  }
}
