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

#page-hero.inner-page-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 650px;
    max-height: 1100px;

    margin: 0;
    padding: 0;

    overflow: hidden;
    isolation: isolate;
}

/* IMAGEN DESKTOP / LAPTOP */

#page-hero .overlay-photo-image-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background-image: url("../assets/images/services/Servicios.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* OVERLAY */

#page-hero .overlay-color {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .35;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    #page-hero.inner-page-hero {
        position: relative;

        width: 100%;
        height: 100vh !important;
        height: 100svh !important;

        min-height: 100vh;
        max-height: none;

        margin-top: 0 !important;
        padding: 0 !important;

        overflow: hidden;
    }

    #page-hero .overlay-photo-image-bg {
        position: absolute !important;

        top: 0;
        left: 0;

        width: 100%;
        height: 100%;

        background-image: url("../assets/images/services/service-hero-mobile.png") !important;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    #page-hero .overlay-color {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

}

/* =========================================
   OCTEK SERVICES - PROFESSIONAL DESIGN
========================================= */

.octek-services-list {
    position: relative;
    width: 100%;
    padding: 110px 0;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(69,197,242,.07), transparent 45%),
        #080D13;
}

.octek-services-container {
    width: min(1160px, 90%);
    margin: 0 auto;
}

/* =========================================
   SECTION HEADING
========================================= */

.octek-services-heading {
    position: relative;
    max-width: 850px;
    margin: 0 auto 100px;
    text-align: center;
}

.octek-services-heading > span {
    display: inline-block;
    margin-bottom: 22px;

    color: #45C5F2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 5px;
}

