/* ============================================================
   Marty McConnell Coaching - Global
   Tokens, base, buttons, shared sections, header, mobile menu,
   inner-page hero, reviews, CTA band, footer
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
    --brand: #0278d4;
    --brand-dark: #0166b8;
    --brand-deep: #0b2f52;
    --brand-light: #e7f2fc;

    --charcoal: #12171d;
    --ink: #2a2f36;
    --muted: #5b6470;
    --grey: #f3f5f8;
    --grey-line: #e2e8f0;
    --white: #ffffff;

    --font-head: 'Archivo', system-ui, sans-serif;
    --font-body: 'Archivo', system-ui, sans-serif;

    --fs-small: 0.875rem;
    --fs-body: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
    --fs-h3: clamp(1.25rem, 1.1rem + 0.9vw, 1.6rem);
    --fs-h2: clamp(1.6rem, 1.2rem + 1.8vw, 2.35rem);
    --fs-h1: clamp(2rem, 1.3rem + 3.2vw, 3.5rem);

    --maxw: 1180px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --section-y: clamp(3.5rem, 8vw, 6.5rem);
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 4px 18px rgba(18, 23, 29, 0.06);
    --shadow-md: 0 14px 40px rgba(18, 23, 29, 0.10);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    --topbar-h: 40px;
    --header-h: 84px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.mmc-menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

ul {
    list-style: none;
}

h1, h2, h3 {
    font-family: var(--font-head);
    color: var(--charcoal);
    line-height: 1.15;
    font-weight: 800;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }

p { max-width: 65ch; }

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
}

::selection {
    background: var(--brand);
    color: var(--white);
}

.mmc-container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.mmc-skip {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 4000;
    background: var(--brand);
    color: var(--white);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 700;
}

.mmc-skip:focus {
    top: 1rem;
}

/* ---------- Sections & rhythm (white > grey > dark) ---------- */
.mmc-section {
    padding: var(--section-y) 0;
    background: var(--white);
}

.mmc-section--grey {
    background: var(--grey);
}

.mmc-section--dark {
    background: var(--brand-deep);
    color: rgba(255, 255, 255, 0.86);
}

.mmc-section--dark h2,
.mmc-section--dark h3 {
    color: var(--white);
}

.mmc-eyebrow {
    display: inline-block;
    font-size: var(--fs-small);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 0.75rem;
}

.mmc-section--dark .mmc-eyebrow {
    color: #7cc0f5;
}

.mmc-section__head {
    max-width: 720px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.mmc-section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.mmc-section__head--center p {
    margin-left: auto;
    margin-right: auto;
}

.mmc-section__head h2 {
    font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.mmc-section__head p {
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}

/* Section head with rule: heading, then intro directly underneath (reads top to bottom) */
.mmc-section__head--split {
    max-width: none;
    padding-bottom: clamp(1.5rem, 3vw, 2rem);
    border-bottom: 1px solid var(--grey-line);
}

.mmc-section__head--split h2 {
    font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem);
    line-height: 1.1;
    max-width: 22ch;
    margin-bottom: 0.75rem;
}

.mmc-section__head--split p {
    max-width: 60ch;
}

.mmc-section--dark .mmc-section__head--split {
    border-bottom-color: rgba(255, 255, 255, 0.14);
}

.mmc-section__head p {
    color: var(--muted);
}

.mmc-section--dark .mmc-section__head p {
    color: rgba(255, 255, 255, 0.78);
}

/* ---------- Buttons (solid by default) ---------- */
.mmc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 0.95rem 1.6rem;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.mmc-btn:hover {
    transform: translateY(-2px);
}

.mmc-btn--primary {
    background: var(--brand);
    color: var(--white);
}

.mmc-btn--primary:hover {
    background: var(--brand-dark);
    box-shadow: 0 10px 24px rgba(2, 120, 212, 0.3);
}

.mmc-btn--light {
    background: var(--white);
    color: var(--brand-deep);
}

.mmc-btn--light:hover {
    background: var(--brand-light);
}

.mmc-btn--dark {
    background: var(--charcoal);
    color: var(--white);
}

.mmc-btn--dark:hover {
    background: #000;
}

.mmc-btn--lg {
    padding: 1.1rem 2rem;
    font-size: 1.05rem;
}

.mmc-btn--block {
    display: flex;
    width: 100%;
}

/* ---------- Tick list (shared) ---------- */
.mmc-ticks li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.6rem;
}

