/* Master Move — Launch design system (black + orange) */
:root {
  --mm-black: #050505;
  --mm-ink: #0a0a0a;
  --mm-charcoal: #141414;
  --mm-surface: #1a1a1a;
  --mm-surface-2: #22201c;
  --mm-orange: #ff4d00;
  --mm-orange-hot: #ff6a1a;
  --mm-orange-deep: #c73a00;
  --mm-orange-soft: rgba(255, 77, 0, 0.12);
  --mm-cream: #f4f0ea;
  --mm-muted: #9a958e;
  --mm-line: rgba(255, 77, 0, 0.22);
  --mm-line-soft: rgba(255, 255, 255, 0.08);
  --mm-success: #2fbf71;
  --mm-warning: #f0b429;
  --mm-danger: #e5484d;
  --mm-info: #3b82f6;
  --font-display: "Syne", "IBM Plex Sans Arabic", sans-serif;
  --font-body: "Figtree", "IBM Plex Sans Arabic", sans-serif;
  --radius: 1rem;
  --radius-sm: 0.65rem;
  --shadow-glow: 0 24px 60px rgba(255, 77, 0, 0.22);
  --container: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.5rem;
}

html {
  scroll-behavior: smooth;
}

body.theme-mastermove,
body.elementor-page,
.elementor-kit-mastermove {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--mm-cream);
  background: var(--mm-black);
  -webkit-font-smoothing: antialiased;
}

/* Hello Elementor prints a page title; MM pages already have a hero heading. */
body.theme-mastermove.page .page-header {
  display: none;
}

html[dir="rtl"] body {
  line-height: 1.8;
}

.theme-mastermove img,
.elementor-widget-wrap img {
  max-width: 100%;
  height: auto;
}

.mm-container { width: var(--container); margin-inline: auto; }

/* —— Typography —— */
.mm-kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mm-orange);
}
.mm-display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.mm-display em { font-style: normal; color: var(--mm-orange); }
.mm-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.mm-lead {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.35;
  color: rgba(244, 240, 234, 0.92);
}
.mm-text { margin: 0; color: var(--mm-muted); max-width: 40rem; }
.mm-text + .mm-text { margin-top: 0.85rem; }

/* —— Buttons —— */
.mm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.mm-btn:hover { transform: translateY(-2px); }
.mm-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.mm-btn--primary { background: var(--mm-orange); color: #fff; }
.mm-btn--primary:hover { background: var(--mm-orange-hot); }
.mm-btn--secondary { background: #fff; color: var(--mm-ink); }
.mm-btn--ghost {
  border-color: rgba(255, 77, 0, 0.45);
  background: rgba(255, 77, 0, 0.06);
  color: var(--mm-cream);
}
.mm-btn--ghost:hover { border-color: var(--mm-orange); background: rgba(255, 77, 0, 0.14); }
.mm-btn--outline {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--mm-cream);
}
.mm-btn--sm { min-height: 2.4rem; padding: 0.4rem 0.95rem; font-size: 0.86rem; }
.mm-btn--lg { min-height: 3.35rem; padding: 0.85rem 1.6rem; font-size: 1rem; }
.mm-btn--block { width: 100%; }
.mm-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.mm-stripe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 3rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d00, #c43c00);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.mm-stripe:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff; }
.mm-stripe__mark { display: none; }

/* —— Header / Nav —— */
.mm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid var(--mm-line-soft);
  padding-inline: clamp(1.5rem, 5vw, 3rem);
  box-sizing: border-box;
}
.elementor-location-header {
  padding-inline: clamp(1.5rem, 5vw, 3rem);
  box-sizing: border-box;
}
.mm-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  width: min(1120px, 100%);
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}
.mm-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.mm-brand img { width: 38px; height: 38px; object-fit: contain; }
.mm-brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.1;
}
.mm-brand__text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mm-muted);
}
.mm-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem 1.15rem;
  flex-wrap: wrap;
  min-width: 0;
}
.mm-nav ul {
  display: flex;
  align-items: center;
  gap: 0.85rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.mm-nav li { margin: 0; }
.mm-header__tools {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.mm-header .trp-language-switcher,
.mm-header .trp-ls-shortcode-language,
.mm-nav .trp-language-switcher,
.mm-lang-wrap {
  display: inline-flex;
  align-items: center;
}
.mm-lang-wrap .trp-language-switcher > div,
.mm-lang-wrap .trp-ls-shortcode-language,
.mm-lang-wrap a,
.mm-header .trp-language-switcher > div,
.mm-header .trp-ls-shortcode-language a {
  border: 1px solid rgba(255, 77, 0, 0.45) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--mm-cream) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 0.35rem 0.7rem !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  list-style: none !important;
}
.mm-header-search {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.mm-header-search input {
  min-height: 2.4rem;
  border: 1px solid var(--mm-line-soft);
  background: rgba(255,255,255,0.04);
  color: var(--mm-cream);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  width: 9.5rem;
}
.mm-header-search button {
  min-height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--mm-orange);
  color: #fff;
  padding: 0 0.8rem;
  cursor: pointer;
}

.mm-topbar {
  background: color-mix(in srgb, var(--mm-header-bg, var(--mm-black)) 92%, #000);
  border-bottom: 1px solid var(--mm-line-soft);
  font-size: 0.78rem;
  color: var(--mm-muted);
  padding-inline: clamp(1.5rem, 5vw, 3rem);
  box-sizing: border-box;
}
.mm-topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.1rem;
  align-items: center;
  width: min(1120px, 100%);
  margin-inline: auto;
}
.mm-topbar__meta,
.mm-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}
.mm-topbar a,
.mm-social a { color: var(--mm-muted); }
.mm-topbar a:hover,
.mm-social a:hover { color: var(--mm-orange); }

