@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..900;1,200..900&display=swap");

/*-----------------variables-----------------*/
:root {
  --font-primary: "Nunito", sans-serif;
  --color-page-dark: #2b2b2b;
  --color-white: #fff;
  --color-text-dark: #111;
  --color-text-muted: #d6d6d6;
  --color-accent: #c7f247;
  --color-surface-light: #f6f7fb;
  --color-error: #ffb3b3;
  --shadow-rgb: 0, 0, 0;
  --shadow-soft: 0 20px 40px rgba(var(--shadow-rgb), 0.24);
  --shadow-card: 0 10px 18px rgba(var(--shadow-rgb), 0.12);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --container-max: 1190px;
  --container-padding: 2rem;
}

/*-----------------general-----------------*/
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden !important;
  color: var(--color-page-dark);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.custom-container {
  width: min(var(--container-max), 100% - (2 * var(--container-padding)));
  margin: 0 auto;
}

.title {
  margin: 0;
  color: var(--color-white);
  font-size: 35px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

.subtitle {
  margin: 0;
  max-width: 490px;
  color: var(--color-white);
  font-size: 18px;
  line-height: 1.6;
}

.cta,
.final-cta,
.next_chatbot {
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-text-dark);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.25s ease;
}

.cta:hover,
.final-cta:hover,
.next_chatbot:hover {
  background: var(--color-accent);
  color: var(--color-text-dark) !important;
  transform: scale(1.05);
}

.scroll-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

label.error,
#termos-error,
#terms-error {
  display: block;
  width: 100%;
  margin: 4px 0 0;
  padding: 0;
  color: var(--color-error);
  font-size: 11px;
  font-weight: 400;
}

/*-----------------nav-----------------*/
.site-nav {
  margin-top: 0;
  padding-top: 24px;
}

.nav_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  text-decoration: none;
}

.brand_mark {
  width: 34px;
  height: 34px;
  border: 3px solid var(--color-accent);
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 20px;
  line-height: 1;
}

.brand_wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.brand_wordmark-accent {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 60px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--color-white);
  font-size: 16px;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--color-accent);
}

/*-----------------hero-----------------*/
.site-header {
  background: var(--color-page-dark);
  color: var(--color-white);
  padding-bottom: 90px;
}

.hero_wrapper {
  margin-block: 80px 0;
  display: grid;
  grid-template-columns: minmax(340px, 520px) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.hero_wrapper .left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-media {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.hero-media_frame {
  width: min(260px, 90%);
  margin-left: 0;
  padding: 16px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--color-accent);
  box-shadow: 0 18px 32px rgba(var(--shadow-rgb), 0.18);
}

.hero-media_surface {
  width: 100%;
  padding: 18px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: #eeeef4;
  clip-path: polygon(0 0, 78% 0, 100% 18%, 100% 100%, 22% 100%, 0 82%);
}

.hero-art {
  position: static;
  width: min(210px, 70%);
  height: auto;
  object-fit: contain;
}

.right {
  min-height: 550px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

/*-----------------form-frame-----------------*/
.hero-form-frame {
  position: relative;
  width: min(100%, 590px);
  padding: 5px;
  border-radius: var(--radius-xl);
  background: var(--color-accent);
  box-shadow: var(--shadow-soft);
}

.hero-form-surface {
  width: 100%;
  padding: 46px 32px 42px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 18px;
  background: var(--color-page-dark);
  clip-path: polygon(0 0, 70% -10%, 120% 16%, 100% 100%, 8% 100%, 0 94%);
}

.form_wrapper {
  width: 100%;
  min-height: 400px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--color-white);
  background: transparent;
}

.form-step {
  display: none;
  width: 100%;
}

.form-step.active {
  display: block;
}

.form-progress {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  color: var(--color-white);
}

.form-progress_label {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.form-progress_segments {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(26px, 1fr));
  gap: 10px;
}

.form-progress_segment {
  height: 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
}

.form-progress_segment.is-active {
  background: var(--color-accent);
}

.question {
  margin: 10px 0;
  color: var(--color-white);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.16;
  text-wrap: balance;
}

.answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-block: 0;
}

