.leasing-calc {
    padding: 56px 0 80px;
}

.leasing-calc__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 28px;
}

.leasing-calc__title {
    font-size: 30px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0 0 10px;
}

.leasing-calc__subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

/* Tabs */
.leasing-calc__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.leasing-calc__tab {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

    .leasing-calc__tab:hover {
        border-color: #cbd5e1;
    }

    .leasing-calc__tab.is-active {
        background: #0a0a0a;
        color: #fff;
        border-color: #0a0a0a;
    }

/* Panels */
.leasing-calc__panel {
    display: none;
}

    .leasing-calc__panel.is-active {
        display: block;
    }

.leasing-calc__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

/* Form card */
.leasing-calc__form-card {
    border: 1px solid #e5e7eb;
    border-right: none;
    border-radius: 16px 0 0 16px;
    padding: 28px;
    background: #fff;
}

.leasing-calc__form-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #0a0a0a;
}

.leasing-calc__form-sub {
    font-size: 14px;
    color: #9ca3af;
    margin: 0 0 22px;
}

.leasing-calc__field {
    margin-bottom: 18px;
}

.leasing-calc__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.leasing-calc__optional {
    font-size: 12px;
    font-weight: 400;
    color: #9ca3af;
}

.leasing-calc__input {
    width: 100%;
    height: 46px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    color: #111;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .leasing-calc__input::placeholder {
        color: #b6bcc6;
    }

    .leasing-calc__input:focus {
        border-color: #36c7f3;
        box-shadow: 0 0 0 3px rgba(54, 199, 243, 0.15);
    }

/* Slider */
.leasing-calc__slider-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.leasing-calc__slider-value {
    font-size: 14px;
    font-weight: 700;
    color: #0a0a0a;
    white-space: nowrap;
}

.leasing-calc__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  box-sizing: border-box;
  /* razmak izmedu krajnjih vrijednosti i rubova slidera */
  padding: 0 12px;
  background-color: #e5e7eb;
  background-image: linear-gradient(90deg, #00ccff 0%, #80ceaa 100%);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  outline: none;
  margin-top: 6px;
}

    .leasing-calc__slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid #36c7f3;
        cursor: pointer;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }

    .leasing-calc__slider::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid #36c7f3;
        cursor: pointer;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }

/* Submit (form) */
.leasing-calc__submit {
    width: fit-content;
    min-height: 50px;
    border: none;
    border-radius: 10px;
    background: #0a0a0a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
    transition: filter 0.2s ease, transform 0.2s ease;
    padding: 14px 40px;
}

    .leasing-calc__submit:hover {
        filter: brightness(0.92);
        transform: translateY(-1px);
    }

/* Result card */
.leasing-calc__result-card {
    border-radius: 0 16px 16px 0;
    padding: 28px;
    background: #d9ece1;
    display: flex;
    flex-direction: column;
}

.leasing-calc__result-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4b5563;
}

.leasing-calc__result-value {
    font-size: 40px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 6px 0 12px;
    line-height: 1.1;
}

.leasing-calc__result-unit {
    font-size: 18px;
    font-weight: 600;
    color: #0a0a0a;
}

.leasing-calc__result-note {
    font-size: 12px;
    color: #4b5563;
    margin: 0 0 18px;
    line-height: 1.5;
}

.leasing-calc__rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.leasing-calc__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    color: #374151;
}

.leasing-calc__row-value {
    font-weight: 700;
    color: #0a0a0a;
    white-space: nowrap;
}

.leasing-calc__result-foot {
    font-size: 11px;
    color: #6b7280;
    margin: 14px 0 0;
    line-height: 1.5;
}

.leasing-calc__cta-primary {
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 10px;
    background: #0a0a0a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: filter 0.2s ease, transform 0.2s ease;
    padding: 14px 40px;
}

    .leasing-calc__cta-primary:hover {
        filter: brightness(0.92);
        transform: translateY(-1px);
    }

.leasing-calc__cta-secondary {
    width: 100%;
    min-height: 50px;
    border: 1px solid #cbd5cf;
    border-radius: 10px;
    background: #fff;
    color: #0a0a0a;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
    padding: 14px 40px;
}

    .leasing-calc__cta-secondary:hover {
        background: #f3f4f6;
        transform: translateY(-1px);
    }

@media screen and (max-width: 991px) {
    .leasing-calc__grid {
        grid-template-columns: 1fr;
    }

    .leasing-calc__form-card {
        border: 1px solid #e5e7eb;
        border-bottom: none;
        border-radius: 16px 16px 0 0;
    }

    .leasing-calc__result-card {
        border-radius: 0 0 16px 16px;
    }

    .leasing-calc__title {
        font-size: 24px;
    }
}

.leasing-calc__info-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  text-align: center;
}

/* ----------------------- Financing vehicles ----------------------- */
.leasing-financing-vehicles {
  padding: 0 0 72px;
  background: #fff;
}

.leasing-financing-vehicles__title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0 0 30px;
}

.leasing-financing-vehicles__grid {
  transition: opacity 0.2s ease;
}

.leasing-financing-vehicles__grid.is-loading {
  opacity: 0.45;
}

.leasing-financing-vehicles__empty {
  margin: 0;
  padding: 24px 0;
  text-align: center;
  color: #6b7280;
}

@media screen and (max-width: 991px) {
  .leasing-financing-vehicles {
    padding-bottom: 56px;
  }

  .leasing-financing-vehicles__title {
    font-size: 24px;
  }

  .leasing-financing-vehicles__grid > .vehicle-item-card:nth-child(n + 7) {
    display: none !important;
  }
}

