/* MilleMentes — site stylesheet v2.2 (W6 Token Colours)
   Brand tokens: Marketing Terv - Millementes/Millementes Brand/tokens.css
   Gold #FFC107 · Charcoal #424242 · Black #000 · White #FFF
   Illustration grey #CEC9C1 · Illustration cream #FAF2E6 · Illustration gold #F6D28A
   Graphic style: thin-line, minimalist, intellectual, circle/ring motifs.
   No gradients. No shadows. No neon. No gold text on white.
   ─────────────────────────────────────────────────────────────────────── */


/* ══════════════════════════════════════════════════════
   1. DESIGN TOKENS
   ══════════════════════════════════════════════════════ */
:root {
  /* Core palette — exact values from tokens.css, do not modify */
  --mm-gold:      #FFC107;
  --mm-charcoal:  #424242;
  --mm-black:     #000000;
  --mm-white:     #FFFFFF;

  /* Illustration palette — pixel-sampled from cameo-mosaic-profile.jpg
     Use for section washes and decorative elements only */
  --mm-illustration-gold:  #F6D28A;   /* pastel amber */
  --mm-illustration-grey:  #CEC9C1;   /* warm light grey — the "pastel grey" */
  --mm-illustration-cream: #FAF2E6;   /* off-white — section alt background */

  /* Semantic aliases */
  --mm-text:         var(--mm-charcoal);
  --mm-text-on-dark: var(--mm-white);
  --mm-bg:           var(--mm-white);
  --mm-bg-dark:      var(--mm-charcoal);
  --mm-bg-alt:       var(--mm-illustration-cream);   /* #FAF2E6 warm cream */
  --mm-accent:       var(--mm-gold);

  /* Typography */
  --mm-font-heading: Georgia, "Times New Roman", serif;
  --mm-font-body:    "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Spacing scale */
  --mm-space-2xs: 4px;
  --mm-space-xs:  8px;
  --mm-space-sm:  12px;
  --mm-space-md:  16px;
  --mm-space-lg:  24px;
  --mm-space-xl:  48px;
  --mm-space-2xl: 80px;

  /* Layout */
  --mm-radius:    4px;
  --mm-page-pad:  clamp(20px, 5vw, 48px);
  --mm-max-w:     900px;
  --mm-prose-w:   680px;

  /* Borders */
  --mm-rule-light: 1px solid rgba(66, 66, 66, 0.15);
  --mm-rule-dark:  1px solid rgba(66, 66, 66, 0.20);
}


/* ══════════════════════════════════════════════════════
   2. RESET & BASE
   ══════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--mm-font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--mm-text);
  background: var(--mm-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration-skip-ink: auto;
}

h1, h2, h3, h4 {
  font-family: var(--mm-font-heading);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

ul, ol { padding: 0; list-style: none; }

/* ══════════════════════════════════════════════════════
   3. LAYOUT
   ══════════════════════════════════════════════════════ */
.mm-container {
  width: 100%;
  max-width: var(--mm-max-w);
  margin-inline: auto;
  padding-inline: var(--mm-page-pad);
}


/* ══════════════════════════════════════════════════════
   4. ACCESSIBILITY
   ══════════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  padding: var(--mm-space-xs) var(--mm-space-md);
  background: var(--mm-gold);
  color: var(--mm-black);
  font-family: var(--mm-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 1000;
}
.skip-link:focus { top: 0; }


/* ══════════════════════════════════════════════════════
   5. HEADER & NAVIGATION
   ══════════════════════════════════════════════════════ */
.mm-header {
  background: var(--mm-bg-dark);
  border-bottom: 1px solid rgba(66, 66, 66, 0.30);
  padding-block: var(--mm-space-md) var(--mm-space-lg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.mm-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--mm-space-md);
}

.mm-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.mm-header__logo img,
.mm-header__logo svg {
  height: 44px;
  width: auto;
}

/* Navigation — white text on dark charcoal background */
.mm-nav {
  display: flex;
  gap: var(--mm-space-lg);
  align-items: center;
  flex-wrap: wrap;
}

.mm-nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-family: var(--mm-font-body);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.mm-nav a:hover {
  color: var(--mm-white);
}

.mm-nav a[aria-current="page"] {
  color: var(--mm-white);
  font-weight: 600;
  border-bottom-color: var(--mm-gold);
}


/* ══════════════════════════════════════════════════════
   6. BUTTONS
   ══════════════════════════════════════════════════════ */
