@font-face {
    font-family: 'Manrope';

    src: url('../fonts/Manrope-Regular.ttf') format('truetype');

    font-weight: 400;
    font-style: normal;
}

:root {

    /* =========================
     COLORES PRINCIPALES
  ========================= */
    --color-primary: #1c1c1c;
    --color-secondary: #f5f5f5;
    --color-accent: #6e6e6e;
    --color-light: #b9b9b9;

    /* =========================
     COLORES DE TEXTO
  ========================= */
    --text-primary: #1c1c1c;
    --text-secondary: #f5f5f5;
    --text-dark: #1a1a1a;

    /* =========================
     FONDOS
  ========================= */
    --bg-main: #31312f;
    --bg-card: #1c1c1c;
    --bg-light: #f5f5f5;
    --bg-gray: #e4e4e4;
    --bg-white: #ffffff;
    --bg-soft: #f1f1f1;

    /* =========================
     GRADIENTES
  ========================= */
    --gradient-dark:
        linear-gradient(to top,
            rgb(40, 40, 39) 100px,
            rgba(0, 0, 0, 0.85));

    --gradient-primary:
        linear-gradient(135deg,
            #0066ff,
            #00bfff);

    /* =========================
     TIPOGRAFÍA
  ========================= */
    --font-main: 'Manrope', sans-serif;

    /* =========================
     TAMAÑOS DE TEXTO
  ========================= */
    --fs-xxs: clamp(0.6rem, 0.55rem + 0.1vw, 0.65rem);
    --fs-xs: clamp(0.7rem, 0.65rem + 0.2vw, 0.75rem);
    --fs-sm: clamp(0.8rem, 0.75rem + 0.2vw, 0.875rem);
    --fs-md: clamp(0.95rem, 0.9rem + 0.25vw, 1rem);
    --fs-lg: clamp(1.1rem, 1rem + 0.6vw, 1.25rem);
    --fs-xl: clamp(1.8rem, 1.4rem + 2vw, 2rem);
    --fs-xxl: clamp(2.5rem, 2rem + 3vw, 3rem);
    --fs-xxxl: clamp(3rem, 2.5rem + 4vw, 4rem);
    --fs-xxxxl: clamp(7rem, 6.5rem, 9rem);

    /* =========================
     ESPACIADOS
  ========================= */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 32px;
    --space-xl: 64px;

    /* =========================
     BORDES
  ========================= */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;

    /* =========================
     SOMBRAS
  ========================= */
    --shadow-sm:
        0 2px 4px rgba(0, 0, 0, 0.2);

    --shadow-md:
        0 6px 18px rgba(0, 0, 0, 0.3);

    --shadow-lg:
        0 12px 32px rgba(0, 0, 0, 0.45);

    /* =========================
     TRANSICIONES
  ========================= */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s ease;
    --transition-slow: 0.6s ease;

    /* =========================
     Z-INDEX
  ========================= */
    --z-dropdown: 100;
    --z-fixed: 500;
    --z-modal: 1000;
    --z-loader: 9999;
}

#pageLoader {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 999999;

    overflow: hidden;

    transition:
        opacity 1.5s ease,
        visibility 1.5s ease;
}

#pageLoader img {
    width: 100%;
    max-width: 300px;
    object-fit: contain;
    filter: blur(18px);

    /* MAS RAPIDA */
    animation: clearBlur 2.4s ease forwards;
}

/* PRIMER DIV OCULTO */
#inicio {
    opacity: 0;

    transition:
        opacity 1.2s ease,
        transform 1.2s ease;

    transition-delay: 1s;
}

/* CUANDO APARECE */
#inicio.show {
    opacity: 1;
}

/* BLUR */
@keyframes clearBlur {

    0% {
        filter: blur(18px);
        opacity: .2;
        transform: scale(1.05);
    }

    60% {
        filter: blur(3px);
        opacity: .9;
    }

    100% {
        filter: blur(0px);
        opacity: 1;
        transform: scale(1);
    }
}

