* {
  font-family: 'Montserrat', sans-serif;
}

input, select, textarea, button {
  font-family: inherit;
}
.agent-image {
  max-width: 180px;
  display: block;
  margin: 0 auto 15px;
}
.info-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.info-section {
  flex: 1;
  padding: 20px;
  border-radius: 10px;
  color: #fff;
}
.info-section.black {
  background: #000;
}
.info-section.orange {
  background: #ff7f00;
}

.info-section h2 {
  margin-top: 0;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
}
h2 {
  display: flex;
  align-items: center;
  font-size: 20px;
  gap: 10px; 
  margin-bottom: 20px;
}

h2 img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-block;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.4;
}

.info-item img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.top-nav-links {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  
  flex-wrap: wrap;
}
.no-agent-message {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 15px;
  text-align: center;
}
.nav-button {
  background: #f90;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.nav-button:hover {
  background: #e67e00;
}

.partner-link {
  display: block;
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
  color: #007bff;
}

.partner-link:hover {
  text-decoration: underline;
}
.consent-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 15px 0;
  font-size: 12px;
  color: #555;
  line-height: 1.4;
}

.consent-container input[type="checkbox"] {
  margin-top: 4px; /* выравнивание по вертикали */
  width: 5%;
}

.consent-container label {
      text-align: justify;
  gap: 10px;
}
.banner img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}
h1 {font-size: 18px;}
.form-container {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

input, select, textarea, button {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  font-size: 16px;
   border:
1px solid #ccc;
  border-radius:
6px;
  box-sizing: border-box;
}
.settlement-label {
  color: red;
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 14px;
}
.form-info-row {
  display: flex;
  gap: 0;
  margin-bottom: 15px;
}

.form-info-row .form-price {
  flex: 6;
  margin-right: 5px;
}

.form-info-row .form-tel {
  flex: 4;
  margin-left: 5px;
}
.legal-info {
  font-size: 13px;
  color: #888;
  margin-top: 15px;
  text-align: center;
}
.banner-and-faq {
  flex: 6;
  display: flex;
  flex-direction: column;
}

.form-container {
  flex: 4;

}

.faq-block {
  margin-top: 30px;
  background: #fff;
  border-radius: 10px;
}

.faq-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
}

.faq-question {
  width: 100%;
  padding: 15px;
  text-align: left;
  border: none;
  outline: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 8px;
  margin-bottom: 5px;
}

.faq-question:hover {
  background: #ff7f00;
}

.faq-question.active {
  background: #ff7f00;
  color: white;
}

.faq-answer {
  padding: 10px 15px;
  display: none;
  font-size: 14px;
  color: #333;
}

.faq-block h3 {
  margin-bottom: 10px;
}

.faq-desktop {
  display: none;
}

.faq-mobile {
  display: block;
}

@media screen and (min-width: 768px) {
  .faq-desktop {
    display: block;
  }
  .faq-mobile {
    display: none;
  }

  .form-info-row {
    flex-direction: row;
    justify-content: space-between;
  }

  .booking-wrapper {
    flex-direction: row;
  }

  .form-container {
    flex: 3;
    
  }

  .booking-banner {
    flex: 7;
	flex: none;
  }

  .sms-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
  }

  .form-container {
    position: relative;
  }

  .sms-popup {
    max-width: none;
    width: 100%;
    padding: 40px;
  }
}

.partner-button {
  display: block;
  width: 100%;
  text-align: center;
}

@media (max-width: 767px) {
  .booking-wrapper {
    flex-direction: column;
  }
  .districts {
  grid-template-columns: repeat(2, 1fr);}

  .banner-and-faq {
    flex-direction: column;
    display: flex;
  }



  .booking-banner {
    width: 100%;
  }

  .faq-desktop {
    display: none !important;
  }

  .faq-mobile {
    display: block !important;
    margin-top: 20px;
  }

  .partner-button {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    z-index: 999;
  }
}

button {
  background: #f90;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

button:disabled {
  background: #ccc;
}

.success-message {
  color: green;
  font-weight: bold;
  text-align: center;
}

.booking-wrapper {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.booking-banner img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.price-button {
  background: red;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
}

.call-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  color: #007bff;
  text-decoration: none;
}

.call-link:hover {
  text-decoration: underline;
}

.partner-button-wrapper {
  margin-top: 20px;
}

.partner-button {
	position:relative;
  display: block;
  width: 100%;
  background: #000;
  color: #fff;
  padding: 12px 0;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  margin-top: 15px;
  box-sizing: border-box;
}

.partner-button:hover {
  background: #444;
}

.form-price,
.form-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
}

.form-price {
  background: red;
  color: white;
}

.form-tel {
  background: green;
  color: white;
  text-decoration: none;
}

.sms-popup {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  text-align: center;
  width: 80%;
}

.sms-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.sms-inputs input {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 24px;
  border-radius: 8px;
  border: 2px solid #ccc;
}