#step-1 .answers .radio-button:last-child,
#step-3 .answers .radio-button:last-child {
  grid-column: 1 / -1;
}

.radio-button input[type="radio"],
input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-button label {
  width: 100%;
  min-height: 55px;
  padding: 10px 15px;
  border: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--color-white);
  color: var(--color-text-dark);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
    text-wrap: balance;
}

.radio-button label:hover,
.radio-button input[type="radio"]:checked + label {
  background: var(--color-accent);
  color: var(--color-text-dark);
}

.icon-arrow,
.icon-arrow-black {
  filter: brightness(0);
}

.selected-indicator {
  display: none;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-left: auto;
  border: 2px solid var(--color-text-dark);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.radio-button input[type="radio"]:checked + label .selected-indicator {
  display: inline-flex;
}

.radio-button input[type="radio"]:checked + label .icon-arrow-black {
  display: none;
}

.answers-contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.answers-contact .form-check {
  grid-column: 1 / -1;
}

.form-input {
  display: flex;
  flex-direction: column;
}

.form-input input,
.form-input select,
.hero-form-surface input,
.hero-form-surface select {
  width: 100%;
  max-width: none;
  padding: 14px 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text-dark);
}

.form-input select,
.hero-form-surface select {
  padding-right: 48px;
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--color-white);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-text-dark) 50%),
    linear-gradient(135deg, var(--color-text-dark) 50%, transparent 50%);
  background-position:
    calc(100% - 24px) 50%,
    calc(100% - 18px) 50%;
  background-size:
    7px 7px,
    7px 7px;
  background-repeat: no-repeat;
}

#step-5 .answers .form-input {
  grid-column: 1 / -1;
}

.field-help {
  margin: 10px 0 0;
  color: var(--color-white);
  font-size: 14px;
}

.form-check {
  padding: 0;
  text-align: left;
}

.form-check label {
  position: relative;
  padding-left: 26px;
  color: var(--color-white);
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 2px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-white);
  border-radius: 4px;
}

.form-check input[type="checkbox"]:checked + .checkmark::after {
  content: "\2713";
  display: block;
  color: var(--color-white);
  font-size: 13px;
  line-height: 13px;
  text-align: center;
}

#politica-link {
  color: var(--color-white);
  text-decoration: underline;
}

.form-footer {
  margin-top: 20px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
}

.form-back,
.form-footer .prev {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--color-white);
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0;
  transition: transform 0.25s ease;
}

.form-back:hover,
.form-footer .prev:hover {
  background: transparent;
  color: var(--color-white) !important;
  transform: scale(1.05);
}

.form-footer .cta.next {
  width: fit-content;
  height: 55px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  letter-spacing: 0.06em;
}

.form-footer .cta.next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#Politica .modal-header {
  justify-content: space-between;
}

/*-----------------chatbot-----------------*/
.chat-messaging .radio-button label {
  min-height: 30px;
}
.chat-messaging {
  width: 100%;
  max-width: 345px;
  min-width: 345px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 10px;
  height: min(500px, calc(100vh - 80px));
  min-height: 460px;
  padding: 0 20px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}
