/* Дополнительные стили для интеграции с шаблоном Active */

/* Улучшенные отступы и spacing */
.services-item {
  background: var(--surface-color);
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  padding: 40px 35px;
  margin-bottom: 0;
}

.services-item:hover {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.services-item .services-icon {
  color: var(--accent-color);
  margin-bottom: 25px;
}

.services-item .services-icon i {
  font-size: 48px;
}

.services-item h3 {
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.services-item p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.services-item ul {
  margin-top: 0;
  margin-bottom: 0;
}

.services-item ul li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.services-item ul li:last-child {
  margin-bottom: 0;
}

/* Отступы для секций */
.section {
  padding: 80px 0;
}

.section-title {
  padding-bottom: 50px;
  margin-bottom: 0;
}

.section-title h2 {
  margin-bottom: 15px;
}

.section-title p {
  margin-bottom: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero секция */
.about h1 {
  margin-bottom: 20px;
  line-height: 1.3;
}

.about p {
  margin-bottom: 30px;
  line-height: 1.7;
}

.about .section-subtitle {
  margin-bottom: 12px;
}

/* Счетчики в hero */
.counter {
  padding: 15px 10px;
}

.counter .number {
  margin-bottom: 8px;
}

/* Галерея */
.gallery-item {
  margin-bottom: 30px;
}

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

/* Процесс */
.process-step {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 10px;
  transition: all 0.3s ease;
  height: 100%;
  padding: 35px 30px;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.step-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: block;
}

.process-step h4 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.process-step p {
  margin-bottom: 0;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.compliance-banner {
  margin-top: 40px;
  padding: 30px;
}

.compliance-banner strong {
  margin-bottom: 10px;
  display: block;
  font-size: 16px;
}

.compliance-banner p {
  margin-bottom: 0;
  line-height: 1.7;
}

/* Улучшенная форма оплаты */
.payment-form-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 50px 45px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.payment-form-card:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.payment-form-header {
  padding-bottom: 30px;
  border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 90%);
  margin-bottom: 35px;
}

.payment-form-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%), color-mix(in srgb, var(--accent-color), transparent 90%));
  border-radius: 20px;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.payment-form-icon i {
  font-size: 40px;
  color: var(--accent-color);
}

.payment-form-header h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.payment-form-header p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

/* Улучшенные стили для формы */
.order-form {
  margin-top: 0;
}

.form-group {
  margin-bottom: 28px;
  position: relative;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-label {
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  color: var(--heading-color);
  letter-spacing: 0.3px;
}

.form-label i {
  color: var(--accent-color);
  font-size: 16px;
}

.form-label .text-danger {
  margin-left: 4px;
  font-weight: 600;
}

.input-wrapper,
.select-wrapper {
  position: relative;
  margin-bottom: 5px;
}

.input-wrapper::before,
.select-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
  z-index: 1;
}

.input-wrapper:focus-within::before,
.select-wrapper:focus-within::before {
  width: 100%;
}

.form-control,
.form-select {
  padding: 16px 50px 16px 18px;
  font-size: 15px;
  border-radius: 12px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  transition: all 0.3s ease;
  background: color-mix(in srgb, var(--surface-color), transparent);
  color: var(--default-color);
  font-weight: 400;
}

.form-control:hover,
.form-select:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 88%);
  background: var(--surface-color);
  outline: none;
}

.form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-weight: 400;
}

.input-icon,
.select-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: color-mix(in srgb, var(--default-color), transparent 45%);
  pointer-events: none;
  transition: all 0.3s ease;
  font-size: 18px;
  z-index: 2;
}

.input-wrapper:focus-within .input-icon,
.select-wrapper:focus-within .select-icon {
  color: var(--accent-color);
  transform: translateY(-50%) scale(1.1);
}

.select-wrapper select {
  cursor: pointer;
  appearance: none;
  background-image: none;
  padding-right: 50px;
}

/* Улучшенный чекбокс согласия */
.consent-group {
  margin-top: 15px;
  margin-bottom: 35px;
  padding: 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 97%);
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.consent-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.checkmark {
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--accent-color);
  border-radius: 6px;
  background: var(--surface-color);
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
  margin-top: 2px;
  cursor: pointer;
}

.consent-wrapper input[type="checkbox"]:checked + .consent-label .checkmark {
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 85%);
}

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