.mm-page-banner {
  position: relative;
  padding: 2.5rem 0 2.25rem;
  background: var(--mm-surface) center/cover no-repeat;
  border-bottom: 1px solid var(--mm-line-soft);
}
.mm-page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, var(--mm-banner-overlay, 0.55));
}
.mm-page-banner .mm-container { position: relative; z-index: 1; }
.mm-page-banner__title {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}
.mm-bc {
  font-size: 0.82rem;
  color: var(--mm-muted);
}
.mm-bc a { color: var(--mm-muted); }
.mm-bc a:hover { color: var(--mm-orange); }
.mm-bc__sep { opacity: 0.5; padding: 0 0.15rem; }

.mm-backtop {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--mm-orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mm-backtop.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.mm-backtop:hover { color: #fff; background: var(--mm-orange-hot); }

.mm-maintenance {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: var(--mm-black);
  color: var(--mm-cream);
  text-align: center;
}
.mm-maintenance__inner { max-width: 36rem; }
.mm-maintenance img { margin-bottom: 1.25rem; }

body.mm-has-page-banner .mm-page-hero {
  padding-top: 1.5rem;
}
body.mm-has-page-banner .mm-page-hero .mm-kicker { display: none; }

.mm-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.mm-footer ul a { color: var(--mm-muted); }
.mm-nav a {
  font-size: 0.9rem;
  color: rgba(244, 240, 234, 0.78);
  transition: color 0.2s ease;
}
.mm-nav a:hover,
.mm-nav a.is-active,
.mm-nav .current-menu-item > a { color: var(--mm-orange); }
.mm-lang,
.mm-menu {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 77, 0, 0.45);
  background: transparent;
  color: var(--mm-cream);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  min-height: 2.4rem;
}
a.mm-lang:hover {
  border-color: var(--mm-orange);
  background: rgba(255, 77, 0, 0.12);
  color: var(--mm-cream);
}
.mm-menu { display: none; }
.mm-mobile {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0 1.25rem;
  border-top: 1px solid var(--mm-line-soft);
}
.mm-mobile.is-open { display: flex; }
.mm-mobile a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.15rem;
  color: rgba(244, 240, 234, 0.9);
  font-size: 1.02rem;
  border-bottom: 1px solid var(--mm-line-soft);
}
.mm-mobile a:last-of-type { border-bottom: 0; }
.mm-mobile .mm-btn {
  margin-top: 0.5rem;
  width: 100%;
  border-bottom: 0;
}
.mm-mobile .mm-lang {
  align-self: stretch;
  min-height: 2.75rem;
  margin-top: 0.35rem;
}

