/* =========================================================
   CONTACT / FINAL CTA
   ========================================================= */

.mersad-contact {
  position: relative;
  isolation: isolate;

  width: 100%;
  overflow: hidden;

  padding: 132px 0 140px;

  background:
    radial-gradient(
      circle at 10% 15%,
      rgba(211, 242, 0, 0.065),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 75%,
      rgba(211, 242, 0, 0.045),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #050505 0%,
      #070707 100%
    );

  border-bottom:
    1px solid rgba(255, 255, 255, 0.06);
}

.mersad-contact::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -3;

  pointer-events: none;

  opacity: 0.23;

  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,
      transparent,
      black 15%,
      black 86%,
      transparent
    );

  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 15%,
      black 86%,
      transparent
    );
}

/* =========================================================
   GLOWS
   ========================================================= */

.mersad-contact__glow {
  position: absolute;
  z-index: -2;

  pointer-events: none;

  border-radius: 50%;

  filter: blur(16px);
}

.mersad-contact__glow--left {
  top: 180px;
  left: -300px;

  width: 650px;
  height: 650px;

  background:
    radial-gradient(
      circle,
      rgba(211, 242, 0, 0.075),
      transparent 70%
    );
}

.mersad-contact__glow--right {
  right: -330px;
  bottom: -190px;

  width: 720px;
  height: 720px;

  background:
    radial-gradient(
      circle,
      rgba(211, 242, 0, 0.05),
      transparent 72%
    );
}

/* =========================================================
   CONTAINER
   ========================================================= */

.mersad-contact__container {
  position: relative;
  z-index: 2;

  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

/* =========================================================
   SECTION HEADER
   ========================================================= */

.mersad-contact__header {
  max-width: 1040px;

  margin-bottom: 66px;
}

.mersad-contact__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 22px;

  color: #d3f200;

  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mersad-contact__eyebrow::before {
  content: "";

  width: 7px;
  height: 7px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: #d3f200;

  box-shadow:
    0 0 16px rgba(211, 242, 0, 0.45);
}

.mersad-contact__title {
  margin: 0;

  color: #f7f7f5;

  font-family: "Inter", sans-serif;
  font-size: clamp(46px, 5.3vw, 78px);
  font-weight: 820;
  line-height: 0.98;
  letter-spacing: -0.058em;

  text-wrap: balance;
}

.mersad-contact__title span {
  display: block;

  color: #d3f200;
}

.mersad-contact__intro {
  max-width: 720px;

  margin: 28px 0 0;

  color: #999999;

  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

/* =========================================================
   SPLIT LAYOUT
   ========================================================= */

.mersad-contact__layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(360px, 0.8fr);

  gap: 20px;
  align-items: stretch;
}

/* =========================================================
   FORM PANEL
   ========================================================= */

.mersad-contact__form-panel {
  position: relative;

  padding: 38px;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.024),
      rgba(255, 255, 255, 0.006)
    ),
    #0b0b0b;

  border: 1px solid #292929;
  border-radius: 20px;

  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.25);
}

.mersad-contact__form-panel::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      #d3f200,
      rgba(211, 242, 0, 0.16),
      transparent 72%
    );
}

.mersad-contact__panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;

  margin-bottom: 34px;
}

