/* Midyeci İbo — SEO landing pages */
.mi-seo-page {
  overflow: clip;
  background: #f3f6f5;
  color: #071b2a;
}

.mi-seo-page main {
  display: block;
}

.mi-seo-page a {
  color: inherit;
}

.mi-seo-page .mi6-nav > a.is-current {
  background: #fff;
  color: #071b2a !important;
  box-shadow: 0 6px 18px rgba(7, 27, 42, 0.08);
}

.mi-seo-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 190px 0 94px;
  background:
    radial-gradient(circle at 84% 46%, rgba(255, 75, 18, 0.12), transparent 31%),
    #f8faf9;
}

.mi-seo-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 27, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 27, 42, 0.035) 1px, transparent 1px);
  background-size: 70px 70px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.mi-seo-hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.8fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
}

.mi-seo-crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  color: rgba(7, 27, 42, 0.48);
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mi-seo-crumbs i {
  width: 20px;
  height: 1px;
  background: #ff4b12;
}

.mi-seo-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(62px, 7vw, 112px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.mi-seo-hero h1 strong {
  color: #ff4b12;
  font-weight: inherit;
}

.mi-seo-hero__lead {
  max-width: 640px;
  margin: 34px 0 0;
  color: rgba(7, 27, 42, 0.64);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.75;
}

.mi-seo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.mi-seo-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 22px;
  border: 1px solid rgba(7, 27, 42, 0.14);
  border-radius: 18px;
  background: #fff;
  color: #071b2a !important;
  font-size: 12px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.mi-seo-button--dark {
  border-color: #071b2a;
  background: #071b2a;
  color: #fff !important;
}

.mi-seo-button i {
  color: #ff4b12;
  font-style: normal;
}

.mi-seo-button:hover {
  transform: translateY(-3px);
}

.mi-seo-button--dark:hover {
  background: #ff4b12;
  border-color: #ff4b12;
}

.mi-seo-button--dark:hover i {
  color: #fff;
}

.mi-seo-hero__visual {
  position: relative;
  min-height: 500px;
}

.mi-seo-hero__visual::before,
.mi-seo-hero__visual::after {
  position: absolute;
  border: 1px solid rgba(7, 27, 42, 0.11);
  border-radius: 50%;
  content: "";
}

.mi-seo-hero__visual::before {
  inset: 7% 2% 0 8%;
}

.mi-seo-hero__visual::after {
  inset: 21% 16% 14% 22%;
}

.mi-seo-hero__visual img {
  position: absolute;
  z-index: 2;
  display: block;
  width: min(118%, 700px);
  height: auto;
  right: -12%;
  bottom: -3%;
  filter: drop-shadow(0 34px 32px rgba(7, 27, 42, 0.22));
  transform: translate3d(0, var(--mi2-py, 0px), 0);
}

.mi-seo-hero__visual--kokorec img {
  width: min(100%, 570px);
  right: -2%;
}

.mi-seo-hero__visual--both img:first-of-type {
  width: min(100%, 600px);
  right: 10%;
}

.mi-seo-hero__visual--both img:last-of-type {
  z-index: 3;
  width: min(62%, 360px);
  right: -7%;
  bottom: -1%;
}

.mi-seo-hero__tag {
  position: absolute;
  z-index: 4;
  right: 0;
  top: 6%;
  display: grid;
  min-width: 150px;
  gap: 3px;
  padding: 17px 19px;
  border: 1px solid rgba(7, 27, 42, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(7, 27, 42, 0.1);
  backdrop-filter: blur(14px);
}

.mi-seo-hero__tag small {
  color: #ff4b12;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mi-seo-hero__tag strong {
  font-size: 13px;
}

.mi-seo-section {
  position: relative;
  padding-block: clamp(88px, 9vw, 145px);
}

.mi-seo-section--white {
  background: #fff;
}

.mi-seo-section--dark {
  background: #071b2a;
  color: #fff;
}

.mi-seo-section--orange {
  background: #ff4b12;
}

.mi-seo-heading {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: clamp(54px, 7vw, 90px);
}

.mi-seo-heading > span {
  color: #ff4b12;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mi-seo-heading h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(46px, 5vw, 78px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.mi-seo-heading p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(7, 27, 42, 0.62);
  font-size: 14px;
  line-height: 1.75;
}

.mi-seo-section--dark .mi-seo-heading p {
  color: rgba(255, 255, 255, 0.62);
}

.mi-seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mi-seo-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(7, 27, 42, 0.09);
  border-radius: 28px;
  background: #fff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.mi-seo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(7, 27, 42, 0.1);
}

.mi-seo-card > span {
  color: #ff4b12;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.mi-seo-card h3 {
  margin: 44px 0 0;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.mi-seo-card p {
  margin: 18px 0 0;
  color: rgba(7, 27, 42, 0.58);
  font-size: 12px;
  line-height: 1.7;
}

.mi-seo-card a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  color: #071b2a !important;
  font-size: 11px;
  font-weight: 700;
}

.mi-seo-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mi-seo-product {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  padding: 38px;
  border-radius: 34px;
  background: #fff;
}

.mi-seo-product--orange {
  background: #ff4b12;
}

.mi-seo-product__copy {
  position: relative;
  z-index: 3;
  max-width: 440px;
}

.mi-seo-product h2 {
  margin: 0;
  font-size: clamp(48px, 4.8vw, 76px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.mi-seo-product p {
  margin: 21px 0 0;
  color: rgba(7, 27, 42, 0.63);
  font-size: 13px;
  line-height: 1.7;
}

.mi-seo-product img {
  position: absolute;
  width: 80%;
  height: auto;
  right: -7%;
  bottom: -8%;
  filter: drop-shadow(0 28px 25px rgba(7, 27, 42, 0.2));
  transition: transform 550ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.mi-seo-product:hover img {
  transform: translateY(-14px) rotate(-2deg) scale(1.025);
}

.mi-seo-districts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mi-seo-district-group {
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(7, 27, 42, 0.09);
  border-radius: 30px;
  background: #fff;
}

.mi-seo-district-group h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.mi-seo-district-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mi-seo-district-group__head > span {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 75, 18, 0.09);
  color: #ff4b12;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mi-seo-district-group p {
  margin: 10px 0 24px;
  color: rgba(7, 27, 42, 0.54);
  max-width: 620px;
  font-size: 12px;
  line-height: 1.75;
}

.mi-seo-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(7, 27, 42, 0.1);
  border-radius: 32px;
  background: rgba(7, 27, 42, 0.1);
}

.mi-seo-specs article {
  min-height: 260px;
  padding: clamp(28px, 4vw, 48px);
  background: #f8faf9;
}

.mi-seo-specs small {
  color: #ff4b12;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mi-seo-specs h3 {
  max-width: 430px;
  margin: 58px 0 0;
  font-size: clamp(27px, 2.7vw, 42px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.mi-seo-specs p {
  max-width: 520px;
  margin: 17px 0 0;
  color: rgba(7, 27, 42, 0.59);
  font-size: 12px;
  line-height: 1.75;
}

.mi-seo-note {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 18px;
  padding: 28px 32px;
  border-radius: 22px;
  background: #071b2a;
  color: #fff;
}

.mi-seo-note strong {
  color: #ff6a35;
  font-size: 12px;
}

.mi-seo-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.7;
}

.mi-seo-related {
  padding-block: clamp(72px, 8vw, 118px);
  background: #e9efed;
}

.mi-seo-related__head {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 42px;
}

.mi-seo-related__head > span {
  color: #ff4b12;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mi-seo-related h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.mi-seo-related__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mi-seo-related__links a {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid rgba(7, 27, 42, 0.08);
  border-radius: 22px;
  background: #fff;
  color: #071b2a !important;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mi-seo-related__links a:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(7, 27, 42, 0.09);
}

.mi-seo-related__links i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  background: #ff4b12;
  color: #fff;
  font-style: normal;
}

.mi-seo-district-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mi-seo-district-list li {
  padding: 10px 13px;
  border-radius: 11px;
  background: #f0f4f3;
  font-size: 11px;
  font-weight: 600;
}

.mi-seo-faq {
  display: grid;
  gap: 10px;
  max-width: 990px;
  margin-left: auto;
}

.mi-seo-faq details {
  border: 1px solid rgba(7, 27, 42, 0.1);
  border-radius: 22px;
  background: #fff;
}

.mi-seo-faq summary {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.mi-seo-faq summary::after {
  content: "+";
  color: #ff4b12;
  font-size: 22px;
  font-weight: 400;
}

.mi-seo-faq details[open] summary::after {
  content: "−";
}

.mi-seo-faq details p {
  max-width: 760px;
  margin: -4px 0 0;
  padding: 0 24px 25px;
  color: rgba(7, 27, 42, 0.58);
  font-size: 13px;
  line-height: 1.75;
}

.mi-seo-contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.mi-seo-contact__card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 4vw, 54px);
  border-radius: 34px;
  background: #fff;
}

.mi-seo-contact__card--orange {
  background: #ff4b12;
}

.mi-seo-contact__card small {
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mi-seo-contact__card strong {
  display: block;
  max-width: 650px;
  margin-top: 22px;
  font-size: clamp(29px, 3.4vw, 49px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.mi-seo-contact__card p {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(7, 27, 42, 0.62);
  font-size: 12px;
  line-height: 1.7;
}

.mi-seo-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.mi-seo-contact-flow {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  margin-top: 18px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 30px;
  background: #071b2a;
  color: #fff;
}

.mi-seo-contact-flow > span {
  color: #ff6a35;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mi-seo-contact-flow ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mi-seo-contact-flow li {
  display: grid;
  gap: 7px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.mi-seo-contact-flow b {
  font-size: 18px;
}

.mi-seo-contact-flow small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1.5;
}

.mi-legal {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: start;
}

.mi-legal__index {
  position: sticky;
  top: 130px;
  display: grid;
  gap: 4px;
}

.mi-legal__index > span {
  margin-bottom: 14px;
  color: #ff4b12;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mi-legal__index a {
  padding: 10px 0;
  border-bottom: 1px solid rgba(7, 27, 42, 0.08);
  color: rgba(7, 27, 42, 0.62) !important;
  font-size: 11px;
  font-weight: 600;
}

.mi-legal__body {
  display: grid;
  gap: 0;
}

.mi-legal__body > section {
  padding: 0 0 56px;
  scroll-margin-top: 130px;
}

.mi-legal__body > section + section {
  padding-top: 56px;
  border-top: 1px solid rgba(7, 27, 42, 0.1);
}

.mi-legal__body small {
  color: #ff4b12;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 9px;
  font-weight: 700;
}

.mi-legal__body h2 {
  margin: 13px 0 0;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.mi-legal__body p {
  max-width: 820px;
  margin: 22px 0 0;
  color: rgba(7, 27, 42, 0.65);
  font-size: 14px;
  line-height: 1.85;
}

.mi-legal__body p a {
  color: #071b2a !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mi-legal__notice {
  padding: 26px 28px;
  border: 1px solid rgba(255, 75, 18, 0.2);
  border-radius: 20px;
  background: rgba(255, 75, 18, 0.07);
}

.mi-legal__notice strong {
  color: #ff4b12;
  font-size: 12px;
}

.mi-legal__notice p {
  margin-top: 9px;
  font-size: 11px;
}

.mi-seo-contact__card a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
}

.mi-seo-quote {
  padding-block: clamp(86px, 10vw, 150px);
  background: #ff4b12;
}

.mi-seo-quote__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
}

.mi-seo-quote h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(52px, 6.8vw, 104px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.mi-seo-quote p {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(7, 27, 42, 0.66);
  line-height: 1.7;
}

.mi-seo-page .mi2-footer p a {
  color: inherit !important;
}

.mi-seo-page .mi2-footer__inner {
  align-items: center;
}

@media (max-width: 1050px) {
  .mi-seo-hero__layout,
  .mi-seo-contact {
    grid-template-columns: 1fr;
  }

  .mi-seo-hero__visual {
    min-height: 520px;
  }

  .mi-seo-hero__visual img {
    right: 2%;
  }

  .mi-seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mi-seo-related__links {
    grid-template-columns: 1fr;
  }

  .mi-legal {
    grid-template-columns: 1fr;
  }

  .mi-legal__index {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mi-legal__index > span {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .mi-seo-hero {
    min-height: 0;
    padding: 152px 0 68px;
  }

  .mi-seo-hero__layout {
    gap: 30px;
  }

  .mi-seo-hero h1 {
    font-size: clamp(50px, 14vw, 66px);
  }

  .mi-seo-hero__lead {
    margin-top: 25px;
    font-size: 13px;
  }

  .mi-seo-hero__actions {
    margin-top: 29px;
  }

  .mi-seo-button {
    width: 100%;
  }

  .mi-seo-hero__visual {
    min-height: 370px;
  }

  .mi-seo-hero__tag {
    top: 0;
    right: 2px;
  }

  .mi-seo-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mi-seo-heading h2 {
    font-size: clamp(42px, 12vw, 57px);
  }

  .mi-seo-grid,
  .mi-seo-products,
  .mi-seo-districts,
  .mi-seo-specs {
    grid-template-columns: 1fr;
  }

  .mi-seo-note,
  .mi-seo-related__head,
  .mi-seo-contact-flow {
    grid-template-columns: 1fr;
  }

  .mi-seo-specs article {
    min-height: 230px;
  }

  .mi-seo-contact-flow ol {
    grid-template-columns: 1fr;
  }

  .mi-legal__index {
    grid-template-columns: 1fr 1fr;
  }

  .mi-legal__body > section {
    padding-bottom: 42px;
  }

  .mi-legal__body > section + section {
    padding-top: 42px;
  }

  .mi-seo-card {
    min-height: 245px;
    padding: 26px;
    border-radius: 23px;
  }

  .mi-seo-product {
    min-height: 560px;
    padding: 28px;
    border-radius: 27px;
  }

  .mi-seo-product img {
    width: 103%;
    right: -17%;
  }

  .mi-seo-quote__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .mi-seo-quote h2 {
    font-size: clamp(48px, 13vw, 66px);
  }

  .mi-seo-contact__card {
    min-height: 310px;
    border-radius: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mi-seo-hero__visual img,
  .mi-seo-card,
  .mi-seo-product img,
  .mi-seo-button {
    transition: none !important;
  }
}

/* Global WhatsApp quote dialog */
body.mi-quote-open {
  overflow: hidden;
}

.mi-quote-modal {
  width: min(980px, calc(100vw - 32px));
  max-width: none;
  max-height: min(850px, calc(100svh - 28px));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 34px;
  background: transparent;
  box-shadow: 0 42px 120px rgba(7, 27, 42, 0.28);
  color: #071b2a;
}

.mi-quote-modal::backdrop {
  background: rgba(7, 27, 42, 0.52);
  backdrop-filter: blur(13px) saturate(0.8);
}

.mi-quote-modal[open] {
  animation: mi-modal-in 340ms cubic-bezier(0.2, 0.78, 0.2, 1) both;
}

@keyframes mi-modal-in {
  from { opacity: 0; transform: translateY(24px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.mi-quote-modal__close {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(7, 27, 42, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #071b2a;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.mi-quote-modal .fas {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900;
}

.mi-quote-modal .fab {
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 400;
}

.mi-quote-modal__close:hover {
  transform: rotate(90deg);
  background: #071b2a;
  color: #fff;
}

.mi-quote-modal__layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.74fr) minmax(0, 1.26fr);
  min-height: 650px;
}

.mi-quote-modal__ticket {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 46px 38px 38px;
  background: #ff4b12;
}

.mi-quote-modal__ticket::before,
.mi-quote-modal__ticket::after {
  position: absolute;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(7, 27, 42, 0.14);
  border-radius: 50%;
  content: "";
}

.mi-quote-modal__ticket::before {
  right: -38px;
  top: 16%;
}

.mi-quote-modal__ticket::after {
  right: 18px;
  top: 24%;
}

.mi-quote-modal__ticket > span {
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mi-quote-modal__ticket h2 {
  position: relative;
  z-index: 1;
  max-width: 320px;
  margin: 72px 0 0;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.mi-quote-modal__ticket h2 strong {
  color: #fff;
  font-weight: inherit;
}

.mi-quote-modal__ticket p {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  color: rgba(7, 27, 42, 0.68);
  font-size: 12px;
  line-height: 1.7;
}

.mi-quote-modal__facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 24px;
  border-top: 1px dashed rgba(7, 27, 42, 0.28);
}

.mi-quote-modal__facts span {
  display: grid;
  gap: 3px;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mi-quote-modal__facts b {
  font-family: "Poppins", sans-serif !important;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.mi-quote-modal__form {
  display: flex;
  flex-direction: column;
  padding: 48px 48px 36px;
  background: #f8faf9;
}

.mi-quote-modal__form-head {
  padding-right: 44px;
}

.mi-quote-modal__form-head span {
  color: #ff4b12;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mi-quote-modal__form-head h3 {
  margin: 11px 0 0;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.mi-quote-modal__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 34px;
}

.mi-quote-modal__fields label {
  display: grid;
  gap: 8px;
}

.mi-quote-modal__fields label > span {
  padding-left: 3px;
  color: rgba(7, 27, 42, 0.54);
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mi-quote-modal__fields input,
.mi-quote-modal__fields select {
  width: 100%;
  height: 62px;
  padding: 0 16px;
  border: 1px solid rgba(7, 27, 42, 0.12);
  border-radius: 16px;
  outline: 0;
  background: #fff;
  color: #071b2a;
  font: 600 12px/1 "Poppins", sans-serif;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.mi-quote-modal__fields input:focus,
.mi-quote-modal__fields select:focus {
  border-color: #ff4b12;
  box-shadow: 0 0 0 4px rgba(255, 75, 18, 0.1);
}

.mi-quote-modal__submit {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 9px 11px 9px 22px;
  border: 0;
  border-radius: 19px;
  background: #071b2a;
  color: #fff;
  cursor: pointer;
  font: 700 12px/1 "Poppins", sans-serif;
  transition: transform 180ms ease, background-color 180ms ease;
}

.mi-quote-modal__submit i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: #ff4b12;
  font-style: normal;
  font-size: 16px;
}

.mi-quote-modal__submit:hover {
  transform: translateY(-2px);
  background: #102b3c;
}

.mi-quote-modal__privacy,
.mi-quote-modal__status {
  margin: 13px 0 0;
  color: rgba(7, 27, 42, 0.5);
  font-size: 9px;
  line-height: 1.6;
}

.mi-quote-modal__privacy a {
  color: #071b2a !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mi-quote-modal__status {
  min-height: 15px;
  margin-top: 4px;
  color: #ff4b12;
  font-weight: 600;
}

/* Branded 404 */
.mi-error-page {
  min-height: 100vh;
  background: #f8faf9;
}

.mi-error-main {
  overflow: hidden;
}

.mi-error {
  position: relative;
  min-height: 100vh;
  padding: 180px 0 110px;
  background-image:
    linear-gradient(rgba(7, 27, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 27, 42, 0.035) 1px, transparent 1px);
  background-size: 70px 70px;
}

.mi-error__number {
  position: absolute;
  top: 105px;
  left: 50%;
  transform: translateX(-50%);
  color: transparent;
  font-size: clamp(260px, 38vw, 590px);
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(7, 27, 42, 0.075);
  white-space: nowrap;
}

.mi-error__visual img {
  position: absolute;
  z-index: 1;
  height: auto;
  filter: drop-shadow(0 30px 26px rgba(7, 27, 42, 0.18));
  transform: translate3d(0, var(--mi2-py, 0), 0);
}

.mi-error__midye {
  width: min(31vw, 480px);
  right: -4vw;
  top: 17%;
  rotate: -13deg;
}

.mi-error__kokorec {
  width: min(22vw, 330px);
  left: -4vw;
  bottom: 13%;
  rotate: 15deg;
}

.mi-error__content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 660px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.55fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: end;
}

.mi-error__copy {
  align-self: center;
}

.mi-error__copy h1 {
  max-width: 800px;
  margin: 24px 0 0;
  font-size: clamp(70px, 8.5vw, 132px);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.86;
}

.mi-error__copy h1 strong {
  color: #ff4b12;
  font-weight: inherit;
}

.mi-error__copy p {
  max-width: 620px;
  margin: 32px 0 0;
  color: rgba(7, 27, 42, 0.62);
  font-size: 15px;
  line-height: 1.75;
}

.mi-error__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.mi-error__routes {
  display: grid;
  gap: 10px;
  align-self: end;
}

.mi-error__routes a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 18px;
  align-items: center;
  padding: 21px 22px;
  border: 1px solid rgba(7, 27, 42, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 15px 40px rgba(7, 27, 42, 0.06);
  color: #071b2a !important;
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mi-error__routes a:hover {
  transform: translateX(-5px);
  box-shadow: 0 18px 46px rgba(7, 27, 42, 0.1);
}

.mi-error__routes small {
  color: #ff4b12;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mi-error__routes strong {
  font-size: 13px;
}

.mi-error__routes i {
  grid-column: 2;
  grid-row: 1 / 3;
  font-style: normal;
}

.mi-error-page .mi2-footer {
  background: #edf2f0;
}

@media (max-width: 860px) {
  .mi-quote-modal {
    width: min(560px, calc(100vw - 20px));
    max-height: calc(100svh - 18px);
    border-radius: 27px;
  }

  .mi-quote-modal__layout {
    grid-template-columns: 1fr;
  }

  .mi-quote-modal__ticket {
    min-height: 245px;
    padding: 34px 28px 25px;
  }

  .mi-quote-modal__ticket h2 {
    max-width: 340px;
    margin-top: 32px;
    font-size: 48px;
  }

  .mi-quote-modal__ticket p {
    max-width: 390px;
    margin-top: 13px;
  }

  .mi-quote-modal__facts {
    margin-top: 30px;
    padding-top: 16px;
  }

  .mi-quote-modal__form {
    padding: 34px 24px 26px;
  }

  .mi-error {
    padding: 150px 0 75px;
  }

  .mi-error__content {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .mi-error__copy h1 {
    font-size: clamp(62px, 19vw, 90px);
  }

  .mi-error__number {
    top: 140px;
    font-size: 78vw;
  }

  .mi-error__midye {
    width: 62vw;
    right: -27vw;
    top: 28%;
    opacity: 0.68;
  }

  .mi-error__kokorec {
    display: none;
  }
}

@media (max-width: 560px) {
  .mi-quote-modal__ticket {
    min-height: 220px;
  }

  .mi-quote-modal__ticket h2 {
    font-size: 42px;
  }

  .mi-quote-modal__ticket p {
    display: none;
  }

  .mi-quote-modal__fields {
    grid-template-columns: 1fr;
  }

  .mi-quote-modal__fields input,
  .mi-quote-modal__fields select {
    height: 56px;
  }

  .mi-error__actions .mi-seo-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mi-quote-modal[open],
  .mi-quote-modal__close,
  .mi-quote-modal__submit,
  .mi-error__routes a {
    animation: none !important;
    transition: none !important;
  }
}