.octek-services-heading h2 {
    display: flex;
    flex-direction: column;
    margin: 0;

    color: #fff;
    font-size: clamp(38px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
}

.octek-services-heading h2 strong {
    color: #45C5F2;
    font-weight: 800;
}

.octek-services-heading p {
    max-width: 650px;
    margin: 25px auto 0;

    color: rgba(255,255,255,.65);
    font-size: 15px;
    line-height: 1.9;
}

.octek-heading-decoration {
    width: 75px;
    height: 3px;
    margin: 30px auto 0;

    background: #45C5F2;
    box-shadow:
        0 0 8px rgba(69,197,242,.8),
        0 0 22px rgba(69,197,242,.45);
}

/* =========================================
   SERVICE ROWS
========================================= */

.octek-service-item {
    position: relative;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;

    padding: 35px 0 75px;
    margin-bottom: 40px;
}

/* ALTERNATE */

.octek-service-item.is-reversed .octek-service-image {
    order: 2;
}

.octek-service-item.is-reversed .octek-service-content {
    order: 1;
}

/* =========================================
   IMAGE
========================================= */

/* =========================================
   IMAGE - FIX
========================================= */

.octek-service-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #101923;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   IMAGE - ADAPTIVE SIZE
========================================= */

/* =========================================
   IMAGE - FULL ORIGINAL PROPORTION
========================================= */

.octek-service-image {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0;
    aspect-ratio: auto !important;
    overflow: visible;
    background: transparent;
}

.octek-service-image::after {
    display: none;
}

.octek-service-image img {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;

    object-fit: unset;
    object-position: center;

    transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.octek-service-item:hover .octek-service-image img {
    transform: scale(1.02);
}

/* =========================================
   CONTENT
========================================= */

.octek-service-content {
    position: relative;
    max-width: 510px;
}

/* NUMBER / CATEGORY */

.octek-service-number {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;

    color: #45C5F2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.octek-service-number::before {
    content: "";
    width: 27px;
    height: 2px;
    background: #45C5F2;
    box-shadow: 0 0 8px rgba(69,197,242,.65);
}

/* SERVICE TITLE */

.octek-service-content h3 {
    position: relative;
    margin: 0 0 23px;

    color: #fff;
    font-size: clamp(29px, 3.2vw, 41px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.2px;

    text-wrap: balance;
    text-shadow: 0 3px 18px rgba(0,0,0,.25);
}

/* ACCENT UNDER TITLE */

.octek-service-content h3::after {
    content: "";
    display: block;

    width: 48px;
    height: 3px;
    margin-top: 19px;

    background: #45C5F2;
    box-shadow: 0 0 12px rgba(69,197,242,.5);
    transition: width .4s ease;
}

.octek-service-item:hover .octek-service-content h3::after {
    width: 85px;
}

/* DESCRIPTION */

.octek-service-content p {
    max-width: 490px;
    margin: 0;

    color: rgba(235,243,250,.72);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.95;
    letter-spacing: .15px;
}

/* =========================================
   BLUE LIGHT SEPARATOR
========================================= */

.octek-service-item::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 0;

    width: 85%;
    height: 1px;

    transform: translateX(-50%);

    background: linear-gradient(
        90deg,
        transparent,
        rgba(69,197,242,.8),
        transparent
    );

    box-shadow:
        0 0 7px rgba(69,197,242,.55),
        0 0 18px rgba(69,197,242,.2);
}

.octek-service-item:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

.octek-service-item:last-of-type::after {
    display: none;
}

/* =========================================
   FINAL CONTACT SECTION
========================================= */

.octek-services-cta {
    position: relative;
    margin-top: 100px;
    padding: 65px 25px;

    text-align: center;
    overflow: hidden;

    background:
        radial-gradient(ellipse at center, rgba(69,197,242,.12), transparent 65%),
        rgba(13,25,37,.55);

    border-top: 1px solid rgba(69,197,242,.2);
    border-bottom: 1px solid rgba(69,197,242,.2);
}

.octek-services-cta > span {
    display: block;
    margin-bottom: 15px;

    color: #45C5F2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
}

.octek-services-cta h2 {
    margin: 0;

    color: #fff;
    font-size: clamp(34px, 4.5vw, 50px);
    font-weight: 800;
    letter-spacing: -1.5px;
}

.octek-services-cta p {
    max-width: 560px;
    margin: 17px auto 28px;

    color: rgba(255,255,255,.7);
    font-size: 15px;
    line-height: 1.8;
}

/* CONTACT BUTTON */

.octek-services-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    min-height: 54px;
    padding: 0 29px;

    color: #07121b;
    background: #45C5F2;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-decoration: none;

    border: 1px solid #45C5F2;

    transition:
        background .3s ease,
        color .3s ease,
        box-shadow .3s ease,
        transform .3s ease;
}

.octek-services-contact-btn i {
    font-size: 17px;
    transition: transform .3s ease;
}

.octek-services-contact-btn:hover {
    color: #45C5F2;
    background: transparent;
    box-shadow: 0 0 25px rgba(69,197,242,.17);
    transform: translateY(-3px);
}

.octek-services-contact-btn:hover i {
    transform: translate(3px, -3px);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .octek-services-list {
        padding: 85px 0;
    }

    .octek-service-item {
        gap: 40px;
    }

    .octek-service-content h3 {
        font-size: 30px;
    }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .octek-services-list {
        padding: 70px 0;
    }

    .octek-services-container {
        width: 88%;
    }

    .octek-services-heading {
        margin-bottom: 55px;
    }

    .octek-services-heading > span {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .octek-services-heading h2 {
        font-size: 38px;
        letter-spacing: -1.3px;
    }

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

    .octek-service-item {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px 0 45px;
        margin-bottom: 30px;
    }

    /* IMAGE FIRST ON MOBILE */

    .octek-service-item .octek-service-image,
    .octek-service-item.is-reversed .octek-service-image {
        order: 1;
    }

    .octek-service-item .octek-service-content,
    .octek-service-item.is-reversed .octek-service-content {
        order: 2;
    }

    .octek-service-image {
        aspect-ratio: 16 / 10;
    }

    .octek-service-number {
        margin-bottom: 15px;
        font-size: 10px;
    }

    .octek-service-content h3 {
        font-size: 31px;
        line-height: 1.16;
        margin-bottom: 18px;
    }

    .octek-service-content p {
        font-size: 14px;
        line-height: 1.85;
    }

    .octek-service-item::after {
        width: 100%;
    }

    .octek-services-cta {
        margin-top: 65px;
        padding: 48px 20px;
    }

    .octek-services-cta h2 {
        font-size: 35px;
    }

    .octek-services-cta p {
        font-size: 14px;
    }

    .octek-services-contact-btn {
        min-height: 51px;
        padding: 0 23px;
    }

}

/* SMALL MOBILE */

@media (max-width: 380px) {

    .octek-services-heading h2 {
        font-size: 33px;
    }

    .octek-service-content h3 {
        font-size: 27px;
    }

    .octek-services-cta h2 {
        font-size: 30px;
    }

}
/* =========================================
   OCTEK SERVICES - LIGHT THEME
========================================= */

body.light-theme .octek-services-list {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(69, 197, 242, .08),
            transparent 45%
        ),
        #f4f7fa;
}

body.light-theme .octek-services-heading > span {
    color: #168dbb;
}

body.light-theme .octek-services-heading h2 {
    color: #101820;
}

body.light-theme .octek-services-heading h2 strong {
    color: #159dcc;
}

body.light-theme .octek-services-heading p {
    color: #586775;
}

body.light-theme .octek-service-content h3 {
    color: #111d28;
}

body.light-theme .octek-service-content p {
    color: #586775;
}

body.light-theme .octek-service-number {
    color: #159dcc;
}

body.light-theme .octek-service-item::after {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(21, 157, 204, .65),
        transparent
    );
}

body.light-theme .octek-services-cta {
    background:
        radial-gradient(
            circle at center,
            rgba(69, 197, 242, .13),
            transparent 65%
        ),
        #eaf1f6;

    border-top: 1px solid rgba(21, 157, 204, .35);
    border-bottom: 1px solid rgba(21, 157, 204, .35);
}

body.light-theme .octek-services-cta > span {
    color: #168dbb;
}

body.light-theme .octek-services-cta h2 {
    color: #101820;
}

body.light-theme .octek-services-cta p {
    color: #586775;
}

body.light-theme .octek-services-contact-btn {
    background: #159dcc;
    color: #ffffff;
}

body.light-theme .octek-services-contact-btn:hover {
    background: transparent;
    color: #159dcc;
    border-color: #159dcc;
}














@media (min-width: 768px) {

    .octek-service-item {
        align-items: center;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .octek-service-image {
        align-self: center;
    }

    .octek-service-image img {
        width: 100%;
        height: auto !important;
    }

}