.mersad-contact__panel-label,
.mersad-contact__direct-label {
  display: block;

  color: #727272;

  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mersad-contact__panel-title {
  margin: 14px 0 0;

  color: #f0f0ed;

  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.mersad-contact__panel-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  flex: 0 0 auto;

  min-height: 31px;
  padding: 0 12px;

  color: #9aa600;
  background:
    rgba(211, 242, 0, 0.04);

  border:
    1px solid rgba(211, 242, 0, 0.15);
  border-radius: 999px;

  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mersad-contact__panel-status i {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #d3f200;

  box-shadow:
    0 0 10px rgba(211, 242, 0, 0.5);
}

/* =========================================================
   NOTICE
   ========================================================= */

.mersad-contact__notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;

  margin-bottom: 26px;
  padding: 16px;

  border-radius: 12px;
}

.mersad-contact__notice--success {
  background:
    rgba(211, 242, 0, 0.045);

  border:
    1px solid rgba(211, 242, 0, 0.2);
}

.mersad-contact__notice--error {
  background:
    rgba(255, 92, 92, 0.045);

  border:
    1px solid rgba(255, 92, 92, 0.2);
}

.mersad-contact__notice-icon {
  width: 28px;
  height: 28px;

  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #d3f200;

  border:
    1px solid currentColor;
  border-radius: 50%;
}

.mersad-contact__notice--error
.mersad-contact__notice-icon {
  color: #ff7777;
}

.mersad-contact__notice-icon svg {
  width: 15px;
  height: 15px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mersad-contact__notice strong {
  display: block;

  color: #eeeeeb;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.mersad-contact__notice p {
  margin: 5px 0 0;

  color: #8b8b8b;

  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.6;
}

/* =========================================================
   FORM
   ========================================================= */

.mersad-contact-form__grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px 16px;
}

.mersad-contact-form__field {
  min-width: 0;
}

.mersad-contact-form__field--full {
  grid-column: 1 / -1;
}

.mersad-contact-form__field--honeypot {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  overflow: hidden !important;

  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;

  white-space: nowrap !important;
}

.mersad-contact-form__field label {
  display: block;

  margin-bottom: 10px;

  color: #bdbdbd;

  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
}

.mersad-contact-form__field label span {
  color: #d3f200;
}

.mersad-contact-form input,
.mersad-contact-form select,
.mersad-contact-form textarea {
  width: 100%;

  color: #f0f0ed;
  background:
    rgba(255, 255, 255, 0.022);

  border: 1px solid #303030;
  border-radius: 10px;

  outline: none;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;

  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.mersad-contact-form input,
.mersad-contact-form select {
  height: 50px;
  padding: 0 15px;
}

.mersad-contact-form textarea {
  min-height: 138px;

  padding: 15px;

  line-height: 1.65;

  resize: vertical;
}

.mersad-contact-form input::placeholder,
.mersad-contact-form textarea::placeholder {
  color: #5f5f5f;
}

.mersad-contact-form select {
  appearance: none;
  -webkit-appearance: none;

  padding-right: 44px;

  cursor: pointer;
}

.mersad-contact-form select option {
  color: #f2f2ef;
  background: #111111;
}

.mersad-contact-form input:focus,
.mersad-contact-form select:focus,
.mersad-contact-form textarea:focus {
  background:
    rgba(211, 242, 0, 0.018);

  border-color:
    rgba(211, 242, 0, 0.48);

  box-shadow:
    0 0 0 3px rgba(211, 242, 0, 0.045);
}

.mersad-contact-form
[aria-invalid="true"] {
  border-color: #ff6f6f;
}

.mersad-contact-form__select-wrap {
  position: relative;
}

.mersad-contact-form__select-wrap svg {
  position: absolute;
  top: 50%;
  right: 15px;

  width: 17px;
  height: 17px;

  pointer-events: none;

  fill: none;
  stroke: #777777;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;

  transform: translateY(-50%);
}

.mersad-contact-form__field-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin-top: 9px;

  color: #5f5f5f;

  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.4;
}

.mersad-contact-form__field-footer span:last-child {
  flex: 0 0 auto;
}

.mersad-contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  margin-top: 30px;
  padding-top: 26px;

  border-top:
    1px solid rgba(255, 255, 255, 0.08);
}

.mersad-contact-form__footer p {
  max-width: 330px;
  margin: 0;

  color: #666666;

  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.55;
}

