/* ===================== PREMIUM FOOTER ===================== */
html, body { margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: border-box; }
body { min-width: 0; }
:root {
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: clamp(16px, 4vw, 56px);
}

.mf {
  position: relative;
  display: flow-root;
  width: 100%;
  align-self: stretch;
  margin-top: clamp(96px, 10vw, 140px);
  color: #fff;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  background: radial-gradient(60% 70% at 88% 0%, rgb(84 33 146 / .38), transparent 70%),
              radial-gradient(50% 60% at 0% 100%, rgb(197 10 56 / .16), transparent 70%),
              #0a141f;
}

.mf, .mf * {
  box-sizing: border-box;
}

.mf h2, .mf h3, .mf p, .mf ul {
  margin: 0;
}

.mf::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #542192, #C50A38 60%, #f26a21);
}

:where(.mf a) {
  color: inherit;
  text-decoration: none;
}

.mf :focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 6px;
}

.mf-wrap {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.mf-cta {
  position: relative;
  z-index: 1;
  margin-top: -72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 36px;
  padding: clamp(26px, 4vw, 48px);
  border-radius: 32px;
  background: radial-gradient(60% 120% at 100% 0%, rgb(255 255 255 / .2), transparent 70%),
              linear-gradient(45deg, #542192 43%, #C50A38 100%);
  box-shadow: 0 40px 70px -34px rgb(0 0 0 / .7);
}

.mf-cta h2 {
  font: 800 clamp(26px, 3.2vw, 44px)/1.05 'Bricolage Grotesque', sans-serif;
  letter-spacing: -.03em;
  max-width: 20ch;
  text-wrap: balance;
}

.mf-cta p {
  margin-top: 10px;
  max-width: 44ch;
  opacity: .9;
  line-height: 1.55;
}

.mf-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mf-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 8px 0 26px;
  border-radius: 99px;
  color: #0e2433;
  background: #fff;
  font: 700 16px 'Bricolage Grotesque', sans-serif;
  transition: transform .4s var(--ease), box-shadow .4s;
  text-decoration: none;
}

.mf-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px -14px rgb(0 0 0 / .6);
}

.mf-btn i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0e2433;
  transition: transform .4s var(--ease);
}

.mf-btn:hover i {
  transform: rotate(-45deg);
}

.mf-btn.ghost {
  padding: 0 26px;
  color: #fff;
  background: none;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .6);
}

.mf-btn.ghost:hover {
  background: #fff;
  color: #0e2433;
}

.mf-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mf-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.35fr;
  gap: clamp(28px, 4vw, 60px);
  padding: clamp(44px, 6vw, 76px) 0 clamp(32px, 4vw, 48px);
}

.mf-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font: 800 26px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: -.03em;
  text-decoration: none;
}

.mf-logo span {
  font-weight: 500;
  letter-spacing: -.01em;
}

.mf-logo i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  align-self: center;
  background: #C50A38;
  box-shadow: 0 0 0 3px rgb(197 10 56 / .3);
}

.mf .mf-about {
  margin-top: 20px;
  max-width: 36ch;
  line-height: 1.65;
  color: rgb(255 255 255 / .7);
  font-size: 15px;
}

.mf-soc {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.mf-soc a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / .25);
  background: #fff;
  transition: background .3s, color .3s, transform .3s var(--ease);
}

.mf-soc a:hover {
  color: #0e2433;
  background: #fff;
  transform: translateY(-3px);
}

.mf-soc svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mf h3 {
  margin-bottom: 18px;
  font: 800 13px 'Bricolage Grotesque', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgb(255 255 255 / .55);
}

.mf ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.mf li {
  font-size: 15px;
}

.mf-l {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgb(255 255 255 / .85);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size .35s var(--ease), color .3s, transform .3s var(--ease);
  text-decoration: none;
}

.mf-l:hover {
  color: #fff;
  background-size: 100% 1.5px;
  transform: translateX(3px);
}

.mf-l b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  flex: none;
}

.mf-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgb(255 255 255 / .85);
  line-height: 1.5;
}

.mf-contact svg {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  fill: none;
  stroke: #f26a21;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mf-news {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  padding-top: 30px;
  border-top: 1px solid rgb(255 255 255 / .12);
}

.mf-news h3 {
  margin-bottom: 6px;
}

.mf-news p {
  margin: 0;
  color: rgb(255 255 255 / .7);
  line-height: 1.6;
  font-size: 14.5px;
}

.mf-nf {
  flex: 1 1 380px;
  min-width: 0;
  max-width: 500px;
}

.mf-nf .mf-msg {
  margin-top: 8px;
}

.mf-form {
  display: flex;
  gap: 8px;
}

.mf-form input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 20px;
  border-radius: 99px;
  border: 1px solid rgb(255 255 255 / .22);
  color: #fff;
  background: rgb(255 255 255 / .08);
  font: 400 15px 'Instrument Sans', sans-serif;
}

.mf-form input::placeholder {
  color: rgb(255 255 255 / .5);
}

.mf-form input:focus {
  outline: none;
  border-color: #fff;
  background: rgb(255 255 255 / .12);
}

.mf-form button {
  height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  color: #0e2433;
  background: #fff;
  font: 700 14.5px 'Bricolage Grotesque', sans-serif;
  transition: transform .3s var(--ease);
}

.mf-form button:hover {
  transform: translateY(-2px);
}

.mf-msg {
  min-height: 1.4em;
  margin: 10px 4px 0;
  font-size: 13.5px;
}

.mf-msg.ok {
  color: #7be3b0;
}

.mf-msg.bad {
  color: #ff8da1;
}

.mf-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 22px 0 28px;
  border-top: 1px solid rgb(255 255 255 / .12);
  font-size: 14px;
  color: rgb(255 255 255 / .6);
}

.mf-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.mf-bar a {
  text-decoration: none;
}

.mf-bar a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mf-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  cursor: pointer;
  color: rgb(255 255 255 / .85);
  font: 700 14px 'Bricolage Grotesque', sans-serif;
}

.mf-top i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / .28);
  transition: background .3s, color .3s, transform .3s var(--ease);
}

.mf-top:hover i {
  color: #0e2433;
  background: #fff;
  transform: translateY(-4px);
}

.mf-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1100px) {
  .mf-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mf-brand {
    grid-column: 1 / -1;
  }
  .mf-about {
    max-width: 52ch;
  }
  .mf-nf {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .mf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mf-contact {
    grid-column: 1 / -1;
  }
  .mf-cta {
    margin-top: -56px;
    border-radius: 26px;
    padding:20px;
  }
  .mf-btns {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    min-width:0;
    width: 100%;
  }
  .mf-btn {
    min-width:0;
    height:48px;
    padding:6px 8px;
    gap:6px;
    font-size:13px;
    white-space:nowrap;
    justify-content: center;
  }
  .mf-btn.ghost {
    padding:6px 8px;
  }
  .mf-btn i {width:24px;height:24px;flex:none;}
  .mf-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media(max-width:360px){.mf-btn{font-size:12px;gap:4px;padding-inline:6px}.mf-btn i{width:22px;height:22px}}
.mf-chat-beta{display:inline-block;margin-left:5px;padding:2px 6px;border:1px solid #ffffff50;border-radius:99px;font-size:10px;line-height:1.4;vertical-align:middle}