.mmc-ticks i {
    color: var(--brand);
    margin-top: 0.3rem;
    flex-shrink: 0;
}

/* ---------- Top bar ---------- */
.mmc-topbar {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.72);
    font-size: var(--fs-small);
}

.mmc-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--topbar-h);
    gap: 1rem;
}

.mmc-topbar__item i,
.mmc-topbar__links i {
    color: #7cc0f5;
    margin-right: 0.4rem;
}

.mmc-topbar__links {
    display: flex;
    gap: 1.5rem;
}

.mmc-topbar__links a:hover {
    color: var(--white);
}

/* ---------- Header & desktop nav ---------- */
/* Static on desktop and tablet; sticky on phones only (see 640px query) */
.mmc-header {
    position: relative;
    z-index: 300;
    background: var(--white);
    border-bottom: 1px solid var(--grey-line);
    transition: box-shadow 0.3s var(--ease);
}

.mmc-header.is-scrolled {
    box-shadow: var(--shadow-md);
}

.mmc-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 1.5rem;
}

/* ---------- Coded logo (split-colour stacked block, animated in the header) ---------- */
.mmc-header__logo {
    display: inline-flex;
}

.mmc-logo {
    display: inline-flex;
    align-items: stretch;
    gap: 0.65rem;
    font-family: var(--font-head);
    text-transform: uppercase;
}

.mmc-logo__rule {
    display: block;
    width: 6px;
    flex-shrink: 0;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--brand) 0%, #7cc0f5 100%);
}

.mmc-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 0.92;
}

.mmc-logo__text span {
    display: block;
}

.mmc-logo__w1,
.mmc-logo__w2 {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.005em;
}

.mmc-logo__w1 {
    color: var(--brand-deep);
}

.mmc-logo__w2 {
    color: var(--brand);
}

.mmc-logo__w3 {
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.45em;
    color: var(--muted);
    margin-top: 0.35rem;
}

.mmc-logo--light .mmc-logo__w1 {
    color: var(--white);
}

.mmc-logo--light .mmc-logo__w2 {
    color: #7cc0f5;
}

.mmc-logo--light .mmc-logo__w3 {
    color: rgba(255, 255, 255, 0.6);
}

/* Load animation: bar grows down, words slide in, tagline fades up */
.mmc-logo--animate .mmc-logo__rule {
    transform-origin: center top;
    animation: mmc-logo-grow 0.5s var(--ease) both;
}

.mmc-logo--animate .mmc-logo__w1 { animation: mmc-logo-word 0.5s var(--ease) 0.2s both; }
.mmc-logo--animate .mmc-logo__w2 { animation: mmc-logo-word 0.5s var(--ease) 0.35s both; }
.mmc-logo--animate .mmc-logo__w3 { animation: mmc-logo-fade 0.5s var(--ease) 0.55s both; }

/* Small lift on hover */
.mmc-header__logo:hover .mmc-logo__rule {
    animation: mmc-logo-pulse 0.6s var(--ease);
}

@keyframes mmc-logo-grow {
    from { transform: scaleY(0); }
}

@keyframes mmc-logo-word {
    from { transform: translateX(-12px); opacity: 0; }
}

@keyframes mmc-logo-fade {
    from { transform: translateY(4px); opacity: 0; }
}

@keyframes mmc-logo-pulse {
    40% { transform: scaleY(0.6); }
}

.mmc-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.mmc-nav__link {
    position: relative;
    font-weight: 700;
    font-size: 1rem;
    color: var(--charcoal);
    padding: 0.6rem 0.9rem;
}

.mmc-nav__link::after {
    content: '';
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.25rem;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transition: transform 0.25s var(--ease);
}

.mmc-nav__link:hover {
    color: var(--brand);
}

.mmc-nav__link:hover::after {
    transform: scaleX(1);
}

.mmc-nav__cta {
    margin-left: 0.75rem;
    padding: 0.8rem 1.3rem;
}

/* Active nav from body class */
.page-home .mmc-nav__link--home,
.page-about .mmc-nav__link--about,
.page-services .mmc-nav__link--services,
.page-gallery .mmc-nav__link--gallery {
    color: var(--brand);
}

