/*Variables*/
:root {
    --color-text-body: #525260;
    --color-primary: #48aaec;
}

/*Estilos generales*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 10px;
    overflow-x: hidden;
}

body {
    width: 100%;
    height: 100%;
    font-size: 1.6rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-body);
    overflow-x: hidden;
}

/*Estructura*/
.layout {
    width: 100%;
    height: 100%;
}

/*Estilos menu navegacion y cabecera*/
.layout__menu {
    width: 100%;
    padding: 3.5rem 3rem;
    background-color: #ffffff;
    position: relative;
    z-index: 1000;
}

.menu__navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.menu__navbar--fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9999;
    background-color: #ffffff;
    box-shadow: 0px 2px 10px 0 rgba(0, 0, 0, 10%);
    padding: 1.5rem 8rem;
    transition: all 0.3s ease-in-out;
}

.navbar__logo {
    width: auto;
}

.navbar__logo-light {
    max-height: 40px;
}

.nav__list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.nav__item {
    position: relative;
    margin: 0 2.4rem;
}

.nav__title {
    position: relative;
    display: inline-block;
    font-weight: 500;
    color: var(--color-text-body);
    transition: all 300ms ease-in-out;
    padding: 1rem 0;
}

.nav__icon {
    font-size: 1rem;
    font-weight: bold;
    padding-left: 0.5rem;
    vertical-align: middle;
}

.nav__title:hover {
    color: var(--color-primary);
}

.nav__title::before {
    content: "";
    height: 0.2rem;
    width: 0;
    background-color: var(--color-primary);
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    opacity: 0;
    transition: all 300ms ease-in-out;
}

.nav__title:hover::before {
    width: 100%;
    opacity: 1;
}

/* Submenú desplegable */
.nav__submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    padding: 1.5rem 0;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
}

.nav__item:hover .nav__submenu {
    display: block;
}

.submenu__item {
    padding: 0.8rem 2.4rem;
}

.submenu__title {
    display: block;
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--color-text-body);
    transition: all 300ms ease;
}

.submenu__title:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

/* Banner */
.layout__banner {
    position: relative;
    min-height: 50rem;
    margin: 0.3rem;
    padding: 10rem 3rem 10rem 8rem;
    border-radius: 60px;
    overflow: hidden;
    background-color: #f0f2f5;
    display: flex;
    align-items: center;
}

.banner__content {
    position: relative;
    z-index: 10;
    width: 50%;
    padding: 0 1.5rem;
}

.banner__title {
    font-size: 6.4rem;
    font-weight: 700;
    color: #1b1b1b;
    line-height: 1.1;
    margin-bottom: 4rem;
}

.banner__btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 1.8rem 4rem;
    border-radius: 4rem;
    transition: all 300ms ease;
    box-shadow: 0 10px 20px rgba(72, 170, 236, 0.2);
}

.banner__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(72, 170, 236, 0.3);
}

.banner__shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shapes__item {
    position: absolute;
}

/* Animaciones continuas */
@keyframes float {

    0% {
        transform: translateX(0) translateY(0);
    }

    40% {
        transform: translateX(50px) translateY(-200px);
    }

    75% {
        transform: translateX(800px);
    }

    100% {
        transform: translateX(0) translateY(0);
    }
}

@keyframes floatrotate {

    0% {
        transform: translateX(0) translateY(0);
    }

    40% {
        transform: translateX(-50px) translateY(-200px);
    }

    75% {
        transform: translateX(-500px);
    }

    100% {
        transform: translateX(0) translateY(0);
    }
}