.mersad-contact-form__submit {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  padding: 0 23px;

  color: #050505;
  background: #d3f200;

  border: 1px solid #d3f200;
  border-radius: 10px;

  cursor: pointer;

  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;

  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.mersad-contact-form__submit svg {
  width: 18px;
  height: 18px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform 180ms ease;
}

.mersad-contact-form__submit:hover {
  transform: translateY(-2px);

  background: #e0ff00;

  box-shadow:
    0 16px 34px rgba(211, 242, 0, 0.12);
}

.mersad-contact-form__submit:hover svg {
  transform: translateX(4px);
}

.mersad-contact-form__submit:disabled {
  cursor: wait;

  opacity: 0.65;

  transform: none;
}

/* =========================================================
   DIRECT CONTACT PANEL
   ========================================================= */

.mersad-contact__direct {
  position: relative;

  display: flex;
  flex-direction: column;

  padding: 42px 38px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 80% 8%,
      rgba(211, 242, 0, 0.09),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(211, 242, 0, 0.035),
      rgba(255, 255, 255, 0.006)
    ),
    #0b0c08;

  border:
    1px solid rgba(211, 242, 0, 0.24);
  border-radius: 20px;

  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.25);
}

.mersad-contact__direct::after {
  content: "";

  position: absolute;
  right: -160px;
  bottom: -180px;

  width: 400px;
  height: 400px;

  pointer-events: none;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(211, 242, 0, 0.09),
      transparent 70%
    );
}

