/* =========================================================
   PLACE-MINT SERVICES PAGE
========================================================= */

.pm-services-page {
    --pm-primary: #0d3158;
    --pm-primary-dark: #092746;
    --pm-gold: #c5962e;
    --pm-text: #263548;
    --pm-muted: #687382;
    --pm-border: #e6e9ed;
    --pm-light: #f7f9fb;

    width: 100%;
    background: #ffffff;
    color: var(--pm-text);
    font-family: inherit;
}

.pm-services-page *,
.pm-services-page *::before,
.pm-services-page *::after {
    box-sizing: border-box;
}

.pm-services-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================================================
   HERO
========================================================= */

.pm-services-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 70px 20px 55px;
    background:
        radial-gradient(circle at 10% 45%, rgba(197,150,46,.07), transparent 24%),
        radial-gradient(circle at 90% 45%, rgba(13,49,88,.05), transparent 25%),
        #ffffff;
}

.pm-services-hero::before,
.pm-services-hero::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(13,49,88,.05);
    border-radius: 50%;
    pointer-events: none;
}

.pm-services-hero::before {
    left: -110px;
    top: 50px;
}

.pm-services-hero::after {
    right: -110px;
    top: 70px;
}

.pm-services-eyebrow {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 12px;
    color: var(--pm-gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pm-services-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    color: var(--pm-primary);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.18;
    font-weight: 750;
}

.pm-services-hero-divider {
    width: 70px;
    height: 2px;
    margin: 20px auto 18px;
    background: var(--pm-gold);
    position: relative;
}

.pm-services-hero-divider::after {
    content: "◆";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0 8px;
    color: var(--pm-gold);
    background: #fff;
    font-size: 12px;
}

.pm-services-hero p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    color: var(--pm-muted);
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
   SERVICE SECTIONS
========================================================= */

.pm-service {
    scroll-margin-top: 100px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    min-height: 265px;
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid var(--pm-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 16px rgba(20, 42, 65, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.pm-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 42, 65, .09);
}

/* Image */
.pm-service-media {
    position: relative;
    min-height: 265px;
    overflow: hidden;
    background: linear-gradient(135deg, #dfe7ed, #f7f9fb);
}

.pm-service-media img {
    width: 100%;
    height: 100%;
    min-height: 265px;
    max-height: 280px;
    display: block;
    object-fit: cover;
}

.pm-service-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.02),
        rgba(0,0,0,0)
    );
    pointer-events: none;
}

/* Content */
.pm-service-content {
    position: relative;
    padding: 30px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pm-service-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 9px;
}

.pm-service-number {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #faf4e8;
    color: var(--pm-gold);
    font-size: 14px;
    font-weight: 700;
}

.pm-service-content h2 {
    margin: 0;
    color: var(--pm-primary);
    font-size: 24px;
    line-height: 1.25;
    font-weight: 750;
}

.pm-service-description {
    max-width: 720px;
    margin: 0 0 18px;
    color: var(--pm-muted);
    font-size: 14px;
    line-height: 1.7;
}

.pm-service-roles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pm-service-roles li {
    position: relative;
    padding-left: 20px;
    color: #354254;
    font-size: 13px;
    line-height: 1.4;
}

.pm-service-roles li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--pm-gold);
    font-weight: 800;
}

/* Round icon */
.pm-service-icon {
    position: absolute;
    right: 28px;
    bottom: 25px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f6f7f8;
    font-size: 31px;
    opacity: .95;
}

/* =========================================================
   ALTERNATING IMAGE POSITION
========================================================= */

.pm-service:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 320px;
}

.pm-service:nth-child(even) .pm-service-media {
    order: 2;
}

.pm-service:nth-child(even) .pm-service-content {
    order: 1;
}

.pm-service:nth-child(even) .pm-service-icon {
    left: 28px;
    right: auto;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .pm-service,
    .pm-service:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .pm-service-media,
    .pm-service:nth-child(even) .pm-service-media {
        order: 1;
        min-height: 240px;
    }

    .pm-service-media img {
        min-height: 240px;
    }

    .pm-service-content,
    .pm-service:nth-child(even) .pm-service-content {
        order: 2;
    }

    .pm-service-roles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pm-service-icon,
    .pm-service:nth-child(even) .pm-service-icon {
        right: 22px;
        left: auto;
        bottom: 20px;
    }
}