#chatbotform {
  height: calc(100% - 72px);
  min-height: 370px;
  overflow-x: visible;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 5px 0 14px;
}
#chatbotform:-webkit-scrollbar {
  display: none;
}
.chat-messaging .form-step {
  display: none;
  position: relative;
  opacity: 0;
}
.chat-messaging .form-step.active {
  display: block;
  animation-name: fadeIn;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
.chatbot-nav {
  padding: 10px;
  border-bottom: 1px solid rgba(44, 41, 36, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatpersona {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.chatpersona img {
  width: 40px;
  height: 40px;
  aspect-ratio: 1;
  border-radius: 50px;
}
.persona-txt {
  margin-left: 10px;
}
.persona-txt h6 {
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-text-dark);
  margin: 0 0 5px 0;
}
.persona-txt p {
  margin: 0;
  font-size: 10px;
  font-weight: 300;
  line-height: 1;
  color: var(--color-text-dark);
  opacity: 0.4;
}
.chat-control {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0 15px;
  position: absolute;
  right: 0px;
  top: 0px;
}
.close-chat {
  background: var(--color-accent);
  border: none;
  min-width: 20px;
  min-height: 20px;
  padding: 0;
  aspect-ratio: 1;
  height: auto;
  font-size: 12px;
  border-radius: 20px;
  transition: all 0.5s ease;
}
.close-chat img {
  width: 14px;
}
.close-chat:hover {
  background: transparent;
  transform: scale(1.1);
}
.message-load {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 10px;
  position: relative;
}
.lds-ellipsis,
.lds-ellipsis div {
  box-sizing: border-box;
}
.lds-ellipsis {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 30%;
  height: 10px;
}
.lds-ellipsis div {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-text-dark);
  opacity: 0.3;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}
.message-bot {
  background: var(--color-white);
  border-radius: 10px;
  padding: 15px 0px;
  max-width: 100%;
  position: relative;
  margin: 0 0 5px 0;
}
.message-bot p {
  font-size: 12px;
  line-height: 1.2;
  color: var(--color-text-dark);
  font-weight: 300;
  margin: 5px 0;
}
.message-bot p b {
  font-weight: 500;
}
.help {
  font-size: 10px !important;
  line-height: 1 !important;
}
.message-answer {
  max-width: 90%;
  position: relative;
  text-align: right;
  margin: 0 0 5px auto;
  display: none;
  animation: fadeIn 0.6s ease forwards;
}
.message-answer p {
  text-align: right;
  display: inline-block;
  white-space: normal;
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  background: var(--cream);
  padding: 10px;
  border-radius: 5px;
}
.message-bot p a {
  cursor: pointer;
  text-decoration: underline !important;
  font-weight: 500;
  transition: all 0.6s ease;
}
.message-bot p a:hover {
  color: var(--color-accent) !important;
}
.message-bot #politica-link {
  text-decoration: underline;
  color: var(--color-text-dark);
}
.message-bot #politica-link:hover,
.message-bot #politica-link:focus {
  color: var(--color-text-dark) !important;
  text-decoration: underline;
}
#chat-summary {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
#chat-summary li {
  font-size: 13px;
  line-height: 1;
  font-weight: 300;
  margin: 5px 0;
}
#chat-summary li strong {
  font-weight: 500;
}
#chatbotform .radio-button:first-of-type {
  margin-top: 10px;
}
#chatbotform .radio-button input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
#chatbotform .radio-button label {
  width: 100%;
  max-width: 100%;
  min-height: 30px;
  height: 30px;
  margin-bottom: 5px;
  padding: 8px 12px !important;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border: 0.2px solid var(--color-page-dark);
  border-radius: 5px;
  background: var(--color-white);
  color: var(--color-text-dark);
  cursor: pointer;
  font-size: 12px !important;
  font-weight: 400;
  line-height: 1.2;
  text-wrap: balance;
  transition: all 0.6s ease !important;
}
#chatbotform .checkbox-label {
  font-size: 12px !important;
  padding: 10px !important;
  display: inline-flex;
  align-items: center;
  width: 100%;
  gap: 8px;
  transition: all 0.6s ease !important;
}
#chatbotform .checkbox-label.is-checked {
  background: var(--color-accent);
  border-radius: 6px;
  color: var(--color-text-dark);
}
#chatbotform .form-input.form-check {
  height: auto;
  min-height: 0;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

#chatbotform .form-check label {
  width: 100%;
  min-height: 0;
  padding-left: 28px;
  color: var(--color-text-dark);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