/*Animaciones estaticas*/
@keyframes showRight {
    0% {
        transform: translateX(50%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes showLeft {

    0% {
        transform: translateX(-50%);
    }



    100% {
        transform: translateX(0%);
    }
}

@keyframes showTop {

    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0%);
    }
}

.shapes__item--shape1 {
    text-align: right;
    top: -5%;
    right: 0;
    z-index: 3;
    animation: showRight 1s;
}

.shapes__item--shape2 {
    bottom: -10%;
    left: 0;
    z-index: 3;
    animation: showLeft 1s;
}

.shapes__item--shape3 {
    top: 25%;
    left: 45%;
    z-index: 0;
    animation: float 20s infinite;
}

.shapes__item--shape4 {
    bottom: 15%;
    left: 40%;
    z-index: 2;
    animation: float 20s infinite;
}

.shapes__item--shape4 .shapes__img {
    opacity: 0.5;
    width: 7.5rem;
}

.shapes__item--shape5 {
    bottom: 25%;
    left: 60%;
    z-index: 2;
    animation: floatrotate 25s infinite;
}

.shapes__item--shape6 {
    bottom: 10%;
    right: 30%;
    z-index: 2;
    animation: floatrotate 25s infinite;
}

.shapes__item--shape7 {
    top: 0%;
    right: 10rem;
    z-index: 1;
    animation: showTop 1s ease-in-out;
}

.shapes__img {
    max-width: 100%;
    height: auto;
}

/* Servicios */
.layout__services {
    position: relative;
    width: 100%;
    padding: 10rem 3rem;
    background-color: #ffffff;
}

.services__grid {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.services__header {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 450px;
    z-index: 3;
}

.services__subtitle {
    font-size: 1.6rem;
    font-weight: 500;
    color: #e5747e;
    margin-bottom: 1.5rem;
}

.services__title {
    font-size: 5.4rem;
    font-weight: 700;
    color: #2b2b35;
    line-height: 1.1;
}

.services__list {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 3rem;
    width: 100%;
}

.services__service {
    width: 300px;
    background-color: #f9fbff;
    border-radius: 2.5rem;
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 300ms ease;
    z-index: 2;
}

.services__service:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

/* Escalones del diseño */
.services__service--bottom {
    margin-top: 26rem;
}

.services__service--middle {
    margin-top: 13rem;
}

.services__service--top {
    margin-top: 0;
}

.service__container-img {
    width: 6rem;
    flex-shrink: 0;
}

.service__img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.service__content {
    display: flex;
    flex-direction: column;
}

.service__title {
    font-size: 2rem;
    font-weight: 600;
    color: #2b2b35;
    margin-bottom: 1.5rem;
}

.service__link {
    transition: color 300ms ease;
}

.service__link:hover {
    color: var(--color-primary);
}

.service__description {
    font-size: 1.4rem;
    color: var(--color-text-body);
    margin-bottom: 4rem;
    line-height: 1.6;
}

.service__more {
    display: inline-flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: #525260;
    margin-top: auto;
    transition: all 300ms ease;
}

.service__more::before {
    content: "";
    display: block;
    width: 3rem;
    height: 1px;
    background-color: #525260;
    margin-right: 1.5rem;
    transition: all 300ms ease;
}

.service__more:hover {
    color: var(--color-primary);
}

.service__more:hover::before {
    background-color: var(--color-primary);
    width: 4rem;
}

/* Formas y fondos de la seccion */
.services__service-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.service-shapes__item {
    position: absolute;
}

.service-shapes--shape1 {
    top: -10%;
    right: 5%;
    opacity: 0.6;
    width: 70rem;
}

.service-shapes--shape2 {
    top: 12%;
    right: 40%;
    width: 12rem;
}

.service-shapes--shape3 {
    top: 40%;
    left: 10%;
    width: 8rem;
}

.services-shapes__img {
    max-width: 100%;
    height: auto;
}

/* Proyectos */
.layout__projects {
    position: relative;
    width: 100%;
    padding: 10rem 3rem;
    background-color: #f4f7fc;
    overflow: hidden;
}

.projects__grid {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.projects__header {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.projects__subtitle {
    font-size: 1.6rem;
    font-weight: 500;
    color: #e5747e;
    margin-bottom: 1.5rem;
}

.projects__title {
    font-size: 5.4rem;
    font-weight: 700;
    color: #2b2b35;
    line-height: 1.1;
}

.projects__categories {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    margin-bottom: 6rem;
    position: relative;
    z-index: 2;
}

.categories__item {
    font-size: 1.6rem;
    font-weight: 600;
    color: #525260;
    cursor: pointer;
    padding-bottom: 1rem;
    transition: all 300ms ease;
    position: relative;
}

.categories__item:hover {
    color: var(--color-primary);
}

.categories__item:first-child {
    color: #2b2b35;
}

.categories__item:first-child::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}

.projects__all {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.projects__project {
    width: calc(50%-3.5rem);
    background-color: #ffffff;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 300ms ease;
}

.projects__project:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.project__container-img {
    width: 100%;
    height: 40rem;
    overflow: hidden;
}

.project__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.projects__project:hover .project__img {
    transform: scale(1.05);
}

.project__content {
    padding: 3.5rem 3rem;
}

.project__title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project__link-title {
    color: #2b2b35;
    transition: color 300ms ease;
}

.project__link-title:hover {
    color: var(--color-primary);
}

.project__tags {
    font-size: 1.4rem;
    font-weight: 500;
    color: #525260;
}

.projects__project-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.project-shapes__item {
    position: absolute;
}

.project-shapes--shape1 {
    top: 5%;
    left: 40%;
    width: 50rem;
    opacity: 0.6;
}

.project-shapes--shape2 {
    top: 25%;
    left: 60%;
    width: 10rem;
}

.project-shapes--shape3 {
    top: 60%;
    right: 5%;
    width: 6rem;
}

.project-shapes__img {
    max-width: 100%;
    height: auto;
}


/* Contacto */
.layout__contact {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 0;
    padding-top: 14rem;
    padding-bottom: 10rem;
}

.layout__contact::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 60rem;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    z-index: -1;
}

.contact__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.contact__header {
    margin-bottom: 6.5rem;
    text-align: center;
}

.contact__subtitle {
    display: inline-block;
    font-size: 2rem;
    font-weight: 500;
    color: #1b1b1b;
    margin-bottom: 1.5rem;
}

.contact__title {
    font-size: 5.4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 4rem;
}

.contact__btn {
    display: inline-block;
    background-color: #ffffff;
    color: var(--color-primary);
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1.8rem 4rem;
    border-radius: 4rem;
    transition: all 300ms ease;
}

.contact__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact__images {
    position: relative;
    text-align: center;
    border-bottom: 1px solid #d5d5e4;
}

.contact__thumb {
    display: inline-block;
    bottom: 0;
}

.contact__thumb-chat {
    margin-right: -18rem;
    margin-bottom: -0.8rem;
}

.contact__thumb-laptop {
    position: absolute;
    bottom: 0;
    left: 16rem;
}

.contact__thumb-mobile {
    position: absolute;
    bottom: 0;
    right: 8rem;
}


.contact__img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.contact__backshapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.backshapes__item {
    position: absolute;
}

.backshapes--shape1 {
    top: 0;
    left: 32%;
}

.backshapes--shape2 {
    top: 50%;
    right: 20%;
    width: 15rem;
    opacity: 0.8;
    animation: float 20s infinite
}

.backshapes--shape3 {
    bottom: 30%;
    left: 25%;
    width: 6rem;
    opacity: 0.4;
    animation: float 25s infinite
}

.backshapes--shape4 {
    top: 15%;
    right: 30%;
    width: 4rem;
    opacity: 0.9;
    animation: floatrotate 15s infinite
}

.backshapes--shape5 {
    bottom: 10%;
    right: 10%;
    width: 8rem;
    opacity: 0.3;
    animation: floatrotate 20s infinite
}

.backshapes--shape6 {
    bottom: 32%;
    right: 45%;
    width: 8rem;
    opacity: 0.3;
    animation: float 30s infinite
}

.backshapes--shape7 {
    bottom: 77%;
    right: 77%;
    opacity: 0.3;
    animation: floatrotate 14s infinite
}

.backshapes__img {
    max-width: 100%;
    height: auto;
}


/* Footer */
.layout__footer {
    background-color: #ffffff;
    padding: 0rem 3rem 2rem;
    color: #525260;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer__top {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 3rem;
    margin-bottom: 4rem;
}

.footer__social {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.social__link {
    font-size: 4rem;
    color: #a0a0a0;
    transition: color 300ms ease;
}

.social__link:hover {
    color: var(--color-primary);
}

.footer__main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer__fleft {
    width: 40%;
}

.fleft__title {
    font-size: 4.2rem;
    font-weight: 700;
    color: #2b2b35;
    margin-bottom: 2rem;
}

.fleft__subtitle {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.fleft__form {
    width: 100%;
    max-width: 400px;
}

.fleft__group {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4rem;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
}

.fleft__mali-icon {
    color: #a0a0a0;
    margin-right: 1rem;
    font-size: 1.4rem;
}

.fleft__form-control {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.4rem;
    color: #525260;
    background: transparent;
}

.fleft__btn {
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 4rem;
    font-weight: 600;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background-color 300ms ease;
}

.fleft__btn:hover {
    background-color: #1a56db;
}

.footer__fright {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    width: 50%;
    justify-content: space-between;
}

.widget__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2b2b35;
    margin-bottom: 2.5rem;
}

.widget__item {
    margin-bottom: 1.5rem;
}

.widget__link {
    font-size: 1.5rem;
    color: #525260;
    transition: color 300ms ease;
}

.widget__link:hover {
    color: var(--color-primary);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e0e0e0;
    padding-top: 3rem;
    font-size: 1.4rem;
}

.footer__flinks {
    display: flex;
    gap: 3rem;
}

.flinks__title {
    transition: color 300ms ease;
}

.flinks__title:hover {
    color: var(--color-primary);
}

/*Navegacion de responsive*/
.navbar__mobile-btn {
    display: none;
}

.mobile-btn__wrap {
    height: 5rem;
    width: 5rem;
    background-color: var(--color-text-body);
    border: none;
    border-radius: 3.2rem;
    cursor: pointer;
    transition: all 300ms ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-btn__line {
    width: 2rem;
    height: 0.2rem;
    background-color: whitesmoke;
    margin-bottom: 0.4rem;
    border-radius: 1rem;
    transition: all 300ms ease-in-out;
}

.mobile-btn__line:last-child {
    width: 1rem;
    margin-bottom: 0;
    margin-right: -1rem;
}

/* EL CONTENEDOR DEL MENÚ MÓVIL */
.menu-mobile {
    visibility: hidden;
    opacity: 0;
    transform: translateX(-100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    /* Z-index altísimo para que tape TODO, incluso el banner */
    width: 30rem;
    height: 100%;
    background-color: whitesmoke;
    padding: 5rem 1rem 0;
    box-shadow: 0px 0px 85px -35px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    transition: all 400ms ease-in-out;
}

/* CLASE PARA MOSTRAR EL MENÚ MÓVIL */
.menu-mobile--show {
    visibility: visible;
    opacity: 1;
    transform: translateX(0%);
}

.menu-mobile__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 1rem;
    padding: 2rem 0;
    border-bottom: 1px solid gray;
}

.menu-mobile__container-logo {
    width: 15rem;
}

.menu-mobile__close {
    background-color: transparent;
    height: 3rem;
    width: 3rem;
    border: 2px solid var(--color-text-body);
    border-radius: 1rem;
    color: var(--color-text-body);
    font-size: 1.6rem;
    cursor: pointer;
}

.menu-mobile__list {
    display: block;
    height: 100%;
    overflow: auto;
}

.menu-mobile__item {
    position: relative;
    border-bottom: 1px solid gray;
    margin: 0 1rem;
}

/* ENLACES PRINCIPALES DEL MENÚ MÓVIL */
.menu-mobile__link,
.submenu-mobile__link,
.menu-mobile__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
    line-height: 5rem;
    color: var(--color-text-body);
    font-weight: 500;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 0 1rem;
    width: 100%;
}

.nav__icon {
    font-size: 1.4rem;
}

/* SUBMENÚ MÓVIL OCULTO */
.menu-mobile__submenu-mobile {
    display: none;
    /* Oculto por defecto */
    min-width: 100%;
    padding: 0;
    padding-bottom: 1rem;
}

/* CLASE PARA MOSTRAR EL SUBMENÚ MÓVIL AL HACER CLIC */
.menu-mobile__submenu-mobile--show {
    display: block !important;
    /* El !important fuerza la visibilidad sin importar nada más */
}

/* ESTILO DE LOS ENLACES DENTRO DEL SUBMENÚ */
.menu-mobile__submenu-mobile .submenu-mobile__link {
    height: auto;
    line-height: normal;
    padding: 1.5rem 2rem;
    /* Sangría a la izquierda para que parezca submenú */
    font-size: 1.4rem;
    border-bottom: none;
}

/*Terminos de uso*/
.layout__legal {
    padding: 15rem 3rem 10rem;
    background-color: #ffffff;
}

.legal__container {
    max-width: 800px;
    margin: 0 auto;
}

.legal__title {
    font-size: 5.4rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.legal__date {
    font-size: 1.5rem;
    color: #717171;
    margin-bottom: 5rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 2rem;
}

.legal__content h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #111111;
    margin-top: 5rem;
    margin-bottom: 2rem;
}

.legal__content p {
    font-size: 1.7rem;
    color: #444444;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* PLANTILLA CASOS DE ESTUDIO */
.layout__case {
    background-color: #ffffff;
}


.case__hero {
    display: flex;
    width: 100%;
    min-height: 60vh;
    background-color: #031d38;
    margin-top: 0rem;
}

.case__hero-content {
    width: 50%;
    padding: 10rem 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case__hero-title {
    font-size: 5.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2.5rem;
    line-height: 1.1;
}

.case__hero-subtitle {
    font-size: 1.8rem;
    color: #ffffff;
    line-height: 1.6;
    max-width: 90%;
    opacity: 0.9;
}

.case__hero-imagebox {
    width: 50%;
}

.case__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.case__intro {
    padding: 10rem 3rem;
    background-color: #ffffff;
}

.case__intro-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.case__intro-text {
    font-size: 2.6rem;
    color: #111111;
    line-height: 1.5;
    font-weight: 400;
}


.case__help,
.case__whatwedo {
    padding: 6rem 3rem 10rem;
    border-top: 1px solid #e0e0e0;
}

.case__container {
    max-width: 1200px;
    margin: 0 auto;
}

.case__section-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    display: block;
}

.case__help-grid,
.case__whatwedo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6rem;
}

.case__whatwedo-intro {
    margin-bottom: 1rem;
}

.case__help-title,
.case__whatwedo-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: color 300ms ease;
}

.case__help-link:hover .case__help-title {
    color: var(--color-primary);
}

.case__help-title i {
    font-size: 1.4rem;
    color: var(--color-primary);
}

.case__help-desc,
.case__whatwedo-desc {
    font-size: 1.6rem;
    color: #444444;
    line-height: 1.7;
}

.case__whatwedo {
    background-color: #f9f9f9;
}

/* ==========================================
   ESTILO MCKINSEY FULL (Business Analytics)
   ========================================== */
.layout__service-full {
    background-color: #ffffff;
}

/* 1. Hero Full Width */
.service-full__hero {
    width: 100%;
    height: 70vh;
    /* Ocupa el 70% de la altura de la pantalla */
    background-image: url('../img/project-3.jpg');
    /* Cambia por tu imagen */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Efecto Parallax opcional */
    margin-top: 10rem;
}

.service-full__hero-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 8rem 5%;
}

.service-full__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero__back-btn {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.8;
    transition: opacity 300ms;
}

.hero__back-btn:hover {
    opacity: 1;
}

.service-full__title {
    font-size: 7rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

/* 2. Intro Descriptiva */
.service-full__intro {
    padding: 10rem 3rem;
}

.service-full__intro-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro__lead-text {
    font-size: 3.2rem;
    color: #111111;
    line-height: 1.4;
    margin-bottom: 4rem;
    font-weight: 400;
}

.intro__body-text {
    font-size: 1.8rem;
    color: #444444;
    line-height: 1.8;
}

/* 3. Qué hacemos (Grid de 4 columnas) */
.service-full__whatwedo {
    padding: 8rem 3rem;
    border-top: 1px solid #eeeeee;
}

.service-full__container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-full__section-label {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 6rem;
    text-align: center;
}

.whatwedo-full__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}

.whatwedo-full__item p {
    font-size: 1.8rem;
    color: #111111;
    line-height: 1.5;
    font-weight: 500;
}

/* 4. Ejemplos de Trabajo */
.service-full__examples {
    padding: 10rem 3rem;
    background-color: #fcfcfc;
}

.examples__hero-imgbox {
    width: 100%;
    height: 500px;
    margin-bottom: 6rem;
    overflow: hidden;
}

.examples__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.examples__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}

.examples__title {
    font-size: 2rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.examples__desc {
    font-size: 1.5rem;
    color: #666666;
    line-height: 1.6;
}

/* Servicios paginas*/
.layout__analytics {
    background-color: #ffffff;
}


.analytics__hero {
    display: flex;
    width: 100%;
    min-height: 60vh;
    margin-top: 0;
}

.analytics__hero-content {
    width: 50%;
    background-color: #031d38;
    padding: 10rem 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.analytics__hero-title {
    font-size: 6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    font-family: 'Times New Roman', Times, serif;
}

.analytics__hero-subtitle {
    font-size: 2rem;
    color: #ffffff;
    line-height: 1.6;
    max-width: 90%;
    opacity: 0.9;
}

.analytics__hero-imagebox {
    width: 50%;
}

.analytics__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.analytics__intro {
    padding: 12rem 3rem 8rem;
}

.analytics__intro-container {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}

.analytics__intro-title {
    font-size: 3.2rem;
    font-weight: 400;
    color: #111111;
    line-height: 1.4;
    margin-bottom: 4rem;
}

.analytics__intro-desc {
    font-size: 1.8rem;
    color: #444444;
    line-height: 1.8;
}

.analytics__whatwedo {
    padding: 6rem 3rem 12rem;
}

.analytics__whatwedo-container {
    max-width: 1200px;
    margin: 0 auto;
}

.analytics__section-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 8rem;
}

.whatwedo__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6rem 4rem;
}

.whatwedo__item {
    border-top: 1px solid #111111;
    padding-top: 2rem;
}

.whatwedo__item p {
    font-size: 1.8rem;
    color: #111111;
    line-height: 1.5;
}