/* OCULTAR */
#pageLoader.hide {
    opacity: 0;
    visibility: hidden;
}

* {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

.container {
    padding-left: 2rem;
    padding-right: 2rem;
}

.one {
    width: 100%;
    height: 100vh;
    position: relative;
    padding: 30px;
    box-sizing: border-box;
}

.one_proyectos {
    padding: 30px;
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-light));

}

.video_container {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    overflow: hidden;
    z-index: -1;
    padding: 30px;
    box-sizing: border-box;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(49, 49, 47, 1);
    background: linear-gradient(to top, rgb(40, 40, 39) 200px, rgba(0, 0, 0, 0.90));
    pointer-events: none;
    filter: opacity(0.95);
    z-index: -1;
}

#header {
    position: fixed;
    width: 100%;
    padding: 24px 40px;
    transition:
        padding 0.4s ease,
        background-color 0.4s ease,
        backdrop-filter 0.4s ease;

}

#header.scrolled .logo img {
    transform: scale(0.75);
}

#header {
    width: calc(100% - 60px);
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    padding: 0 30px;
    box-sizing: border-box;
    z-index: 50;
    transition: all 0.4s ease;
    border-radius: 25px;
}

.wrap_header {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    width: 250px;
}

.logo img {
    width: 100%;
    transition:
        transform 0.4s ease,
        width 0.4s ease;

}

.logo-full {
    display: block;
    max-width: 200px;
    background: #151515;
    padding: 12px 25px;
    border-radius: 25px;
    transition: all 0.4s ease;
}

.logo-icon {
    display: none;
    max-width: 100px;
    transition: all 0.4s ease;
    box-sizing: border-box;
}


.lazy-show {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 1s ease,
        transform 1s ease;
}

.lazy-show.active {
    opacity: 1;
    transform: translateY(0);
}

.menu {
    display: flex;
    gap: .5rem;
}

.txt_one {
    display: flex;
    max-width: 750px;
    padding: 30px 0px;
    color: white;
    font-size: 3.750rem;
    line-height: 0.98em;
    font-weight: 500;
    text-transform: uppercase;
}

.button_text {
    position: relative;
    overflow: hidden;

    flex: none;
    justify-content: center;
    align-items: center;
    display: flex;

    padding: 12px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;

    background-color: var(--color-primary);
    color: white;

    font-size: clamp(8px, 15px, 15px);

    transition:
        color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;

    /* sombra tenue */
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.12),
        0 2px 4px rgba(0, 0, 0, 0.08);
}

/* texto encima de la animación */
.button_text span {
    position: relative;
    z-index: 2;
}

.button_text a {
    color: inherit;
    text-decoration: none;
}

/* capa animada */
.button_text::before {
    content: "";
    position: absolute;

    top: -100%;
    left: 0;

    width: 100%;
    height: 100%;
    background: #dcdcdc;
    transition: top .3s ease;
    z-index: 1;
}

/* hover */
.button_text:hover::before {
    top: 0;
}

.button_text:hover {
    color: black;

    /* efecto más premium */
    transform: translateY(0px);
    background-color: floralwhite;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.12);
}

.button_text_gray {
    background-color: var(--bg-gray);
    color: var(--text-dark);
    border-radius: 25px;
}

.button_text_gray:hover {
    color: var(--color-secondary);
    background-color: var(--color-primary);
}

.yellow {
    background-color: #dafb71;
    color: #31312f;
}

.video_container video {
    object-fit: cover;
    z-index: -100;
    background-position: 50%;
    background-size: cover;
    width: 100%;
    height: 100%;
    margin: auto;
    position: absolute;
    inset: -100%;
}

.cookies {
    z-index: 15;
    justify-content: flex-start;
    align-items: flex-end;
    display: flex;
    position: fixed;
    top: auto;
    bottom: 2rem;
    left: 2rem;
    overflow: hidden;
}

