/* ===== Google Fonts Import ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #1f2937;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

.container {
  max-width: 1078px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  width: 100%;
  height: auto;
}

.red-border-left {
  border-left: 4px solid #f14635;
  padding-left: 25px;
}

.error {
  font-size: 14px;
  color: #dc2626;
  margin-top: 4px;
  margin-left: 4px;
}

/* ===== Header ===== */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
  font-size: 18px;
  color: #1f2937;
  max-width: 150px;
  margin: 0 auto;
}

.logo svg {
  width: 40px;
  height: 40px;
}

/* ===== Modal Window ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  background-color: white;
  border-radius: 12px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #6b7280;
  transition: color 0.3s ease;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #dc2626;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===== Hero Section ===== */
.hero {
  padding: 40px 0;
  text-align: center;
}
.hero_inner {
  background-color: white;
  padding: 40px 60px;
}
.hero__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.36;

  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero__title .highlight {
  color: #dc2626;
}

.hero__subtitle {
  font-size: 31px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.2;
}

/* ===== Main Content ===== */
.main {
  padding: 0;
}

.section {
  margin-bottom: 30px;
  scroll-margin-top: 100px;
}

.section h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

/* ===== Two Column Section ===== */
.section--two-col {
  /* display: grid;
  grid-template-columns: 1fr 1fr; */
  gap: 27px;
  align-items: center;

}

.section__content h2 {
  font-size: 25px;
  line-height: 1.51;
  font-weight: 800;
}

.section__image {
  position: relative;
}

.video-placeholder {
  position: relative;
  overflow: hidden;
  /* border-radius: 12px; */
  width: 100%;

  height: auto;

  background-color: #000;
  margin: 0 auto;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
}

.play-btn {
  width: 80px;
  height: 80px;
  background-color: rgba(220, 38, 38, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-btn:hover {
  background-color: #dc2626;
  transform: scale(1.1);
}

/* ===== Form Section ===== */
.section--form-bg {
  background-color: #f9fafb;
  padding: 80px 0;
  margin-bottom: 60px;
}

.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 60px;
}

.form-content h2 {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 40px;
  text-align: center;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #e5e7eb;
  /* border-radius: 6px; */
  font-size: 16px;
  transition: border-color 0.3s ease;
  background-color: white;
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-input:focus {
  outline: none;
  border-color: #0e347a;
  box-shadow: 0 0 0 2px #0e347a29;
}

/* ===== Buttons ===== */
.btn {
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  /* border-radius: 6px; */
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn--primary {
  background-color: #0e347a;
  color: white;
  width: 100%;
}

.btn--primary:hover {
  background-color: #1e3a8a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.2);
}

.btn--secondary {
  background-color: #0e347a;
  color: white;
  display: block;
  margin: 40px auto 0;
}

.btn--secondary:hover {
  background-color: #1e3a8a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.2);
}

/* ===== Profitability Section ===== */
.section--profitability {
  margin-bottom: 60px;
}

.profitability-container {
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
}

.profitability-content h2 {
  margin-bottom: 24px;
}

.profitability-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #4b5563;
}

.highlight-text {
  color: #dc2626;
  font-weight: 600;
}

.note {
  font-size: 14px;
  color: #6b7280;
  font-style: italic;
  margin-top: 24px;
}

.profitability-chart img {
  width: 100%;
  height: auto;
  /* border-radius: 8px; */
}
.section--profitability_disclaimer {
  font-size: 18px;
  text-align: center;
  color: #121112;
}

/* ===== Table Section ===== */
.section--table {
  margin-bottom: 60px;
}
.section--table h2 {
  text-align: center;
}

.table-wrapper {
  overflow-x: auto;
  margin-bottom: 40px;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
}

.results-table thead {
  background-color: #0e347a;
  color: white;
}

.results-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.results-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
}

.results-table tbody tr {
  transition: background-color 0.2s ease;
}

.results-table tbody tr:hover {
  background-color: #f9fafb;
}

.results-table tbody tr:last-child td {
  border-bottom: none;
}

.results-table td div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.results-table td div span {
  color: #10b981;
  font-weight: 600;
}

/* ===== Reviews Section ===== */
.section--reviews {
  margin-bottom: 60px;
}
.section--reviews h2 {
  text-align: center;
}

.reviews-intro {
  font-size: 18px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: center;
}

.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.review-card {
  background-color: #f9fafb;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.review-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.review-header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  background-color: #dc2626;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.review-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}

.review-info p {
  font-size: 13px;
  color: #6b7280;
}

.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  font-style: italic;
}
.reviews-wrapper {
  position: relative;
}
.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
.reviews-swiper {
  position: relative;
  overflow-x: hidden;
  margin-bottom: 20px;
}
.reviews-swiper::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;

  height: auto;
  z-index: 1;
  -webkit-box-shadow:
    -4px -5px 9px 5px #7373734d,
    -4px -5px 9px 5px #7373734d;
  box-shadow:
    -4px -5px 9px 5px #7373734d,
    -4px -5px 9px 5px #7373734d;
}
.reviews-swiper-nav {
  position: absolute;
  top: 0;

  right: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(-100%);
  padding-bottom: 50px;
  z-index: 2;
  /* border: 1px solid red; */
  height: auto;
  flex-shrink: 0;
}
.reviews-swiper-nav svg {
  width: 11px;
  color: white;
}
.swiper-btn {
  transition: all 0.3s ease;
}
.swiper-btn:hover > svg {
  width: 11px;
  color: rgb(0, 0, 0);
}
.swiper-btn:active {
  transform: scale(0.95);
}
.swiper-btn:hover {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.swiper-button-next,
.swiper-button-prev {
  position: relative;
  margin: 0;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  width: 44px;
  height: 44px;
  background-color: #0e347a;
}

.reviews-slide {
  background-color: #f9fafb;
  padding: 23px 19px;
  width: 100%;
  max-width: 268px;
  height: auto;
}
.reviews-slide + .reviews-slide {
  margin-left: 16px;
}
.reviews-slide_header {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 15px;
}
.reviewer-photo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  padding: 6px;
  border: 1px solid #f14635;
  box-sizing: content-box;
  flex-shrink: 0;
}
.reviewer-name {
  font-size: 15px;
  font-weight: 600;
  color: #000000;
}
.reviewer-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.reviews-slide_content {
  margin-top: 22px;
}

