@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@600;700&display=swap');

:root {
  --icv-te-dark: #091f2f;
  --icv-te-primary: #007dc5;
  --icv-te-primary-hover: #006aad;
  --icv-te-navy: #004369;
  --icv-te-text: #74787c;
  --icv-te-muted: #9aa3ad;
  --icv-te-border: #e4eaf0;
  --icv-te-soft: #f4f7fa;
  --icv-te-white: #ffffff;
  --icv-te-accent: #0a9f56;
  --icv-te-accent-hover: #088a49;
  --icv-te-radius: 14px;
}

.icv-te {
  background:
    radial-gradient(ellipse 80% 60% at 8% 0%, rgba(0, 125, 197, 0.09), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 40%, rgba(0, 67, 105, 0.06), transparent 50%),
    #ffffff;
  padding: 56px 0 72px;
}

.icv-te__container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

.icv-te__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0 -14px;
}

.icv-te__col {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 14px;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .icv-te__col--info {
    flex: 0 0 42%;
    max-width: 42%;
  }

  .icv-te__col--form {
    flex: 0 0 58%;
    max-width: 58%;
  }
}

.icv-te__info {
  height: 100%;
  padding: 36px 32px;
  border-radius: var(--icv-te-radius);
  background: linear-gradient(160deg, var(--icv-te-navy) 0%, var(--icv-te-primary) 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 67, 105, 0.22);
}

.icv-te__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.icv-te__info-title {
  margin: 0 0 14px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.icv-te__info-text {
  margin: 0 0 28px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.icv-te__points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.icv-te__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.icv-te__points li:last-child {
  margin-bottom: 0;
}

.icv-te__points i {
  margin-top: 2px;
  color: #7dd3a8;
  font-size: 14px;
}

.icv-te__panel {
  background: var(--icv-te-white);
  border: 1px solid var(--icv-te-border);
  border-radius: var(--icv-te-radius);
  box-shadow: 0 16px 40px rgba(9, 31, 47, 0.08);
  overflow: hidden;
}

.icv-te__panel-head {
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--icv-te-border);
  background: var(--icv-te-soft);
}

.icv-te__panel-title {
  margin: 0 0 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--icv-te-dark);
  line-height: 1.25;
}

.icv-te__panel-subtitle {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--icv-te-text);
}

.icv-te__panel-body {
  padding: 24px 28px 28px;
}

.icv-te-alert {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.icv-te-alert--error {
  background: #fdeeee;
  color: #9b2c2c;
  border: 1px solid #f3c6c6;
}

.icv-te-form__row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -7px;
  margin-right: -7px;
}

.icv-te-form__row > .icv-te-field {
  flex: 0 0 100%;
  max-width: 100%;
  padding-left: 7px;
  padding-right: 7px;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .icv-te-form__row > .icv-te-field {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.icv-te-field {
  position: relative;
  width: 100%;
  margin-bottom: 14px;
}

.icv-te-field__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #b8bcc2;
  font-size: 14px;
  pointer-events: none;
  z-index: 2;
}

.icv-te-field--textarea .icv-te-field__icon {
  top: 18px;
  transform: none;
}

.icv-te-form input[type="text"],
.icv-te-form input[type="email"],
.icv-te-form input[type="tel"],
.icv-te-form select,
.icv-te-form textarea {
  width: 100%;
  background: #f7f9fb;
  border: 1px solid var(--icv-te-border);
  border-radius: 8px;
  padding: 13px 14px 13px 42px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--icv-te-dark);
  line-height: 1.4;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-sizing: border-box;
  outline: none;
}

.icv-te-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a0a4a8' d='M1.4.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
  color: var(--icv-te-muted);
}

.icv-te-form select:valid,
.icv-te-form select.has-value {
  color: var(--icv-te-dark);
}

.icv-te-form textarea {
  min-height: 110px;
  resize: vertical;
  padding-top: 14px;
}

.icv-te-form input:focus,
.icv-te-form select:focus,
.icv-te-form textarea:focus {
  background: #fff;
  border-color: var(--icv-te-primary);
  box-shadow: 0 0 0 3px rgba(0, 125, 197, 0.12);
}

.icv-te-form input::placeholder,
.icv-te-form textarea::placeholder {
  color: var(--icv-te-muted);
}

.icv-te-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
  height: 50px;
  border: none;
  border-radius: 8px;
  background: var(--icv-te-accent);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 28px rgba(10, 159, 86, 0.28);
}

.icv-te-submit:hover {
  background: var(--icv-te-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(10, 159, 86, 0.34);
}

.icv-te-note {
  margin: 14px 0 0;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--icv-te-text);
}

.icv-te-note a {
  color: var(--icv-te-primary);
  text-decoration: none;
}

.icv-te-note a:hover {
  text-decoration: underline;
}

/* Thank you popup */
body.icv-thanks-open {
  overflow: hidden;
}

.icv-thanks {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.icv-thanks[hidden] {
  display: none !important;
}

.icv-thanks__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 31, 47, 0.62);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.icv-thanks__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 44px 32px 36px;
  text-align: center;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(0, 125, 197, 0.12), transparent 60%),
    #ffffff;
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(9, 31, 47, 0.28);
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  transition: opacity 0.36s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.icv-thanks.is-open .icv-thanks__backdrop {
  opacity: 1;
}

.icv-thanks.is-open .icv-thanks__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.icv-thanks button.icv-thanks__close,
.icv-thanks .icv-thanks__close {
  position: absolute !important;
  top: 12px !important;
  right: 14px !important;
  left: auto !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #f0f4f8 !important;
  color: #6b7280 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.icv-thanks button.icv-thanks__close:hover,
.icv-thanks button.icv-thanks__close:focus {
  background: #e4ebf2 !important;
  color: #091f2f !important;
  outline: none;
  transform: rotate(90deg);
}

.icv-thanks__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
}

.icv-thanks__svg {
  width: 88px;
  height: 88px;
  display: block;
}

.icv-thanks__circle {
  stroke: #007dc5;
  stroke-width: 2.5;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-linecap: round;
}

.icv-thanks__check {
  stroke: #007dc5;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.icv-thanks.is-open .icv-thanks__circle {
  animation: icvTeThanksCircle 0.55s ease-out 0.12s forwards;
}

.icv-thanks.is-open .icv-thanks__check {
  animation: icvTeThanksCheck 0.4s ease-out 0.5s forwards;
}

@keyframes icvTeThanksCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes icvTeThanksCheck {
  to { stroke-dashoffset: 0; }
}

.icv-thanks__title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #091f2f !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  text-transform: none !important;
  letter-spacing: -0.02em !important;
}

.icv-thanks__text {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  color: #74787c !important;
  margin: 0 0 24px !important;
}

.icv-thanks button.icv-thanks__btn,
.icv-thanks .icv-thanks__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 46px !important;
  padding: 0 28px !important;
  border: none !important;
  border-radius: 8px !important;
  background: #007dc5 !important;
  color: #fff !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 10px 24px rgba(0, 125, 197, 0.28);
}

.icv-thanks button.icv-thanks__btn:hover {
  background: #006aad !important;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .icv-te {
    padding: 40px 0 56px;
  }

  .icv-te__info {
    margin-bottom: 20px;
    padding: 28px 22px;
  }

  .icv-te__panel-head,
  .icv-te__panel-body {
    padding-left: 20px;
    padding-right: 20px;
  }
}
