/* =========================================================
   ELIS DENTAL CLINIC
   SERVICES PAGE
   services.css
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --services-primary: #0b7fab;
    --services-primary-dark: #075d80;
    --services-primary-light: #eaf8fc;

    --services-accent: #16a8c7;

    --services-dark: #102a43;
    --services-text: #425466;
    --services-muted: #718096;

    --services-white: #ffffff;
    --services-light: #f7fbfd;
    --services-border: #e3eef3;

    --services-shadow:
        0 20px 60px rgba(16, 42, 67, 0.08);

    --services-radius: 24px;

}


/* =========================================================
   SERVICES PAGE HERO
========================================================= */

.services-page-hero {

    position: relative;

    min-height: 560px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #063f5c 0%,
            #087da4 55%,
            #0da8c4 100%
        );

}


.services-page-hero::before {

    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);

    right: -150px;
    top: -180px;

}


.services-page-hero::after {

    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.12);

    left: -140px;
    bottom: -180px;

}


.services-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(2, 43, 64, 0.85),
            rgba(5, 117, 151, 0.45)
        );

}


.services-hero-content {

    position: relative;

    z-index: 2;

    max-width: 900px;

    padding-top: 70px;
    padding-bottom: 70px;

}


.services-hero-content .section-tag {

    margin-bottom: 25px;

}


.services-hero-content h1 {

    margin: 0;

    max-width: 850px;

    color: #ffffff;

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        42px,
        6vw,
        76px
    );

    line-height: 1.04;

    font-weight: 800;

    letter-spacing: -2.5px;

}


.services-hero-content h1 span {

    display: block;

    color: #b9f2ff;

}


.services-hero-content p {

    max-width: 720px;

    margin: 28px 0 0;

    color: rgba(255, 255, 255, 0.86);

    font-size: 18px;

    line-height: 1.8;

}


.services-hero-buttons {

    display: flex;

    align-items: center;

    gap: 18px;

    flex-wrap: wrap;

    margin-top: 35px;

}


.services-call-btn {

    min-height: 54px;

    padding: 0 25px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border: 1px solid rgba(255, 255, 255, 0.3);

    border-radius: 12px;

    color: #ffffff;

    font-weight: 700;

    text-decoration: none;

    transition: 0.3s ease;

}


.services-call-btn:hover {

    background: rgba(255, 255, 255, 0.12);

    border-color: rgba(255, 255, 255, 0.6);

    transform: translateY(-2px);

}


/* =========================================================
   SERVICES INTRO
========================================================= */

.services-intro {

    background: #ffffff;

}


.services-intro .section-heading {

    max-width: 850px;

    margin-left: auto;
    margin-right: auto;

}


.services-intro .section-heading p {

    max-width: 720px;

    margin-left: auto;
    margin-right: auto;

}


.service-benefits {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-top: 55px;

}


.service-benefit {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 25px;

    background: #ffffff;

    border: 1px solid var(--services-border);

    border-radius: 18px;

    box-shadow: 0 10px 35px rgba(16, 42, 67, 0.05);

    transition: 0.3s ease;

}


.service-benefit:hover {

    transform: translateY(-5px);

    box-shadow: var(--services-shadow);

    border-color: rgba(11, 127, 171, 0.25);

}


.benefit-icon {

    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: var(--services-primary-light);

    color: var(--services-primary);

    font-size: 21px;

}


.service-benefit strong {

    display: block;

    margin-bottom: 5px;

    color: var(--services-dark);

    font-family: "Manrope", sans-serif;

    font-size: 15px;

}


.service-benefit span {

    display: block;

    color: var(--services-muted);

    font-size: 13px;

    line-height: 1.5;

}


/* =========================================================
   ALL SERVICES
========================================================= */

.all-services {

    background: var(--services-light);

}


.service-detail {

    position: relative;

    display: grid;

    grid-template-columns: 190px 1fr;

    gap: 55px;

    align-items: center;

    padding: 65px;

    margin-bottom: 30px;

    background: #ffffff;

    border: 1px solid var(--services-border);

    border-radius: var(--services-radius);

    box-shadow: 0 12px 45px rgba(16, 42, 67, 0.045);

    overflow: hidden;

    transition: 0.35s ease;

}