#chatbotform .form-check label span,
#chatbotform .form-check label a {
  color: var(--color-text-dark);
}

#chatbotform .form-check label a {
  text-decoration: underline !important;
  font-weight: 600;
}

#chatbotform .form-check .checkmark {
  top: 0;
  border-color: var(--color-text-dark);
}

#chatbotform .form-check input[type="checkbox"]:checked + .checkmark::after {
  color: var(--color-text-dark);
}
#chatbotform label.error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #d32f2f;
}
#chatbotform .radio-button label:hover,
#chatbotform .radio-button input[type="radio"]:checked + label {
  background: var(--color-accent);
  border: 0.2px solid var(--color-accent);
  color: var(--color-text-dark);
}
#chatbotform .form-input {
  width: 100%;
  min-height: 36px;
  height: 36px;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 300;
  border-radius: 5px;
  background: var(--color-white);
  border: 0.2px solid rgba(44, 41, 36, 0.3);
  margin-top: 8px;
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#chatbotform #chatbot-step-6 .form-input.form-check {
  border: none;
  padding: 0;
}
#chatbotform .form-input input:not([type="checkbox"]),
#chatbotform .form-input select {
  width: 100%;
  height: 34px;
  min-height: 34px;
  min-width: 0;
  flex: 1 1 auto;
  border: none;
  background: transparent;
  font-size: 12px;
  line-height: 34px;
  color: var(--color-text-dark);
  font-weight: 300;
  padding: 0;
  box-sizing: border-box;
}
#chatbotform .form-input select {
  padding-right: 32px;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-text-dark) 50%),
    linear-gradient(135deg, var(--color-text-dark) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}
#chatbotform .form-input input::placeholder {
  color: rgba(0, 0, 0, 0.4);
  opacity: 1;
}

#chatbotform .form-input select,
#chatbotform .form-input select:required:invalid,
#chatbotform .form-input select option[disabled] {
  color: rgba(0, 0, 0, 0.4);
}

#chatbotform .form-input select option:not([disabled]) {
  color: var(--color-text-dark);
}
select {
  padding: 0;
}
#chatbotform .form-input input:focus-visible {
  outline: none !important;
}
#chatbotform .form-input select:focus-visible {
  outline: none !important;
}
::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.4);
  line-height: 1;
}
:-moz-placeholder {
  color: rgba(0, 0, 0, 0.4);
  opacity: 1;
  line-height: 1;
}
::-moz-placeholder {
  color: rgba(0, 0, 0, 0.4);
  opacity: 1;
  line-height: 1;
}
:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.4);
  line-height: 1;
}
::-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.4);
  line-height: 1;
}
::placeholder {
  color: rgba(0, 0, 0, 0.4);
  line-height: 1;
}
.next_chatbot {
  width: calc(100% - 20px);
  height: 40px;
  display: block;
  box-sizing: border-box;
  border-radius: 50px;
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: var(--color-text-dark);
  margin: 20px auto 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  transform-origin: center;
  transition: all 0.6s ease;
  list-style: 1;
}
.next_chatbot:hover {
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: var(--color-text-dark);
  transform: scale(1.05);
}
.next_chatbot:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}
.next_chatbot:disabled:hover {
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: var(--color-text-dark);
  transform: none;
}
#chatbotform .form-input.disabled-step,
#chatbotform .next_chatbot.disabled-step,
#chatbotform .radio-button label.disabled-step,
#chatbotform .radio-button input[type="radio"]:checked + label.disabled-step {
  filter: grayscale(1);
  background: transparent;
  color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.2);
}
#chatbotform .radio-button input[type="radio"]:checked + label.disabled-step {
  background: var(--color-accent);
  color: var(--color-text-dark);
  border: 1px solid var(--color-accent);
  filter: none;
}
#chatbotform .next_chatbot:hover.disabled-step,
#chatbotform .radio-button label:hover.disabled-step {
  transform: none;
}
#chatbotform input:-webkit-autofill,
#chatbotform input:-webkit-autofill:hover,
#chatbotform input:-webkit-autofill:focus,
#chatbotform input:-webkit-autofill:active {
  transition: background-color 5000000s ease-in-out 0s;
}
#chatbotform .error {
  color: red;
  font-size: 11px;
  font-weight: 300;
  width: 100%;
  text-align: left;
}