.hero_cookies {
    grid-column-gap: 4rem;
    grid-row-gap: 4rem;
    background-color: var(--bg-main);
    color: var(--text-secondary);
    border-radius: .5rem;
    flex: none;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1rem .75rem .875rem;
    display: flex;
    overflow: hidden;
    box-shadow: 0 2px 15px #00000026;
    font-size: var(--fs-xs);
    transition: .3s ease;
}

.hero_cookies a {
    color: var(--text-secondary);
    text-decoration: underline;
}

/* =========================
   HERO APPLE STYLE
========================= */

.hero-section {
    display: flex;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center,
            rgba(255, 255, 255, 0.06),
            transparent 70%);
    filter: blur(40px);
    animation:
        glowMove 8s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 50.3rem;
    z-index: 2;
}

.hero-content h1 {
    font-size: var(--fs-xxl);
    line-height: .95;
    font-weight: 500;
    max-width: 1000px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    padding-top: 80px;
}

.hero-text {
    position: absolute;
    top: 200px;
    width: 100%;
    text-align: center;
    font-size: var(--fs-xxxl);
    text-align: left;
    line-height: var(--fs-xxxl);
    color: var(--text-secondary);
    opacity: 0;
    filter: blur(10px);
    transform:
        translateY(0px) scale(.96);
    transition:
        opacity 1.8s ease,
        transform 1.8s cubic-bezier(.22, 1, .36, 1),
        filter 1.8s ease;
    /*   text-transform: uppercase; */
}

/* ACTIVE */

.hero-text.active {
    opacity: 1;

    filter: blur(0px);

    transform:
        translateY(0) scale(1);
}

.scroll_arrow {
    position: absolute;
    width: calc(100% - 60px);
    display: flex;
    justify-content: flex-end;
    bottom: 30px;
    opacity: .3;
}

.explore {
    width: 120px;
    animation: shakeScrollArrow 1.5s ease-in-out 4 alternate;
    /* 3 repeticiones alternadas */
    animation-iteration-count: infinite;
    /* Hace que se repita infinitamente */
    animation-delay: 1s;
    /* Pausa entre cada ciclo */
}

@keyframes shakeScrollArrow {
    0% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(8px);
        /* Vuelve a la posición original */
    }
}

/* GLOW ANIMATION */

@keyframes glowMove {

    0% {
        transform:
            scale(1) translateY(-20px);
    }

    100% {
        transform:
            scale(1.2) translateY(20px);
    }

}

.two {
    width: 100%;
    background: var(--bg-light);
    background: linear-gradient(to bottom,
            var(--bg-white),
            var(--bg-light));
    padding-top: 80px;
}

.services-section {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 120px 40px;
    box-sizing: border-box;
}

.services-section_project {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 100px 40px;
    box-sizing: border-box;
}

.services-header {
    margin-bottom: 80px;
    display: flex;
    justify-content: flex-start;
    gap: 100px
}

.services-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}



.services-header h2 {
    font-size: clamp(3rem, 9vw, 8rem);
    line-height: .95;
    font-weight: 500;
    max-width: 1000px;
}

.serv-color {
    color: var(--color-accent);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    transition: .4s ease;
    cursor: pointer;
}

.service-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.service-item:hover {
    padding-left: 20px;
}

.service-number {
    font-size: .9rem;
    padding-top: 8px;
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.service-top h3 {
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 400;
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--bg-gray);
    transition: .3s ease;
}

.service-item:hover .service-icon {
    background: var(--color-primary);
    color: var(--text-secondary);
    transform: rotate(90deg);
}

.service-content p {
    max-width: 700px;
    color: var(--color-accent);
    font-size: 1rem;
    line-height: 1.8;

    max-height: 0;
    overflow: hidden;
    opacity: 0;

    transition:
        max-height .5s ease,
        opacity .3s ease;
}

.service-item.active .service-content p {
    max-height: 300px;
    opacity: 1;
}

.service-item.active .service-icon {
    background: var(--color-primary);
    color: var(--text-secondary);
    transform: rotate(0deg);
}

.cross-icon {
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    position: relative;
    min-width: 20px;
    margin-bottom: 20px;
}

