/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  line-height: 1.875rem;
  color: #202020;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.bg-light-gray {
  background-color: #f0f5f5;
}

.bg-blue-light {
  background-color: #bae6fd;
}

.bg-informative {
  background-color: #d4e8ff;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  border-radius: 1.5625rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 17.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s ease;
  font-size: 1rem;
  line-height: 1.25rem;
  text-transform: none;
}

.btn:first-letter {
  text-transform: uppercase;
}

.btn-primary {
  background-color: #0078d9;
  color: #fff;
}

.btn-primary:hover {
  background-color: #0062b2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 120, 217, 0.3);
}

.btn-small {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  background-color: #fff;
  height: 70px;
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 100;
  transition: all 0.35s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  height: 20px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__nav-item {
  position: relative;
  font-weight: 700;
  font-size: 1rem;
  color: #202020;
}

.header__nav-item > a,
.header__nav-item > span {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  cursor: pointer;
  transition: color 0.3s ease;
  font-weight: 700;
  font-size: 1rem;
}

.header__nav-item > a:hover,
.header__nav-item > span:hover {
  color: #0078d9;
}

.header__nav-item .arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.header__nav-item:hover .arrow-icon {
  transform: rotate(180deg);
}

/* Submenu */
.header__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) rotateX(-90deg);
  transform-origin: top center;
  opacity: 0;
  background: #fff;
  border-radius: 8px;
  min-width: 280px;
  padding: 15px 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 200;
}

.header__nav-item:hover .header__submenu {
  transform: translateX(-50%) rotateX(0);
  opacity: 1;
  pointer-events: all;
}

.header__submenu-item {
  padding: 16px 25px;
  border-bottom: 0.5px solid #f0f5f5;
  transition: background 0.2s;
}

.header__submenu-item:last-child {
  border-bottom: none;
}

.header__submenu-item:hover {
  background-color: #f0f5f5;
}

.header__submenu-item a {
  display: flex;
  flex-direction: column;
}

.header__submenu-title {
  font-weight: 700;
  font-size: 1rem;
  color: #202020;
}

.header__submenu-desc {
  font-weight: 400;
  font-size: 0.875rem;
  color: #2e3d45;
  margin-top: 4px;
}

.header__submenu-tag {
  display: inline-block;
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 15px;
  background-color: #0078d9;
  color: #fff;
  margin-left: 8px;
  vertical-align: middle;
}

/* Mobile menu */
.header__mobile-toggle {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  width: 24px;
  height: 20px;
  position: relative;
  z-index: 200;
}

.header__mobile-toggle span,
.header__mobile-toggle span::before,
.header__mobile-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #202020;
  position: absolute;
  transition: all 0.3s ease;
}

.header__mobile-toggle span {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.header__mobile-toggle span::before {
  content: '';
  top: -6px;
}

.header__mobile-toggle span::after {
  content: '';
  top: 6px;
}

.header__mobile-cta {
  display: none;
}

.header-spacer {
  height: 70px;
}

@media (max-width: 1142px) {
  .header {
    height: 56px;
  }
  .header-spacer {
    height: 56px;
  }
  .header__nav-list {
    display: none;
  }
  .header__mobile-toggle {
    display: block;
  }
  .header__mobile-cta {
    display: block;
    margin-right: 50px;
  }
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 568px;
  padding: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero__card {
  background: #fff;
  border-radius: 59px 59px 59px 15px;
  padding: 36px 32px;
  max-width: 460px;
  width: fit-content;
  animation: fadeInUp 0.6s ease-out;
}

.hero__card h1 {
  font-weight: 600;
  font-size: 36px;
  line-height: 130%;
  margin-bottom: 16px;
  color: #202020;
}

.hero__card p {
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #202020;
  margin-bottom: 24px;
}

.hero__card p strong {
  font-weight: 700;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .hero__container {
    min-height: 610px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
  }
  .hero__card {
    border-radius: 40px 40px 40px 5px;
    padding: 28px 20px;
    max-width: 100%;
  }
  .hero__card h1 {
    font-size: 28px;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .hero__card h1 {
    font-size: 32px;
  }
}

/* ========================================
   LOAN SIMULATOR
   ======================================== */
.loan-simulator {
  padding: 30px;
  background: #bae6fd;
}

.loan-simulator__title {
  font-size: 48px;
  line-height: 110%;
  font-weight: 600;
  text-align: center;
  color: #202020;
  margin-bottom: 30px;
}

.loan-simulator__container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 145px;
  max-width: 1200px;
  margin: 0 auto;
  user-select: none;
}

.loan-simulator__sliders {
  max-width: 523px;
  width: 523px;
  flex-shrink: 0;
}

.loan-simulator__text {
  font-size: 18px;
  line-height: 27px;
  font-weight: 500;
  text-align: center;
  padding: 16px 0;
  color: #202020;
}

.loan-simulator__slider-title {
  font-size: 40px;
  line-height: 120%;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: #202020;
}

.loan-simulator__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 12px;
  border-radius: 5px;
  outline: none;
  background: #f5f5f5;
  cursor: pointer;
}

.loan-simulator__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: transparent;
  background-image: url('../assets/icons/slider-arrow.png');
  background-position: center;
  background-size: cover;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.loan-simulator__range::-moz-range-thumb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: transparent;
  background-image: url('../assets/icons/slider-arrow.png');
  background-position: center;
  background-size: cover;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  cursor: pointer;
  border: none;
}

