/* =========================================================
   SERVICES PAGE
========================================================= */

/* Page Layout */

.services-page {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--body-bg);
    color: var(--heading);
    font-family: var(--font-family);
}


/* =========================================================
   HERO
========================================================= */

.services-hero {
    width: 100%;
    padding: 45px 0 55px;
}

.services-heading {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.services-heading h1 {
    margin: 0 0 18px;
    font-family: var(--font-family);
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    color: #111111;
}

.services-heading h1 span {
    color: var(--accent);
}

.services-heading p {
    max-width: 760px;
    margin: 0 auto;
    font-family: var(--font-family);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    color: #666666;
}


/* =========================================================
   MAIN SERVICES AREA
========================================================= */

.services-main {
    width: 100%;
    padding: 20px 0 90px;
}

.services-container {
    width: 88%;
    max-width: 1280px;
    margin: 0 auto;
}

.services-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 90px;
    align-items: start;
    width: 100%;
}


/* =========================================================
   SERVICE COLUMNS
========================================================= */

.service-column {
    position: relative;
    min-width: 0;
}

.service-column-header {
    width: 100%;
    margin: 0 0 14px;
    padding: 0 0 15px;
    border-bottom: 2px solid #111111;
}

.service-column-header h2 {
    margin: 0;
    font-family: var(--font-family);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #111111;
}

.service-column-intro {
    max-width: 530px;
    margin: 0 0 25px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    color: #666666;
}


/* Center Divider */

.service-column + .service-column::before {
    content: "";
    position: absolute;
    top: 0;
    left: -45px;
    width: 1px;
    height: 100%;
    background: #dddddd;
}


/* =========================================================
   SERVICE LIST
========================================================= */

.service-items {
    width: 100%;
}

.service-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 58px;
    padding: 10px 5px;
    border-bottom: 1px solid #d5d5d5;
    transition:
        padding .3s ease,
        border-color .3s ease;
}

.service-item:first-child {
    border-top: 1px solid #d5d5d5;
}


/* Service Icon */

.service-icon {
    display: flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--accent);
    box-shadow: none;
    transition:
        color .3s ease,
        transform .3s ease;
}

.service-icon i {
    display: block;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: 17px;
    line-height: 1;
}


/* Service Name */

.service-item h3 {
    margin: 0;
    font-family: var(--font-family);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    color: #4f4f4f;
    transition:
        color .3s ease,
        transform .3s ease;
}


/* Service Hover */

.service-item:hover {
    padding-left: 10px;
    border-color: rgba(193, 18, 31, .45);
}

.service-item:hover .service-icon {
    color: var(--accent);
    transform: scale(1.08);
}

.service-item:hover h3 {
    color: #111111;
    transform: translateX(3px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

/* Large Desktop */

@media (min-width: 1500px) {
    .services-container {
        max-width: 1350px;
    }

    .services-columns {
        gap: 100px;
    }

    .service-column + .service-column::before {
        left: -50px;
    }

    .service-column-header h2 {
        font-size: 40px;
    }

    .service-item {
        min-height: 60px;
    }

    .service-item h3 {
        font-size: 18px;
    }
}


/* Laptop */

@media (min-width: 992px) and (max-width: 1199px) {
    .services-container {
        width: 90%;
    }

    .services-columns {
        gap: 60px;
    }

    .service-column + .service-column::before {
        left: -30px;
    }

    .service-column-header h2 {
        font-size: 33px;
    }

    .service-column-intro {
        font-size: 13px;
    }

    .service-item {
        gap: 13px;
    }

    .service-icon {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
    }

    .service-icon i {
        font-size: 15px;
    }

    .service-item h3 {
        font-size: 15px;
    }
}


/* Tablet */

@media (max-width: 991px) {
    .services-hero {
        padding: 42px 0 48px;
    }

    .services-heading h1 {
        font-size: 52px;
    }

    .services-heading p {
        font-size: 15px;
    }

    .services-main {
        padding: 10px 0 70px;
    }

    .services-container {
        width: 88%;
    }

    .services-columns {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .service-column + .service-column::before {
        display: none;
    }

    .service-column-header h2 {
        font-size: 34px;
    }

    .service-column-intro {
        max-width: 620px;
    }
}


/* Mobile Icon Layout */

@media (max-width: 768px) {
    .service-item {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .service-icon {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-icon i {
        width: auto !important;
        height: auto !important;
        font-size: 22px !important;
        line-height: 1 !important;
    }

    .service-item h3 {
        flex: 1;
        margin: 0;
    }
}


/* Mobile */

@media (max-width: 600px) {
    .services-hero {
        padding: 36px 0 42px;
    }

    .services-heading {
        width: 88%;
    }

    .services-heading h1 {
        margin-bottom: 15px;
        font-size: 40px;
        letter-spacing: -1.3px;
    }

    .services-heading p {
        font-size: 14px;
        line-height: 1.65;
    }

    .services-main {
        padding: 5px 0 60px;
    }

    .services-container {
        width: 88%;
    }

    .services-columns {
        gap: 50px;
    }

    .service-column-header {
        margin-bottom: 13px;
        padding-bottom: 13px;
    }

    .service-column-header h2 {
        font-size: 29px;
    }

    .service-column-intro {
        margin-bottom: 20px;
        font-size: 13px;
        line-height: 1.6;
    }

    .service-item {
        min-height: 54px;
        gap: 12px;
        padding: 9px 3px;
    }

    .service-icon {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }

    .service-icon i {
        font-size: 14px;
    }

    .service-item h3 {
        font-size: 15px;
    }
}


/* Small Mobile */

@media (max-width: 400px) {
    .services-heading h1 {
        font-size: 34px;
    }

    .services-heading p {
        font-size: 13px;
    }

    .service-column-header h2 {
        font-size: 26px;
    }

    .service-column-intro {
        font-size: 12px;
    }

    .service-item {
        min-height: 51px;
        gap: 10px;
    }

    .service-icon {
        width: 23px;
        height: 23px;
        flex-basis: 23px;
    }

    .service-icon i {
        font-size: 13px;
    }

    .service-item h3 {
        font-size: 14px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .service-item,
    .service-icon,
    .service-item h3 {
        transition: none !important;
    }
}