.cross-icon::before,
.cross-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
}

.cross-icon::before {
    width: 9px;
    height: 1.5px;
}

.cross-icon::after {
    width: 1.5px;
    height: 9px;
}

.icon {
    display: flex;
    align-items: center;
    gap: 20px;
}

.three {
    width: 100%;
    background: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.wrap_three {
    width: 100%;
    box-sizing: border-box;
    border-radius: 20px;
    max-width: 1400px;
    margin: auto;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.three img {
    width: 100%;
    height: auto;
    max-width: 800px;
}

.project {
    width: 100%;
    height: 400px;
    background-color: var(--bg-white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
    filter: grayscale(1);
    transition: .3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.project:hover {
    transform: scale(1.01);
    transition: .3s ease;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
    filter: grayscale(0);
}

.project img {
    max-width: 300px;
}

.info_project {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 70%;
    align-items: flex-start;
    padding-right: 20px;
}

.imagen_project {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.imagen_project img {
    width: 100%;
    height: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 20px;
}

.hidden-project {
    display: none;
}

.btn-projects {
    width: 100%;
    display: flex;
    justify-content: center;
}

#toggleProjects {
    padding: 14px 32px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    transition: .3s ease;
    border: solid 1px black;
    border-radius: 25px;
}

#toggleProjects:hover {
    background: var(--bg-gray);
    border: solid 1px var(--bg-gray);
}

.four {
    background: linear-gradient(to bottom, var(--bg-light),
            var(--bg-white));
}

.clients-slider-section {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.slider-track {
    display: flex;
    width: calc(220px * 12);
    animation: infiniteScroll 30s linear infinite;
}

.slide {
    width: 220px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
    margin: 0 20px;
}

.slide img {
    width: 100%;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: .3s ease;
}

.slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes infiniteScroll {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-220px * 6));
    }

}

.clients-slider-section::before,
.clients-slider-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 180px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

/* IZQUIERDA */
.clients-slider-section::before {
    left: 0;
    background: linear-gradient(to right,
            #ffffff 0%,
            rgba(255, 255, 255, 0) 100%);
}

/* DERECHA */
.clients-slider-section::after {
    right: 0;
    background: linear-gradient(to left,
            #ffffff 0%,
            rgba(255, 255, 255, 0) 100%);
}


/* details */
.projects_filters {
    width: 100%;

    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;

    flex-wrap: wrap;
}

.button_text_details {
    position: relative;
    overflow: hidden;

    flex: none;
    justify-content: center;
    align-items: center;
    display: flex;

    padding: 12px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;

    background-color: var(--color-secundary);
    border: solid 1px black;
    color: black;

    font-size: clamp(8px, 15px, 15px);

    transition:
        color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

/* texto encima de la animación */
.button_text_details span {
    position: relative;
    z-index: 2;
}

/* capa animada */
.button_text_details::before {
    content: "";
    position: absolute;

    top: -100%;
    left: 0;

    width: 100%;
    height: 100%;
    background: var(--color-secondary);
    transition: top .3s ease;
    z-index: 1;
}

/* hover */
.button_text:hover::before {
    top: 0;
}

.button_text_details:hover {
    color: rgb(255, 255, 255);

    /* efecto más premium */
    transform: translateY(0px);
    background-color: var(--color-primary);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.12);
}

/* activo */

.button_text_details.active {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.button_text_details.active::before {
    display: none;
}

/* responsive */

@media (max-width: 768px) {

    .projects_filters {
        justify-content: flex-start;
    }

    .filter_button {
        height: 46px;
        padding: 0 20px;
        font-size: 14px;
    }

}

/* cards */
.projects_grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 80px 40px;
    box-sizing: border-box;
}

.project_card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--bg-soft);
    text-decoration: none;
    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.project_card:hover {
    transform: translateY(0px);
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* filtro animación */

.project_card {
    opacity: 1;
    transform: scale(1);
    transition:
        opacity .45s ease,
        transform .45s ease,
        scale .45s ease;
}

.project_card.hide {
    opacity: 0;
    transform: scale(.92);
    pointer-events: none;
}

.project_card.show {
    opacity: 1;
    transform: scale(1);
}

.project_image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.project_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition:
        transform .8s ease,
        opacity .4s ease;
}