.swiper-pagination {
  position: relative;
  bottom: 0 !important;
  display: none;
}
.swiper-pagination-bullet-active {
  background-color: #0e347a;
}
.nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid #e5e7eb;
  background-color: white;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  color: #0e347a;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background-color: #0e347a;
  color: white;
  border-color: #0e347a;
}

/* ===== Vision Section ===== */
.section--vision {
  margin-bottom: 80px;
}

.vision-container {
}
.vision-text {
  max-width: 428px;
  width: 100%;
  color: #121112;
}
.vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.vision-content h2 {
  margin-bottom: 24px;
  font-size: 25px;
}

.vision-content p {
  font-size: 20px;
  line-height: 1.3;
  /* color: #4B5563; */
  margin-bottom: 32px;
}
.vision-image {
}
.vision-image img {
  width: 100%;
  display: block;
  height: auto;
  /* border-radius: 8px; */
}

/* ===== Footer ===== */
.footer {
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 40px 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  /* flex-direction: column; */
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer-copy {
  text-align: right;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .hero__title {
    font-size: 32px;
  }
  .hero_inner {
    padding: 20px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .section h2 {
    font-size: 28px;
  }
  .section--form-bg {
    padding: 20px;
  }
  .form-wrapper {
    padding: 0;
  }
  .section--two-col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-wrapper {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .profitability-container {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 0px;
  }

  .vision-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .reviews-container {
    grid-template-columns: 1fr;
  }

  .section__content h2,
  .form-content h2 {
    font-size: 24px;
  }

  .table-wrapper {
    font-size: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .results-table {
    min-width: 100%;
  }

  .results-table th,
  .results-table td {
    padding: 12px 8px;
    font-size: 13px;
  }

  .results-table th {
    font-size: 12px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }
  .footer-copy {
    text-align: center;
  }
  .reviews-swiper-nav {
    display: none;
  }
  .swiper-pagination {
    display: block;
  }
  .video-placeholder {
    max-width: 100%;
  }

  .vision-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vision-text {
    max-width: 100%;
  }

  .vision-content h2 {
    font-size: 22px;
  }

  .vision-content p {
    font-size: 18px;
  }
  .logo {
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .error {
    font-size: 10px;
  }
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 30px 0;
  }

  .hero__title {
    font-size: 20px;
  }
  .hero__subtitle {
    font-size: 18px;
  }
  .section h2 {
    font-size: 17px;
    margin-bottom: 24px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 14px;
  }

  .form-input {
    font-size: 16px;
  }

  .review-card {
    padding: 16px;
  }

  .results-table th,
  .results-table td {
    padding: 10px 6px;
    font-size: 12px;
  }

  .results-table th {
    font-size: 11px;
    text-align: center;
  }

  .results-table td {
    text-align: center;
  }

  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 0 16px;
  }

  .video-placeholder {
    max-width: 100%;
  }

  .vision-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .vision-text {
    max-width: 100%;
  }

  .vision-content h2 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .vision-content p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .modal-content {
    padding: 30px;
    max-width: 90%;
  }

  .modal-content h2 {
    font-size: 17px;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .modal-close {
    width: 35px;
    height: 35px;
    font-size: 28px;
  }

  .form-input {
    font-size: 16px;
    padding: 12px 16px;
  }
}
/* modal */

.universal-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  z-index: 3000 !important;
  overflow: hidden !important;
}

.universal-modal-content {
  background-color: #ffffff !important;
  padding: 32px 24px !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  text-align: center !important;
  max-width: 400px !important;
  position: relative !important;
  margin: 0 10px !important;
  border: none !important;
}

.universal-modal-content p {
  line-height: 140% !important;
  margin: 10px 0 0 !important;
  color: #1c1c1c;
}

.universal-modal-close {
  position: absolute !important;
  top: 5px !important;
  right: 5px !important;
  cursor: pointer !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  color: #777777 !important;
}

.universal-modal-close:hover {
  color: #333333 !important;
}

.universal-modal-close::before,
.universal-modal-close::after {
  content: '' !important;
  position: absolute !important;
  width: 16px !important;
  height: 2px !important;
  background-color: #777777 !important;
}

.universal-modal-close::before {
  transform: rotate(45deg) !important;
}

.universal-modal-close::after {
  transform: rotate(-45deg) !important;
}

.universal-modal-open {
  overflow: hidden !important;
}
/* loader  */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(168 168 168 / 70%);
  z-index: 4000;
}

#loader img {
  position: absolute;
  width: 130px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* заполняет блок красиво */
  display: block;
  position: relative;
  min-height:201px;/* чтобы не становилось фоном */
}

.contacts {
  background: #f3f3f3;
  padding: 40px 0;
}

.container-contact {
  width: 1200px;
  max-width: 95%;
  margin: 0 auto;
}

.contacts__title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

.contacts__wrapper {
  display: flex;
  background: #e9e9e9;
}

/* 🔹 Текст уже */
.contacts__info {
  width: 60%;
  padding: 40px;
  background: #e3e3e3;
}

/* 🔹 Карта шире */
.contacts__map {
  width: 65%;
  min-height: 450px;
}

.contacts__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contacts__info h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.contacts__line {
  width: 40px;
  height: 2px;
  background: #cfcfcf;
  margin-bottom: 20px;
}

.contacts__info p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contacts__wrapper {
    flex-direction: column-reverse;
  }

  .contacts__map {
    width: 100%;
    height: 300px;
  }

  .contacts__info {
    width: 100%;
  }
}

