/* ============================================================
   Marty McConnell Coaching - Home
   ============================================================ */

/* ---------- Hero: minimal split, text and photo share top and bottom edges ---------- */
.mmc-hero {
    background: linear-gradient(120deg, #0b1622 0%, var(--brand-deep) 45%, var(--brand) 100%);
    color: rgba(255, 255, 255, 0.86);
}

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

.mmc-hero__grid {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(2rem, 5vw, 5rem);
}

.mmc-hero__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

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

.mmc-hero__sub {
    font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 2rem;
}

.mmc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.mmc-hero__trust {
    display: flex;
    width: 100%;
    max-width: 520px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 1.5rem;
}

.mmc-hero__trust li {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.mmc-hero__trust li + li {
    padding-left: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.mmc-hero__trust strong {
    font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
    font-weight: 900;
    line-height: 1;
    color: var(--white);
}

.mmc-hero__trust span {
    font-size: var(--fs-small);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7cc0f5;
}

.mmc-hero__media {
    position: relative;
    min-height: 420px;
}

.mmc-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

/* ---------- What I offer: bold, minimal, on the dark band ---------- */
.mmc-home-offer__head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.5rem clamp(2rem, 5vw, 4rem);
    align-items: end;
    padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

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

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

.mmc-home-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.mmc-home-service {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.mmc-home-service::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--brand) 0%, #7cc0f5 100%);
}

.mmc-home-service:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(124, 192, 245, 0.5);
    transform: translateY(-4px);
}

.mmc-home-service__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(124, 192, 245, 0.14);
    border: 1px solid rgba(124, 192, 245, 0.3);
    color: #7cc0f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.mmc-home-service h3 {
    color: var(--white);
    font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem);
    font-weight: 800;
    position: relative;
}

.mmc-home-service__price {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    position: relative;
}

.mmc-home-service__price strong {
    font-size: clamp(3rem, 2.2rem + 3vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    color: var(--white);
    margin-right: 0.35rem;
    letter-spacing: -0.02em;
}

.mmc-home-service__price span {
    display: block;
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #7cc0f5;
}

.mmc-home-service > p:not(.mmc-home-service__price) {
    color: rgba(255, 255, 255, 0.78);
}

.mmc-home-service .mmc-ticks li {
    color: rgba(255, 255, 255, 0.9);
}

.mmc-home-service .mmc-ticks i {
    color: #7cc0f5;
}

.mmc-home-service .mmc-btn {
    margin-top: auto;
}

/* ---------- About row with measured-overlap frame ---------- */
.mmc-home-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.mmc-home-about__media {
    position: relative;
    display: grid;
}

.mmc-home-about__media img {
    grid-area: 1 / 1;
    z-index: 1;
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 7 / 8;
    background: var(--grey-line);
}

.mmc-home-about__media::before {
    content: '';
    grid-area: 1 / 1;
    z-index: 0;
    border: 2px solid var(--brand);
    border-radius: var(--radius-lg);
    transform: translate(18px, 18px);
}

.mmc-home-about__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mmc-home-about__text h2 {
    margin-bottom: 1.25rem;
}

.mmc-home-about__text p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.mmc-home-about__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mmc-home-about__creds {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.75rem 0 2rem;
}

.mmc-home-about__creds li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 1px solid var(--grey-line);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: var(--fs-small);
    font-weight: 700;
    color: var(--charcoal);
}

.mmc-home-about__creds i {
    color: var(--brand);
}

/* ---------- Who it's for: heading left, 2x2 cards right (grey band) ---------- */
.mmc-home-who {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.mmc-home-who__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.mmc-home-who__head p {
    color: var(--muted);
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
    margin-bottom: 2rem;
}

.mmc-home-who__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.mmc-home-who__card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid transparent;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.mmc-home-who__card:nth-child(even) {
    transform: translateY(1.5rem);
}

.mmc-home-who__card:hover {
    border-bottom-color: var(--brand);
    box-shadow: var(--shadow-md);
}

.mmc-home-who__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--brand);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 8px 20px rgba(2, 120, 212, 0.3);
}

.mmc-home-who__card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.mmc-home-who__card p {
    font-size: 1rem;
    color: var(--muted);
}

/* ---------- Facility ---------- */
.mmc-home-facility {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.mmc-home-facility__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mmc-home-facility__text h2 {
    margin-bottom: 1.25rem;
}

.mmc-home-facility__text > p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.mmc-home-facility__text .mmc-ticks {
    margin-bottom: 2rem;
}

.mmc-home-facility__card {
    background: var(--brand-deep);
    color: rgba(255, 255, 255, 0.86);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3.5vw, 2.5rem);
    box-shadow: var(--shadow-md);
}

.mmc-home-facility__card h3 {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.mmc-home-facility__facts {
    margin-bottom: 1.75rem;
}

.mmc-home-facility__facts li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mmc-home-facility__facts i {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(124, 192, 245, 0.15);
    color: #7cc0f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.mmc-home-facility__facts strong {
    display: block;
    color: var(--white);
    font-size: var(--fs-small);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

    .mmc-home-who__head {
        align-items: center;
        text-align: center;
    }

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

@media (max-width: 900px) {
    .mmc-hero__grid {
        grid-template-columns: 1fr;
    }

    .mmc-hero__text {
        align-items: center;
        text-align: center;
    }

    .mmc-hero__sub {
        margin-left: auto;
        margin-right: auto;
    }

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

    .mmc-hero__trust {
        margin: 0 auto;
        text-align: left;
    }

    /* Photo below the text */
    .mmc-hero__media {
        min-height: 0;
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
        aspect-ratio: 7 / 8;
    }

    .mmc-home-about,
    .mmc-home-facility,
    .mmc-home-offer__head {
        grid-template-columns: 1fr;
    }

    .mmc-home-about__media::before {
        display: none;
    }

    .mmc-home-about__media {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }

    .mmc-home-about__text,
    .mmc-home-facility__text {
        align-items: center;
        text-align: center;
    }

    .mmc-home-about__creds,
    .mmc-home-about__actions {
        justify-content: center;
    }

    .mmc-home-facility .mmc-ticks {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .mmc-home-services,
    .mmc-home-who__grid {
        grid-template-columns: 1fr;
    }

    .mmc-home-who__card:nth-child(even) {
        transform: none;
    }

    .mmc-home-service:hover {
        transform: none;
    }

    .mmc-hero__actions .mmc-btn {
        width: 100%;
    }

    .mmc-home-service {
        align-items: stretch;
    }

    .mmc-home-service .mmc-btn {
        width: 100%;
    }

}