.form-check input[type="checkbox"],
#chatbotform .form-check input[type="checkbox"] {
  position: absolute;
  width: 20px !important;
  height: 20px !important;
  left: 0;
  top: 0;
  margin: 0;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
}

.form-check .checkmark,
#chatbotform .form-check .checkmark {
  width: 20px !important;
  height: 20px !important;
  left: 0;
  pointer-events: none;
}

.form-check label,
#chatbotform .form-check label {
  display: inline-block;
  width: auto;
}

.form-check label a,
#chatbotform .form-check label a {
  position: relative;
  z-index: 3;
}

/* Media Queries */

/* chatbot start */
.chatbot {
  position: fixed;
  z-index: 999;
  right: 30px;
  bottom: 30px;
  display: none;
  opacity: 0;
  transition: all 0.5s ease;
}

.chatbot.is-visible {
  display: none;
  opacity: 0;
}
.chatbot-start {
  width: 350px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: column;
  transition: all 0.5s ease;
}
.chatbot-start.is-hidden {
  display: none;
}
.chatbot-start-message {
  width: 335px;
  min-height: 135px;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px;
}
.chatbot-start-message img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
}
.chatbot-start-txt {
  margin-left: 20px;
}
.chatbot-start-txt p {
  font-size: 12px;
  line-height: 1.1;
  font-weight: 300;
  margin: 8px 0;
}
.chatbot-start-txt p b {
  font-weight: 500;
}
.chatbot-start-close {
  min-width: unset;
  width: 20px;
  height: 20px;
  background: var(--color-page-dark);
  border: none;
  color: var(--color-white);
  padding: 10px;
  border-radius: 50px;
  align-content: center;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -5px;
  right: -5px;
}
.chatbot-start-close img {
  width: 10px;
  height: 10px;
  border-radius: 0;
  aspect-ratio: 1;
}
.chatbot-start-btns {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 20px;
  gap: 0 20px;
}
.chatbot-start-btns button {
  min-width: 95px;
  height: 30px;
  padding: 0 15px;
  font-size: 13px;
  line-height: 1;
  font-weight: 300;
  border-radius: 5px;
}
.chat {
  border: none;
  background: var(--color-accent);
  color: var(--color-text-dark);
}
.chatbot-notification {
  text-align: right;
  opacity: 0;
  display: none;
  cursor: pointer;
  transition: all 0.5s ease;
}
.chatbot-notification.is-visible {
  display: block;
  opacity: 1;
}
.chatbot-notification img {
  height: 60px;
}
.chatbot-messenger {
  display: none;
  opacity: 0;
  transition: all 0.5s ease;
}
.chatbot-messenger.is-visible {
  display: block;
  opacity: 1;
}
@keyframes chatbotPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/*-----------------final-messages-----------------*/
.form-final-state {
  min-height: 390px;
  color: var(--color-white);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.form-final-state .form-progress {
  align-self: stretch;
  margin-bottom: 8px;
}

.final-icon {
  width: 100px;
  height: 100px;
  border: 8px solid var(--color-accent);
  border-radius: 50%;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
}

.final-icon-info {
  font-family: Arial, sans-serif;
}

.form-final-state h2 {
  margin: 0;
  color: var(--color-white);
  font-size: 32px;
  text-wrap: balance;
}

.form-final-state p {
  max-width: 520px;
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  text-wrap: balance;
}

.final-flatpay-logo {
  width: min(220px, 58%);
  color: var(--color-white);
  margin: 0 0 4px;
}

.final-cta {
  border: 2px solid var(--color-white);
  background: transparent;
  color: var(--color-white);
  padding: 14px 24px;
  letter-spacing: 0.06em;
}

.final-cta:hover {
  background: transparent;
  color: var(--color-white) !important;
}

/*-----------------industries-----------------*/
.compare-portal {
  background: var(--color-white);
  padding: 90px 0 0;
  color: var(--color-text-dark);
}

.compare-portal_title,
.payment-section_title,
.faq_title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  text-wrap: balance;
}