.service-detail:hover {

    transform: translateY(-5px);

    box-shadow: var(--services-shadow);

}


.service-detail::before {

    content: "";

    position: absolute;

    width: 6px;

    height: 100%;

    left: 0;

    top: 0;

    background:
        linear-gradient(
            180deg,
            var(--services-primary),
            var(--services-accent)
        );

}


.service-detail.reverse {

    grid-template-columns: 1fr 190px;

}


.service-detail.reverse .service-detail-icon {

    grid-column: 2;

    grid-row: 1;

}


.service-detail.reverse .service-detail-content {

    grid-column: 1;

    grid-row: 1;

}


.service-detail-icon {

    width: 150px;
    height: 150px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: auto;

    border-radius: 40px;

    background:
        linear-gradient(
            145deg,
            #edfaff,
            #dff4fa
        );

    color: var(--services-primary);

    font-size: 58px;

    box-shadow:
        inset 0 0 0 1px rgba(11, 127, 171, 0.08);

    transition: 0.35s ease;

}


.service-detail:hover .service-detail-icon {

    transform: rotate(-4deg) scale(1.04);

}


.service-detail-content {

    max-width: 760px;

}


.service-label {

    display: inline-block;

    margin-bottom: 13px;

    color: var(--services-primary);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.service-detail-content h2 {

    margin: 0 0 18px;

    color: var(--services-dark);

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        28px,
        4vw,
        40px
    );

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -1px;

}


.service-detail-content p {

    margin: 0;

    color: var(--services-text);

    font-size: 16px;

    line-height: 1.8;

}


.service-detail-content ul {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin: 27px 0;

    padding: 0;

    list-style: none;

}


.service-detail-content li {

    display: flex;

    align-items: flex-start;

    gap: 8px;

    color: var(--services-text);

    font-size: 13px;

    line-height: 1.5;

}


.service-detail-content li i {

    flex-shrink: 0;

    margin-top: 2px;

    color: var(--services-primary);

}


.service-detail-btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 20px;

    border-radius: 10px;

    background: var(--services-primary);

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition: 0.3s ease;

}


.service-detail-btn:hover {

    background: var(--services-primary-dark);

    transform: translateX(3px);

}


.service-detail-btn i {

    transition: 0.3s ease;

}


.service-detail-btn:hover i {

    transform: translateX(4px);

}


/* =========================================================
   WHY SERVICES
========================================================= */

.services-why {

    background: #ffffff;

}


.services-why .section-heading {

    max-width: 800px;

    margin-left: auto;
    margin-right: auto;

}


.services-why .section-heading p {

    max-width: 650px;

    margin-left: auto;
    margin-right: auto;

}


.why-services-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

    margin-top: 55px;

}


.why-service-card {

    padding: 32px 25px;

    text-align: center;

    background: #ffffff;

    border: 1px solid var(--services-border);

    border-radius: 20px;

    transition: 0.35s ease;

}


.why-service-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--services-shadow);

    border-color: rgba(11, 127, 171, 0.2);

}


.why-service-icon {

    width: 68px;
    height: 68px;

    margin: 0 auto 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: var(--services-primary-light);

    color: var(--services-primary);

    font-size: 25px;

}


.why-service-card h3 {

    margin: 0 0 12px;

    color: var(--services-dark);

    font-family: "Manrope", sans-serif;

    font-size: 18px;

}


.why-service-card p {

    margin: 0;

    color: var(--services-muted);

    font-size: 14px;

    line-height: 1.7;

}


/* =========================================================
   SERVICES CTA
========================================================= */

.services-cta {

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #063f5c,
            #087da4,
            #0da8c4
        );

}


.services-cta::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.12);

    right: -220px;
    top: -250px;

}


