/* =========================================================
   MERSAD FOOTER
   ========================================================= */

.mersad-footer {
  position: relative;
  isolation: isolate;

  width: 100%;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 8% 10%,
      rgba(211, 242, 0, 0.06),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #060606 0%,
      #030303 100%
    );

  border-top:
    1px solid rgba(255, 255, 255, 0.065);
}

.mersad-footer::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -3;

  pointer-events: none;

  opacity: 0.17;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    );

  background-size: 48px 48px;

  -webkit-mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 82%
    );

  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 82%
    );
}

/* =========================================================
   GLOWS
   ========================================================= */

.mersad-footer__glow {
  position: absolute;
  z-index: -2;

  pointer-events: none;

  border-radius: 50%;

  filter: blur(16px);
}

.mersad-footer__glow--left {
  top: -260px;
  left: -310px;

  width: 700px;
  height: 700px;

  background:
    radial-gradient(
      circle,
      rgba(211, 242, 0, 0.085),
      transparent 70%
    );
}

.mersad-footer__glow--right {
  right: -340px;
  bottom: -300px;

  width: 680px;
  height: 680px;

  background:
    radial-gradient(
      circle,
      rgba(211, 242, 0, 0.035),
      transparent 72%
    );
}

/* =========================================================
   CONTAINER
   ========================================================= */

