/* ── Footer main ── */
.footer-main {
  position: relative;
  background: var(--color-navy-dark);
  color: #fff;
  padding: 48px 0 40px;
}

.footer-main::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 15px;
  background: url(../images/top_background.svg) no-repeat;
  background-color: var(--color-navy-dark);
  background-size: cover;
  transform: rotate(180deg);
  z-index: 2;
  pointer-events: none;
}

.footer-main__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: 32px;
}

/* Logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-logo__img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* Contact */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.footer-contact li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #fff;
}

/* Column titles & links */
.footer-col__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #fff;
}

.footer-col__title--light {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  margin-bottom: 14px;
}

.footer-col__title--social {
  margin-top: 0;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.footer-links a::before {
  content: '>';
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-links a:hover {
  color: #fff;
}

/* Social */
.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  transition: background 0.2s, border-color 0.2s;
}

.footer-social__link svg {
  width: 15px;
  height: 15px;
}

.footer-social__link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ── Features bar ── */
.footer-features {
  background: #fff;
  padding: 36px 0;
}

.footer-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-feature {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-feature--clickable {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}

.footer-feature--clickable:hover {
  background: #f5f7fa;
}

.footer-feature--clickable:hover .footer-feature__icon {
  color: #9d3b16;
}

.footer-feature--clickable:hover .footer-feature__text strong {
  color: #9d3b16;
}

.footer-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  color: #9aa5b4;
}

.footer-feature__icon svg {
  width: 28px;
  height: 28px;
}

.footer-feature__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-feature__text strong {
  font-size: 14px;
  font-weight: 500;
  color: #3d4a5c;
}

.footer-feature__text span {
  font-size: 12px;
  color: #9aa5b4;
  line-height: 1.4;
}

/* ── Why Choose modal ── */
.why-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}

.why-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.why-modal-open {
  overflow: hidden;
}

.why-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 40, 0.65);
}

.why-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: min(88vh, 800px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.why-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f0f2f5;
  color: #3d4a5c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.why-modal__close:hover {
  background: #9d3b16;
  color: #fff;
}

.why-modal__close svg {
  width: 18px;
  height: 18px;
}

.why-modal__body {
  padding: 36px 40px 40px;
  overflow-y: auto;
}

.why-modal__title {
  font-size: 24px;
  font-weight: 600;
  color: #1a2b4a;
  margin-bottom: 28px;
  padding-right: 40px;
  line-height: 1.3;
}

.why-modal__section {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.why-modal__section[hidden] {
  display: none;
}

.why-modal__section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a2b4a;
  margin-bottom: 14px;
  line-height: 1.4;
}

.why-modal__section h4 {
  font-size: 14px;
  font-weight: 600;
  color: #3d4a5c;
  margin: 18px 0 10px;
}

.why-modal__section p {
  font-size: 14px;
  line-height: 1.7;
  color: #5a6577;
  margin-bottom: 12px;
}

.why-modal__section p:last-child {
  margin-bottom: 0;
}

.why-modal__countries {
  font-size: 13px;
  line-height: 1.8;
}

.why-modal__section ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.why-modal__section li {
  font-size: 14px;
  line-height: 1.7;
  color: #5a6577;
  padding: 3px 0;
}

/* ── Bottom bar ── */
.footer-bottom {
  background: #f0f2f5;
  padding: 20px 0;
}

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

.footer-bottom__copy p {
  font-size: 13px;
  color: #6b7a8d;
  line-height: 1.6;
}

.footer-bottom__copy strong {
  color: #3d4a5c;
  font-weight: 600;
}

.footer-bottom__copy a {
  color: #3b82f6;
  font-weight: 500;
}

.footer-bottom__copy a:hover {
  text-decoration: underline;
}

.footer-heart {
  color: #9d3b16;
}

/* Payment methods image */
.footer-payments {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-payments__img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 36px;
  object-fit: contain;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .footer-main__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }

  .footer-col--social {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 36px 0 28px;
  }

  .footer-main__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col--brand,
  .footer-col--social {
    grid-column: auto;
  }

  .footer-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-bottom__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-bottom__copy {
    width: 100%;
  }

  .footer-bottom__copy p {
    text-align: center;
  }

  .footer-payments {
    justify-content: center;
    width: 100%;
  }

  .footer-payments__img {
    height: 32px;
  }
}

@media (max-width: 480px) {
  .footer-features__grid {
    grid-template-columns: 1fr;
  }

  .footer-feature {
    gap: 14px;
  }

  .footer-feature__icon {
    width: 54px;
    height: 54px;
  }

  .footer-feature__icon svg {
    width: 24px;
    height: 24px;
  }

  .why-modal {
    padding: 16px;
  }

  .why-modal__body {
    padding: 28px 20px 32px;
  }

  .why-modal__title {
    font-size: 20px;
    margin-bottom: 22px;
  }

  .why-modal__section h3 {
    font-size: 16px;
  }
}
