
/* =========================
   SERVICIOS PAGE
========================= */

/* HERO */

.services-page-hero {
    min-height: 65vh;
    padding: 150px 10% 90px;
    box-sizing: border-box;
    display: flex;
    align-items: center;

    background: #e9dfd5;
}

.services-page-hero-content {
    max-width: 850px;
    
}

.services-page-label {
    display: inline-block;
    margin-bottom: 25px;

    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #a27e69;
}

.services-page-hero h1 {
    font-size: clamp(42px, 7vw, 105px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -3px;

    margin: 0 0 30px;
    color: #211914;
}

.services-page-hero p {
    max-width: 600px;
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.8;
    color: #66584f;
}


/* =========================
   SERVICES SECTION
========================= */

.services-page {
    padding: 120px 0 150px;
    background: #f8f6f3;
}

.services-page-container {
    width: 85%;
    max-width: 1450px;
    margin: 0 auto;
}

.services-page-heading {
    margin-bottom: 65px;
}

.services-page-heading span {
    display: block;
    margin-bottom: 20px;

    font-size: 13px;
    letter-spacing: 2px;
    color: #a27e69;
}

.services-page-heading h2 {
    font-size: clamp(35px, 4vw, 60px);
    font-weight: 400;
    color: #211914;
    margin: 0;
}


/* =========================
   SERVICES GRID
========================= */

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
}


/* =========================
   SERVICE CARD
========================= */

.services-page-card {
    display: block;
    min-width: 0;
    text-decoration: none;
    color: inherit;

    background: #fff;
    border: 1px solid #e8e1da;
    border-radius: 12px;
    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.services-page-card:hover {
    transform: translateY(-7px);
    border-color: #c7a78d;
    box-shadow: 0 18px 40px rgba(33, 25, 20, 0.10);
}


/* CARD IMAGE */

.services-page-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9dfd5;
}

.services-page-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.6s ease;
}

.services-page-card:hover img {
    transform: scale(1.06);
}


/* CARD CONTENT */

.services-page-card-content {
    position: relative;
    padding: 32px 30px 38px;
}

.services-page-card-content > span {
    display: block;
    margin-bottom: 18px;

    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #a27e69;
}

.services-page-card-content h3 {
    margin: 0 35px 15px 0;

    font-size: clamp(21px, 2vw, 27px);
    font-weight: 500;
    line-height: 1.25;
    color: #211914;
}

.services-page-card-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #746960;
}

.services-page-card-content > svg {
    position: absolute;
    top: 32px;
    right: 28px;

    width: 22px;
    height: 22px;
    color: #a27e69;

    transition: transform 0.3s ease;
}

.services-page-card:hover .services-page-card-content > svg {
    transform: translate(4px, -4px);
}


/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

    .services-page-hero {
        min-height: 55vh;
        padding: 130px 7% 75px;
    }

    .services-page {
        padding: 90px 0 110px;
    }

    .services-page-container {
        width: 90%;
    }

    .services-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }

    .services-page-card-content {
        padding: 25px;
    }

    .services-page-card-content > svg {
        top: 25px;
        right: 22px;
    }
        .services-page-hero-image,
    .services-page-hero-line {
        display: none;
    }
}


/* =========================
   SERVICIOS PAGE — MOBILE
   0px - 767px
========================= */

@media (max-width: 767px) {

    /* =========================
       HERO
    ========================= */

.services-page-hero {
    background: #e9dfd5;
    box-sizing: border-box;
    min-height: 0;
    height: auto;

    padding-top: 75px;
    padding-right: 6%;
    padding-bottom: 40px;
    padding-left: 6%;
}



    .services-page-hero-content {
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
    }

    .services-page-label {
        display: block;
        margin-bottom: 22px;

        font-size: 12px;
        font-weight: 600;
        letter-spacing: 2px;
        color: #a27e69;
    }

.services-page-hero h1 {
    max-width: 350px;
    margin: 0 0 18px;

    font-size: clamp(38px, 9vw, 55px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #211914;
}

.services-page-hero p {
    max-width: 450px;
    margin: 0;

    font-size: 14px;
    line-height: 1.6;
    color: #66584f;
}


    /* =========================
       SERVICES SECTION
    ========================= */

    .services-page {
        background: #f8f6f3;
        padding: 22px 0 85px;
    }

    .services-page-container {
        width: 92%;
        max-width: 550px;
        margin: 0 auto;
    }

    .services-page-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }


    /* =========================
       SERVICE CARD
    ========================= */

    .services-page-card {
        display: flex;
        align-items: center;
        gap: 16px;

        min-height: 115px;
        padding: 20px 18px;
        box-sizing: border-box;

        background: #fff;
        border: 1px solid #e6ded7;
        border-radius: 16px;

        text-decoration: none;
        color: inherit;

        transition:
            background 0.3s ease,
            border-color 0.3s ease;
    }

    .services-page-card:active {
        background: #f2eae3;
        border-color: #a27e69;
    }


    /* =========================
       CARD ICON
    ========================= */

    .services-page-card-icon {
        width: 58px;
        height: 58px;
        flex-shrink: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        background: #211914;
        border-radius: 14px;
        color: #e9c5a6;
    }

    .services-page-card-icon svg {
        width: 27px;
        height: 27px;
        stroke-width: 1.7;
    }


    /* =========================
       CARD CONTENT
    ========================= */

    .services-page-card-content {
        flex: 1;
        min-width: 0;
    }

    .services-page-card-content h2 {
        margin: 0 0 7px;

        font-size: clamp(17px, 4.5vw, 22px);
        font-weight: 500;
        line-height: 1.2;
        color: #211914;
    }

    .services-page-card-content p {
        margin: 0;

        font-size: 13px;
        line-height: 1.5;
        color: #746960;
    }


    /* =========================
       CARD ARROW
    ========================= */

    .services-page-card-arrow {
        width: 38px;
        height: 38px;
        flex-shrink: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        background: #f3eae2;
        border-radius: 50%;
        color: #704b34;
    }

    .services-page-card-arrow svg {
        width: 20px;
        height: 20px;
        stroke-width: 1.8;
    }

    .services-page-hero-image,
.services-page-hero-line {
    display: none;
}
    /* =========================
       SMALL MOBILE
       0px - 380px
    ========================= */

    @media (max-width: 380px) {

        .services-page-card {
            gap: 11px;
            padding: 16px 12px;
        }

        .services-page-card-icon {
            width: 48px;
            height: 48px;
        }

        .services-page-card-icon svg {
            width: 23px;
            height: 23px;
        }

        .services-page-card-content h2 {
            font-size: 17px;
        }

        .services-page-card-content p {
            font-size: 12px;
        }

        .services-page-card-arrow {
            width: 32px;
            height: 32px;
        }
    }

}

