/*-- -------------------------- -->
<---     Hero                   -->
<--- -------------------------- -*/
@media only screen and (min-width: 0rem){
    #ranch-marketing{
        background-color: #fff;
        overflow: hidden;
    }
}

/*-- -------------------------- -->
<---     Intro                  -->
<--- -------------------------- -*/
@media only screen and (min-width: 0rem){
    .services-intro{
        max-width: 48rem;
        margin: 0 auto;
        padding: clamp(1.5rem, 3vw, 2.5rem) 1.5rem 0;
        box-sizing: border-box;
    }
    #ranch-marketing .services-intro p{
        margin: 0 0 1.1rem;
        font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
        line-height: 1.8;
        color: #4B3D33;
    }
}

/*-- -------------------------- -->
<---     Services               -->
<--- -------------------------- -*/
@media only screen and (min-width: 0rem){
    .services{
        padding: clamp(2rem, 5vw, 3.5rem) 1.5rem clamp(3.5rem, 7vw, 5rem);
    }
    .services-container{
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.75rem;
        align-items: stretch;
        max-width: 68rem;
        margin: 0 auto;
        padding: 0;
        list-style: none;
    }
    .service-card{
        display: flex;
        flex-direction: column;
        overflow: hidden;
        background-color: var(--paper);
        border: 1px solid var(--line);
        border-radius: 0.5rem;
        box-shadow: 0 0.75rem 2rem rgba(42, 31, 24, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .service-card:hover{
        transform: translateY(-3px);
        box-shadow: 0 1.25rem 2.75rem rgba(42, 31, 24, 0.15);
    }
    .service-sign{
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        padding: 1.5rem 1.75rem 1.35rem;
        background-color: var(--secondary);
        border-bottom: 1.5px dashed rgba(255, 255, 255, 0.4);
    }
    .service-sign::after{
        content: "";
        position: absolute;
        inset: 0.45rem;
        border: 1.5px dashed rgba(255, 255, 255, 0.3);
        border-radius: 0.3rem;
        pointer-events: none;
    }
    .service-brand{
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--tan);
    }
    #ranch-marketing .service-sign h2{
        margin: 0;
        font-size: clamp(1.65rem, 2.5vw, 2rem);
        color: #fff;
    }
    .service-body{
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 1.75rem;
    }
    #ranch-marketing .price{
        margin: 0 0 1.25rem;
        padding-bottom: 1.25rem;
        border-bottom: 1.5px dashed var(--line);
        font-family: var(--headingFont);
        font-size: clamp(2.5rem, 4vw, 3rem);
        font-weight: 700;
        line-height: 1;
        color: var(--ink);
    }
    #ranch-marketing .price span{
        margin-left: 0.2rem;
        font-family: var(--bodyFont);
        font-size: 1rem;
        font-weight: 600;
        color: var(--muted);
    }
    .service-features{
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        margin: 0 0 1.75rem;
        padding: 0;
        list-style: none;
    }
    .service-features li{
        position: relative;
        padding-left: 1.6rem;
        font-size: 1rem;
        line-height: 1.5;
        color: #4B3D33;
    }
    .service-features li::before{
        content: "";
        position: absolute;
        left: 0;
        top: 0.3rem;
        width: 0.95rem;
        height: 0.95rem;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.5' fill='none' stroke='%23B5582F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    }
    #ranch-marketing .service-button{
        display: flex;
        justify-content: center;
        margin-top: auto;
        padding: 0.85rem 1.25rem;
        background-color: transparent;
        border: 1.5px solid var(--secondary);
        border-radius: 0.375rem;
        font-size: 0.8125rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        text-decoration: none;
        color: var(--secondary);
        transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }
    #ranch-marketing .service-button:hover{
        background-color: var(--secondary);
        color: #fff;
    }
    .service-card-featured{
        background-color: var(--night);
        border-color: var(--night);
    }
    .service-card-featured .service-sign{
        background-color: var(--rust);
    }
    #ranch-marketing .service-card-featured .price{
        color: #FFF7EC;
        border-bottom-color: rgba(217, 180, 143, 0.3);
    }
    #ranch-marketing .service-card-featured .price span{
        color: var(--tan);
    }
    .service-card-featured .service-features li{
        color: rgba(255, 247, 236, 0.85);
    }
    .service-card-featured .service-features li::before{
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.5' fill='none' stroke='%23D9B48F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }
    #ranch-marketing .service-card-featured .service-button{
        background-color: var(--rust);
        border-color: var(--rust);
        color: #fff;
    }
    #ranch-marketing .service-card-featured .service-button:hover{
        background-color: var(--secondary);
        border-color: var(--secondary);
    }
}

@media only screen and (max-width: 63.9375rem){
    .services-container{
        grid-template-columns: minmax(0, 1fr);
        max-width: 30rem;
    }
}