.consent-label {
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.consent-text {
  line-height: 1.7;
  font-size: 14px;
  color: var(--default-color);
  flex: 1;
}

.consent-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  transition: all 0.3s ease;
}

.consent-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  border-bottom-color: var(--accent-color);
}

/* Улучшенная кнопка оплаты */
.btn-payment-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), transparent 10%) 100%);
  color: var(--contrast-color);
  border: none;
  padding: 18px 35px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 40%);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-payment-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-payment-submit:hover::before {
  left: 100%;
}

.btn-payment-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-color), transparent 50%);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 5%) 0%, var(--accent-color) 100%);
}

.btn-payment-submit:active {
  transform: translateY(0);
}

.btn-payment-submit.loading {
  pointer-events: none;
  opacity: 0.85;
}

.btn-payment-submit.loading .btn-content {
  opacity: 0;
}

.btn-payment-submit .loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn-payment-submit .loading-spinner i {
  font-size: 20px;
  animation: spin 1s linear infinite;
}

.btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-content i {
  font-size: 18px;
}

/* Улучшенные сообщения об ошибках */
.error-message {
  color: #dc3545;
  font-size: 13px;
  margin-top: 8px;
  display: none;
  font-weight: 500;
  padding-left: 4px;
  animation: slideDown 0.3s ease;
}

.error-message.show {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.consent-group.error {
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.05);
}

.consent-group.error .checkmark {
  border-color: #dc3545;
}

.consent-group.error .consent-label {
  color: #dc3545;
}

/* Адаптация формы для мобильных */
@media (max-width: 768px) {
  .payment-form-card {
    padding: 35px 25px;
  }

  .payment-form-header {
    padding-bottom: 25px;
    margin-bottom: 30px;
  }

  .payment-form-icon {
    width: 70px;
    height: 70px;
  }

  .payment-form-icon i {
    font-size: 35px;
  }

  .payment-form-header h3 {
    font-size: 24px;
  }

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

  .form-control,
  .form-select {
    padding: 14px 45px 14px 16px;
    font-size: 14px;
  }

  .consent-group {
    padding: 18px;
    margin-bottom: 30px;
  }

  .btn-payment-submit {
    padding: 16px 30px;
    font-size: 15px;
  }
}

/* Улучшенные реквизиты - легкие и приятные */
.requisites-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 50px 45px;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 94%);
}

.requisites-card:hover {
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.requisites-header {
  padding-bottom: 30px;
  border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 92%);
  margin-bottom: 40px;
}

.requisites-icon-wrapper {
  width: 75px;
  height: 75px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 96%), color-mix(in srgb, var(--accent-color), transparent 94%));
  border-radius: 18px;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.requisites-icon-wrapper i {
  font-size: 36px;
  color: var(--accent-color);
}

.requisites-header h3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.requisites-header p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin-bottom: 0;
}

/* Легкие элементы реквизитов */
.requisite-item {
  background: color-mix(in srgb, var(--accent-color), transparent 98%);
  border-radius: 14px;
  padding: 22px 20px;
  transition: all 0.3s ease;
  border: 1.5px solid color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
}

.requisite-item:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 96%);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-color), transparent 25%);
}

.requisite-icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 15%));
  border-radius: 12px;
  color: var(--contrast-color);
  font-size: 22px;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 30%);
  transition: all 0.3s ease;
}

.requisite-item:hover .requisite-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent-color), transparent 40%);
}

.requisite-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.requisite-label {
  font-size: 11px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
  line-height: 1.4;
}

.requisite-value {
  font-size: 16px;
  color: var(--heading-color);
  font-weight: 600;
  word-break: break-word;
  line-height: 1.5;
  letter-spacing: 0.3px;
}

/* Улучшенный compliance блок */
.compliance-note {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 97%), color-mix(in srgb, var(--accent-color), transparent 95%));
  border: 1.5px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 16px;
  padding: 28px;
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all 0.3s ease;
}

.compliance-note:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 20%);
}

.compliance-icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 10%));
  border-radius: 12px;
  color: var(--contrast-color);
  font-size: 24px;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 30%);
}

.compliance-content {
  flex: 1;
}

.compliance-content strong {
  margin-bottom: 12px;
  display: block;
  font-size: 17px;
  color: var(--heading-color);
  font-weight: 600;
  line-height: 1.3;
}

