/* ===== CTA ===== */

.cta {
  padding: 100px 0;
  background: #0e3706;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--visamart-img-cta, url('../img/cta.png')) center/cover no-repeat;
  opacity: 0.9;
}

/* container */
.cta__inner {
  position: relative;
  max-width: 1376px;
  margin: 0 auto;
}

/* ===== TOP ===== */

.cta__top,
.cta__bottom {
  display: grid;
  grid-template-columns: 360px 1fr 260px; 
  gap: 40px;
  align-items: start; 
}

.cta__title {
  font-size: 40px;
  line-height: 1;
}

.cta__lead {
  font-size: 24px;
  margin-bottom: 10px;
}

.cta__sub {
  opacity: 0.6;
}

/* video */
.cta__video .process__card {
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 8px;
}

/* ===== DIVIDER ===== */

.cta__divider {
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 40px 0;
}

/* ===== BOTTOM ===== */

.cta__contacts a {
  display: block;
  margin-bottom: 10px;
  text-decoration: underline;
}

/* center */

.cta__address {
  margin-bottom: 20px;
}

.cta__main .cta__address > a,
body > section.cta > div > div.cta__bottom > div.cta__main > div.cta__address > a {
  display: block;
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #fff;
  margin-bottom: 10px;
}

.country__page .cta__main .cta__address > a {
  color: #000;
}

.cta__address span {
  display: block;
  opacity: 0.6;
  font-size: 14px;
}

.cta__big {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 30px;
}

/* buttons */

.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.3);
  color: #fff;
}

.cta-btn--wa,
.cta-btn--tel,
.cta-btn--max {
  justify-content: center;
  padding: 12px;
  min-width: 56px;
}

.cta-btn--wa img,
.cta-btn--tel img,
.cta-btn--max img {
  display: block;
  width: 32px;
  height: 32px;
}

.cta-btn img {
  width: 24px;
}

/* form link */
.cta__form-link {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 20 !important;
  min-height: 72px;
}

.cta__form-link button {
  background: none;
  border: none;
  color: #fff;
  text-decoration: underline;
  font-size: 18px;
  cursor: pointer;
}

.cta-btn *,
.cta-btn--wa *,
.cta-btn--tel *,
.cta-btn--max *,
body > section.cta > div > div.cta__bottom > div.cta__main > div.cta__buttons > a.cta-btn.cta-btn--wa {
  color: #fff !important;
}

/* ===== POPUP ФОРМА КОНСУЛЬТАЦИИ ===== */

.form-popup {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
}

.form-popup.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.form-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.72);
  backdrop-filter: blur(8px);
  z-index: 0;
}

.form-box {
  position: relative;
  z-index: 1;
  width: 332px;
  max-width: 100%;
  padding: 24px 20px 20px;
  border-radius: 24px;
  background: #1a161f;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0;
  color: #fff;
  box-sizing: border-box;
}

.form-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.form-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.04);
}

.form-box h3 {
  margin: 0 44px 16px 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: #fff;
  text-align: left;
}

.form-box form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-box input,
.form-box textarea {
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-box input[type="tel"] {
  height: 48px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: #fce8d5;
  color: #1e1d1b;
  text-align: center;
}

.form-box input[type="tel"]::placeholder {
  color: #000;
  opacity: 1;
}

.form-box input[type="tel"]::-webkit-input-placeholder {
  color: #000;
}

.form-box input[type="tel"]::-moz-placeholder {
  color: #000;
  opacity: 1;
}

.form-box input[type="text"] {
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  background: #a6a6a6;
  color: #fff;
  text-align: center;
}

.form-box input[type="text"]::placeholder {
  color: #fff;
  opacity: 0.95;
}

.form-box textarea {
  height: 120px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  background: #a6a6a6;
  color: #fff;
  text-align: center;
  line-height: 1.35;
  resize: none;
}

.form-box textarea::placeholder {
  color: #fff;
  opacity: 0.95;
  text-align: center;
}

.form-box textarea:placeholder-shown {
  padding-top: 38px;
  padding-bottom: 38px;
  text-align: center;
}

.form-box textarea:focus,
.form-box textarea:not(:placeholder-shown) {
  padding-top: 14px;
  padding-bottom: 14px;
}

.form-box input[type="text"]:focus,
.form-box textarea:focus {
  border-color: rgba(255, 255, 255, 0.75);
  background: #b0b0b0;
}

.form-box input[type="tel"]:focus {
  background: #fce8d5;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #555555;
  cursor: pointer;
}

.checkbox input {
  appearance: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 6px;
  background: #8a8a8a;
  border: none;
  position: relative;
  cursor: pointer;
}

.checkbox input:checked {
  background: #fce8d5;
}

.checkbox input::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 5px;
  margin: -4px 0 0 -5px;
  border: 2px solid #000;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.2s ease;
}

.checkbox input:checked::after {
  transform: rotate(-45deg) scale(1);
}

.checkbox__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkbox__label {
  font-size: 11px;
  line-height: 1.3;
  color: #fff;
}

.checkbox__text small {
  font-size: 11px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
}

.form-submit {
  width: 100%;
  height: 48px;
  margin-top: 4px;
  border: none;
  border-radius: 16px;
  background: #fce8d5;
  color: #1e1d1b;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.form-submit:hover {
  background: #ffd9be;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(252, 232, 213, 0.35);
}

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