.compare-portal_title {
  max-width: 760px;
  margin: 0 auto 25px;
}

.compare-portal_layout {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(260px, 1fr);
  gap: 70px;
  align-items: center;
}

.compare-portal_frame {
  padding: 18px;
  border-radius: 18px;
  display: grid;
  place-items: center;
}

.compare-portal_frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.compare-portal_content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.compare-portal_cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 160px));
  gap: 18px;
}

.compare-card {
  height: 150px;
  aspect-ratio: 1;
  padding: 22px 16px 18px;
  display: grid;
  justify-items: center;
  gap: 14px;
  border-radius: var(--radius-md);
  background: var(--color-page-dark);
  color: var(--color-white);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.compare-card_icon,
.compare-card_icon img {
  width: 60px;
  height: 60px;
}

.compare-card p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.25;
}

.compare-portal_cta {
  margin-top: 25px;
  padding: 12px 24px;
}

/*-----------------benefits-----------------*/
.payment-section {
  background: var(--color-white);
  padding: 70px 0 110px;
  color: var(--color-text-dark);
  overflow: visible;
}

.payment-section_title {
  margin: 0 0 46px;
}

.payment-section_layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  grid-template-areas:
    "content media"
    "logos media";
  gap: 32px 70px;
  align-items: start;
}

.payment-section_content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.payment-section_lead {
  max-width: 520px;
  margin: 0 auto;
  font-weight: 700;
  text-align: center;
}

.payment-section_benefits {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.benefit-card {
  min-height: 160px;
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border-radius: var(--radius-md);
  background: var(--color-accent);
  text-align: center;
}

.benefit-card_icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}

.benefit-card_icon svg {
  width: 30px;
  height: auto;
}

.benefit-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1;
}

.payment-section_logos {
  grid-area: logos;
  width: 100%;
  overflow: hidden;
}

.payment-logo-slide {
  min-height: 72px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.payment-logo {
  max-width: 120px;
  max-height: 80px;
  width: auto;
  height: auto;
  margin: 0 auto;
  padding: 8px 14px;
}

.payment-logos-slider .slick-track {
  display: flex;
  align-items: center;
}

.payment-logos-slider .slick-slide {
  height: auto;
}

.payment-section_media {
  grid-area: media;
  display: flex;
  justify-content: flex-end;
}

.payment-frame {
  padding: 16px;
  border-radius: 22px;
  background: var(--color-page-dark);
  box-shadow: 0 22px 34px rgba(var(--shadow-rgb), 0.18);
}

.payment-frame img {
  width: min(360px, 80vw);
  height: auto;
  border-radius: 16px;
  clip-path: polygon(0 0, 80% 0, 100% 18%, 100% 100%, 22% 100%, 0 82%);
}

/*-----------------faq-----------------*/
.faq {
  padding: 0;
  background: var(--color-white);
  color: var(--color-text-dark);
}

.faq_layout {
  display: grid;
  grid-template-columns: minmax(200px, 380px) minmax(260px, 1fr);
  gap: 60px;
  align-items: end;
}
.faq_media {
  width: 100%;
  height: auto;
}
.faq_media img {
  width: 100%;
  height: auto;
}

.faq_content {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.faq_center {
  flex: 1;
  padding: 30px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  border-radius: var(--radius-lg);
  background: var(--color-page-dark);
  box-shadow: 0 22px 36px -26px rgba(var(--shadow-rgb), 0.7);
}

.faq_title {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-white);
}

.faq_list {
  display: grid;
  gap: 16px;
}

.faq_item {
  border: 0;
  background: transparent;
}

.accordion-button {
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  color: var(--color-white);
  box-shadow: none;
  font-size: 21px;
  font-weight: 600;
  text-wrap: balance;
}

.accordion-button:not(.collapsed),
.accordion-button:focus {
  background: transparent;
  color: var(--color-white);
  box-shadow: none;
}

.accordion-button::after {
  content: "+";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--color-accent);
  background-image: none;
  color: var(--color-text-dark);
  font-size: 18px;
  font-weight: 700;
}