.services-cta-content {

    position: relative;

    z-index: 2;

    min-height: 400px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding-top: 70px;
    padding-bottom: 70px;

}


.services-cta-content h2 {

    max-width: 700px;

    margin: 20px 0 15px;

    color: #ffffff;

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        34px,
        5vw,
        55px
    );

    line-height: 1.08;

    letter-spacing: -1.5px;

}


.services-cta-content h2 span {

    color: #b9f2ff;

}


.services-cta-content p {

    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 16px;

    line-height: 1.7;

}


.services-cta-buttons {

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 14px;

    min-width: 230px;

}


.cta-whatsapp {

    min-height: 52px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border: 1px solid rgba(255, 255, 255, 0.3);

    border-radius: 11px;

    color: #ffffff;

    text-decoration: none;

    font-weight: 700;

    transition: 0.3s ease;

}


.cta-whatsapp:hover {

    background: rgba(255, 255, 255, 0.1);

    border-color: rgba(255, 255, 255, 0.6);

}


/* =========================================================
   SMOOTH ANCHOR SCROLL
========================================================= */

html {

    scroll-behavior: smooth;

}


.service-detail {

    scroll-margin-top: 110px;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .service-benefits {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .service-benefit:last-child {

        grid-column: 1 / -1;

    }


    .why-services-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .service-detail {

        grid-template-columns: 150px 1fr;

        gap: 40px;

        padding: 50px;

    }


    .service-detail.reverse {

        grid-template-columns: 1fr 150px;

    }


    .service-detail-icon {

        width: 125px;
        height: 125px;

        font-size: 48px;

    }


    .service-detail-content ul {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .services-page-hero {

        min-height: 540px;

    }


    .services-hero-content {

        padding-top: 55px;
        padding-bottom: 55px;

    }


    .services-hero-content h1 {

        font-size: 43px;

        letter-spacing: -1.5px;

    }


    .services-hero-content p {

        font-size: 15px;

        line-height: 1.7;

    }


    .services-hero-buttons {

        align-items: stretch;

        flex-direction: column;

    }


    .services-hero-buttons .btn,
    .services-call-btn {

        width: 100%;

    }


    .service-benefits {

        grid-template-columns: 1fr;

    }


    .service-benefit:last-child {

        grid-column: auto;

    }


    .service-detail,
    .service-detail.reverse {

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 30px;

        padding: 35px 25px;

    }


    .service-detail.reverse .service-detail-icon,
    .service-detail.reverse .service-detail-content {

        order: initial;

    }


    .service-detail-icon {

        width: 100px;
        height: 100px;

        margin: 0;

        border-radius: 28px;

        font-size: 40px;

    }


    .service-detail-content h2 {

        font-size: 30px;

    }


    .service-detail-content p {

        font-size: 15px;

    }


    .service-detail-content ul {

        grid-template-columns: 1fr;

    }


    .service-detail-btn {

        width: 100%;

        justify-content: center;

    }


    .why-services-grid {

        grid-template-columns: 1fr;

    }


    .services-cta-content {

        min-height: auto;

        flex-direction: column;

        align-items: stretch;

        padding-top: 60px;
        padding-bottom: 60px;

    }


    .services-cta-content h2 {

        font-size: 36px;

    }


    .services-cta-buttons {

        width: 100%;

    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .services-page-hero {

        min-height: 500px;

    }


    .services-hero-content h1 {

        font-size: 36px;

    }


    .services-hero-content p {

        font-size: 14px;

    }


    .service-benefit {

        padding: 20px;

    }


    .benefit-icon {

        width: 48px;
        height: 48px;

        font-size: 18px;

    }


    .service-detail {

        padding: 28px 20px;

        border-radius: 18px;

    }


    .service-detail-content h2 {

        font-size: 27px;

    }


    .service-label {

        font-size: 10px;

        letter-spacing: 1px;

    }


    .services-cta-content h2 {

        font-size: 31px;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }


    .service-detail,
    .service-benefit,
    .why-service-card,
    .service-detail-icon,
    .service-detail-btn {

        transition: none;

    }

}