.page-home .mmc-nav .mmc-nav__link--home::after,
.page-about .mmc-nav .mmc-nav__link--about::after,
.page-services .mmc-nav .mmc-nav__link--services::after,
.page-gallery .mmc-nav .mmc-nav__link--gallery::after {
    transform: scaleX(1);
}

.mmc-nav__toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.mmc-nav__toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--charcoal);
}

/* ---------- Standalone mobile menu ---------- */
.mmc-mnav {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--brand-deep);
    color: var(--white);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.mmc-mnav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.mmc-mnav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem var(--gutter);
    min-height: var(--header-h);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mmc-mnav__logo .mmc-logo__w1,
.mmc-mnav__logo .mmc-logo__w2 {
    font-size: 1.3rem;
}

.mmc-mnav__close {
    width: 48px;
    height: 48px;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.35rem;
    cursor: pointer;
}

.mmc-mnav__body {
    padding: 1.5rem var(--gutter) 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mmc-mnav__list a {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.page-home .mmc-mnav__list .mmc-nav__link--home,
.page-about .mmc-mnav__list .mmc-nav__link--about,
.page-services .mmc-mnav__list .mmc-nav__link--services,
.page-gallery .mmc-mnav__list .mmc-nav__link--gallery {
    color: #7cc0f5;
}

.mmc-mnav a.mmc-mnav__cta {
    color: var(--white);
    font-size: 1.05rem;
    padding: 1.05rem;
}

.mmc-mnav__contact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mmc-mnav__contact a,
.mmc-mnav__contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.65rem 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
}

.mmc-mnav__contact i {
    width: 20px;
    flex-shrink: 0;
    text-align: center;
    margin-top: 0.2rem;
    color: #7cc0f5;
}

/* ---------- Inner-page hero (shared) ---------- */
.mmc-page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #0b1622 0%, var(--brand-deep) 45%, var(--brand) 100%);
    color: var(--white);
}

/* Faint gym icons scattered across the right of the gradient (decorative) */
.mmc-hero-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.mmc-hero-icons i {
    position: absolute;
    color: rgba(255, 255, 255, 0.09);
    line-height: 1;
}

.mmc-hero-icons i:nth-child(1) { right: 6%;  top: 14%;    font-size: 5.5rem; transform: rotate(-20deg); }
.mmc-hero-icons i:nth-child(2) { right: 22%; bottom: 10%; font-size: 3.5rem; transform: rotate(10deg); }
.mmc-hero-icons i:nth-child(3) { right: 33%; top: 12%;    font-size: 2.6rem; }
.mmc-hero-icons i:nth-child(4) { right: 13%; bottom: 18%; font-size: 2.4rem; transform: rotate(-12deg); color: rgba(124, 192, 245, 0.16); }
.mmc-hero-icons i:nth-child(5) { right: 2%;  bottom: 6%;  font-size: 3rem;   transform: rotate(14deg); }
.mmc-hero-icons i:nth-child(6) { right: 44%; bottom: 14%; font-size: 2.2rem; color: rgba(124, 192, 245, 0.14); }

.mmc-page-hero__inner {
    position: relative;
    z-index: 1;
    padding: clamp(3.5rem, 9vw, 6rem) 0;
    max-width: 680px;
}

.mmc-page-hero .mmc-eyebrow {
    color: #7cc0f5;
}

.mmc-page-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.mmc-page-hero p {
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}

/* ---------- Reviews (shared) ---------- */

.mmc-review__stars {
    color: #f5a623;
    display: flex;
    gap: 3px;
    font-size: 0.95rem;
}

.mmc-review__text {
    color: var(--ink);
}

.mmc-review__text p + p {
    margin-top: 0.75rem;
}

.mmc-review__more {
    align-self: flex-start;
    background: none;
    border: 0;
    color: var(--brand);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.mmc-review__source {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--grey-line);
    flex-shrink: 0;
}

.mmc-review__source svg {
    width: 22px;
    height: 22px;
}

/* ---------- CTA band (shared) ---------- */
.mmc-cta {
    text-align: center;
}

.mmc-cta h2 {
    margin-bottom: 1rem;
}

.mmc-cta p {
    margin: 0 auto 2rem;
}

.mmc-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

