/* components/services-hero.css — Services page hero
 * Dark outer section with a floating rounded off-white card.
 * Left: eyebrow, headline, paragraph, two pill CTAs.
 * Right: photo circle + decorative SVG marks.
 */

.services-hero {
    background-color: var(--color-nav-dark-red);
    /* Only the bottom edge shows the dark-red background.
       Top and sides: card is flush with the section edges. */
    padding: 0 0 2rem 0;
}

.services-hero__card {
    /* No max-width — card fills the full section width.
       Border-radius only at the bottom so top/sides are flush.
       Asymmetric padding: larger left pushes text visually to the right.
       Large gap ensures the oversized circle never overlaps the text column. */
    background-color: var(--color-light);
    border-radius: 0 0 2.5rem 2.5rem;
    padding: clamp(3rem, 5.5vw, 4rem) clamp(2rem, 3vw, 3.5rem) clamp(3rem, 5.5vw, 4rem) clamp(4.5rem, 8vw, 7rem);
    display: grid;
    grid-template-columns: 38fr 62fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

/* ── Left column ───────────────────────────────────────────────────────────── */
.services-hero__eyebrow {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.4rem 1.125rem;
    border-radius: var(--radius-pill);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.services-hero__title {
    font-size: clamp(3rem, 5.5vw, 4.25rem);
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.services-hero__desc {
    font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 2.25rem;
    max-width: 520px;
}

.services-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    align-items: center;
}

.services-hero__btn {
    display: inline-block;
    padding: 0.9rem 2.25rem;
    border-radius: var(--radius-pill);
    font-size: 1.0625rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background-color 0.18s, color 0.18s, border-color 0.18s;
    white-space: nowrap;
}

.services-hero__btn--primary {
    background-color: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}

.services-hero__btn--primary:hover {
    background-color: var(--color-text-main);
    border-color: var(--color-text-main);
    color: var(--color-white);
}

.services-hero__btn--outline {
    background-color: transparent;
    color: var(--color-dark);
    border-color: var(--color-dark);
}

.services-hero__btn--outline:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

/* ── Right column ──────────────────────────────────────────────────────────── */
.services-hero__right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* overflow: visible (default) — lets the large circle bleed past the column edges */
}

.services-hero__circle-wrap {
    position: relative;
    z-index: 1;
}

.services-hero__circle {
    /* ~2x the previous 460px max — at 1440px this renders at ~893px wide.
       The right column (62fr) is ~724px wide, so the box bleeds ~85px
       into the inter-column gap (protected by the 6vw gap above) and ~28px
       past the card right edge into the dark-red section.
       Height follows the photo's native 3:2 ratio (1800×1200) — rounded
       corners only, no forced square crop. */
    width: clamp(464px, 49.6vw, 600px);
    aspect-ratio: 3 / 2;
    border-radius: 2.5rem;
    background-color: var(--color-dark);
    overflow: hidden;
}

.services-hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* ── Decorative marks ──────────────────────────────────────────────────────── */
.services-hero__deco {
    position: absolute;
    color: var(--color-primary);
    pointer-events: none;
    line-height: 0;
    display: block;
}

.services-hero__deco--1 {
    top: 14%;
    right: 6%;
    transform: rotate(-35deg);
}

.services-hero__deco--2 {
    top: 4%;
    right: 22%;
}

.services-hero__deco--3 {
    top: 38%;
    right: 2%;
}

.services-hero__deco--4 {
    bottom: 20%;
    left: 6%;
    transform: rotate(20deg);
    opacity: 0.5;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .services-hero {
        padding: 0 0 1.25rem 0;
    }

    .services-hero__card {
        grid-template-columns: 1fr;
        gap: 2rem;
        border-radius: 0 0 1.5rem 1.5rem;
    }

    .services-hero__right {
        order: -1;
        min-height: auto;
    }

    .services-hero__circle {
        width: clamp(240px, 60vw, 360px);
        border-radius: 1.5rem;
    }

    .services-hero__desc {
        max-width: none;
    }

    .services-hero__deco--4 {
        display: none;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 0 0 1rem 0;
    }

    .services-hero__card {
        padding: 1.75rem 1.25rem;
        border-radius: 0 0 1.25rem 1.25rem;
    }
}