/* —— Hero variants —— */
.mm-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(ellipse 70% 55% at 75% 15%, rgba(255, 77, 0, 0.2), transparent 58%),
    radial-gradient(ellipse 45% 40% at 5% 90%, rgba(255, 77, 0, 0.1), transparent 55%),
    linear-gradient(165deg, #000 0%, #0a0a0a 50%, #120800 100%);
}
.mm-hero--home { min-height: calc(100svh - var(--header-h)); display: grid; align-items: center; padding-block: 3rem 4rem; }
.mm-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 77, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 77, 0, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 88%);
  pointer-events: none;
}
.mm-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.mm-hero__media {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--mm-line);
  box-shadow: var(--shadow-glow);
  aspect-ratio: 16 / 11;
  background: #050505;
  min-width: 0;
}
.mm-hero__media img {
  display: block;
  width: 100%;
  height: 100% !important;
  max-width: none;
  object-fit: contain;
  object-position: center;
  animation: mm-ken 18s ease-in-out infinite alternate;
}
.mm-hero__mark {
  justify-self: end;
  width: min(100%, 380px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  animation: mm-float 5.5s ease-in-out infinite;
}
.mm-hero__mark::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 0, 0.28), transparent 68%);
  filter: blur(8px);
  animation: mm-pulse 3.8s ease-in-out infinite;
}
.mm-hero__mark img {
  position: relative;
  width: 74%;
  filter: drop-shadow(0 24px 48px rgba(255, 77, 0, 0.35));
}
.mm-page-hero .mm-display { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
.mm-page-hero .mm-text { max-width: 46rem; }

/* —— Sections —— */
.mm-section { padding: 5rem 0; border-top: 1px solid rgba(255, 77, 0, 0.1); }
.mm-section--alt {
  background:
    linear-gradient(180deg, rgba(255, 77, 0, 0.035), transparent 42%),
    var(--mm-ink);
}
.mm-section__head { margin-bottom: 2.4rem; max-width: 40rem; }
.mm-section__head .mm-text { margin-top: 0.75rem; }

/* Elementor containers using MM grid classes (flex otherwise fights CSS grid). */
.e-con.mm-pricing,
.e-con.mm-grid-4,
.e-con.mm-contact {
  display: grid !important;
}
.e-con.mm-pricing {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  align-items: stretch;
}
.e-con.mm-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1px !important;
}
.e-con.mm-contact {
  grid-template-columns: 0.85fr 1.15fr !important;
  gap: 1.5rem !important;
  align-items: start;
}
.elementor-widget-mm-hero,
.elementor-widget-mm-cta {
  width: 100%;
}
.elementor-widget-mm-pricing-card .elementor-widget-container,
.elementor-widget-mm-icon-card .elementor-widget-container {
  height: 100%;
}
.mm-split--copy {
  grid-template-columns: 1fr;
  max-width: 42rem;
}
.mm-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.mm-media {
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--mm-line);
  background: var(--mm-charcoal);
  aspect-ratio: 16 / 11;
}
.mm-media img { width: 100%; height: 100%; object-fit: cover; }

/* —— Cards / lists —— */
.mm-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.mm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mm-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 77, 0, 0.18); border: 1px solid rgba(255, 77, 0, 0.18); }

.mm-card {
  background: var(--mm-charcoal);
  border: 1px solid var(--mm-line-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.55rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.mm-card:hover {
  border-color: rgba(255, 77, 0, 0.35);
  background: #1a120e;
  transform: translateY(-3px);
}
a.mm-card { color: inherit; }
.mm-card__icon {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.05rem;
  border-radius: 0.7rem;
  background: var(--mm-orange-soft);
  color: var(--mm-orange);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
}
.mm-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.25;
}
.mm-card p {
  margin: 0;
  color: var(--mm-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.mm-cards--values {
  margin-bottom: 1.75rem;
}

.mm-study {
  display: block;
  box-sizing: border-box;
  background: var(--mm-charcoal);
  padding: 1.6rem 1.35rem 1.75rem;
  min-height: 12.5rem;
  height: auto;
  overflow: visible;
  color: inherit;
  text-decoration: none;
  transition: background 0.25s ease;
}
.mm-study:hover { background: #1a120e; }
.mm-study__index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.85rem;
  color: var(--mm-orange);
  line-height: 1;
  margin-bottom: 1rem;
}
.mm-study h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.35;
  color: var(--mm-cream);
  overflow-wrap: break-word;
  word-break: normal;
}
.mm-study p {
  margin: 0;
  color: var(--mm-muted);
  font-size: 0.94rem;
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: normal;
}

.mm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.mm-step {
  position: relative;
  padding: 1.35rem;
  border: 1px solid var(--mm-line-soft);
  border-radius: var(--radius);
  background: rgba(255, 77, 0, 0.04);
}
.mm-step__n {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--mm-orange);
  margin-bottom: 0.75rem;
}
.mm-step h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.mm-step p { margin: 0; color: var(--mm-muted); font-size: 0.92rem; }

.mm-bridge {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: center;
}
.mm-bridge__pane {
  padding: 1.75rem 1.4rem;
  border: 1px solid rgba(255, 77, 0, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 77, 0, 0.08), transparent 55%);
}
.mm-bridge__pane h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.mm-bridge__pane p { margin: 0; color: var(--mm-muted); }
.mm-bridge__mark { width: 64px; }
.mm-bridge__mark img { width: 100%; }