.mm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--mm-space-xs);
  padding: 13px 28px;
  border-radius: var(--mm-radius);
  font-family: var(--mm-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

/* Gold button — for use on light/white backgrounds */
.mm-btn--primary {
  background: var(--mm-gold);
  color: var(--mm-black);
}
.mm-btn--primary:hover,
.mm-btn--primary:focus-visible {
  background: #e6ac00;
}

/* White ghost button — for use on dark charcoal sections (hero, cta, footer) */
.mm-btn--on-dark {
  background: transparent;
  color: var(--mm-white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.mm-btn--on-dark:hover,
.mm-btn--on-dark:focus-visible {
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--mm-white);
}

/* Outlined ghost — for secondary actions on white background */
.mm-btn--ghost {
  background: transparent;
  color: var(--mm-charcoal);
  border: 1px solid rgba(66, 66, 66, 0.36);
}
.mm-btn--ghost:hover {
  border-color: var(--mm-charcoal);
  background: rgba(66, 66, 66, 0.06);
}


/* ══════════════════════════════════════════════════════
   7. HERO — HOME
   ══════════════════════════════════════════════════════ */
.mm-hero {
  background: var(--mm-bg-dark);
  color: var(--mm-text-on-dark);
  padding-block: var(--mm-space-2xl) var(--mm-space-xl);
  /* position: relative required for .mm-illustration--hero */
  position: relative;
  overflow: hidden;
}

/* Decorative ring: pure CSS, white-on-dark, very subtle */
.mm-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.mm-hero::before {
  content: "";
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.mm-hero .mm-container { position: relative; z-index: 1; }

.mm-hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: var(--mm-space-xl);
  max-width: var(--mm-prose-w);
}

.mm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--mm-space-lg);
  margin-top: var(--mm-space-xl);
}

.mm-hero__sub {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.60);
  margin: 0;
}


/* ══════════════════════════════════════════════════════
   8. BODY SECTIONS
   ══════════════════════════════════════════════════════ */
.mm-section {
  padding-block: var(--mm-space-2xl);
}

.mm-section--alt {
  background: var(--mm-bg-alt);   /* #FAF2E6 illustration cream */
}

.mm-section h2 {
  font-size: clamp(1.35rem, 3vw, 1.875rem);
  font-weight: 400;
  margin-bottom: var(--mm-space-lg);
  color: var(--mm-charcoal);
  letter-spacing: -0.02em;
}

.mm-section p {
  margin-bottom: var(--mm-space-lg);
  max-width: var(--mm-prose-w);
}
.mm-section p:last-child { margin-bottom: 0; }


/* ══════════════════════════════════════════════════════
   9. INFOGRAPHIC PANEL — upgraded
   ══════════════════════════════════════════════════════ */
.mm-panel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--mm-space-xl) var(--mm-space-lg);
  margin-block: var(--mm-space-xl);
}

.mm-panel__item {
  display: flex;
  flex-direction: column;
  gap: var(--mm-space-sm);
  padding-top: var(--mm-space-md);
  border-top: var(--mm-rule-light);
  position: relative;
}

/* Gold ring icon — larger, more elegant than filled circle */
.mm-panel__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--mm-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--mm-space-xs);
  /* A secondary inner ring for the ring-motif brand style */
  box-shadow: inset 0 0 0 4px rgba(255, 193, 7, 0.1);
}

.mm-panel__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--mm-charcoal);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Numbered variant: place a counter on the icon */
.mm-panel--numbered {
  counter-reset: panel-counter;
}
.mm-panel--numbered .mm-panel__item {
  counter-increment: panel-counter;
}
.mm-panel--numbered .mm-panel__icon::before {
  content: counter(panel-counter);
  font-family: var(--mm-font-heading);
  font-size: 1rem;
  font-weight: 400;
  color: var(--mm-charcoal);
  letter-spacing: 0;
}
/* Hide the svg when using numbered style */
.mm-panel--numbered .mm-panel__icon svg { display: none; }

.mm-panel__text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--mm-charcoal);
}

/* Bold lead line inside panel text */
.mm-panel__text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--mm-charcoal);
  margin-bottom: var(--mm-space-2xs);
}

.mm-panel-caption {
  font-size: 0.875rem;
  color: rgba(44, 44, 42, 0.65);
  margin-top: var(--mm-space-md);
  font-style: italic;
}


/* ══════════════════════════════════════════════════════
   10. CTA BAND
   ══════════════════════════════════════════════════════ */
.mm-cta {
  background: var(--mm-bg-dark);
  color: var(--mm-text-on-dark);
  padding-block: var(--mm-space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Concentric rings behind CTA — brand motif */
.mm-cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.mm-cta::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.mm-cta .mm-container { position: relative; z-index: 1; }

.mm-cta h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  margin-bottom: var(--mm-space-lg);
  color: var(--mm-white);
  letter-spacing: -0.02em;
}

.mm-cta__sub {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.60);
  margin-top: var(--mm-space-md);
}