/* ---------- Slim inner-page hero (about, services, results) ---------- */
.mmc-page-hero--slim .mmc-page-hero__inner {
    max-width: none;
    padding: clamp(2rem, 4vw, 3rem) 0;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    grid-template-areas:
        "eyebrow eyebrow"
        "title text";
    column-gap: clamp(2rem, 5vw, 4rem);
    align-items: end;
}

.mmc-page-hero--slim .mmc-eyebrow {
    grid-area: eyebrow;
    margin-bottom: 0.5rem;
}

.mmc-page-hero--slim h1 {
    grid-area: title;
    font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 0;
}

.mmc-page-hero--slim p {
    grid-area: text;
    font-size: 1.05rem;
    padding-left: clamp(1rem, 2.5vw, 1.75rem);
    border-left: 3px solid #7cc0f5;
}

/* ---------- Reviews: centred, one at a time, lots of space (shared) ---------- */
.mmc-rv {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.mmc-rv__head h2 {
    font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

.mmc-rv__score {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.85rem;
    font-size: var(--fs-small);
    font-weight: 700;
    color: var(--muted);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.mmc-rv__score strong {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
    color: var(--brand);
}

.mmc-rv__slider {
    display: grid;
    gap: 1.5rem;
}

.mmc-rv__slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 6vw, 4.5rem);
    box-shadow: var(--shadow-sm);
}

.mmc-section:not(.mmc-section--grey) .mmc-rv__slide {
    border: 1px solid var(--grey-line);
}

.mmc-rv__quote {
    font-size: 2.6rem;
    line-height: 1;
    color: var(--brand);
}

.mmc-rv__slide .mmc-review__text {
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
    line-height: 1.7;
    color: var(--ink);
}

.mmc-rv__slide .mmc-review__text p {
    margin: 0 auto;
}

.mmc-rv__slide .mmc-review__more {
    align-self: center;
}

.mmc-rv__who {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.mmc-rv__who strong {
    display: block;
    color: var(--charcoal);
}

.mmc-rv__who span {
    font-size: var(--fs-small);
    color: var(--muted);
}

.mmc-rv__foot {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    margin-top: 2rem;
}

.mmc-rv__controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mmc-rv__controls[hidden] {
    display: none;
}

.mmc-rv__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--brand);
    background: transparent;
    color: var(--brand);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.mmc-rv__btn:hover {
    background: var(--brand);
    color: var(--white);
}

.mmc-rv__count {
    min-width: 3.5rem;
    font-weight: 800;
    color: var(--charcoal);
}

/* With JS: one slide at a time, gentle fade */
.mmc-rv.is-slider .mmc-rv__slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.mmc-rv.is-slider .mmc-rv__slide.is-active {
    opacity: 1;
    visibility: visible;
}

/* ---------- CTA panel (bright gradient card on a white section) ---------- */
.mmc-cta-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) auto;
    align-items: center;
    gap: 2rem clamp(2rem, 5vw, 4rem);
    padding: clamp(2.25rem, 5vw, 3.75rem) clamp(1.75rem, 5vw, 4rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, var(--brand) 0%, #2f8fe0 55%, #62aaea 100%);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 50px rgba(2, 120, 212, 0.28);
}

.mmc-cta-panel::after {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.mmc-cta-panel__text,
.mmc-cta-panel__actions {
    position: relative;
    z-index: 1;
}

.mmc-cta-panel .mmc-eyebrow {
    color: var(--white);
    opacity: 0.85;
}

.mmc-cta-panel h2 {
    color: var(--white);
    font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.mmc-cta-panel p {
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}

.mmc-cta-panel__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ---------- Footer ---------- */
.mmc-footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.68);
    padding: clamp(3rem, 7vw, 4.5rem) 0 1.5rem;
    font-size: 1rem;
}

.mmc-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mmc-footer__logo {
    display: inline-flex;
    margin-bottom: 1.25rem;
}

.mmc-footer__about p {
    margin-bottom: 1.25rem;
}

.mmc-footer__social {
    display: flex;
    gap: 0.6rem;
}

.mmc-footer__social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
    transition: background 0.2s var(--ease);
}

.mmc-footer__social a:hover {
    background: var(--brand);
}

.mmc-footer__heading {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.1rem;
}

.mmc-footer__links li + li {
    margin-top: 0.55rem;
}

.mmc-footer__links a:hover,
.mmc-footer__contact a:hover,
.mmc-footer__bottom a:hover {
    color: var(--white);
}