@media (max-width: 600px) {

    .pm-services-container {
        width: min(100% - 24px, 1180px);
    }

    .pm-services-hero {
        padding: 50px 15px 40px;
    }

    .pm-services-hero p {
        font-size: 14px;
    }

    .pm-service {
        margin-bottom: 14px;
        border-radius: 9px;
    }

    .pm-service-media,
    .pm-service-media img,
    .pm-service:nth-child(even) .pm-service-media {
        min-height: 200px;
    }

    .pm-service-content {
        padding: 24px 20px 28px;
    }

    .pm-service-content h2 {
        font-size: 20px;
    }

    .pm-service-description {
        font-size: 13px;
    }

    .pm-service-roles {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .pm-service-icon,
    .pm-service:nth-child(even) .pm-service-icon {
        width: 58px;
        height: 58px;
        right: 18px;
        bottom: 18px;
        font-size: 25px;
    }
}


/* =========================================================
   CTA SECTION
========================================================= */

.services-cta{

    margin:60px 0;

}

.services-cta-box{

    background:var(--primary);

    border-radius:45px;

    padding:30px;

    display:flex;

    justify-content:space-around;

    align-items:center;

    gap:60px;

}

.services-cta-content{

    display:flex;

    align-items:center;

    gap:35px;

}

.services-cta-content img{

    width:120px;

    height:120px;

    object-fit:contain;

}

.services-cta-text{

    color:#fff;

}

.services-cta-title{

    font-size:34px;

    font-weight:700;

    margin-bottom:18px;

    line-height:1.2;

}

.services-cta-description{

    font-size:22px;

    font-weight:400;

}

.services-cta-button{

    width:auto;

    height:70px;

    padding: 20px;

    background:var(--secondary);

    color:#fff;

    text-decoration:none;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:16px;

    font-size:22px;

    font-weight:700;

    box-shadow:0 8px 18px rgba(0,0,0,.2);

    transition:.3s;

}

.services-cta-button:hover{

    transform:translateY(-4px);

}

@media (max-width:1200px){

    .services-cta-box{

        flex-direction:column;

        text-align:center;

    }

    .services-cta-content{

        flex-direction:column;

    }

    .services-cta-button{

        min-width:100%;

    }

}

@media (max-width:768px){

    .services-cta{

        margin:80px 0;

    }

    .services-cta-box{

        padding:35px 25px;

        border-radius:25px;

    }

    .services-cta-title{

        font-size:36px;

    }

    .services-cta-description{

        font-size:20px;

    }

    .services-cta-button{

        height:70px;

        font-size:22px;

    }

}

/* =========================================================
   SERVICES CTA - MOBILE
========================================================= */

@media (max-width: 767px) {

    .services-cta {

        margin: 60px 20px;

    }


    .services-cta-box {

        margin: 0;

        padding: 30px 22px;

        border-radius: 25px;

        gap: 30px;

    }


    .services-cta-content {

        width: 100%;

        flex-direction: column;

        align-items: center;

        gap: 20px;

    }


    .services-cta-content img {

        width: 85px;

        height: 85px;

    }


    .services-cta-text {

        width: 100%;

    }


    .services-cta-title {

        font-size: 28px;

        line-height: 1.25;

        margin-bottom: 12px;

    }


    .services-cta-description {

        font-size: 17px;

        line-height: 1.5;

    }


    .services-cta-button {

        width: 100%;

        min-width: 0;

        height: 58px;

        padding: 14px 20px;

        font-size: 17px;

        border-radius: 12px;

        box-sizing: border-box;

    }


    /* Services hero heading */

    .pm-services-hero h1 {

        font-size: 20px;

    }


    /* Service cards */

    .pm-service {

        margin-left: 10px;

        margin-right: 10px;

    }

}