/* ══════════════════════════════════════════════════════
   11. PAGE HERO (inner pages)
   ══════════════════════════════════════════════════════ */
.mm-page-hero {
  background: var(--mm-bg-dark);
  color: var(--mm-text-on-dark);
  padding-block: var(--mm-space-xl) var(--mm-space-xl);
  border-bottom: 3px solid var(--mm-gold);
}

.mm-page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.375rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0;
}

.mm-page-hero p {
  margin-top: var(--mm-space-md);
  margin-bottom: 0;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 600px;
}


/* ══════════════════════════════════════════════════════
   12. PROSE CONTENT
   ══════════════════════════════════════════════════════ */
.mm-prose {
  padding-block: var(--mm-space-xl) var(--mm-space-2xl);
}

.mm-prose h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 400;
  margin-top: var(--mm-space-2xl);
  margin-bottom: var(--mm-space-md);
  color: var(--mm-charcoal);
  letter-spacing: -0.015em;
}
.mm-prose h2:first-child { margin-top: 0; }

.mm-prose p {
  margin-bottom: var(--mm-space-lg);
  max-width: var(--mm-prose-w);
}
.mm-prose p:last-child { margin-bottom: 0; }

.mm-prose strong { font-weight: 600; }

.mm-prose a {
  text-decoration: underline;
  text-decoration-color: var(--mm-gold);
  text-underline-offset: 2px;
}
.mm-prose a:hover { text-decoration-color: var(--mm-charcoal); }


/* ══════════════════════════════════════════════════════
   13. SERVICES STEPS LIST
   ══════════════════════════════════════════════════════ */
.mm-steps {
  list-style: none;
  padding: 0;
  margin: var(--mm-space-xl) 0;
}

.mm-steps li {
  padding-block: var(--mm-space-lg);
  border-top: var(--mm-rule-light);
  max-width: var(--mm-prose-w);
}
.mm-steps li:first-child { border-top: none; }

.mm-steps li > strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--mm-charcoal);
  margin-bottom: var(--mm-space-xs);
}

.mm-steps li p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(44, 44, 42, 0.78);
}


/* ══════════════════════════════════════════════════════
   14. CONTACT PAGE
   ══════════════════════════════════════════════════════ */
.mm-contact-intro {
  padding-block: var(--mm-space-xl) var(--mm-space-lg);
  max-width: 640px;
}

.mm-contact-intro h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 400;
  margin-bottom: var(--mm-space-md);
  letter-spacing: -0.015em;
}

.mm-contact-intro p {
  margin-bottom: var(--mm-space-sm);
  font-size: 0.9375rem;
}

.mm-form-wrap {
  padding-bottom: var(--mm-space-2xl);
}

/* SimplyBook / third-party embed container */
.mm-sa-embed {
  position: relative;
  width: 100%;
  max-width: 580px;
  min-height: 500px;
}
.mm-sa-embed iframe {
  border: none;
  width: 100%;
  min-height: 500px;
}


/* ══════════════════════════════════════════════════════
   15. FOOTER
   ══════════════════════════════════════════════════════ */
.mm-footer {
  background: var(--mm-bg-dark);
  color: var(--mm-text-on-dark);
  padding-block: var(--mm-space-xl);
}

.mm-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mm-space-xl);
  align-items: flex-start;
  justify-content: space-between;
}

.mm-footer__logo img,
.mm-footer__logo svg {
  height: 38px;
  width: auto;
  margin-bottom: var(--mm-space-md);
  opacity: 0.88;
}

.mm-footer__nav {
  display: flex;
  gap: var(--mm-space-lg);
  flex-wrap: wrap;
  align-items: center;
}

.mm-footer__nav a {
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.mm-footer__nav a:hover { color: var(--mm-white); }

.mm-footer__legal {
  width: 100%;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: var(--mm-space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--mm-space-lg);
  line-height: 1.55;
}

.mm-footer__legal a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mm-footer__legal a:hover { color: var(--mm-white); }


/* ══════════════════════════════════════════════════════
   16. NEW COMPONENTS — W6 Visual Refresh additions
   ══════════════════════════════════════════════════════ */

/* — 16a. About-page two-column grid ──────────────────── */
.mm-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--mm-space-2xl) var(--mm-space-xl);
  align-items: start;
  margin-block: var(--mm-space-xl);
}

.mm-about-grid__text { /* text column */ }