/* =========================
   DESKTOP HERO — 1025px+
========================= */

@media (min-width: 1025px) {

     .services-page-hero {
        position: relative;
        display: flex;
        align-items: center;

        width: 100%;
        height: 450px;
        min-height: 0;

        padding: 80px 10%;
        box-sizing: border-box;

        background: #e9dfd5;
        overflow: hidden;
        isolation: isolate;
    }

    /* LEFT CONTENT */

    .services-page-hero-content {
        position: relative;
        z-index: 2;

        width: 52%;
        max-width: 650px;
        margin: 0;

    }
    

    .services-page-label {
        display: block;
        margin-bottom: 28px;

        font-size: 13px;
        font-weight: 600;
        letter-spacing: 3px;

        color: #a27e69;
    }

    .services-page-hero h1 {
        max-width: 800px;
        margin: 0 0 28px;
        font-size: clamp(32px, 5.5vw, 66px);
        font-weight: 400;
        line-height: 1.05;
        letter-spacing: -3px;

        color: #211914;
    }

    .services-page-hero p {
        max-width: 460px;
        margin: 0;

        font-size: 18px;
        line-height: 1.8;

        color: #66584f;
    }

    /* DECORATIVE LINE */

    .services-page-hero-line {
        display: block;

        width: 75px;
        height: 2px;
        margin-top: 35px;

        background: #a27e69;
    }

    /* RIGHT IMAGE */

    .services-page-hero-image {
        position: absolute;
        z-index: 1;

        top: 0;
        right: 0;

        width: 55%;
        height: 100%;

        background-image: url("../images/servicios-hero.png");
        background-size: cover;
        background-position: center;
        

        clip-path: polygon(
            10% 0,
            100% 0,
            100% 100%,
            0 100%
        );
    }

    
    
    
    
    .services-page-card {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: relative;

        min-height: 250px;
        padding: 32px;

        box-sizing: border-box;
        border-radius: 14px;
    }

    /* ICON */

    .services-page-card-icon {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 55px;
        height: 55px;
        margin-bottom: 25px;

        background: #211914;
        border-radius: 13px;
        color: #e9c5a6;
    }

    .services-page-card-icon svg {
        width: 27px;
        height: 27px;
        stroke-width: 1.7;
    }

    /* CONTENT */

    .services-page-card-content {
        padding: 0;
        position: static;
    }

    .services-page-card-content h2 {
        margin: 0 0 12px;
        font-size: 23px;
        font-weight: 500;
        line-height: 1.3;
        color: #211914;
    }

    .services-page-card-content p {
        margin: 0;
        font-size: 15px;
        line-height: 1.7;
        color: #746960;
    }

    /* ARROW */

    .services-page-card-arrow {
        position: absolute;
        top: 32px;
        right: 32px;

        display: flex;
        align-items: center;
        justify-content: center;

        width: 40px;
        height: 40px;

        background: #f3eae2;
        border-radius: 50%;
        color: #704b34;
    }

    .services-page-card-arrow svg {
        width: 21px;
        height: 21px;
        stroke-width: 1.8;
        transition: transform 0.3s ease;
    }

    .services-page-card:hover .services-page-card-arrow svg {
        transform: translateX(4px);
    }
}
/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    .services-page-card,
    .services-page-card-image img,
    .services-page-card-content > svg {
        transition: none;
    }
}
