/* Elementor homepage. Scoped so About / Projects keep their own layouts. */

.mm-elementor-front .mm-el-header {
  position: sticky !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(12, 26, 46, 0.08);
}

.mm-elementor-front .mm-el-header .e-con-inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.75rem 1.25rem;
}

.mm-elementor-front .mm-el-header .elementor-widget-image,
.mm-elementor-front .mm-el-header .e-con-inner > .elementor-widget-button,
.mm-elementor-front .mm-el-nav,
.mm-elementor-front .mm-el-nav > .elementor-widget {
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}

.mm-elementor-front .mm-el-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center;
  justify-content: flex-end !important;
  flex: 1 1 auto !important;
  margin-left: auto;
}

.mm-elementor-front .mm-el-header .e-con-inner > .elementor-widget-button:last-child {
  margin-left: 0.25rem;
}

@media (max-width: 900px) {
  .mm-elementor-front .mm-el-header .e-con-inner {
    flex-wrap: wrap !important;
  }

  .mm-elementor-front .mm-el-nav {
    flex: 1 1 100% !important;
    order: 3;
    justify-content: flex-start !important;
  }
}

.mm-elementor-front .mm-el-hero {
  min-height: 100vh;
}

.mm-elementor-front .mm-el-hero-title {
  max-width: 14ch;
}

.mm-elementor-front .mm-el-hero-title .elementor-heading-title {
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.mm-elementor-front .mm-el-hero-lead {
  max-width: 38rem;
}

.mm-elementor-front .mm-el-packages:not(:has(> .e-con-inner)),
.mm-elementor-front .mm-el-packages > .e-con-inner,
.mm-elementor-front .mm-el-stats:not(:has(> .e-con-inner)),
.mm-elementor-front .mm-el-stats > .e-con-inner,
.mm-elementor-front .mm-el-upgrades:not(:has(> .e-con-inner)),
.mm-elementor-front .mm-el-upgrades > .e-con-inner,
.mm-elementor-front .mm-el-split:not(:has(> .e-con-inner)),
.mm-elementor-front .mm-el-split > .e-con-inner {
  display: grid !important;
  gap: 1rem;
  width: 100%;
}

.mm-elementor-front .mm-el-packages:not(:has(> .e-con-inner)),
.mm-elementor-front .mm-el-packages > .e-con-inner {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mm-elementor-front .mm-el-upgrades:not(:has(> .e-con-inner)),
.mm-elementor-front .mm-el-upgrades > .e-con-inner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mm-elementor-front .mm-el-stats:not(:has(> .e-con-inner)),
.mm-elementor-front .mm-el-stats > .e-con-inner {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1.5rem 0;
  border-block: 1px solid rgba(12, 26, 46, 0.1);
}

.mm-elementor-front .mm-el-split:not(:has(> .e-con-inner)),
.mm-elementor-front .mm-el-split > .e-con-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.mm-elementor-front .mm-el-packages > .e-con,
.mm-elementor-front .mm-el-packages > .e-con-inner > .e-con,
.mm-elementor-front .mm-el-stats > .e-con,
.mm-elementor-front .mm-el-stats > .e-con-inner > .e-con,
.mm-elementor-front .mm-el-split > .e-con,
.mm-elementor-front .mm-el-split > .e-con-inner > .e-con,
.mm-elementor-front .mm-el-upgrades > .elementor-widget,
.mm-elementor-front .mm-el-upgrades > .e-con-inner > .elementor-widget {
  width: 100% !important;
  max-width: 100% !important;
}

.mm-elementor-front .mm-el-areas ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.mm-elementor-front .mm-el-areas li {
  margin: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(12, 26, 46, 0.12);
  border-radius: 999px;
  font-family: Sora, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

.mm-elementor-front .mm-el-contact .elementor-widget-text-editor a {
  color: #fff;
  text-decoration: none;
}

.mm-elementor-front .mm-el-contact .elementor-widget-text-editor a:hover {
  color: #f0c419;
}

@media (max-width: 1024px) {
  .mm-elementor-front .mm-el-packages:not(:has(> .e-con-inner)),
  .mm-elementor-front .mm-el-packages > .e-con-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .mm-elementor-front .mm-el-packages:not(:has(> .e-con-inner)),
  .mm-elementor-front .mm-el-packages > .e-con-inner,
  .mm-elementor-front .mm-el-stats:not(:has(> .e-con-inner)),
  .mm-elementor-front .mm-el-stats > .e-con-inner,
  .mm-elementor-front .mm-el-upgrades:not(:has(> .e-con-inner)),
  .mm-elementor-front .mm-el-upgrades > .e-con-inner,
  .mm-elementor-front .mm-el-split:not(:has(> .e-con-inner)),
  .mm-elementor-front .mm-el-split > .e-con-inner {
    grid-template-columns: 1fr;
  }

  .mm-elementor-front .mm-el-hero-title .elementor-heading-title {
    font-size: 2.4rem;
  }
}

.mm-elementor-front .contact-form label span { color: #fff; }
.mm-elementor-front .contact-form input, .mm-elementor-front .contact-form textarea { color: #fff; background: rgba(0,0,0,0.35); border-color: rgba(255,255,255,0.35); caret-color: #fff; }
.mm-elementor-front .contact-form input::placeholder, .mm-elementor-front .contact-form textarea::placeholder { color: rgba(255,255,255,0.62); }
.mm-elementor-front .contact-form input:-webkit-autofill, .mm-elementor-front .contact-form textarea:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 1000px #162033 inset; }
.mm-elementor-front .mm-el-contact .elementor-widget-text-editor, .mm-elementor-front .mm-el-contact .elementor-widget-text-editor p, .mm-elementor-front .mm-el-contact .elementor-widget-text-editor strong, .mm-elementor-front .mm-el-contact .elementor-widget-text-editor a { color: #fff; }