.mm-about-grid__visual {
  /* Decorative side: can hold an SVG, image, or pure-CSS ring motif */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
}

/* Pure-CSS concentric rings for about visual — no image required */
.mm-about-grid__visual::before,
.mm-about-grid__visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.mm-about-grid__visual::before {
  width: 260px;
  height: 260px;
  border: 1px solid rgba(44, 44, 42, 0.14);
}
.mm-about-grid__visual::after {
  width: 180px;
  height: 180px;
  border: 1px solid var(--mm-gold);
  opacity: 0.5;
}

/* — 16b. Services territories card grid ─────────────── */
.mm-services-territories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--mm-space-md);
  margin-block: var(--mm-space-xl);
}

.mm-services-territories__card {
  background: var(--mm-illustration-cream);
  border: var(--mm-rule-light);
  border-top: 2px solid var(--mm-gold);
  padding: var(--mm-space-lg);
  position: relative;
}

.mm-services-territories__card h3 {
  font-family: var(--mm-font-heading);
  font-size: 1.0625rem;
  font-weight: 400;
  margin-bottom: var(--mm-space-sm);
  color: var(--mm-charcoal);
  letter-spacing: -0.01em;
}

.mm-services-territories__card p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(44, 44, 42, 0.78);
  margin: 0;
}

/* — 16c. Divider — thin gold line, 60px, centered ───── */
.mm-divider {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--mm-gold);
  border: none;
  margin: var(--mm-space-xl) auto;
}

/* Also works as an <hr> element */
hr.mm-divider {
  overflow: visible;
}

/* — 16d. Stat / pull-quote large number ──────────────── */
.mm-stat {
  margin-block: var(--mm-space-xl);
}

.mm-stat__number {
  display: block;
  font-family: var(--mm-font-heading);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 400;
  color: var(--mm-charcoal);
  letter-spacing: -0.04em;
  line-height: 1;
  /* No gold text on white — use charcoal per brand rules */
}

.mm-stat__label {
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(44, 44, 42, 0.65);
  margin-top: var(--mm-space-xs);
}

/* Stat group: row of multiple stats */
.mm-stat-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mm-space-xl) var(--mm-space-2xl);
  margin-block: var(--mm-space-xl);
}
.mm-stat-group .mm-stat { margin-block: 0; }

/* Stat on dark bg sections: number stays white (readable) */
.mm-cta .mm-stat__number,
.mm-hero .mm-stat__number,
.mm-bg-dark .mm-stat__number {
  color: var(--mm-white);
}
.mm-cta .mm-stat__label,
.mm-hero .mm-stat__label {
  color: rgba(255, 255, 255, 0.55);
}

/* — 16e. Step visual indicator ──────────────────────── */
.mm-step-visual {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-block: var(--mm-space-xl);
  counter-reset: step-counter;
}

.mm-step-visual__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 var(--mm-space-md);
  counter-increment: step-counter;
  position: relative;
}

/* Vertical connecting line between steps */
.mm-step-visual__item::before {
  content: "";
  position: absolute;
  left: 27px; /* center of the 56px column */
  top: 56px;  /* below the circle */
  bottom: 0;
  width: 1px;
  background: var(--mm-rule-light);
}
.mm-step-visual__item:last-child::before { display: none; }

/* The step number circle */
.mm-step-visual__marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--mm-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--mm-font-heading);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--mm-charcoal);
  margin-bottom: 0;
  background: var(--mm-white);
  position: relative;
  z-index: 1;
}

/* Auto-number if no content given */
.mm-step-visual__marker:empty::before {
  content: counter(step-counter);
}

.mm-step-visual__content {
  padding-block: 0 var(--mm-space-xl);
  padding-top: var(--mm-space-sm);
}

.mm-step-visual__content h3 {
  font-family: var(--mm-font-heading);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--mm-charcoal);
  margin-bottom: var(--mm-space-xs);
  letter-spacing: -0.01em;
}

.mm-step-visual__content p {
  font-size: 0.9375rem;
  color: rgba(44, 44, 42, 0.78);
  line-height: 1.55;
  margin: 0;
  max-width: 520px;
}

/* Step visual on alt/dark bg */
.mm-section--alt .mm-step-visual__marker {
  background: var(--mm-offwhite);
}


/* ══════════════════════════════════════════════════════
   16f. SVG ILLUSTRATION CLASSES
   ══════════════════════════════════════════════════════ */

/* Base illustration container */
.mm-illustration {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  opacity: 0.85;
}

.mm-illustration svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Inline right-floated illustration (e.g. beside prose) */
.mm-illustration--right {
  float: right;
  margin: 0 0 24px 40px;
  max-width: 200px;
}