.loan-simulator__range-info {
  color: #767676;
  font-size: 15px;
  text-align: center;
  padding: 8px 0 10px;
}

/* Details box */
.loan-simulator__details {
  border-radius: 36px 36px 36px 8px;
  background: #171e3d;
  padding: 15px 30px 20px;
  color: #f5f5f5;
  min-width: 354px;
  max-width: 380px;
}

.loan-simulator__details-label {
  font-size: 16px;
  text-align: center;
  margin-bottom: 4px;
  color: #f5f5f5;
}

.loan-simulator__details-period {
  font-size: 36px;
  line-height: 43px;
  font-weight: 600;
  text-align: center;
  color: #f5f5f5;
}

.loan-simulator__details-value {
  font-size: 48px;
  line-height: 52px;
  font-weight: 600;
  text-align: center;
  color: #f5f5f5;
  margin: 10px 0 15px;
}

.loan-simulator__details-footer {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #f5f5f5;
}

.loan-simulator__details-footer p {
  margin-bottom: 4px;
}

.loan-simulator__details-line {
  border: none;
  height: 1px;
  background: rgba(245,245,245,0.3);
  margin: 12px 0;
}

.loan-simulator__details-disclaimer {
  font-size: 12px;
  line-height: 21px;
  color: rgba(245,245,245,0.7);
  font-weight: 500;
  max-width: 354px;
}

.loan-simulator__cta {
  display: flex;
  justify-content: center;
  align-self: center;
  max-width: 274px;
  margin: 20px auto 0;
}

@media (max-width: 1024px) {
  .loan-simulator__container {
    gap: 50px;
  }
  .loan-simulator__sliders {
    width: 450px;
  }
}

@media (max-width: 991px) {
  .loan-simulator__title {
    font-size: 36px;
    line-height: 43px;
  }
  .loan-simulator__container {
    flex-direction: column;
    gap: 25px;
  }
  .loan-simulator__sliders {
    width: 100%;
    max-width: 523px;
  }
  .loan-simulator__details {
    min-width: auto;
    width: 100%;
    max-width: 400px;
  }
  .loan-simulator__slider-title {
    font-size: 28px;
    line-height: 33px;
  }
  .loan-simulator__details-value {
    font-size: 30px;
    line-height: 43px;
  }
  .loan-simulator__range {
    margin-bottom: 15px;
  }
}

/* ========================================
   SILO BLOCKS (Image + Content sections)
   ======================================== */
.silo-block {
  width: 100%;
  padding: 40px 30px;
}

.silo-block__container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 30px;
}

.silo-block__container--reverse {
  flex-direction: row-reverse;
}

.silo-block__image {
  flex: 0 0 auto;
  max-width: 554px;
}

.silo-block__image img {
  border-radius: 59px 59px 59px 10px;
  width: 100%;
  height: auto;
}

.silo-block__image--no-border img {
  border-radius: 0;
}

.silo-block__content {
  max-width: 555px;
  padding: 25px;
}

.silo-block__content h2 {
  font-size: 48px;
  line-height: 110%;
  font-weight: 600;
  margin: 16px 0;
  color: #202020;
}

.silo-block__content p {
  font-size: 18px;
  line-height: 150%;
  font-weight: 500;
  margin-bottom: 20px;
  color: #202020;
}

.silo-block__content p strong {
  font-weight: 700;
}

.silo-block__content a {
  color: #0078d9;
  font-weight: 700;
}

.silo-block__content a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .silo-block__container,
  .silo-block__container--reverse {
    flex-direction: column-reverse;
    align-items: center;
  }
  .silo-block__content h2 {
    font-size: 36px;
  }
  .silo-block__image {
    max-width: 296px;
  }
  .silo-block__image img {
    border-radius: 29px 29px 29px 5px;
  }
}

/* ========================================
   NUMBERED STEPS LIST
   ======================================== */
.steps-list {
  counter-reset: step-counter;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 150%;
  font-weight: 500;
  color: #202020;
  counter-increment: step-counter;
}

.steps-list li::before {
  content: counter(step-counter);
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #b4ff3c;
  color: #202020;
  font-size: 28px;
  font-weight: 600;
  flex-shrink: 0;
}

.steps-list li strong {
  font-weight: 700;
}

@media (max-width: 600px) {
  .steps-list li {
    font-size: 16px;
  }
}

/* ========================================
   TIMELINE LIST
   ======================================== */
.timeline-list {
  margin: 16px 0 0 15px;
}

.timeline-list li {
  min-height: 75px;
  padding: 0 0 24px 30px;
  position: relative;
  border-left: 6px solid #0078d9;
}