/* —— Portfolio —— */
.mm-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}
.mm-filter {
  appearance: none;
  border: 1px solid var(--mm-line-soft);
  background: transparent;
  color: var(--mm-muted);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}
.mm-filter.is-active,
.mm-filter:hover {
  border-color: var(--mm-orange);
  color: var(--mm-cream);
  background: rgba(255, 77, 0, 0.1);
}
.mm-case {
  display: grid;
  gap: 0.9rem;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--mm-line-soft);
  background: var(--mm-charcoal);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.mm-case:hover {
  border-color: rgba(255, 77, 0, 0.4);
  transform: translateY(-3px);
}
.mm-case[hidden] { display: none !important; }
.mm-case__media { aspect-ratio: 1; overflow: hidden; background: #111; }
.mm-case__media img { width: 100%; height: 100%; object-fit: cover; }
.mm-case__body { padding: 0 1.1rem 1.2rem; }
.mm-case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}
.mm-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--mm-orange-soft);
  color: var(--mm-orange);
}
.mm-badge--ok { background: rgba(47, 191, 113, 0.15); color: var(--mm-success); }
.mm-badge--warn { background: rgba(240, 180, 41, 0.15); color: var(--mm-warning); }
.mm-badge--info { background: rgba(59, 130, 246, 0.15); color: #7db4ff; }
.mm-case h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.mm-case p { margin: 0; color: var(--mm-muted); font-size: 0.92rem; }
a.mm-case { color: inherit; }
.mm-case__link {
  display: inline-flex;
  margin-top: 0.75rem;
  color: var(--mm-orange);
  font-size: 0.88rem;
  font-weight: 700;
}

/* —— Project detail —— */
.mm-project-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.mm-project-hero__media {
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--mm-line);
  box-shadow: var(--shadow-glow);
  aspect-ratio: 1;
  background: var(--mm-charcoal);
}
.mm-project-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mm-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  color: var(--mm-muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.mm-back:hover { color: var(--mm-orange); }
.mm-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}
.mm-project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.mm-project-stat {
  padding: 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--mm-line-soft);
  background: var(--mm-charcoal);
}
.mm-project-stat strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mm-orange);
}
.mm-project-stat span { color: var(--mm-muted); font-size: 0.95rem; }
.mm-project-body {
  display: grid;
  gap: 1.25rem;
  max-width: 46rem;
}
.mm-project-body h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.mm-project-body ul {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
}
.mm-project-body ul li {
  position: relative;
  padding-inline-start: 1.25rem;
  color: var(--mm-muted);
}
.mm-project-body ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--mm-orange);
}
.mm-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* —— Pricing —— */
.mm-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.mm-price {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem;
  border-radius: 1.15rem;
  border: 1px solid var(--mm-line-soft);
  background: var(--mm-charcoal);
}
.mm-price--featured {
  border-color: var(--mm-orange);
  background:
    linear-gradient(180deg, rgba(255, 77, 0, 0.14), transparent 45%),
    var(--mm-surface);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}
.mm-price__badge {
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--mm-orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mm-price h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.mm-price__desc { margin: 0; color: var(--mm-muted); font-size: 0.92rem; }
.mm-price__amount {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.mm-price__amount span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mm-muted);
}
.mm-price__period { margin: 0; color: var(--mm-muted); font-size: 0.88rem; }
.mm-feature-list { display: grid; gap: 0.55rem; flex: 1; list-style: none; padding: 0; margin: 0; }
.mm-feature-list li {
  position: relative;
  padding-inline-start: 1.25rem;
  color: rgba(244, 240, 234, 0.88);
  font-size: 0.94rem;
}
.mm-feature-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--mm-orange);
}

.mm-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.mm-flow__item {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 77, 0, 0.35);
  background: rgba(255, 77, 0, 0.04);
  text-align: center;
}
.mm-flow__item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  color: var(--mm-orange);
}