.mersad-footer__container {
  position: relative;
  z-index: 2;

  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

/* =========================================================
   TOP LAYOUT
   ========================================================= */

.mersad-footer__top {
  display: grid;
  grid-template-columns:
    minmax(380px, 0.95fr)
    minmax(620px, 1.25fr);

  gap: clamp(70px, 7vw, 110px);
  align-items: start;

  padding: 90px 0 72px;
}

/* =========================================================
   BRAND
   ========================================================= */

.mersad-footer__brand {
  min-width: 0;
  max-width: 570px;
}

.mersad-footer__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 29px;

  color: #d3f200;

  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mersad-footer__eyebrow::before {
  content: "";

  width: 7px;
  height: 7px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: #d3f200;

  box-shadow:
    0 0 0 5px rgba(211, 242, 0, 0.045),
    0 0 14px rgba(211, 242, 0, 0.45);
}

.mersad-footer__statement {
  max-width: 570px;
  margin: 0;

  color: #f2f2ef;

  font-family: "Inter", sans-serif;
  font-size: clamp(38px, 3.35vw, 54px);
  font-weight: 780;
  line-height: 1.02;
  letter-spacing: -0.052em;

  text-wrap: balance;
}

.mersad-footer__statement span {
  display: block;

  color: #d3f200;
}

.mersad-footer__description {
  max-width: 540px;
  margin: 25px 0 0;

  color: #8c8c8c;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
}

.mersad-footer__availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-top: 30px;

  color: #878787;

  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mersad-footer__availability > span {
  width: 7px;
  height: 7px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: #d3f200;

  box-shadow:
    0 0 0 5px rgba(211, 242, 0, 0.045),
    0 0 14px rgba(211, 242, 0, 0.45);
}

/* =========================================================
   RIGHT COLUMNS
   ========================================================= */

.mersad-footer__columns {
  display: grid;
  grid-template-columns:
    minmax(125px, 0.65fr)
    minmax(195px, 1fr)
    minmax(240px, 1.15fr);

  gap: clamp(32px, 3.6vw, 54px);
  align-items: start;
}

.mersad-footer__column {
  min-width: 0;
}

.mersad-footer__column-title {
  margin: 0 0 28px;

  color: #666666;

  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* =========================================================
   EXPLORE
   ========================================================= */

.mersad-footer__links,
.mersad-footer__services {
  display: grid;
  gap: 16px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.mersad-footer__links a {
  width: fit-content;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #c5c5c2;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;

  transition:
    color 180ms ease,
    transform 180ms ease;
}

.mersad-footer__links a svg {
  width: 15px;
  height: 15px;

  opacity: 0;

  fill: none;
  stroke: #d3f200;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;

  transform: translateX(-5px);

  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.mersad-footer__links a:hover {
  color: #ffffff;

  transform: translateX(3px);
}

.mersad-footer__links a:hover svg {
  opacity: 1;

  transform: translateX(0);
}

/* =========================================================
   SERVICES
   ========================================================= */

.mersad-footer__services li {
  color: #909090;

  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

/* =========================================================
   CONTACT
   ========================================================= */

.mersad-footer__contact-copy {
  max-width: 280px;
  margin: 0 0 24px;

  color: #888888;

  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
}

.mersad-footer__primary-link {
  width: 100%;
  max-width: 250px;
  min-height: 50px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 0 20px;

  color: #050505;
  background: #d3f200;

  border: 1px solid #d3f200;
  border-radius: 10px;

  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 780;
  line-height: 1;
  text-decoration: none;

  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.mersad-footer__primary-link svg {
  width: 17px;
  height: 17px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition:
    transform 180ms ease;
}

.mersad-footer__primary-link:hover {
  transform: translateY(-2px);

  background: #e0ff00;

  box-shadow:
    0 14px 30px rgba(211, 242, 0, 0.11);
}

.mersad-footer__primary-link:hover svg {
  transform: translateX(4px);
}

.mersad-footer__contact-link {
  width: fit-content;

  display: block;

  margin-top: 16px;

  color: #a7a7a7;

  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;

  overflow-wrap: anywhere;

  transition:
    color 180ms ease;
}

.mersad-footer__contact-link:hover {
  color: #d3f200;
}

/* =========================================================
   SIGNAL
   ========================================================= */

.mersad-footer__signal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 14px;

  padding: 31px 20px;

  border-top:
    1px solid rgba(255, 255, 255, 0.075);

  border-bottom:
    1px solid rgba(255, 255, 255, 0.075);

  color: #696969;

  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mersad-footer__signal i {
  color: #d3f200;

  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.mersad-footer__signal strong {
  color: #d3f200;

  font-size: 11px;
  font-weight: 800;
}

/* =========================================================
   BOTTOM
   ========================================================= */

.mersad-footer__bottom {
  min-height: 86px;

  display: grid;
  grid-template-columns:
    1fr
    auto
    1fr;

  gap: 28px;
  align-items: center;
}

.mersad-footer__copyright {
  margin: 0;

  color: #5f5f5f;

  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mersad-footer__socials,
.mersad-footer__legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mersad-footer__socials a,
.mersad-footer__legal a {
  color: #777777;

  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;

  transition:
    color 180ms ease;
}

.mersad-footer__socials a:hover,
.mersad-footer__legal a:hover {
  color: #d3f200;
}

.mersad-footer__legal {
  justify-content: flex-end;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */

.mersad-footer__back-to-top {
  position: absolute;
  right: 28px;
  bottom: 21px;
  z-index: 4;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #9b9b9b;
  background: #0c0c0c;

  border: 1px solid #2d2d2d;
  border-radius: 50%;

  text-decoration: none;

  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.mersad-footer__back-to-top:hover {
  color: #050505;
  background: #d3f200;

  border-color: #d3f200;

  transform: translateY(-3px);
}

.mersad-footer__back-to-top svg {
  width: 18px;
  height: 18px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   LAPTOP
   ========================================================= */

@media (max-width: 1180px) {
  .mersad-footer__top {
    grid-template-columns: 1fr;

    gap: 60px;

    padding-top: 82px;
  }

  .mersad-footer__brand {
    max-width: 760px;
  }

  .mersad-footer__statement {
    max-width: 700px;
  }

  .mersad-footer__description {
    max-width: 650px;
  }

  .mersad-footer__columns {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));

    gap: 44px;
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  .mersad-footer__columns {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .mersad-footer__contact {
    grid-column: 1 / -1;

    max-width: 450px;
  }

  .mersad-footer__primary-link {
    max-width: 280px;
  }

  .mersad-footer__bottom {
    grid-template-columns:
      1fr
      auto;

    padding: 24px 0;
  }

  .mersad-footer__legal {
    display: none;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
  .mersad-footer__container {
    width: min(100% - 24px, 560px);
  }

  .mersad-footer__top {
    gap: 48px;

    padding: 70px 0 54px;
  }

  .mersad-footer__eyebrow {
    margin-bottom: 24px;
  }

  .mersad-footer__statement {
    max-width: 100%;

    font-size:
      clamp(34px, 10vw, 45px);

    line-height: 1.03;
    letter-spacing: -0.048em;
  }

  .mersad-footer__description {
    font-size: 13px;
    line-height: 1.7;
  }

  .mersad-footer__availability {
    align-items: flex-start;

    font-size: 8px;
    line-height: 1.4;
  }

  .mersad-footer__columns {
    grid-template-columns: 1fr;

    gap: 0;
  }

  .mersad-footer__column,
  .mersad-footer__contact {
    grid-column: auto;

    max-width: none;

    padding: 33px 0;

    border-top:
      1px solid rgba(255, 255, 255, 0.075);
  }

  .mersad-footer__column:last-child {
    padding-bottom: 0;
  }

  .mersad-footer__column-title {
    margin-bottom: 23px;
  }

  .mersad-footer__primary-link {
    width: 100%;
    max-width: none;
  }

  .mersad-footer__signal {
    justify-content: flex-start;

    gap: 9px;

    padding: 26px 0;

    font-size: 9px;
  }

  .mersad-footer__bottom {
    grid-template-columns: 1fr;

    gap: 20px;

    padding: 28px 0 86px;
  }

  .mersad-footer__socials,
  .mersad-footer__legal {
    display: flex;
    flex-wrap: wrap;
  }

  .mersad-footer__legal {
    justify-content: flex-start;
  }

  .mersad-footer__back-to-top {
    right: 18px;
    bottom: 24px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .mersad-footer__links a,
  .mersad-footer__links a svg,
  .mersad-footer__primary-link,
  .mersad-footer__primary-link svg,
  .mersad-footer__contact-link,
  .mersad-footer__socials a,
  .mersad-footer__legal a,
  .mersad-footer__back-to-top {
    transition-duration: 0.01ms !important;
  }
}