.timeline-list li::before {
  content: '';
  width: 36px;
  height: 36px;
  border-radius: 50%;
  position: absolute;
  left: -21px;
  top: 0;
  background: #fff url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230078d9"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') center/18px no-repeat;
  border: 3px solid #0078d9;
}

.timeline-list li:last-child {
  border-left-color: transparent;
}

.timeline-list li .timeline-title {
  font-weight: 600;
  font-size: 20px;
  color: #202020;
  display: block;
  margin-bottom: 4px;
}

.timeline-list li p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #202020;
  padding-top: 8px;
}

@media (max-width: 820px) {
  .timeline-list li .timeline-title {
    font-size: 18px;
  }
}

/* ========================================
   PRODUCT CARDS BANNER
   ======================================== */
.products-banner {
  padding: 50px 30px;
}

.products-banner__title {
  text-align: center;
  margin-bottom: 40px;
}

.products-banner__title h2 {
  font-size: 48px;
  font-weight: 600;
  color: #202020;
}

.products-banner__grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  border: 2px solid #202020;
  border-radius: 32px;
  padding: 24px;
  max-width: 255px;
  width: 100%;
  background-color: #f0f5f5;
  transition: all 0.2s ease;
  cursor: pointer;
  color: #202020;
}

.product-card:hover {
  filter: brightness(96%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-card img {
  height: 30px;
  width: auto;
}

.product-card h3 {
  font-size: 18px;
  line-height: 150%;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 4px;
}

.product-card p {
  font-size: 14px;
  line-height: 150%;
  color: #202020;
}

@media (max-width: 991px) {
  .products-banner__title h2 {
    font-size: 36px;
    text-align: left;
  }
  .products-banner__grid {
    justify-content: flex-start;
  }
  .product-card {
    max-width: 100%;
    border-radius: 24px;
  }
}

@media (min-width: 600px) {
  .product-card {
    border-radius: 40px;
  }
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
  padding: 50px 30px;
}

.faq__title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 48px;
  font-weight: 600;
  color: #202020;
}

.faq__container {
  max-width: 960px;
  margin: 0 auto;
}

.faq__item {
  position: relative;
  display: block;
  padding: 20px 50px 20px 30px;
  width: 100%;
  border-radius: 22px 22px 22px 5px;
  margin-bottom: 16px;
  border: 1px solid #202020;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq__item:hover {
  background-color: #f8f8f8;
}

.faq__question {
  font-size: 18px;
  font-weight: 700;
  color: #202020;
  display: block;
  padding-right: 20px;
}

.faq__plus {
  position: absolute;
  right: 20px;
  top: 18px;
  font-size: 28px;
  color: #202020;
  user-select: none;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq__item.active .faq__plus {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  font-size: 16px;
  line-height: 27px;
  color: #202020;
  font-weight: 500;
}

.faq__item.active .faq__answer {
  max-height: 500px;
  padding-top: 16px;
}

.faq__answer p {
  margin-bottom: 12px;
}

.faq__answer a {
  color: #0062b2;
  font-weight: 700;
}

.faq__answer a:hover {
  text-decoration: underline;
}

@media (max-width: 820px) {
  .faq__title {
    font-size: 36px;
    text-align: left;
  }
  .faq__question {
    font-size: 16px;
  }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  width: 100%;
  background: #000;
  color: #fff;
}

.footer__heading {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 40px 35px;
}

.footer__logo img {
  width: 160px;
}

.footer__socials {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background 0.3s ease;
}

.footer__socials a:hover {
  background: rgba(255,255,255,0.25);
}

.footer__socials svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.footer__stores {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__stores span {
  font-weight: 700;
  font-size: 14px;
}

.footer__stores img {
  height: 36px;
  width: auto;
}

.footer__main {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px 35px;
  border-top: 1px solid #6e7882;
  flex-wrap: wrap;
}

.footer__column h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer__column li {
  font-size: 14px;
  line-height: 30px;
}

.footer__column li a:hover {
  border-bottom: 1px solid #fff;
}

.footer__bottom {
  border-top: 1px solid #6e7882;
  padding: 25px 35px 80px;
}

.footer__bottom p {
  font-size: 0.75rem;
  line-height: 20px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}

.footer__bottom a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .footer__heading {
    flex-direction: column;
    gap: 24px;
  }
  .footer__main {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
  }
  .footer__stores {
    flex-direction: column;
  }
}

/* ========================================
   MOBILE MENU OVERLAY
   ======================================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 90;
  padding: 80px 20px 20px;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-menu__item {
  font-size: 1.25rem;
  font-weight: 700;
  color: #202020;
}

.mobile-menu__item a {
  color: #202020;
}

/* Body scroll lock */
body.menu-open {
  overflow: hidden;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   LARGE SCREEN CONSTRAINT
   ======================================== */
@media (min-width: 1921px) {
  .hero__background img {
    max-width: 1920px;
    margin: 0 auto;
  }
}