.calc {
  width: 100%;
}

.calc__title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
}

.calc__box {
  width: 100%;
  display: flex;
  gap: 40px;
  padding: 40px;
  border: 1px solid #dcdcdc;
  background: #f9f9f9;
  box-sizing: border-box;
}

.calc__left {
  flex: 1;
}

.calc__right {
  width: 280px;
  border-left: 1px solid #ddd;
  padding-left: 30px;
}

.calc__group {

}

.calc__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 16px;
}

.calc__limits {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #888;
  margin-top: 8px;
}

input[type='range'] {
  width: 100%;
  accent-color: rgb(14, 52, 122);
}

.calc__right h3 {
  margin-bottom: 25px;
}

.calc__result {

}

.calc__result span {
  display: block;
  color: #666;
  margin-bottom: 5px;
}

.calc__result strong {
  font-size: 20px;
  color: rgb(14, 52, 122);
}

@media (max-width: 768px) {
  .calc__box {
    flex-direction: column;
  }

  .calc__right {
    width: 100%;
    border-left: none;
    border-top: 1px solid #ddd;
    padding-left: 0;
    padding-top: 30px;
  }
}


video {
    width: 358px;
    minbheight: 201px;
    object-fit: cover; /* заполнит блок полностью, но часть постера может обрезаться */
}