/* —— FAQ —— */
.mm-faq { display: grid; gap: 0.65rem; max-width: 48rem; }
.mm-faq__item {
  border: 1px solid var(--mm-line-soft);
  border-radius: var(--radius-sm);
  background: var(--mm-charcoal);
  overflow: hidden;
}
.mm-faq__q {
  width: 100%;
  text-align: start;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mm-cream);
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.mm-faq__q::after {
  content: "+";
  color: var(--mm-orange);
  font-weight: 700;
}
.mm-faq__item.is-open .mm-faq__q::after { content: "–"; }
.mm-faq__a {
  display: none;
  padding: 0 1.15rem 1.1rem;
  color: var(--mm-muted);
}
.mm-faq__item.is-open .mm-faq__a { display: block; }

/* —— Team —— */
.mm-team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.mm-person {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.65rem 1.15rem 1.35rem;
  border-radius: 1.35rem;
  border: 1px solid var(--mm-line-soft);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 77, 0, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
    var(--mm-charcoal);
  text-align: center;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.mm-person::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.04), transparent 60%);
  pointer-events: none;
}
.mm-person:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 0, 0.4);
  box-shadow: 0 20px 48px rgba(255, 77, 0, 0.16);
}
.mm-person:hover .mm-person__orbit::before {
  animation-play-state: paused;
}
.mm-person:nth-child(2) .mm-person__avatar::before { animation-delay: 0.7s; }
.mm-person:nth-child(3) .mm-person__avatar::before { animation-delay: 1.4s; }
.mm-person:nth-child(4) .mm-person__avatar::before { animation-delay: 2.1s; }
.mm-person:nth-child(2) .mm-person__orbit::before { animation-duration: 7.5s; animation-direction: reverse; }
.mm-person:nth-child(3) .mm-person__orbit::before { animation-duration: 5.5s; }
.mm-person:nth-child(4) .mm-person__orbit::before { animation-duration: 8s; animation-direction: reverse; }
.mm-person__orbit {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
}
.mm-person__orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 200, 160, 0.05),
    rgba(255, 140, 80, 0.85),
    rgba(255, 230, 200, 0.95),
    rgba(255, 77, 0, 0.55),
    rgba(255, 200, 160, 0.05)
  );
  animation: mm-orbit-spin 6s linear infinite;
  filter: blur(0.2px);
}
.mm-person__orbit::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--mm-charcoal);
}
.mm-person__avatar {
  position: relative;
  z-index: 1;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: #7a2e00;
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 10px 28px rgba(255, 77, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -8px 18px rgba(255, 120, 40, 0.12);
  overflow: hidden;
}
.mm-person__avatar::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.7) 48%,
    transparent 62%
  );
  animation: mm-avatar-shine 3.8s ease-in-out infinite;
}
.mm-person__avatar--peach {
  background: linear-gradient(145deg, #fff8f2 0%, #ffd3b5 48%, #ffb48a 100%);
}
.mm-person__avatar--cream {
  background: linear-gradient(145deg, #fffdf8 0%, #f5e6d3 48%, #e8c9a8 100%);
}
.mm-person__avatar--blush {
  background: linear-gradient(145deg, #fff5f2 0%, #ffcfc4 48%, #ff9f8a 100%);
}
.mm-person__avatar--sand {
  background: linear-gradient(145deg, #fff9ef 0%, #f0d9b5 48%, #e0b87e 100%);
}
.mm-person h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}
.mm-person__role {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 77, 0, 0.12);
  border: 1px solid rgba(255, 77, 0, 0.28);
  color: var(--mm-orange-hot);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mm-person__bio {
  margin: 0.35rem 0 0.55rem;
  color: var(--mm-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}
.mm-person__social {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: auto;
}
.mm-person__social a {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--mm-line-soft);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(244, 240, 234, 0.78);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.mm-person__social a:hover {
  color: #fff;
  border-color: rgba(255, 77, 0, 0.55);
  background: rgba(255, 77, 0, 0.18);
  transform: translateY(-2px);
}

@keyframes mm-orbit-spin {
  to { transform: rotate(360deg); }
}
@keyframes mm-avatar-shine {
  0%, 55% { transform: translateX(-120%) rotate(18deg); opacity: 0; }
  65% { opacity: 1; }
  80%, 100% { transform: translateX(120%) rotate(18deg); opacity: 0; }
}

/* —— Contact / Forms —— */
.mm-contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}
.mm-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1.15rem;
  border: 1px solid var(--mm-line-soft);
  background: var(--mm-charcoal);
}
.mm-field { display: grid; gap: 0.4rem; }
.mm-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(244, 240, 234, 0.88);
}
.mm-field input,
.mm-field select,
.mm-field textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--mm-line-soft);
  background: var(--mm-ink);
  border-radius: 0.7rem;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
  font-size: 16px; /* avoid iOS zoom on focus */
}
.mm-field input:focus,
.mm-field select:focus,
.mm-field textarea:focus { border-color: var(--mm-orange); }
.mm-field textarea { min-height: 8rem; resize: vertical; }
.mm-aside {
  display: grid;
  gap: 1rem;
}
.mm-aside__card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--mm-line-soft);
  background: var(--mm-charcoal);
}
.mm-aside__card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.mm-aside__card p,
.mm-aside__card a {
  margin: 0 0 0.35rem;
  color: var(--mm-muted);
  font-size: 0.94rem;
}
.mm-aside__card a:hover { color: var(--mm-orange); }
.mm-map {
  min-height: 180px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255, 77, 0, 0.35);
  background:
    linear-gradient(135deg, rgba(255, 77, 0, 0.08), transparent),
    repeating-linear-gradient(-18deg, transparent, transparent 10px, rgba(255, 77, 0, 0.05) 10px, rgba(255, 77, 0, 0.05) 11px);
  display: grid;
  place-items: center;
  color: var(--mm-muted);
  font-size: 0.9rem;
}