.project_card:hover img {
    transform: scale(1.06);
}

.project_content {
    padding: 26px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.project_info span {
    font-size: 14px;
    color: rgba(0, 0, 0, .45);
}

.project_info h3 {
    font-size: 22px;
    font-weight: 500;
    color: black;

    margin-top: 10px;
}

.project_arrow {
    position: relative;
    overflow: hidden;

    width: 58px;
    height: 58px;
    min-width: 58px;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    background: black;
    color: white;

    font-size: 24px;

    transition:
        transform .4s ease,
        rotate .4s ease,
        background .4s ease;
}

.project_card:hover .project_arrow {
    transform: scale(1.08);
    rotate: -45deg;

    background: var(--color-primary);
}

.five {
    width: 100%;
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-light));
}

.faq-section {
    width: 100%;
    padding: 120px 40px;
    box-sizing: border-box;
}

.faq-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-item {
    width: 100%;
    border-bottom: solid 1px rgba(0, 0, 0, .1);
    padding-bottom: 20px;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 20px;
}

.faq-question h3 {
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 400;
}

.faq-icon {
    font-size: 26px;
    transition: .3s ease;
    border-radius: 50px;
    padding: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 1px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: .4s ease;
}

.faq-answer p {
    padding-top: 20px;
    max-width: 900px;
    line-height: 1.7;
    color: var(--color-accent);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.six {
    width: 100%;
    background: linear-gradient(to bottom,
            var(--bg-light), var(--bg-gray));
}

.contact-section {
    width: 100%;
    padding: 120px 40px;
    display: flex;
    justify-content: space-between;
    gap: 80px;
    box-sizing: border-box;
}

.contact-left,
.contact-right {
    width: 50%;
    position: relative;
}

.contact-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-tag {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact-left h2 {
    line-height: 1;
    margin-bottom: 30px;
    max-width: 600px;
}

.contact-left p {
    max-width: 520px;
    line-height: 1.7;
    color: #666;
    font-size: 16px;
}

.contact-form {
    width: 100%;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 30px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.form-group {
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: none;
    border-bottom: solid 1px rgba(0, 0, 0, .1);
    padding: 18px 0;
    background: transparent;
    font-size: var(--fs-md);
    outline: none;
    resize: none;
    font-family: inherit;
    transition: .3s ease;
}

.form-group textarea {
    min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom: solid 1px #000;
}

.contact-btn {
    margin-top: 20px;
    width: fit-content;
    padding: 14px 30px;
    border-radius: 30px;
    background: transparent;
    cursor: pointer;
    transition: .3s ease;
    font-size: 14px;
    letter-spacing: 1px;
    background: var(--color-primary);
    color: var(--color-secondary);
    border: none;
}

.contact-btn:hover {
    background: var(--color-accent);
    color: var(--color-secondary);
}

.footer {
    width: 100%;
    background: linear-gradient(to bottom, var(--bg-gray), var(--bg-white));
    display: flex;
    justify-content: center;
}

.footer_info {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 20px;
}

.footer_info img {
    width: 200px;
}

.footer_info p {
    color: var(--color-accent);
    font-size: var(--fs-xs);
}

.footer_text {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.footer_text_bigger {
    font-size: var(--fs-xl);
    font-weight: 500;
}

.black {
    color: var(--color-primary);
}

.success-message,
.error-message{
    display: none;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 500;
    animation: fade .4s ease;
}

.success-message{
    color: #16a34a;
}

.error-message{
    color: #dc2626;
}

@keyframes fade{

    from{
        opacity: 0;
        transform: translateY(10px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }

}

.case_study_section {
    width: 100%;
    padding: 160px 40px 120px;
    background: var(--bg-light);
    box-sizing: border-box;
}

.case_study_header {
    width: 100%;
    max-width: 1400px;
    margin: auto;

    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 60px;
    align-items: center;
}

.case_label {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 999px;

    background: rgba(0, 0, 0, .06);

    font-size: 14px;
    margin-bottom: 25px;
}

.case_study_left h1 {
    font-size: clamp(4rem, 7vw, 8rem);
    line-height: .9;
    font-weight: 500;
    margin-bottom: 25px;
}

.case_study_left p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-accent);
    margin-bottom: 40px;
}

.case_meta {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 18px;

    margin-bottom: 40px;
}

.meta_item {
    display: flex;
    justify-content: space-between;

    padding-bottom: 18px;

    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.meta_item span {
    color: rgba(0, 0, 0, .5);
}

.meta_item strong {
    font-weight: 600;
}

.case_buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: flex-start;
    padding: 40px;
}

.breadcrumbs {
    display: flex;
    gap: 14px;
    color: rgba(0, 0, 0, .45);
    font-size: var(--fs-sm);
    margin-bottom: 10px;
}

.tag {
    color: var(--color-accent);
    font-size: 22px;
    margin-bottom: 20px;
}

h1 {
    font-size: 88px;
    line-height: 1;
    margin-bottom: 30px;
    font-weight: 500;
}

.description {
    font-size: var(--fs-sm);
    line-height: 1.6;
    color: var(--color-accent);
    max-width: 700px;
    margin-bottom: 30px;
}

.info {
    width: 100%;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
    font-size: var(--fs-md);
}

.info-item span:first-child {
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-item a {
    text-decoration: none;
    color: #6dae98;
}

.smarter a {
    color: #00589e;
}

.rito a {
    color: #23274d;
}

.qualitypost a {
    color: #FF0000;
}

.solistica a {
    color: #202c52;
}

.chemisette a {
    color: #8e005a;
}

.buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn {
    margin-top: 20px;
    width: 100%;
    max-width: 50%;
    padding: 14px 30px;
    border-radius: 30px;
    background: transparent;
    cursor: pointer;
    font-size: var(--fs-xs);
    line-height: var(--fs-xs);
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}

.btn-dark {
    background: #000;
    color: #fff;
}

.btn-light {
    border: 1px solid #222;
    color: #111;
}

/* RIGHT */

.project-preview {
    position: relative;
}

.main-image {
    background: #e9e9e9;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.1);
    max-height: 50vh;
}

.main-image img {
    width: 100%;
    border-radius: 30px;
    transform: rotate(-5deg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, .3);

    transition:
        opacity .45s ease,
        transform .6s ease;
}

.main-image img.change {
    opacity: 0;
    transform: rotate(-3deg) scale(.96);
}

.expand {
    position: absolute;
    right: 20px;
    bottom: 140px;

    width: 70px;
    height: 70px;

    background: #fff;
    border-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    font-size: 22px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);

    transition: .3s;
}

.expand:hover {
    transform: scale(1.08);
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.thumb {
    background: var(--color-light);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: .3s;
    max-height: 100px;
    min-height: 100px;
    position: relative;
}

.thumb:hover {
    transform: translateY(-3px);
}

.thumb.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.thumb.active::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: solid 4px var(--color-white);
    pointer-events: none;
}

.thumbs img {
    width: 100%;
    overflow: block;
}

.hide {
    background:var(--text-light);
    cursor:auto
}

.image-modal {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, .92);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;

    opacity: 0;
    visibility: hidden;

    transition: .4s ease;
}

/* ACTIVO */

.image-modal.show {
    opacity: 1;
    visibility: visible;
}

/* IMAGEN MODAL */

.image-modal img {
    width: auto;
    height: 80vh;
    max-width: 1500px;
    border-radius: 25px;
    transform: scale(.8);
    transition: .4s ease;
}

/* ANIMACION */

.image-modal.show img {
    transform: scale(1);
}

/* CLOSE */

.close-modal {
    position: absolute;

    top: 30px;
    right: 30px;

    width: 65px;
    height: 65px;

    border: none;
    border-radius: 18px;

    background: #fff;

    font-size: 28px;

    cursor: pointer;

    transition: .3s;
}

.close-modal:hover {
    transform: rotate(90deg);
}

/* SECTION */

.challenge {
    border-top: 1px solid #ddd;
    margin-top: 40px;
    padding: 40px 0;
}

.challenge-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.challenge-left h2 {
    font-size: var(--fs-xxl);
    font-weight: 500;
    margin-bottom: 30px;
}

.challenge-left p {
    font-size: var(--fs-sm);
    line-height: 1.7;
    color: var(--color-accent);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: var(--bg-gray);
    border-radius: 20px;
    padding: 20px;
}

.card i {
    font-size: var(--fs-xl);
    margin-bottom: 20px;
}

.card h3 {
    font-size: var(--fs-md);
    margin-bottom: 10px;
    font-weight: 500;
}

.card p {
    color: var(--color-accent);
    font-size: var(--fs-sm);
    line-height: var(--fs-sm)
}

/* responsive */

@media (max-width: 1100px) {
    .projects_grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {

    .contact-section {
        flex-direction: column-reverse;
        gap: 50px;
        padding: 80px 20px;
    }

    .contact-left,
    .contact-right {
        width: 100%;
    }

    .contact-left h2 {
        font-size: 48px;
    }

    .contact-form {
        padding: 30px;
    }

}

@media (max-width: 768px) {

    .button_text {
        padding: 10px 16px;
        font-size: var(--fs-sm);
    }

    .hero {
        display: flex;
        flex-direction: column-reverse;
        padding: 40px 0;
    }

    .hero-slider {
        height: 90vh;
    }

    .hero-text {
        top: 150px;
        font-size: var(--fs-xxl);
        line-height: var(--fs-xxl);
    }

    .one {
        padding: 10px;
    }

    .one_proyectos {
        padding: 0px;
    }

    .p10 {
        padding: 10px;
    }

    .scroll_arrow {
        width: calc(100% - 20px);
        justify-content: center;
    }

    .logo-full {
        display: none;
    }

    .logo-icon {
        display: block;
        width: 50px;
        /* ajusta tamaño */
    }

    .services-section {
        padding: 20px 0px;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
    }

    .service-number {
        padding-top: 0;
    }

    .service-top h3 {
        font-size: 1.6rem;
    }

    .project_image {
        height: 320px;
    }

    .project_info h3 {
        font-size: 28px;
    }

    .project_arrow {
        width: 50px;
        height: 50px;
    }

    .btn {
        max-width: 80%;
    }

    .btn-projects {
        margin-bottom: 80px;
    }

    .faq-section {
        padding: 80px 0px;
    }

    .faq-question h3 {
        font-size: 18px;
    }

    .faq-icon {
        min-width: 30px;
    }

    #header {
        padding: 10px;
        width: calc(100% - 20px);
    }

    .wrap_header {
        gap: 20px;
    }

    #header.scrolled .logo img {
        transform: scale(1);
    }

    #header.scrolled .logo img {
        filter: invert(1);
    }

    .projects_grid {
        padding: 40px 0px;
    }

    .services-header {
        margin-bottom: 50px;
        flex-direction: column;
        gap: 30px;
    }

    .footer_info {
        flex-direction: column-reverse;
        padding-bottom: 100px;
    }

    .footer_text {
        text-align: center;
    }

    .service-icon {
        min-width: 50px;
    }

    .contact-section {
        padding: 40px 0px;
    }

    .services-section_project {
        padding: 100px 0;
    }

    .challenge-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .cards {
        gap: 10px;
        display: flex;
        flex-direction: column;
    }

    .info-item {
        font-size: var(--fs-sm);
    }

    .thumbs {
        grid-template-columns: repeat(2, 1fr);
    }

    .challenge-container {
        padding-left: 0;
        padding-right: 0;
    }

}