@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/InterTight-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/InterTight-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/InterTight-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/* ---------- base ---------- */
* {
  box-sizing: border-box;
}
button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
  padding: 0 !important;
  margin: 0 !important;
}
input[type='text'],
input[type='email'],
input[type='tel'],
textarea {
  border: 1px solid #8a8e91;
  border-radius: 6px !important;
}
html,
body {
  height: 100%;
}

body {
  background: #ebf5ef !important;
  font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, 'Noto Sans', sans-serif !important;
  color: #111 !important;
  margin: 0 !important;
}

h1,
h2,
h3 {
  font-weight: 600;
}

strong {
  font-weight: 500;
}

/* ---------- layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 90px;
  position: relative;
}

.grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(400px, 400px);
  gap: 52px;
}

.text-center {
  text-align: center;
}

.cta-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
}

.headline {
  position: relative;
  z-index: 2;
  font-size: clamp(1.125rem, 0.75rem + 3vw, 3rem);
}
.cta-wrapper {
  max-width: 609px;
  margin: 25% auto auto -100px;
}
.avatar {
  object-fit: cover;
  position: absolute;
  z-index: 3;
}
.avatar--tl {
  width: 114px;
  height: 114px;
  border-radius: 50%;
  left: 80px;
  top: 70px;
}
.avatar--mid {
  width: 86.57px;
  height: 86.57px;
  border-radius: 50%;
  left: 421.7px;
  top: 200.1px;
}

.decor-img {
  position: absolute;
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
  top: 100px;
  left: 0;
}

/* ---------- form ---------- */
.form-group {
  margin-bottom: 1rem;
}
.form-group:nth-child(3) {
  margin-bottom: 1.25rem !important;
}
.form-label {
  font-weight: normal;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.form-text {
  color: #6c757d;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-control,
.form-select,
textarea {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px !important;
  outline: 0;
  transition: border-color 0.2s;
}
.form-control:focus,
.form-select:focus,
textarea:focus {
  border-color: #666;
}
.form-control.is-invalid,
.form-select.is-invalid,
textarea.is-invalid {
  border-color: #dc3545;
}
.form-group input {
  padding: 12px 18px !important;
}
.form-group input::placeholder {
  color: #8a8e91;
}
.input-group {
  display: flex;
  align-items: stretch;
}

.input-group-text {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #8a8e91;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  color: #111;
  white-space: nowrap;
}
.iti {
  width: 100%;
}
.iti__arrow {
  border: none;
  width: 10px;
  height: 6px;
  margin-left: 6px;
  background: url('../img/arrow.svg') center/contain no-repeat;
}
.iti .iti__selected-dial-code {
  margin-left: 0 !important;
}

#phone {
  padding-left: 90px !important;
}
#message.form-control {
  width: 340px;
  height: 125px;
  resize: none;
}

.invalid-feedback {
  display: none;
  font-weight: bold;
  color: #c42c17;
  font-size: 0.6875rem;
  margin-top: 0.25rem;
  line-height: 1.5;
}

.form-control.is-invalid + .invalid-feedback {
  display: block;
}

.input-group .form-control.is-invalid ~ .invalid-feedback {
  display: block;
}
.card-note {
  font-size: 0.75rem;
  width: 210px;
  margin: 0 auto;
  line-height: 1.4;
  text-align: center;
  color: #27252f;
}
.card-note span {
  font-weight: bold;
  text-decoration: underline;
}

/* ---------- button ---------- */
#submitBtn > span:nth-of-type(2) {
  font-size: 0.94rem;
}

.btn,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 8px !important;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}

.btn-block {
  width: 100%;
}
.btn-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 20px 0;
}
.btn-accent {
  background: #f2512e;
  color: #fff;
  margin-bottom: 16px !important;
}
.btn-text {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #f4f1ff !important;
  font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  font-weight: normal;
}
.btn-accent:hover {
  background: #d94625;
  color: #fff;
}
.btn-accent.loading,
.btn-accent:disabled {
  opacity: 0.9;
  cursor: not-allowed;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.is-hidden {
  display: none !important;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.ping {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e8fb87;
  flex: 0 0 auto;
}
.ping::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #e8fb87;
  opacity: 0.75;
  animation: ping 1.25s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  80%,
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}
.btn-accent.loading .ping {
  display: none;
}
.btn-accent:disabled .ping::before {
  animation: none !important;
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: #ebf5ef;
  z-index: 9999;
  padding: 0 10px;
}
.modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #a7c5df;
  border-radius: 12px;
  width: 62px;
  height: 62px;
  margin-bottom: 10px;
  margin-top: 55px;
}
.modal__icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.modal__eyebrow {
  margin: 0 auto 31px;
  line-height: 1.4;
  font-size: 0.9375rem;
  font-weight: 500;
}

.modal__title {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
}
.modal.is-open {
  display: flex;
}
.modal__panel {
  position: relative;
  width: 552px;
  height: 336px;
  background: #fff;
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 42px;
  width: 15px;
  height: 15px;
  border: 0;
  background: transparent;
  font-size: 0.8125rem;
  cursor: pointer;
  color: #6f6f72;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.modal__close span {
  font-size: 0.8125rem;
  font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, 'Noto Sans', sans-serif !important;
}

body.modal-open {
  overflow: hidden;
}

.card-title {
  margin: 0 auto 30px;
  font-size: 1.375rem;
  font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  text-align: center;
}

.text-danger {
  color: #dc3545;
}

/* ===== Responsive at ≤1015px ===== */
@media (max-width: 1015px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cta-wrapper {
    margin: 0 auto;
  }
  .cta-card {
    padding: 20px;
    border-radius: 12px;
  }

  .card-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }

  .headline {
    max-width: 100%;
    font-size: 2.25rem;
    text-align: center;
  }

  .avatar,
  .decor-img {
    display: none !important;
  }

  .form-group {
    margin-bottom: 0.875rem;
  }
  .form-label {
    font-size: 0.95rem;
  }

  .form-control,
  .form-select,
  textarea {
    padding: 10px 12px;
    font-size: 16px;
  }

  #message.form-control {
    width: 100% !important;
    height: 120px;
  }

  .iti {
    width: 100%;
  }

  #phone {
    padding-left: 90px !important;
  }

  .btn-wrapper {
    padding: 16px 0;
  }

  .btn-text {
    font-size: 0.9rem;
  }

  .modal__content {
    width: min(420px, 92vw);
  }
}

@media (max-width: 991.98px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .avatar--tl {
    left: 16px;
    top: 20px;
    transform: none;
  }
  .avatar--mid {
    left: auto;
    right: 16px;
    top: 120px;
    transform: none;
    width: 86.57px;
    height: 86.57px;
    border-radius: 50%;
  }
  .decor-img {
    width: 352px;
    top: 120px;
  }
}

@media (max-width: 560px) {
  .headline {
    font-size: 28px;
  }
  .btn-wrapper {
    padding: 14px 0;
  }
  .container {
    padding: 90px 10px;
  }
}

/*# sourceMappingURL=style.css.map */