/* —— Messages —— */
.mm-alert {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.94rem;
}
.mm-alert--success { background: rgba(47, 191, 113, 0.12); border-color: rgba(47, 191, 113, 0.35); color: #b6f0cf; }
.mm-alert--warning { background: rgba(240, 180, 41, 0.12); border-color: rgba(240, 180, 41, 0.35); color: #ffe2a0; }
.mm-alert--danger { background: rgba(229, 72, 77, 0.12); border-color: rgba(229, 72, 77, 0.35); color: #ffb4b6; }
.mm-alert--info { background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.35); color: #b7d3ff; }

/* —— CTA / Status —— */
.mm-cta {
  padding: 5rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(255, 77, 0, 0.18), transparent 60%),
    var(--mm-black);
  border-top: 1px solid rgba(255, 77, 0, 0.1);
}
.mm-cta .mm-title { max-width: 18ch; margin-inline: auto; }
.mm-cta .mm-text { margin: 0 auto 1.75rem; }
.mm-cta .mm-actions { justify-content: center; }

.mm-status {
  max-width: 34rem;
  margin: 4rem auto;
  text-align: center;
  padding: 2rem;
  border-radius: 1.25rem;
  border: 1px solid var(--mm-line);
  background: var(--mm-charcoal);
}
.mm-status__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 800;
}
.mm-status__icon--ok { background: rgba(47, 191, 113, 0.15); color: var(--mm-success); }
.mm-status__icon--cancel { background: rgba(229, 72, 77, 0.15); color: var(--mm-danger); }
.mm-summary {
  margin: 1.25rem 0;
  text-align: start;
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--mm-ink);
  border: 1px solid var(--mm-line-soft);
}
.mm-summary div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}
.mm-summary span { color: var(--mm-muted); }

/* —— Footer —— */
.mm-footer {
  position: relative;
  padding: 3.75rem 0 1.5rem;
  border-top: 1px solid rgba(255, 77, 0, 0.14);
  background:
    radial-gradient(ellipse 55% 40% at 8% 0%, rgba(255, 77, 0, 0.1), transparent 55%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}
.mm-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 1fr));
  gap: 2rem 1.75rem;
  margin-bottom: 2.25rem;
  align-items: start;
}
.mm-footer__col {
  min-width: 0;
}
.mm-footer h4 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mm-cream);
}
.mm-footer a,
.mm-footer p {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--mm-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  text-decoration: none;
}
.mm-footer a:hover { color: var(--mm-orange); }
.mm-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  color: var(--mm-cream) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.mm-footer__brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.mm-footer__tagline {
  max-width: 18rem;
  margin-bottom: 1.1rem !important;
}
.mm-footer__links,
.mm-footer ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.mm-footer__links a,
.mm-footer ul.menu a {
  display: inline-block;
  margin: 0;
  padding: 0.1rem 0;
}
.mm-footer__contact a {
  word-break: break-word;
}
.mm-footer__social,
.mm-footer .mm-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.mm-footer__social a,
.mm-footer .mm-social a {
  width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--mm-line-soft);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--mm-cream);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.mm-footer__social a:hover,