.accordion-button:not(.collapsed)::after {
  content: "-";
}

.accordion-body {
  padding: 0 0 8px;
}

.accordion-body p {
  margin: 8px 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.faq_cta {
  align-self: center;
  margin: auto;
  padding: 12px 26px;
}

.faq_footer {
  margin-bottom: 20px;
  align-self: flex-end;
  opacity: 0.8;
}

/*-----------------adstrategy-footer-----------------*/
#section-ads {
  display: none;
}

#section-ads img {
  margin-inline: auto;
  margin-block: 30px;
}

/*-----------------media-queries-----------------*/
@media (max-width: 1200px) {
  .hero_wrapper {
    grid-template-columns: 1fr;
  }

  .hero_wrapper .left,
  .right,
  .hero-copy {
    align-items: center;
    text-align: center;
  }

  .right {
    min-height: 0;
    width: 100%;
    justify-content: center;
  }

  .subtitle {
    max-width: 550px;
  }

  .hero-media {
    justify-content: center;
  }

  .hero-media_frame {
    width: min(420px, 90%);
    margin-left: 0;
  }

  .hero-art {
    width: min(260px, 70%);
  }

  .hero-form-frame {
    width: min(100%, 680px);
  }
  .compare-portal_frame img {
    max-width: min(400px, 80%);
  }

  .compare-portal_layout,
  .payment-section_layout {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 40px;
  }

  .payment-section_content,
  .payment-section_logos,
  .payment-section_media {
    grid-area: auto;
  }

  .payment-section_media {
    justify-content: center;
  }

  .payment-frame img {
    width: min(250px, 80vw);
  }

  .benefit-card {
    height: auto;
    min-height: fit-content;
    text-wrap: balance;
  }
}

