/* HEADER SECTION */

.top-bar {
  width: 100%;
  height: 10vh;
}

.container {
  width: 1200px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  /* padding: 0 200px; */
}

.logo-kf {
  width: 250px;
  height: 54px;
}

.logo-kg {
  width: 266px;
  height: 35px;
}

/* MAIN SECTION  */

.main-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 25px;
}
.background-img {
  width: 500px;
}
.left-column,
.right-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.header-text {
  color: #003154;
  font-size: clamp(32px, 45px, 55px);
  text-transform: uppercase;
  line-height: 1.3;
  white-space: nowrap;
}

.text-aligner {
  padding: 0.18em 0.4em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.background-text-color {
  background: #e61732;
  color: #fff;
  padding: 0.18em 0.4em;
  line-height: 1.05;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  display: inline;
}
.list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.list-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.list-item-icon {
  width: 50px;
}

.list-item-text {
  font-size: 20px;
  font-weight: 600;
}
/* FORM */

.form {
  width: 650px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #ffffff;
  padding: 20px 25px;
  border-radius: 20px;
  -webkit-box-shadow: 2px 2px 20px #00000017;
  -moz-box-shadow: 2px 2px 20px #00000017;
  box-shadow: 2px 2px 20px #00000017;
}

.form-container {
  position: relative;
  width: 100%;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 15px;
  margin-bottom: 25px;
}

.inputs-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-grow: 1;
}

.form-header {
  width: 100%;
  font-size: 18px;
  font-family: Helvetica, Arial, sans-serif;
  /* margin: 0 auto; */
  margin-bottom: 20px;
  color: #e61732;
}

.input-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
}

.input-label {
  width: 110px;
  text-wrap: nowrap;
  font-family: Helvetica, Arial, sans-serif;
}

.nip-input,
.phone-input {
  height: 50px;
  width: 100%;
  border-radius: 10px;
  border: none;
  -webkit-box-shadow: 0 0 15px #00000017;
  -moz-box-shadow: 0 0 15px #00000017;
  box-shadow: 0 0 15px #00000017;
}

.submit-btn-wrapper {
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.submit-btn {
  font-family: Helvetica, Arial, sans-serif;
  cursor: pointer;
  background-color: #e61732;
  color: #ffffff;
  border: 1px solid #e61732;
  padding: 10px 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-wrap: nowrap;
}
.submit-btn:hover {
  background-color: transparent;
  color: #e61732;
}

.separator,
.top-bar-separator,
.tile-separator {
  width: 100%;
  height: 2px;
  background-color: #f8f8f8;
  margin-bottom: 25px;
}

.top-bar-separator {
  display: none;
}

.call-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.call-cta {
  background-color: #e61732;
  text-decoration: none;
  color: #ffffff;
  padding: 10px 15px;
  border: 1px solid #e61732;
  transition: all 0.3s ease;
  border-radius: 10px;
}

.call-label {
  font-family: Helvetica, Arial, sans-serif;
}

.call-cta:hover {
  background-color: transparent;
  color: #e61732;
}

.legal-note {
  font-size: 12px;
}

.toggle-btn {
  color: #e61732;
  cursor: pointer;
  background-color: transparent;
  border: none;
  transition: all 0.3s ease;
}

.toggle-btn:hover {
  color: #000000;
}

.nip-error,
.phone-error {
  position: absolute;
  left: 0;
  font-family: Open sans;
  font-size: 11px;
  color: #e61732;
  animation: appear 0.3s ease forwards;
}

.nip-error {
  top: -10px;
}

.hide {
  display: none;
}

/* PRICE SECTION */

.price-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f8f8f8;
  padding: 50px 20px;
}

.price-section-header {
  margin-bottom: 50px;
}

.tiles-container {
  width: 1200px;
  display: flex;
  justify-content: space-between;
}

.tile-header {
  font-size: 16px;
  margin-bottom: 20px;
}