@media (max-width: 600px) {
  .mm-illustration--right {
    float: none;
    margin: 0 auto 24px;
    max-width: 160px;
  }
}

/* Large hero illustration — absolute-positioned, faint watermark */
.mm-illustration--hero {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  opacity: 0.18;
  pointer-events: none;
  /* override base max-width and margin */
  max-width: none;
  margin: 0;
}

@media (max-width: 860px) {
  .mm-illustration--hero {
    display: none;
  }
}


/* ══════════════════════════════════════════════════════
   17. UTILITY CLASSES
   ══════════════════════════════════════════════════════ */

/* Text sizes */
.mm-text-sm   { font-size: 0.875rem; }
.mm-text-lg   { font-size: 1.125rem; }

/* Alignment */
.mm-text-center { text-align: center; }
.mm-text-center p,
.mm-text-center .mm-section p { max-width: 100%; }

/* Spacing helpers */
.mm-mt-lg  { margin-top: var(--mm-space-lg); }
.mm-mt-xl  { margin-top: var(--mm-space-xl); }
.mm-mb-xl  { margin-bottom: var(--mm-space-xl); }

/* Subtle grey text — e.g. captions */
.mm-muted { color: rgba(44, 44, 42, 0.62); }

/* Gold accent rule above a heading */
.mm-ruled::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--mm-gold);
  margin-bottom: var(--mm-space-sm);
}


/* ══════════════════════════════════════════════════════
   18. RESPONSIVE — mobile-first breakpoints
   ══════════════════════════════════════════════════════ */

/* — Mobile (≤ 600px) ───────────────────────────────── */
@media (max-width: 600px) {
  /* Header */
  .mm-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--mm-space-sm);
  }
  .mm-nav { gap: var(--mm-space-md); }
  .mm-nav a { font-size: 0.8125rem; }

  /* Sections */
  .mm-section      { padding-block: var(--mm-space-xl); }
  .mm-hero         { padding-block: var(--mm-space-xl) var(--mm-space-lg); }
  .mm-hero::before,
  .mm-hero::after  { display: none; } /* hide rings on small screens */
  .mm-cta          { padding-block: var(--mm-space-xl); }
  .mm-cta::before,
  .mm-cta::after   { display: none; }

  /* Panel: single column */
  .mm-panel {
    grid-template-columns: 1fr;
    gap: var(--mm-space-lg);
  }

  /* About grid: stack */
  .mm-about-grid {
    grid-template-columns: 1fr;
  }
  .mm-about-grid__visual { min-height: 180px; }
  .mm-about-grid__visual::before { width: 180px; height: 180px; }
  .mm-about-grid__visual::after  { width: 120px; height: 120px; }

  /* Services territories: single column */
  .mm-services-territories {
    grid-template-columns: 1fr;
  }

  /* Stat group: stack */
  .mm-stat-group {
    flex-direction: column;
    gap: var(--mm-space-lg);
  }

  /* Step visual: tighter on mobile */
  .mm-step-visual__item {
    grid-template-columns: 44px 1fr;
  }
  .mm-step-visual__marker {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .mm-step-visual__item::before { left: 21px; top: 44px; }
  .mm-step-visual__content { padding-bottom: var(--mm-space-lg); }

  /* Footer: stack */
  .mm-footer__inner { flex-direction: column; gap: var(--mm-space-lg); }
  .mm-footer__nav   { gap: var(--mm-space-md); }
}

/* — Tablet (601px – 800px) ─────────────────────────── */
@media (min-width: 601px) and (max-width: 800px) {
  .mm-about-grid {
    grid-template-columns: 1fr;
  }
  .mm-services-territories {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* — Wide (≥ 1100px) ────────────────────────────────── */
@media (min-width: 1100px) {
  :root {
    --mm-max-w: 1000px;
  }
}


/* ══════════════════════════════════════════════════════
   19. PRINT
   ══════════════════════════════════════════════════════ */
@media print {
  .mm-header,
  .mm-footer,
  .skip-link,
  .mm-cta { display: none !important; }

  body {
    font-size: 11pt;
    color: #000;
  }

  .mm-hero {
    background: none;
    color: #000;
    padding-block: 24pt 12pt;
  }

  .mm-hero h1 { font-size: 20pt; }
  .mm-page-hero { background: none; color: #000; border-bottom: 1pt solid #000; }
  .mm-page-hero h1 { font-size: 18pt; }
  .mm-page-hero p { color: #333; }

  .mm-panel__icon { border-color: #000; }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }
  a[href^="#"]::after { content: none; }
}