/* ----------------------- Leasing FAQ ----------------------- */
.leasing-info {
  padding: 56px 0 72px;
  background: #f5f6fb;
}

.leasing-info__head {
  text-align: center;
  margin-bottom: 36px;
}

.leasing-info__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 10px;
}

.leasing-info__title {
  font-size: 30px;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0;
}

.leasing-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.leasing-info__card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px 26px;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.leasing-info__card:hover {
  border-color: #d6dae0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.leasing-info__question {
  font-size: 17px;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0 0 10px;
}

.leasing-info__answer,
.leasing-info__answer p {
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
}

.leasing-info__answer p:not(:last-child) {
  margin-bottom: 10px;
}

.leasing-info:not(.is-expanded) .leasing-info__card:nth-child(n + 7) {
  display: none;
}

.leasing-info__actions {
  display: none;
  text-align: center;
  margin-top: 28px;
}

.leasing-info.has-more .leasing-info__actions {
  display: block;
}

.leasing-info.is-expanded .leasing-info__actions {
  display: none;
}

.leasing-info__more-btn {
  min-height: 50px;
  border: none;
  border-radius: 10px;
  background: #0a0a0a;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 14px 40px;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.leasing-info__more-btn:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}

@media screen and (max-width: 991px) {
  .leasing-info__grid {
    grid-template-columns: 1fr;
  }

  .leasing-info__title {
    font-size: 24px;
  }

  .leasing-info:not(.is-expanded) .leasing-info__card:nth-child(n + 5) {
    display: none;
  }
}

/* ----------------------- Leasing accordion ----------------------- */
.leasing-accordion {
  padding: 64px 0 80px;
}

.leasing-accordion__title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0 0 36px;
}

.leasing-accordion__list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.leasing-accordion__item {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.leasing-accordion__item.is-open {
  border-color: #d6dae0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.leasing-accordion__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.leasing-accordion__question {
  font-size: 17px;
  font-weight: 700;
  color: #0a0a0a;
}

.leasing-accordion__icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.leasing-accordion__icon::before {
  content: "";
  position: absolute;
  top: 35%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #b6bcc6;
  border-bottom: 2px solid #b6bcc6;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.leasing-accordion__item.is-open .leasing-accordion__icon::before {
  top: 55%;
  transform: translate(-50%, -50%) rotate(-135deg);
}

.leasing-accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.leasing-accordion__content {
  padding: 0 26px 24px;
}

.leasing-accordion__content p {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0 0 14px;
}

.leasing-accordion__content p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 991px) {
  .leasing-accordion__title {
    font-size: 24px;
  }

  .leasing-accordion__header {
    padding: 18px 20px;
  }

  .leasing-accordion__content {
    padding: 0 20px 20px;
  }
}

/* ----------------------- Finance help modal ----------------------- */
.leasing-calc-help-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: 'SuisseIntl', sans-serif;
}

.leasing-calc-help-modal.is-open {
  display: flex;
}

html.leasing-calc-help-modal-open,
body.leasing-calc-help-modal-open {
  overflow: hidden !important;
}

.leasing-calc-help-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(34, 34, 34, 0.6);
}

.leasing-calc-help-modal__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.leasing-calc-help-modal__top {
  padding: 18px 20px 0;
  display: flex;
  justify-content: end;
}

.leasing-calc-help-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.leasing-calc-help-modal__close .neo-close::before {
  color: #111;
  font-size: 18px;
}

.leasing-calc-help-modal__body {
  padding: 8px 28px 32px;
}

.leasing-calc-help-modal__title {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #0a0a0a;
}

.leasing-calc-help-modal__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.leasing-calc-help-modal__field {
  display: flex;
  flex-direction: column;
  /* gap: 8px; */
}

.leasing-calc-help-modal__label {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}

.leasing-calc-help-modal__input {
  width: 100%;
  height: 52px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
  color: #111;
  background: #ebf2f7;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.leasing-calc-help-modal__input::placeholder {
  color: #9ca3af;
}

.leasing-calc-help-modal__input:focus {
  background: #e3edf5;
  box-shadow: 0 0 0 3px rgba(54, 199, 243, 0.18);
}

.leasing-calc-help-modal__input.is-invalid {
  border-color: #ef4444;
  background: #fef2f2;
  box-shadow: none;
}

.leasing-calc-help-modal__input.is-invalid:focus {
  border-color: #ef4444;
  background: #fef2f2;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.leasing-calc-help-modal__error {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #ef4444;
}

.leasing-calc-help-modal__error[hidden] {
  display: none;
}

.leasing-calc-help-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: center;
  min-width: 180px;
  height: 52px;
  margin-top: 8px;
  padding: 0 28px 0 22px;
  border: none;
  border-radius: 12px;
  background: #0a0a0a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
  width: 100%;
}

.leasing-calc-help-modal__submit:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}

.leasing-calc-help-modal__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.leasing-calc-help-modal__avatars {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.leasing-calc-help-modal__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #0a0a0a;
  background: linear-gradient(135deg, #8ecae6 0%, #219ebc 100%);
  margin-right: -10px;
}

.leasing-calc-help-modal__avatar--second {
  background: linear-gradient(135deg, #c8e6c9 0%, #66bb6a 100%);
}

@media screen and (max-width: 575px) {
  .leasing-calc-help-modal__body {
    padding: 8px 20px 24px;
  }

  .leasing-calc-help-modal__title {
    font-size: 24px;
  }

  .leasing-calc-help-modal__submit {
    width: 100%;
  }
}