.mersad-contact__direct-title {
  max-width: 440px;

  margin: 17px 0 0;

  color: #f3f3ef;

  font-family: "Inter", sans-serif;
  font-size: clamp(34px, 3vw, 47px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.mersad-contact__direct-description {
  max-width: 440px;

  margin: 22px 0 0;

  color: #8f8f8f;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

/* =========================================================
   CONTACT OPTIONS
   ========================================================= */

.mersad-contact__options {
  position: relative;
  z-index: 2;

  display: grid;
  gap: 11px;

  margin-top: 35px;
}

.mersad-contact-option {
  position: relative;

  min-height: 96px;

  display: grid;
  grid-template-columns:
    46px
    minmax(0, 1fr)
    35px;

  gap: 14px;
  align-items: center;

  padding: 16px;

  color: inherit;
  background:
    rgba(255, 255, 255, 0.022);

  border: 1px solid #303128;
  border-radius: 13px;

  text-decoration: none;

  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease;
}

.mersad-contact-option:hover {
  transform: translateX(4px);

  background:
    rgba(255, 255, 255, 0.035);

  border-color:
    rgba(211, 242, 0, 0.32);
}

.mersad-contact-option--primary {
  background: #d3f200;

  border-color: #d3f200;
}

.mersad-contact-option--primary:hover {
  background: #e0ff00;

  border-color: #e0ff00;
}

.mersad-contact-option__icon {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #d3f200;
  background:
    rgba(211, 242, 0, 0.05);

  border:
    1px solid rgba(211, 242, 0, 0.18);
  border-radius: 11px;
}

.mersad-contact-option--primary
.mersad-contact-option__icon {
  color: #050505;
  background:
    rgba(5, 5, 5, 0.08);

  border-color:
    rgba(5, 5, 5, 0.14);
}

.mersad-contact-option__icon svg {
  width: 21px;
  height: 21px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mersad-contact-option__content {
  min-width: 0;
}

.mersad-contact-option__content small {
  display: block;

  color: #696969;

  font-family: "Inter", sans-serif;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mersad-contact-option__content strong {
  display: block;

  margin-top: 7px;

  overflow: hidden;

  color: #efefec;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.mersad-contact-option__content em {
  display: block;

  margin-top: 5px;

  color: #707070;

  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
}

.mersad-contact-option--primary
.mersad-contact-option__content small,
.mersad-contact-option--primary
.mersad-contact-option__content strong,
.mersad-contact-option--primary
.mersad-contact-option__content em {
  color: #050505;
}

.mersad-contact-option__arrow {
  width: 35px;
  height: 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #797979;

  border: 1px solid #333333;
  border-radius: 50%;

  transition:
    color 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.mersad-contact-option--primary
.mersad-contact-option__arrow {
  color: #050505;

  border-color:
    rgba(5, 5, 5, 0.22);
}

.mersad-contact-option:hover
.mersad-contact-option__arrow {
  color: #d3f200;

  border-color:
    rgba(211, 242, 0, 0.35);

  transform: rotate(7deg);
}

.mersad-contact-option--primary:hover
.mersad-contact-option__arrow {
  color: #050505;

  border-color:
    rgba(5, 5, 5, 0.3);
}

.mersad-contact-option__arrow svg {
  width: 16px;
  height: 16px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   RESPONSE / TRUST
   ========================================================= */

.mersad-contact__response {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 13px;

  margin-top: auto;
  padding-top: 34px;
}

.mersad-contact__response-signal {
  width: 36px;
  height: 36px;

  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid rgba(211, 242, 0, 0.2);
  border-radius: 50%;
}

.mersad-contact__response-signal i {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #d3f200;

  box-shadow:
    0 0 12px rgba(211, 242, 0, 0.55);
}

.mersad-contact__response strong {
  display: block;

  color: #d3d3d0;

  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.mersad-contact__response p {
  margin: 5px 0 0;

  color: #6f6f6f;

  font-family: "Inter", sans-serif;
  font-size: 10px;
  line-height: 1.4;
}

.mersad-contact__trust {
  position: relative;
  z-index: 2;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-top: 25px;
}

.mersad-contact__trust span {
  min-height: 28px;

  display: inline-flex;
  align-items: center;

  padding: 0 11px;

  color: #767676;
  background:
    rgba(255, 255, 255, 0.02);

  border: 1px solid #292929;
  border-radius: 999px;

  font-family: "Inter", sans-serif;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
  .mersad-contact {
    padding: 108px 0;
  }

  .mersad-contact__layout {
    grid-template-columns: 1fr;
  }

  .mersad-contact__direct {
    min-height: 670px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
  .mersad-contact {
    padding: 84px 0 78px;
  }

  .mersad-contact__container {
    width: min(100% - 24px, 560px);
  }

  .mersad-contact__header {
    margin-bottom: 42px;
  }

  .mersad-contact__eyebrow {
    margin-bottom: 18px;

    font-size: 10px;
  }

  .mersad-contact__title {
    font-size:
      clamp(38px, 11vw, 52px);

    line-height: 1.02;
    letter-spacing: -0.048em;
  }

  .mersad-contact__intro {
    margin-top: 22px;

    font-size: 14px;
    line-height: 1.7;
  }

  .mersad-contact__form-panel,
  .mersad-contact__direct {
    padding: 27px 21px;

    border-radius: 17px;
  }

  .mersad-contact__panel-header {
    flex-direction: column;

    margin-bottom: 28px;
  }

  .mersad-contact-form__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mersad-contact-form__field--full {
    grid-column: auto;
  }

  .mersad-contact-form__field-footer {
    align-items: flex-start;
  }

  .mersad-contact-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .mersad-contact-form__submit {
    width: 100%;
  }

  .mersad-contact__direct {
    min-height: 650px;
  }

  .mersad-contact__direct-title {
    font-size:
      clamp(34px, 9vw, 44px);
  }

  .mersad-contact-option {
    grid-template-columns:
      43px
      minmax(0, 1fr)
      32px;

    gap: 11px;

    padding: 13px;
  }

  .mersad-contact-option__icon {
    width: 43px;
    height: 43px;
  }

  .mersad-contact-option__content strong {
    font-size: 13px;
  }

  .mersad-contact-option__content em {
    display: none;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .mersad-contact-form input,
  .mersad-contact-form select,
  .mersad-contact-form textarea,
  .mersad-contact-form__submit,
  .mersad-contact-form__submit svg,
  .mersad-contact-option,
  .mersad-contact-option__arrow {
    transition-duration:
      0.01ms !important;
  }
}