.mm-footer .mm-social a:hover {
  border-color: var(--mm-orange);
  color: var(--mm-orange);
  background: rgba(255, 77, 0, 0.1);
}
.mm-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--mm-line-soft);
  color: var(--mm-muted);
  font-size: 0.86rem;
}
.mm-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}
.mm-footer__legal a {
  display: inline;
  margin: 0;
  color: var(--mm-muted);
}
.mm-footer__legal a:hover {
  color: var(--mm-orange);
}

/* —— Design system page —— */
.mm-ds-swatch {
  display: grid;
  gap: 0.55rem;
}
.mm-ds-chip {
  height: 72px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--mm-line-soft);
}
.mm-ds-chip span {
  display: block;
  padding: 0.55rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.mm-ds-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}
.mm-ds-type sample {
  display: block;
  margin-bottom: 0.75rem;
}

@keyframes mm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes mm-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes mm-ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* —— Tablet —— */
@media (max-width: 980px) {
  .mm-nav > ul,
  .mm-nav > .mm-header-search,
  .mm-nav > a:not(.mm-btn) { display: none; }
  .mm-nav > .mm-btn { display: none; }
  .mm-menu { display: inline-flex; min-height: 2.5rem; min-width: 2.5rem; }
  .mm-lang { min-height: 2.5rem; min-width: 2.5rem; }

  .mm-hero {
    padding: 3rem 0 2.75rem;
  }
  .mm-hero__inner,
  .mm-split,
  .mm-contact,
  .mm-bridge,
  .mm-project-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .mm-project-hero__media {
    max-width: 420px;
    width: 100%;
    margin-inline: auto;
  }
  .mm-related {
    grid-template-columns: 1fr 1fr;
  }
  .mm-hero--home .mm-hero__inner > :first-child { order: 1; }
  .mm-hero--home .mm-hero__media { order: 0; width: 100%; max-width: none; }
  .mm-hero__mark {
    justify-self: center;
    width: min(56vw, 220px);
    order: -1;
    animation: none;
  }
  .mm-hero__media {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }

  .mm-grid-3,
  .mm-grid-4,
  .e-con.mm-grid-4,
  .mm-steps,
  .mm-pricing,
  .e-con.mm-pricing,
  .mm-team,
  .mm-flow,
  .mm-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .mm-footer__grid {
    gap: 1.75rem 1.25rem;
  }
  .mm-footer__grid > .mm-footer__col:first-child {
    grid-column: 1 / -1;
  }
  .e-con.mm-contact {
    grid-template-columns: 1fr !important;
  }
  .mm-grid-4 { gap: 1px; }
  .mm-price--featured { transform: none; }
  .mm-bridge__mark { margin-inline: auto; }
  .mm-cta .mm-title { max-width: none; }
  .mm-filters { justify-content: flex-start; }
}