@media (max-width: 991px) {
  .nav_wrapper {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .hero_wrapper {
    margin-block: 80px;
    place-items: center;
  }

  .hero_wrapper .left {
    gap: 40px;
  }

  .title,
  .subtitle {
    text-align: center;
  }

  .compare-portal_layout {
    justify-items: center;
  }

  .compare-portal_cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .payment-section_lead {
    text-align: center;
  }
  .payment-section {
    padding: 70px 0 25px;
  }

  .faq_layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq_media {
    order: 1;
  }

  .faq_content {
    order: 2;
  }

  .faq_center {
    padding: 25px 5%;
  }

  .faq_footer {
    margin-top: auto;
    align-self: center;
  }

  .faq_media img,
  .payment-frame {
    display: none;
    /* max-width: min(200px, 50%) !important;
    margin-inline: auto; */
  }
}

@media (max-width: 768px) {
  .site-nav {
    padding-top: 50px;
  }

  .title {
    font-size: 34px;
  }

  .hero_wrapper {
    margin-block: 55px;
  }

  .compare-portal_layout {
    gap: 24px;
  }

  .payment-section_benefits {
    flex-direction: column;
    gap: 0;
  }

  .payment-section_title,
  .faq_title {
    font-size: 24px;
  }

  .accordion-button {
    font-size: 18px;
  }
}

@media (max-width: 650px) {
  .answers,
  .answers-contact {
    grid-template-columns: 1fr;
  }

  .form-progress {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .question {
    font-size: 22px;
    text-align: left;
  }

  .form-final-state h2 {
    font-size: 26px;
  }

  .form-final-state p {
    font-size: 17px;
  }
}

@media (max-width: 500px) {
  :root {
    --container-padding: 20px;
  }

  .title {
    font-size: 30px;
  }

  .hero_wrapper {
    gap: 30px;
    margin-top: 40px;
  }

  .hero-media_frame {
    width: 150px;
    padding: 5px;
  }

  .site-header {
    padding-bottom: 30px;
  }

  .hero-form-frame {
    padding: 5px;
    border-radius: var(--radius-lg);
  }

  .hero-form-surface {
    padding: 24px 18px 20px;
  }

  .radio-button label {
    min-height: 35px;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 13px;
  }

  .compare-portal {
    padding: 40px 0 10px;
  }

  .compare-portal_media,
  .compare-portal_frame {
    display: none;
  }

  .compare-portal_title {
    margin-bottom: 30px;
    font-size: 22px;
  }

  .compare-portal_cta {
    margin-top: 30px;
  }

  .payment-section {
    padding: 40px 0;
  }

  .payment-section_title {
    margin-bottom: 30px;
  }

  .benefit-card {
    padding: 18px 12px;
    text-align: center;
  }

  .benefit-card_icon {
    width: 30px;
    height: 30px;
  }

  .payment-section_content {
    gap: 10px;
  }

  .payment-section_logos {
    display: none;
  }
}

/*-----------------chatbot-media-----------------*/

@media only screen and (max-width: 1200px) {
  .message-bot,
  .message-answer {
    max-width: 100%;
  }
}

@media only screen and (max-width: 414px) {
  .message-bot {
    padding: 20px 25px;
  }
  .message-bot p,
  .message-answer p {
    font-size: 13px;
  }
  #chatbotform .next_chatbot {
    font-size: 12px;
  }
  .form-input input {
    width: 95%;
  }
  ::-webkit-input-placeholder {
    font-size: 14px;
  }
  :-moz-placeholder {
    font-size: 14px;
  }
  ::-moz-placeholder {
    font-size: 14px;
  }
  :-ms-input-placeholder {
    font-size: 14px;
  }
  ::-ms-input-placeholder {
    font-size: 14px;
  }
  ::placeholder {
    font-size: 14px;
  }
  .radio-button label {
    font-size: 12px;
  }
}

@media only screen and (max-width: 350px) {
  .message-bot {
    padding: 15px;
  }
  .chat-messaging {
    width: 95%;
    min-height: 430px;
    padding: 0 10px;
  }
}

@media only screen and (max-width: 330px) {
  .message-bot p,
  .message-answer p {
    font-size: 12px;
  }
  .radio-button label {
    font-size: 11px;
  }
  ::-webkit-input-placeholder {
    font-size: 12px;
  }
  :-moz-placeholder {
    font-size: 12px;
  }
  ::-moz-placeholder {
    font-size: 12px;
  }
  :-ms-input-placeholder {
    font-size: 12px;
  }
  ::-ms-input-placeholder {
    font-size: 12px;
  }
  ::placeholder {
    font-size: 12px;
  }
}

@media only screen and (max-width: 450px) {
  .chat-messaging {
    max-width: 100%;
    min-width: 100%;
  }
  .chatbot-start {
    width: 100%;
  }
  .chatbot {
    right: 0px;
  }
}

@media only screen and (max-width: 450px) {
  .chatbot {
    right: 0px;
    left: 0;
    margin: auto;
    width: 90%;
    display: flex;
    justify-content: center;
    opacity: 1;
  }
  .chatbot-start {
    display: none;
  }
  .chatbot-notification {
    display: block;
    opacity: 1;
    animation: chatbotPulse 5s ease-in-out infinite;
  }
  #chatbotform .radio-button label {
    justify-content: center;
  }
  .chatbot.is-open .chatbot-notification {
    display: none !important;
    animation: none;
  }
}