.compliance-content p {
  margin-bottom: 0;
  line-height: 1.75;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

/* Spacing для реквизитов */
.requisites .row {
  margin-bottom: 0;
}

.requisites .row > [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
}

/* Адаптация реквизитов для мобильных */
@media (max-width: 768px) {
  .requisites-card {
    padding: 35px 25px;
  }

  .requisites-header {
    padding-bottom: 25px;
    margin-bottom: 35px;
  }

  .requisites-icon-wrapper {
    width: 65px;
    height: 65px;
  }

  .requisites-icon-wrapper i {
    font-size: 30px;
  }

  .requisites-header h3 {
    font-size: 22px;
  }

  .requisite-item {
    padding: 20px 18px;
    margin-bottom: 12px;
  }

  .requisite-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .requisite-value {
    font-size: 15px;
  }

  .compliance-note {
    padding: 22px;
    margin-top: 35px;
    flex-direction: column;
    text-align: center;
  }

  .compliance-icon {
    margin: 0 auto;
  }
}

/* Footer spacing */
.footer {
  padding-top: 60px;
  padding-bottom: 40px;
}

.footer .widget {
  margin-bottom: 30px;
}

.footer .widget-heading {
  margin-bottom: 20px;
  font-size: 18px;
}

.footer .widget p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer .widget ul li {
  margin-bottom: 12px;
}

.footer .widget ul li:last-child {
  margin-bottom: 0;
}

.payment-systems {
  margin-top: 40px;
  padding-top: 30px;
}

.payment-systems h4 {
  margin-bottom: 20px;
}

.payment-logos {
  gap: 25px;
}

.copyright {
  margin-top: 30px;
  padding-top: 25px;
}

/* Улучшенные отступы для списков услуг */
.services-item ul.list-unstyled {
  padding-left: 0;
  margin-top: 20px;
  margin-bottom: 0;
}

.services-item ul.list-unstyled li {
  padding-left: 0;
  padding-bottom: 10px;
  line-height: 1.7;
}

.services-item ul.list-unstyled li:last-child {
  padding-bottom: 0;
}

.services-item ul.list-unstyled li i {
  margin-right: 8px;
  font-size: 16px;
}

/* Spacing для галереи */
#gallery .row {
  margin-top: 10px;
}

#gallery .section-title {
  padding-bottom: 45px;
}

#gallery .row > [class*="col-"] {
  margin-bottom: 30px;
}

#gallery .row > [class*="col-"]:last-child {
  margin-bottom: 0;
}

/* Spacing для формы и реквизитов */
#payment .services-item,
#requisites .services-item {
  padding: 50px 45px;
}

#payment .services-item h3,
#requisites .services-item h3 {
  margin-bottom: 35px;
  font-size: 22px;
}

#payment .services-icon,
#requisites .services-icon {
  margin-bottom: 30px;
}

#payment .services-icon i,
#requisites .services-icon i {
  font-size: 52px;
}

/* Адаптация под мобильные устройства */

/* Стили для чекбокса согласия */
.consent-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.consent-wrapper input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-color);
  border-radius: 4px;
  background: var(--surface-color);
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
  margin-top: 2px;
}

.consent-wrapper input[type="checkbox"]:checked + .consent-label .checkmark {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

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

.consent-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted var(--accent-color);
  transition: all 0.3s ease;
}

.consent-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  border-bottom-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/* Стили для кнопки отправки */
.btn-get-started {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 10%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.btn-get-started.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn-get-started.loading .btn-text {
  opacity: 0;
}

.btn-get-started .loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Стили для ошибок */
.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 5px;
  display: none;
  font-weight: 500;
}

.error-message.show {
  display: block;
}

.consent-group.error .checkmark {
  border-color: #dc3545;
  background: #fff5f5;
}

.consent-group.error .consent-label {
  color: #dc3545;
}

/* Стили для модального окна */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--surface-color);
  margin: 5% auto;
  padding: 0;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 20px 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 15px 15px 0 0;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.close {
  color: var(--contrast-color);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease;
  line-height: 1;
}

.close:hover {
  opacity: 0.7;
}

.modal-body {
  padding: 25px;
  color: var(--default-color);
  line-height: 1.6;
}

