/* =========================================================
 * Footer (2026-11 redesign). Pure CSS, no JS, no images beyond
 * the logo and the Hostinger badge. Logical properties for RTL.
 * ========================================================= */
.mwp-footer {
  --mwp-footer-bg: #071426;
  --mwp-footer-panel: #0b1d35;
  --mwp-footer-line: rgb(148 163 184 / .16);
  --mwp-footer-text: #f8fafc;
  --mwp-footer-muted: #9fb0c7;
  --mwp-footer-soft: #c7d4e5;
  --mwp-footer-accent: #60a5fa;
  position: relative;
  isolation: isolate;
  overflow: clip;
  margin-block-start: clamp(64px, 7vw, 100px);
  background:
    radial-gradient(60% 50% at 85% 0%, rgb(37 99 235 / .14), transparent 70%),
    var(--mwp-footer-bg);
  color: var(--mwp-footer-muted);
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
.mwp-footer a { text-decoration: none; }
.mwp-footer ul { margin: 0; padding: 0; list-style: none; }
.mwp-footer > .mwp-container { padding-block-start: clamp(28px, 4vw, 44px); }
.mwp-footer :focus-visible { outline: 2px solid var(--mwp-footer-accent); outline-offset: 3px; border-radius: 6px; }

/* Solidarity strip (owner decision: keep on top) */
.mwp-footer__solidarity {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px;
  border-block-end: 1px solid var(--mwp-footer-line);
  background: var(--mwp-footer-panel);
  color: var(--mwp-footer-text);
  font-size: var(--font-size-sm);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.mwp-footer__solidarity-flag { flex: none; inline-size: 30px; block-size: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgb(255 255 255 / .22); }

/* CTA band */
.mwp-footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgb(96 165 250 / .22);
  border-radius: 20px;
  background: linear-gradient(135deg, rgb(37 99 235 / .2), rgb(14 36 65 / .6) 55%);
}
.mwp-footer__cta-text { min-width: 0; flex: 1 1 320px; }
.mwp-footer__cta h2 {
  margin: 0;
  color: var(--mwp-footer-text);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.4;
}
.mwp-footer__cta p { margin: 6px 0 0; color: var(--mwp-footer-soft); font-size: .92rem; line-height: 1.7; }
.mwp-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mwp-footer__cta-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgb(148 163 184 / .28);
  border-radius: 12px;
  background: rgb(255 255 255 / .04);
  color: var(--mwp-footer-text);
  font-size: .92rem;
  font-weight: 750;
  transition: background-color var(--motion-duration-base) var(--motion-ease-standard), border-color var(--motion-duration-base) var(--motion-ease-standard);
}
.mwp-footer__cta-btn:hover { border-color: rgb(96 165 250 / .5); background: rgb(96 165 250 / .1); color: #fff; }
.mwp-footer__cta-btn--primary { border-color: transparent; background: #2563eb; box-shadow: 0 10px 24px -12px rgb(37 99 235 / .9); }
.mwp-footer__cta-btn--primary:hover { border-color: transparent; background: #1d4ed8; }
.mwp-footer__cta-btn--wa .mwp-icon { color: #4ade80; }

/* Main grid */
.mwp-footer__main {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, .8fr));
  gap: clamp(26px, 3.5vw, 48px);
  padding-block: clamp(32px, 4vw, 48px);
}
.mwp-footer__brand-block { min-width: 0; }
.mwp-footer .mwp-brand { color: var(--mwp-footer-text); }
.mwp-footer .mwp-brand--custom {
  display: block;
  width: 208px;
  height: 56px;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 12px;
  background: #fff;
}
.mwp-footer .mwp-brand--custom .mwp-brand__image { width: 100%; height: 100%; object-fit: contain; }
.mwp-footer__summary { max-width: 44ch; margin: 16px 0 0; color: var(--mwp-footer-soft); font-size: .86rem; line-height: 1.8; }
.mwp-footer__summary strong { display: block; margin-block-end: 2px; color: var(--mwp-footer-text); font-size: .95rem; font-weight: 800; }
.mwp-footer__promises { display: grid; gap: 6px; margin-block-start: 14px; }
.mwp-footer__promises li { display: flex; align-items: center; gap: 8px; color: var(--mwp-footer-soft); font-size: var(--font-size-xs); font-weight: 600; line-height: 1.5; }
.mwp-footer__promises .mwp-icon { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgb(74 222 128 / .14); color: #4ade80; }
.mwp-footer__rating {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin-block-start: 16px;
  padding: 6px 12px;
  border: 1px solid var(--mwp-footer-line);
  border-radius: 12px;
  background: rgb(255 255 255 / .03);
  color: var(--mwp-footer-soft);
  font-size: var(--font-size-xs);
}
.mwp-footer__rating b { color: var(--mwp-footer-text); font-size: .9rem; }
.mwp-footer__stars { display: inline-flex; gap: 1px; color: #fbbf24; }
.mwp-footer__stars .mwp-icon { fill: currentColor; }
.mwp-footer__rating:hover { border-color: rgb(251 191 36 / .4); color: #fff; }

.mwp-footer__nav-col, .mwp-footer__nav-sub { min-width: 0; }
.mwp-footer__heading {
  margin: 0 0 10px;
  color: var(--mwp-footer-text);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.5;
}
.mwp-footer__nav-col a, .mwp-footer__nav-sub a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--mwp-footer-muted);
  font-size: .875rem;
  line-height: 1.5;
  transition: color var(--motion-duration-base) var(--motion-ease-standard);
}
.mwp-footer__nav-col a:hover, .mwp-footer__nav-sub a:hover { color: #fff; }
.mwp-footer__nav-sub + .mwp-footer__nav-sub { margin-block-start: 22px; }
.mwp-footer__contact-list { display: grid; gap: 4px; }
.mwp-footer__contact-list a { gap: 8px; color: var(--mwp-footer-soft); }
.mwp-footer__contact-list .mwp-icon { flex: none; color: var(--mwp-footer-accent); }
.mwp-footer__contact-list li:first-child .mwp-icon { color: #4ade80; }

/* Bottom bar */
.mwp-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 16px 20px;
  border-block-start: 1px solid var(--mwp-footer-line);
  color: #8193ab;
  font-size: var(--font-size-xs);
  line-height: 1.5;
}
.mwp-footer__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mwp-footer__payments { display: flex; flex-wrap: wrap; gap: 8px; }
.mwp-footer__payment {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--mwp-footer-line);
  border-radius: 999px;
  color: var(--mwp-footer-soft);
}
.mwp-footer__payment .mwp-icon { color: var(--mwp-footer-accent); }
.mwp-footer__partner {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: #b9a8ff;
}
.mwp-footer__partner-badge {
  display: grid;
  width: 88px;
  height: 30px;
  place-items: center;
  padding: 4px 6px;
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
}
.mwp-footer__partner-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.mwp-footer__partner small { font-size: var(--font-size-xs); }
.mwp-footer__partner:hover { color: #fff; }
.mwp-footer__legal { display: flex; flex-wrap: wrap; gap: 0 16px; }
.mwp-footer__legal a { display: inline-flex; min-height: 44px; align-items: center; color: #8193ab; }
.mwp-footer__legal a:hover { color: #dbeafe; }

@media (max-width: 1100px) {
  .mwp-footer__main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mwp-footer__brand-block { grid-column: 1 / -1; }
}
/* Tablet: brand block as one horizontal band, bottom bar in two tidy rows. */
@media (min-width: 761px) and (max-width: 1100px) {
  .mwp-footer__brand-block {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-areas: "logo promises" "summary rating";
    gap: 0 40px;
    align-items: start;
    padding-block-end: 28px;
    border-block-end: 1px solid var(--mwp-footer-line);
  }
  .mwp-footer__brand-block > .mwp-brand { grid-area: logo; }
  .mwp-footer__summary { grid-area: summary; }
  .mwp-footer__promises { grid-area: promises; margin-block-start: 0; }
  .mwp-footer__rating { grid-area: rating; justify-self: start; }
  .mwp-footer__trust { order: -1; flex-basis: 100%; justify-content: center; }
}
@media (max-width: 760px) {
  .mwp-footer { margin-block-start: 56px; }
  .mwp-footer__cta { text-align: center; }
  .mwp-footer__cta-actions { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mwp-footer__cta-btn--primary { grid-column: 1 / -1; }

  /* Brand: centred block above the link columns. */
  .mwp-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .mwp-footer__brand-block { max-width: none; padding-block-end: 24px; border-block-end: 1px solid var(--mwp-footer-line); text-align: center; }
  .mwp-footer .mwp-brand--custom { margin-inline: auto; }
  .mwp-footer__summary { margin-inline: auto; }
  .mwp-footer__promises { justify-content: center; justify-items: start; width: fit-content; margin-inline: auto; }

  /* Two equal columns everywhere: services | platform, resources | contact. */
  .mwp-footer__nav-col--stack { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .mwp-footer__nav-col--stack .mwp-footer__nav-sub + .mwp-footer__nav-sub { margin-block-start: 0; }
  .mwp-footer__nav-col a, .mwp-footer__nav-sub a { font-size: var(--font-size-sm); overflow-wrap: anywhere; }

  /* Bottom bar: trust row, legal row, then copyright. */
  .mwp-footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .mwp-footer__trust { order: 1; justify-content: center; }
  .mwp-footer__legal { order: 2; justify-content: center; gap: 0 14px; }
  .mwp-footer__copy { order: 3; }
}
@media (max-width: 360px) {
  .mwp-footer__main, .mwp-footer__nav-col--stack { column-gap: 12px; }
  .mwp-footer__legal { gap: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .mwp-footer__cta-btn, .mwp-footer__nav-col a, .mwp-footer__nav-sub a { transition: none; }
}