.tile {
  background-color: #ffffff;
  -webkit-box-shadow: 2px 2px 20px #00000017;
  -moz-box-shadow: 2px 2px 20px #00000017;
  box-shadow: 2px 2px 20px #00000017;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 320px;
}

.value-container {
  margin-bottom: 5px;
}
.value-container,
.red-value-container {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  white-space: nowrap;
  padding: 0 5px;
}

.red-value-container {
  background-color: #fef5f6;
}

.value-title,
.red-value-title,
.red-value,
.value {
  font-size: 14px;
  white-space: nowrap;
}

.value,
.red-value {
  font-weight: 800;
}

.red-value,
.red-value-title {
  color: #e61732;
}

.tile-separator {
  margin-top: 15px;
}

.bottom-text {
  width: 100%;
  font-size: 14px;
}

.cost-tag-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cost-tag-value {
  color: #0db319;
  font-weight: 800;
}

.cost-tag {
  width: 50px;
}

/* FOOTER  */

.footer {
  background-color: #003154;
  color: #ffffff;
  padding: 60px 30px;
}

.footer-container {
  margin: 0 auto;
  width: 1200px;
}

.footer-logo {
  width: 400px;
  margin-bottom: 60px;
}

.footer-text {
  max-width: 900px;
  font-style: normal;
}

@keyframes appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.expanded {
  display: none;
}

@media (max-width: 1250px) {
  .container {
    width: 90%;
  }

  .tiles-container {
    width: 1000px;
  }

  .footer-container {
    width: 1000px;
  }
}

@media (max-width: 1050px) {
  .main-section {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    padding: 15px 15px 40px 15px;
  }

  .right-column {
    flex-direction: row-reverse;
  }

  .left-column {
    align-items: center;
  }

  .tiles-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
  }

  .list {
    /* align-items: center; */
    justify-content: center;
  }

  .footer-container {
    margin: 0 auto;
    width: 90%;
  }
}

@media (max-width: 750px) {
  .logo-kf {
    width: 150px;
    height: 54px;
  }

  .logo-kg {
    width: 166px;
    height: 35px;
  }
  .header-text {
    font-size: 35px;
  }

  .form {
    width: 90%;
  }

  .form-container {
    align-items: center;
    flex-direction: column;
    height: fit-content;
  }

  .inputs-container {
    width: 90%;
  }

  .submit-btn-wrapper {
    width: 90%;
  }

  .submit-btn {
    width: 100%;
  }

  .right-column {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .logo-kf {
    width: 100px;
  }

  .logo-kg {
    width: 116px;
  }
  .top-bar {
    height: 5vh;
  }
  .top-bar-separator {
    display: block;
    margin: 0;
  }

  /* MAIN */

  .header-text {
    font-size: 26px;
    color: #000000;
  }

  .form-header {
    font-size: 16px;
  }

  .inputs-container {
    width: 100%;
  }

  .submit-btn-wrapper {
    width: 100%;
  }

  .input-label {
    width: 60px;
    font-size: 12px;
  }

  .submit-btn {
    font-size: 14px;
  }

  .call-label {
    font-size: 12px;
  }

  .call-cta {
    font-size: 14px;
  }

  .legal-note {
    font-size: 8px;
  }

  .nip-error,
  .phone-error {
    position: absolute;
    left: 0;
    font-family: Open sans;
    font-size: 11px;
    color: #e61732;
    animation: appear 0.3s ease forwards;
  }

  .nip-error {
    top: -20px;
  }

  .list-item-icon {
    width: 35px;
  }

  .list-item-text {
    font-size: 14px;
  }

  .price-section {
    padding: 25px 15px;
  }

  .price-section-header {
    margin-bottom: 25px;
  }

  /* FOOTER */

  .footer {
    padding: 30px 20px;
  }

  .footer-container {
    width: 100%;
    margin: 0;
  }

  .footer-logo {
    width: 215px;
    margin-bottom: 20px;
  }

  .footer-text {
    font-size: 10px;
  }
}

@media (max-width: 400px) {
  .header-text {
    font-size: 22px;
    color: #000000;
  }
}