.modal-body h4 {
  color: var(--accent-color);
  margin: 20px 0 10px 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.modal-body ul {
  margin: 10px 0;
  padding-left: 20px;
}

.modal-body li {
  margin: 5px 0;
}

.modal-footer {
  padding: 20px 25px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.modal-btn {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.modal-btn:first-child {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.modal-btn:first-child:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.modal-btn-secondary {
  background: rgba(0, 0, 0, 0.05);
  color: var(--default-color);
}

.modal-btn-secondary:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Стили для результатов формы */
.form-result {
  background: var(--surface-color);
  padding: 25px;
  border-radius: 12px;
  margin-top: 25px;
  border-left: 4px solid var(--accent-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: none;
  animation: fadeInUp 0.5s ease-out;
}

.form-result.show {
  display: block;
}

.form-result.success {
  border-left-color: #28a745;
  background: rgba(40, 167, 69, 0.08);
  border: 1px solid rgba(40, 167, 69, 0.2);
  border-left-width: 4px;
}

.form-result.error {
  border-left-color: #dc3545;
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-left-width: 4px;
}

.form-result h4 {
  margin: 0 0 12px 0;
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-result.success h4 {
  color: #28a745;
}

.form-result.error h4 {
  color: #dc3545;
}

.form-result h4 i {
  font-size: 20px;
}

.form-result p {
  margin: 0;
  color: var(--default-color);
  line-height: 1.7;
  font-size: 15px;
}

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

/* Стили для логотипов платежных систем */
.payment-logo {
  height: 40px;
  width: auto;
  opacity: 0.85;
  transition: all 0.3s ease;
  filter: grayscale(30%);
}

.payment-logo:hover {
  opacity: 1;
  transform: scale(1.1);
  filter: grayscale(0%);
}

/* Стили для галереи */
.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: all 0.3s ease;
  max-height: 200px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.1);
}

/* Анимация для спиннера загрузки */
.btn-get-started .loading-spinner i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }

  .section-title {
    padding-bottom: 35px;
  }

  .services-item {
    padding: 30px 25px !important;
    margin-bottom: 25px;
  }

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

  .services-item .services-icon {
    margin-bottom: 20px;
  }

  .services-item h3 {
    margin-bottom: 15px;
    font-size: 18px;
  }

  .process-step {
    padding: 25px 20px;
    margin-bottom: 20px;
  }

  .requisite-item {
    padding: 18px;
    margin-bottom: 12px;
  }

  .compliance-note {
    padding: 20px;
    margin-top: 25px;
  }

  .compliance-banner {
    padding: 25px 20px;
    margin-top: 30px;
  }

  #payment .services-item,
  #requisites .services-item {
    padding: 30px 25px !important;
  }

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

  .gallery-item {
    margin-bottom: 20px;
  }

  .footer {
    padding-top: 50px;
    padding-bottom: 30px;
  }

  .footer .widget {
    margin-bottom: 35px;
  }

  .about h1 {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .about p {
    margin-bottom: 25px;
  }
}

/* Дополнительные улучшения spacing */
.services-item + .services-item {
  margin-top: 0;
}

.row.gy-4 > [class*="col-"] {
  margin-bottom: 0;
}

/* Улучшенные отступы для секций с разными фонами */
.section.light-background {
  padding: 80px 0;
}

.section:not(.light-background) {
  padding: 40px 0;
}

/* Spacing между элементами в сетке */
.row.gy-4 {
  --bs-gutter-y: 2rem;
}

/* Улучшенные отступы для заголовков секций */
.section-subtitle {
  margin-bottom: 12px;
  display: block;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.section-title h2 {
  margin-bottom: 18px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
}

.section-title p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

/* Улучшенные отступы для hero секции */
.about .section-subtitle {
  margin-bottom: 15px;
}

.about h1 {
  margin-bottom: 25px;
  font-size: 36px;
  line-height: 1.2;
}

.about p {
  margin-bottom: 35px;
  font-size: 16px;
  line-height: 1.8;
}

/* Улучшенные отступы для счетчиков */
.counter {
  padding: 20px 15px;
}

.counter .number {
  margin-bottom: 10px;
  font-size: 2.5rem;
}

.counter .small {
  font-size: 13px;
  margin-top: 8px;
}

/* Улучшенные отступы для кнопок */
.btn-get-started {
  margin-top: 15px;
  padding: 14px 35px;
  font-size: 15px;
  font-weight: 500;
}

/* Логотип в header */
.logo-subtitle {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--heading-color), transparent 40%);
  font-weight: 400;
}