/* —— Phone —— */
@media (max-width: 640px) {
  :root {
    --container: min(100% - 1.25rem, 1120px);
    --header-h: 4rem;
  }

  body {
    font-size: 1rem;
  }

  .mm-header {
    padding-top: env(safe-area-inset-top);
  }
  .mm-header__inner {
    min-height: var(--header-h);
    gap: 0.65rem;
  }
  .mm-brand__text small { display: none; }
  .mm-brand img { width: 34px; height: 34px; }

  .mm-hero {
    padding: 2.25rem 0 2rem;
  }
  .mm-hero--home { min-height: auto; }
  .mm-page-hero { padding-block: 2.25rem 1.75rem; }
  .mm-display {
    font-size: clamp(2.15rem, 11vw, 3.1rem);
    line-height: 1.05;
    word-break: break-word;
  }
  html[dir="rtl"] .mm-display,
  html[dir="rtl"] .mm-title {
    line-height: 1.25;
    letter-spacing: 0;
  }
  .mm-title {
    font-size: clamp(1.45rem, 6.5vw, 1.95rem);
    word-break: break-word;
  }
  .mm-lead {
    font-size: 1.05rem;
  }
  .mm-text {
    max-width: none;
  }

  .mm-grid-2,
  .mm-grid-3,
  .mm-grid-4,
  .e-con.mm-grid-4,
  .mm-steps,
  .mm-pricing,
  .e-con.mm-pricing,
  .mm-team,
  .mm-flow,
  .mm-footer__grid,
  .mm-project-stats,
  .mm-related {
    grid-template-columns: 1fr;
  }
  .mm-footer__grid > .mm-footer__col:first-child {
    grid-column: auto;
  }
  .mm-grid-4 {
    gap: 1px;
  }

  .mm-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .mm-btn,
  .mm-stripe {
    width: 100%;
    min-height: 3rem;
  }
  .mm-btn--sm { min-height: 2.75rem; }

  .mm-section { padding: 3.25rem 0; }
  .mm-section__head { margin-bottom: 1.75rem; }
  .mm-cta { padding: 3.5rem 0; }
  .mm-cta .mm-actions { width: 100%; }

  .mm-hero__media,
  .mm-media {
    aspect-ratio: 16 / 10;
    border-radius: 0.9rem;
  }

  .mm-price {
    padding: 1.35rem;
  }
  .mm-price__amount {
    font-size: 2.1rem;
  }

  .mm-filters {
    gap: 0.45rem;
  }
  .mm-filter {
    min-height: 2.5rem;
    padding: 0.45rem 0.85rem;
  }

  .mm-summary div {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .mm-status {
    margin: 2rem auto;
    padding: 1.5rem 1.15rem;
  }

  .mm-form { padding: 1.15rem; }
  .mm-faq__q {
    min-height: 3rem;
    padding: 0.95rem 1rem;
    font-size: 0.98rem;
  }

  .mm-footer { padding: 2.75rem 0 1.35rem; }
  .mm-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .mm-footer__legal {
    width: 100%;
  }

  .mm-ds-row .mm-btn,
  .mm-ds-row .mm-stripe {
    width: auto;
  }
}

/* —— Very small phones —— */
@media (max-width: 380px) {
  :root { --container: min(100% - 1rem, 1120px); }
  .mm-brand__text { font-size: 0.95rem; }
  .mm-display { font-size: 2rem; }
}

/* —— Elementor form fields (checkout CSS lives in Master Move Elementor plugin) —— */
.elementor-widget-form {
  color: var(--mm-cream);
}
.elementor-field-group input,
.elementor-field-group textarea,
.elementor-field-group select {
  background: var(--mm-ink);
  border: 1px solid var(--mm-line-soft);
  color: var(--mm-cream);
  border-radius: 0.7rem;
}

/* —— Mobile responsive hardening —— */
html, body {
  overflow-x: clip;
  max-width: 100%;
}
img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}
.mm-container,
.e-con > .e-con-inner,
.elementor-section .elementor-container {
  max-width: 100%;
  box-sizing: border-box;
}
.mm-container.mm-hero__inner {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
}
.mm-actions {
  flex-wrap: wrap;
}
.mm-actions .mm-btn,
.mm-actions .mm-stripe {
  max-width: 100%;
}
.mm-display,
.mm-title,
.mm-lead {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.mm-price--featured {
  transform: none;
}
@media (min-width: 981px) {
  .mm-price--featured {
    transform: scale(1.02);
  }
}
@media (max-width: 980px) {
  .mm-hero--home .mm-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .mm-hero__media {
    order: -1;
    width: 100%;
    max-width: 36rem;
    max-height: none;
    margin-inline: auto;
  }
  .mm-bridge {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mm-flow {
    grid-template-columns: 1fr;
  }
  .mm-contact,
  .e-con.mm-contact {
    grid-template-columns: 1fr !important;
  }
  .mm-btn--lg {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .mm-header__inner {
    gap: 0.5rem;
  }
  .mm-topbar {
    font-size: 0.75rem;
  }
  .mm-section {
    padding: 3rem 0;
  }
  .mm-cta {
    padding: 3rem 0;
  }
  .mm-display {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }
  .mm-split {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .mm-project-hero .mm-hero__inner {
    grid-template-columns: 1fr;
  }
}

.rtl {
  --font-display: "IBM Plex Sans Arabic", "Syne", sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Figtree", sans-serif;
}
.rtl .mm-display,
.rtl .mm-title {
  letter-spacing: 0;
  line-height: 1.25;
}

@media (max-width: 980px) {
  .mm-hero__media img,
  .mm-hero__mark,
  .mm-hero__mark::before {
    animation: none;
  }
}