.mmc-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    overflow-wrap: anywhere;
}

.mmc-footer__contact i {
    width: 18px;
    flex-shrink: 0;
    text-align: center;
    margin-top: 0.3rem;
    color: #7cc0f5;
}

.mmc-footer__insta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.mmc-footer__insta a {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
}

.mmc-footer__insta img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease);
}

.mmc-footer__insta a:hover img {
    transform: scale(1.06);
}

.mmc-footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1.5rem;
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   Breakpoints
   ============================================================ */
@media (max-width: 1060px) {
    .mmc-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    :root {
        --header-h: 72px;
    }

    .mmc-cta-panel {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mmc-cta-panel p {
        margin-left: auto;
        margin-right: auto;
    }

    .mmc-cta-panel__actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .mmc-topbar,
    .mmc-nav {
        display: none;
    }

    .mmc-nav__toggle {
        display: flex;
    }

    .mmc-header .mmc-logo__w1,
    .mmc-header .mmc-logo__w2 {
        font-size: 1.3rem;
    }

    /* Fewer, fainter icons on smaller screens so text stays clear */
    .mmc-hero-icons i:nth-child(3),
    .mmc-hero-icons i:nth-child(6) {
        display: none;
    }

    .mmc-hero-icons i {
        color: rgba(255, 255, 255, 0.06);
    }

    /* Slim hero on tablet: still side by side */
    .mmc-page-hero--slim .mmc-page-hero__inner {
        text-align: left;
        margin: 0;
    }

    .mmc-page-hero__inner {
        text-align: center;
        margin: 0 auto;
    }

    .mmc-page-hero p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    /* ---- Slim hero on mobile: stacked, centred, easy to read ---- */
    .mmc-page-hero--slim .mmc-page-hero__inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "eyebrow"
            "title"
            "text";
        row-gap: 0.75rem;
        padding: 2rem 0;
        text-align: center;
    }

    .mmc-page-hero--slim h1 {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .mmc-page-hero--slim p {
        font-size: 1rem;
        padding: 0.75rem 0 0;
        border-left: 0;
        border-top: 2px solid rgba(124, 192, 245, 0.6);
    }

    /* ---- Mobile header bar: a little more room ---- */
    :root {
        --header-h: 82px;
    }

    .mmc-header__inner {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    /* Hamburger lines in the brand colours */
    .mmc-nav__toggle span:nth-child(1) {
        background: var(--brand-deep);
    }

    .mmc-nav__toggle span:nth-child(2) {
        background: var(--brand);
    }

    .mmc-nav__toggle span:nth-child(3) {
        background: #7cc0f5;
    }

    /* ---- Opened menu: smaller, logo away from the top ---- */
    .mmc-mnav__head {
        padding-top: 1.5rem;
        padding-bottom: 1rem;
        min-height: 0;
    }

    .mmc-mnav__logo .mmc-logo__w1,
    .mmc-mnav__logo .mmc-logo__w2 {
        font-size: 1.15rem;
    }

    .mmc-mnav__logo .mmc-logo__w3 {
        font-size: 0.6rem;
    }

    .mmc-mnav__close {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .mmc-mnav__body {
        padding-top: 1rem;
        gap: 1.25rem;
    }

    .mmc-mnav__list a {
        font-size: 1.1rem;
        padding: 0.8rem 0;
    }

    .mmc-mnav a.mmc-mnav__cta {
        font-size: 0.95rem;
        padding: 0.85rem;
    }

    .mmc-mnav__contact a,
    .mmc-mnav__contact p {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    html {
        scroll-padding-top: calc(var(--header-h) + 16px);
    }

    .mmc-header {
        position: sticky;
        top: 0;
    }

    .mmc-footer__grid {
        grid-template-columns: 1fr;
    }

    .mmc-footer__grid {
        text-align: center;
    }

    .mmc-footer__about p {
        margin-left: auto;
        margin-right: auto;
    }

    .mmc-footer__social {
        justify-content: center;
    }

    .mmc-footer__contact li {
        justify-content: center;
    }

    .mmc-footer__insta {
        max-width: 260px;
        margin: 0 auto;
    }

    .mmc-footer__bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mmc-cta__actions .mmc-btn,
    .mmc-cta-panel__actions .mmc-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
