:root {
    --aw-footer-bg:          #161616;
    --aw-footer-border:      rgba(255, 255, 255, 0.08);
    --blanco:#ffff;
    --negro:#0f0f0f;
    --gris-claro:  #0a111a;
    --fondo: #080c12; 
    --aw-footer-social-ring: rgba(255, 255, 255, 0.25);
}

/* FUENTES */
@font-face {
    font-family: 'SchibstedGrotesk';
    src: url('../fuentes/SchibstedGrotesk-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'SchibstedGrotesk';
    src: url('../fuentes/SchibstedGrotesk-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}

@font-face {
    font-family: 'Coolvetica';
    src: url('../fuentes/Coolvetica\ Rg\ Cond.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-size: 1.6rem;
    font-family: 'SchibstedGrotesk', sans-serif;
    margin: 0;
    background-color: #03060c;
    overflow-x: hidden;
}

.aw-footer {
    background-color: var(--negro); /* color para las partes oscuras*/
    color: var(--blanco);
    font-family: 'SchibstedGrotesk', sans-serif;
    font-weight: 500;
    width: 100%;
}


.aw-footer__main {
    max-width: 120rem;
    margin: 0 auto;
    padding: 5rem 5rem 5rem;
}

.aw-footer__logo {
       display: block;
    height: 7rem;
    margin-left: -2rem;
    width: auto;
    margin-bottom: 3rem;

}

.aw-footer__description {
    font-size: 1.6rem;
    font-weight: 520;
    line-height: 1.5;
    color: var(--blanco);
    max-width: 52rem;
    margin: 0 0 3.5rem 0;
}

.aw-footer__social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.aw-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    border: 0.15rem solid var(--aw-footer-social-ring);
    transition: border-color 0.25s ease, background-color 0.25s ease;
    text-decoration: none;
}

.aw-footer__social-link:hover {
    border-color: rgba(255, 255, 255, 0.65);
    background-color: rgba(255, 255, 255, 0.07);
}

.aw-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;

   
    width: 3.5rem;      
    height: 3.5rem;
    border-radius: 50%;
    border: 1px solid var(--blanco);
    box-shadow: none;
    outline: none;
}
.aw-footer__social-icon {
   
    width: 3.5rem;     
    height: 3.5rem;
   

    object-fit: contain;
    filter: brightness(0) invert(1);
}

.aw-footer__social a::before,
.aw-footer__social a::after {
    display: none;
    content: none;
}


.aw-footer__bottom {
    max-width: 120rem;
    margin: 0 auto;
    padding: 5rem 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.6rem;
    margin-top: -2rem;
    
}

.aw-footer__copy {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--aw-footer-text);
    margin: 0;
}


.aw-footer__contact {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.aw-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: var(--aw-footer-text);
    font-size: 1.6rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.aw-footer__contact-item:hover {
    color: var(--blanco);
}

.aw-footer__contact-icon {
    width: 1.6rem;
    height: 1.6rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.aw-footer__contact-text {
    white-space: nowrap;
}

.aw-hero {
    position: relative;
    width: 100%;
    height: 100dvh;
    min-height: 60rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: var(--blanco);
    background-color: var(--fondo); 
}

.aw-hero__video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 1;
}


.aw-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
      
    );
    z-index: 1;
}
.aw-hero__overlay--proyectos {
    position: absolute;
    inset: 0;
    background: linear-gradient(

        to bottom,
        
    );
    z-index: 1;
}

.aw-hero__header {
    position: relative;
    z-index: 10; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 4rem;
}

.aw-hero__social {
    position: absolute;
    left: 4rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.aw-hero__content {
    position: relative;
    z-index: 10; 
    flex: 1;              
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10rem 0 16rem;
    max-width: 140rem;
    margin: 0 auto;
    width: 100%;
}


.aw-hero__header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 4rem;
}

.aw-hero__header-logo {
    height: 6rem;
    width: auto;
    display: block;
}

.aw-hero__social {
    position: absolute;
    left: 4rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; 
}

/* El contenedor circular externo */
.aw-hero__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem;   
    height: 4.2rem;  
    border-radius: 50%;
    border: 0.15rem solid var(--aw-footer-social-ring); 
    background-color: transparent;
    text-decoration: none;
    transition: border-color 0.25s ease, background-color 0.25s ease;
    box-shadow: none;
    outline: none;
}
.aw-footer__social a {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 1px solid var(--blanco); 
}
.aw-hero__social-link {
    background-color: transparent;
    border: 0.15rem solid var(--aw-footer-social-ring);
}
/* Efecto Hover idéntico al footer */
.aw-hero__social-link:hover {
    border-color: rgba(255, 255, 255, 0.65);
    background-color: rgba(255, 255, 255, 0.07);
}

.aw-hero__social-icon {
    width: 4.2rem;  
    height: 4.2rem;
    object-fit: contain;
    filter: brightness(0) invert(1); 
}


.aw-hero__social-link--home {
    background-color:transparent;
     object-fit: contain;
    
     border-color: rgba(255, 255, 255, 0.65);
    background-color: rgba(255, 255, 255, 0.07);
}

.aw-hero__social-icon--home {
    width: 1.8rem;
    height: 1.8rem;
     object-fit: contain;
    filter: brightness(0) invert(1); 
}


.aw-hero__content {
    position: relative;
    z-index: 10;
    flex: 1;             
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10rem 0 16rem;
    max-width: 140rem;
    margin: 0 auto;
    width: 100%;
    margin-top: -10rem;
}
/* ---- Bloque del título ---- */
.aw-hero__title-block {
  
    padding-right: 6rem;
}


.aw-hero__title {
    font-family: 'Coolvetica', sans-serif;
    font-size: clamp(12.5rem, 9vw, 15rem);
    font-weight: 500;
    line-height: 0.85;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--blanco);
    margin: 0rem;
    opacity: 0;
    transform: translateY(20px);
    animation: awHeroTitleIn 1.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

@keyframes awHeroTitleIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.aw-hero__divider {
    width: 0.01rem;
    height: 19rem;
    background-color: rgb(255, 255, 255);
    flex-shrink: 0;
    align-self: center;
}

.aw-hero__info-block {
    flex: 0 0 auto;
    max-width: 38rem;
    padding-left: 5.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.aw-hero__years {
    font-family: 'Coolvetica', sans-serif;
    font-size: clamp(3.6rem, 4.5vw, 7rem);
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--blanco);
    margin: 0;
    line-height: 1;
}

.aw-hero__description {
    font-family: 'SchibstedGrotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--blanco);
    margin-right: 0;
}

.aw-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    align-self: flex-start;
    padding: 1rem 4rem;
    border: 0.15rem solid rgba(255, 255, 255, 0.55);
    border-radius: 10rem;
    font-family: 'SchibstedGrotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--blanco);
    text-decoration: none;
    letter-spacing: 0.02em;
    filter: brightness(0) invert(1);
    margin-top: 0.4rem;


    transition: transform 0.2s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.aw-hero__cta:hover {
   
    background-color: rgba(255, 255, 255, 0.1); 
    border-color: rgba(255, 255, 255, 1); 
}


/* ---- Flecha del CTA ---- */
.aw-hero__cta-arrow {
    width: 1.4rem;
    height: 1.4rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transform: rotate(0deg); 
    
    transition: transform 0.2s ease;
}


.aw-showcase {
    background-color: var(--fondo);
    width: 100%;
    overflow: hidden;
}


.aw-brands {
    width: 100%;
    padding: 5rem 0 0;
    overflow: hidden;
}

.aw-brands__label {
    font-family: 'Coolvetica', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-align: center;
    color: rgba(255, 255, 255, 0.70);
    text-transform: uppercase;
    margin: 0 0 3.5rem 0;
}

.aw-brands__track-wrapper {
    position: relative;
    width: 80%;
    border-top: 0.1rem solid var(--fondo);
    border-bottom: 0.1rem solid var(--fondo);
    padding: 3rem 0;
    overflow: hidden;
    margin-left: 10rem;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000000 8%,
        black 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}
.aw-brands__track-wrapper::before,
.aw-brands__track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15rem;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.aw-brands__track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #0d1422 25%, transparent 100%);
}

.aw-brands__track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #0d1422 25%, transparent 100%);
}


.aw-brands__track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;

    animation: awBrandsScroll 28s linear infinite;
}

.aw-brands__track:hover {
    animation-play-state: paused;
}

@keyframes awBrandsScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.aw-brands__slide {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2em;
    border-right: 0.1rem solid rgba(255, 255, 255, 0);
}

.aw-brands__slide:last-child {
    border-right: none;
}

.aw-brands__logo {
    height: 7.5rem;
    width: auto;
    object-fit: contain;

    filter: brightness(0) invert(1) opacity(0.55);
    transition: filter 0.3s ease;
}

.aw-brands__track:hover .aw-brands__logo {
    filter: brightness(0) invert(1) opacity(0.85);
}


.aw-projects {
    padding: 8rem 0 7rem;
    width: 100%;
    margin-top: 10rem;
}


.aw-projects__header {
    text-align: center;
    margin-bottom: 5rem;
    padding: 0 3rem;
}

.aw-projects__title {
    font-family: 'Coolvetica', sans-serif;
    font-size: clamp(3rem, 4vw, 5rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blanco);
    margin: 0 0 2rem 0;
    line-height: 1;
}

.aw-projects__subtitle {
    font-family: 'SchibstedGrotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.aw-projects__carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 140rem;
    margin: 0 auto;
    padding: 0 6rem;
}

.aw-projects__track-wrapper {
    overflow: hidden;
    width: 100%;
}

.aw-projects__track {
    display: flex;
    gap: 2rem;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* --- CARD --- */
.aw-projects__card {
    flex-shrink: 0;
    width: calc(25% - 1.5rem); /* 4 cards visibles */
    cursor: pointer;
}

.aw-projects__card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 0.8rem;
    overflow: hidden;
    background-color: #1a1a1a;
    /* Elevación al hover */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
}

.aw-projects__card:hover .aw-projects__card-media {
    transform: translateY(-1rem);
    box-shadow: 0 2.4rem 4rem rgba(0, 0, 0, 0.55);
}

/* Imagen estática */
.aw-projects__card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease;
    z-index: 1;
}

/* Video oculto por defecto */
.aw-projects__card-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}


.aw-projects__card:hover .aw-projects__card-img {
    opacity: 0;
}

.aw-projects__card:hover .aw-projects__card-video {
    opacity: 1;
}

/* Info debajo de la imagen */
.aw-projects__card-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.6rem 0.4rem 0;
}

.aw-projects__card-name {
    font-family: 'Coolvetica', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--blanco);
    text-transform: uppercase;
}

.aw-projects__card-separator {
    font-size: 1.4rem;
    color: var(--blanco);
}

.aw-projects__card-type {
    font-family: 'SchibstedGrotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
}

.aw-projects__arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.4rem;
    height: 5.4rem;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 5;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    opacity: 0.6;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.aw-projects__arrow:hover {
    opacity: 1;
}

.aw-projects__arrow--prev { left: 0; }
.aw-projects__arrow--next { right: 0; }

.aw-projects__arrow--prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.aw-projects__arrow--next:hover {
    transform: translateY(-50%) translateX(3px);
}
/* Hover con pequeño desplazamiento */
.aw-projects__arrow--prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.aw-projects__arrow--next:hover {
    transform: translateY(-50%) translateX(3px);
}


/* --- CTA Más proyectos --- */
.aw-projects__footer {
    display: flex;
    justify-content: center;
    margin-top: 5.5rem;
}

.aw-projects__cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3.2rem;
    border: 0.15rem solid var(--blanco);
    border-radius: 10rem;
    font-family: 'SchibstedGrotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--blanco);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.aw-projects__cta:hover {
    background-color: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.80);
}

.aw-projects__cta-icon {
    width: 1.4rem;
    height: 1.4rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.2s;
    
    /* Añade esta línea para rotar la imagen */
    transform: rotate(-90deg); 
}


.aw-services {
    background-color:var(--fondo);
    width: 100%;
    padding: 10rem 0 10rem;
}

/* --- Encabezado --- */
.aw-services__header {
    text-align: center;
    margin-bottom: 6rem;
    padding: 0 2rem;
}

.aw-services__title {
    font-family: 'Coolvetica', sans-serif;
    font-size: clamp(3rem, 4vw, 5rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blanco);
    margin: 0 0 1.6rem 0;
    line-height: 1;
}

.aw-services__subtitle {
    font-family: 'SchibstedGrotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* --- Grid de cards --- */
.aw-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    max-width: 108rem;
    margin: 0 auto;
    padding: 0 4rem;
}


.aw-services__card {
    background-color: #131e2d;
    border-radius: 1rem;
    padding: 3.6rem 2.2rem 3.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.aw-services__card:hover {
    background-color: var(--fondo);
    transform: translateY(-0.4rem);
}

/* --- Icono --- */
.aw-services__card-icon {
    width: 3.8rem;
    height: 3.8rem;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.80);
    flex-shrink: 0;
}

/* --- Título de card --- */
.aw-services__card-title {
    font-family: 'SchibstedGrotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blanco);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* --- Descripción de card --- */
.aw-services__card-desc {
    font-family: 'SchibstedGrotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}


.aw-statement {
    position: relative;
    background-color: var(--fondo);
    width: 100%;
    min-height: 90rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.aw-statement__orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52rem;
    height: 52rem;
    border-radius: 50%;

    background: radial-gradient(
        circle at center,
        #1a3a5c 0%,
        #0d1f35 40%,
        #03060c 75%,
        #000000 100%
    );

    z-index: 1;

    transition:
        transform 0.20s ease,
        filter 0.20s ease,
        
        background 0.20s ease;

    will-change: transform;
}

/* --- Contenido sobre el orb --- */
.aw-statement__content {
      pointer-events: none;
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 4rem;
    max-width: 90rem;
}

.aw-statement__label {
    display: block;
    font-family: 'SchibstedGrotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.50);
    text-transform: uppercase;
    margin-bottom: 2.4rem;
}

.aw-statement__title {
    font-family: 'Coolvetica', sans-serif;
    font-size: clamp(4rem, 6.5vw, 8rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--blanco);
    margin: 0;
}



.aw-additional {
    background-color:var(--negro);
    width: 100%;
    padding: 7rem 0 9rem;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.06);
}

/* --- Encabezado --- */
.aw-additional__header {
    text-align: center;
    margin-bottom: 6rem;
    padding: 0 2rem;
}

.aw-additional__title {
    font-family: 'Coolvetica', sans-serif;
    font-size: clamp(2.6rem, 3.5vw, 4.2rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blanco);
    margin: 0 0 1.4rem 0;
    line-height: 1;
}

.aw-additional__subtitle {
    font-family: 'SchibstedGrotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}


.aw-additional__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8rem;
    flex-wrap: wrap;
    padding: 0 4rem;
}

.aw-additional__logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.aw-additional__logo-link:hover {
    opacity: 0.75;
    transform: translateY(-0.3rem);
}

.aw-additional__logo {
    height: 7rem;
    width: auto;
    object-fit: contain;
}


.aw-cta {
    position: relative;
    background: linear-gradient(
        175deg,
         #0a111a 0%,
         #0a111a 40%,
        #0a111a 70%,
        #131e2d 100%
    );
    width: 100%;
    padding: 16rem 2rem 15rem;
    overflow: hidden;
}

/* --- Contenido central --- */
.aw-cta__content {
    text-align: center;
    padding: 0 2rem;
  
    margin-bottom: 8rem;
}

.aw-cta__title {
    font-family: 'Coolvetica', sans-serif;
    font-size: clamp(5rem, 8vw, 10rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--blanco);
    margin: 0 0 3rem 0;
}

.aw-cta__subtitle {
    font-family: 'SchibstedGrotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 4rem 0;
    line-height: 1.5;
}

.aw-cta__contact {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.aw-cta__contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--blanco);
    font-family: 'SchibstedGrotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.aw-cta__contact-item:hover {
    opacity: 0.70;
}

.aw-cta__contact-icon {
    width: 1.8rem;
    height: 1.8rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.aw-cta__contact-text {
    white-space: nowrap;
}

.aw-cta__contact-divider {
    width: 0.1rem;
    height: 2.2rem;
    background-color: rgba(255, 255, 255, 0.30);
    flex-shrink: 0;
}


.aw-cta__carousel {
    width: 80%;
    margin-left: 10rem;
    overflow: hidden;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 6%,
        black 94%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 6%,
        black 94%,
        transparent 100%
    );
}

.aw-cta__carousel-track {
    display: flex;
    gap: 0.8rem;
    width: max-content;

    animation: awCtaScroll 30s linear infinite;
}

.aw-cta__carousel-track:hover {
    animation-play-state: paused;
}

@keyframes awCtaScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.aw-cta__carousel-slide {
    flex-shrink: 0;
    width: 18rem;
    height: 13rem;
    border-radius: 0.8rem;
    overflow: hidden;
    background-color: #1a1a1a;
}

.aw-cta__carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.aw-cta__carousel-slide:hover .aw-cta__carousel-img {
    transform: scale(1.04);
}
.aw-hero__bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;

}

/* Centra el contenido en lugar de alinearlo a la izquierda */
.aw-hero__content--centered {
    padding: 0 4rem;
    justify-content: center;
    align-items: center;
    margin-top: 0;
}

.aw-hero__title-block--centered {
    padding-right: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.aw-hero__projects-subtitle {
    font-family: 'SchibstedGrotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    letter-spacing: 0.02em;
    line-height: 1.6;
}


.aw-portafolio {
    background-color: #0a111a;
    width: 100%;
    padding: 8rem 0 12rem;
}


.aw-cat {
    max-width: 114rem;
    margin: 0 auto 10rem;
    padding: 0 5rem;
}

.aw-cat:last-child {
    margin-bottom: 0;
}

.aw-cat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.aw-cat__title {
    font-family: 'Coolvetica', sans-serif;
    font-size: clamp(2.2rem, 3vw, 3.2rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blanco);
    margin: 0;
    line-height: 1;
}
.aw-cat__more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2.2rem;
    border: 0.12rem solid rgba(255, 255, 255, 0.35);
    border-radius: 10rem;
    font-family: 'SchibstedGrotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
    white-space: nowrap;
    text-decoration: none;
}

.aw-cat__more-btn:hover {
    border-color: rgba(255, 255, 255, 0.70);
    color: var(--blanco);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Flecha del botón (↙ rotada) */
.aw-cat__more-btn svg {
    width: 1.3rem;
    height: 1.3rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.aw-cat__more-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
.aw-cat__item--video-only .aw-cat__video {
    opacity: 1;
}
.aw-cat__grid {
    display: grid;
    gap: 1.6rem;
}

/* --- Páginas web: 1 grande izquierda + 2×2 derecha --- */
.aw-cat__grid--web {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
}
.aw-cat__grid--web {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.aw-cat__grid--web .aw-cat__item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    height: 100%;
}

/* IMAGENES */
.aw-cat__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.aw-cat__grid--catalog {
    grid-template-columns: 1fr 1fr 2fr;
    grid-template-rows: auto auto;
}

.aw-cat__grid--catalog .aw-cat__item:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 3;   /* el grande ocupa 2 filas */
}
.aw-cat__grid--software {
    grid-template-columns: 1fr 1fr 2fr;
    grid-template-rows: auto auto;
}

.aw-cat__grid--software .aw-cat__item:nth-child(5) {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

.aw-cat__grid--apps {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
}

.aw-cat__grid--apps .aw-cat__item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

/* --- Invitaciones: 3 columnas iguales --- */
.aw-cat__grid--invites {
    grid-template-columns: repeat(3, 1fr);
}
.aw-cat__item--hidden {
    display: none;
}

.aw-cat__item--hidden.is-visible {
    display: block;   /* JS añade esta clase */
    animation: awFadeIn 0.45s ease forwards;
}

@keyframes awFadeIn {
    from { opacity: 0; transform: translateY(1.2rem); }
    to   { opacity: 1; transform: translateY(0); }
}

.aw-cat__item {
    display: flex;
    flex-direction: column;
    gap: 0;
    cursor: pointer;
}

/* Contenedor del medio visual */
.aw-cat__media {
    position: relative;
    width: 100%;
    border-radius: 0.7rem;
    overflow: hidden;
    background-color: #1a1a1a;
  
    aspect-ratio: 1 / 1;   /* default (tarjetas pequeñas) */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
}


.aw-cat__item--featured .aw-cat__media {
    aspect-ratio: unset;
    height: 100%;              
    min-height: 10rem;}

.aw-cat__item:hover .aw-cat__media {
    transform: translateY(-0.6rem);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.55);
}


.aw-cat__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease;
    z-index: 1;
}


.aw-cat__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.35s ease;
    z-index: 2;
}
.aw-cat__item--has-video:hover .aw-cat__img  { opacity: 0; }
.aw-cat__item--has-video:hover .aw-cat__video { opacity: 1; }

.aw-cat__badge {
    position: absolute;
    bottom: 1.2rem;
    right: 1.4rem;
    z-index: 3;
    font-family: 'SchibstedGrotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.04em;
    pointer-events: none;
}


.aw-cat__info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.4rem 0.2rem 0;
}

.aw-cat__name {
    font-family: 'Coolvetica', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--blanco);
    text-transform: uppercase;
    margin: 0;
}

.aw-cat__sep {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.40);
}

.aw-cat__type {
    font-family: 'SchibstedGrotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.50);
}


.aw-cat__extra {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
}

.aw-cat__extra.is-open {
    max-height: 800rem;
}

.aw-cat__extra-grid {
    display: grid;
    gap: 1.6rem;
    padding-top: 1.6rem; 
    grid-template-columns: repeat(3, 1fr);
}


.aw-social-fab {
  display: none; /* oculto en desktop */
  position: fixed;
  bottom: 2.8rem;
  right: 2.4rem;
  z-index: 1000;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1.2rem;
}

.aw-social-fab__btn {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.10);
  border: 0.20rem solid rgb(0, 98, 255);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.aw-social-fab__btn:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgb(0, 98, 255);
}


.aw-social-fab__icon span {
  display: block;
  width: 1.8rem;
  height: 0.15rem;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.aw-social-fab.is-open .aw-social-fab__icon span:nth-child(1) {
  transform: translateY(0.65rem) rotate(45deg);
}
.aw-social-fab.is-open .aw-social-fab__icon span:nth-child(2) {
  opacity: 0;
}
.aw-social-fab.is-open .aw-social-fab__icon span:nth-child(3) {
  transform: translateY(-0.65rem) rotate(-45deg);
}

.aw-social-fab__menu {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.aw-social-fab.is-open .aw-social-fab__menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.aw-social-fab__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  border: 0.15rem solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.aw-social-fab__link:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background-color: rgba(255, 255, 255, 0.15);
}

.aw-social-fab__img {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.aw-social-fab__img-home {
  width: 1.8rem;
  height: 1.8rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.aw-hero__social-link--home {
    background-color:transparent;
     object-fit: contain;
    
     border-color: rgba(255, 255, 255, 0.65);
    background-color: rgba(255, 255, 255, 0.07);
}

@media (max-width: 767px) {
  .aw-social-fab {
    display: flex;
  }
}

@media (max-width: 479px) {

  .aw-hero {
    min-height: 100dvh;
  }

  .aw-hero__header {
    padding: 2rem 2.5rem;
  }

  .aw-hero__header-logo {
    height: 4rem;
  }


  .aw-hero__social {
    display: none;
  }

  .aw-hero__content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 2.5rem;
    margin-top: 0;
    gap: 2.4rem;
    text-align: center;
  }

  .aw-hero__title-block {
    padding-right: 0;
    text-align: center;
  }

  .aw-hero__title {
    font-size: clamp(6.5rem, 20vw, 9rem);
    line-height: 0.88;
    text-align: center;
  }

  
  .aw-hero__divider {
    width: 5rem;
    height: 0.1rem;
    align-self: center;
  }

  .aw-hero__info-block {
    max-width: 100%;
    padding-left: 0;
    gap: 1.4rem;
    align-items: center;
    text-align: center;
  }

  .aw-hero__years {
    font-size: clamp(2.8rem, 9vw, 4rem);
    text-align: center;
  }

  .aw-hero__description {
    font-size: 1.4rem;
    text-align: center;
  }

  .aw-hero__cta {
    font-size: 1.3rem;
    padding: 0.9rem 3rem;
    align-self: center;
  }

  .aw-hero__content--centered {
    padding: 0 2.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 0;
  }

  .aw-hero__title-block--centered {
    align-items: center;
    text-align: center;
    gap: 1.4rem;
  }

  .aw-hero__projects-subtitle {
    font-size: 1.4rem;
    text-align: center;
  }
}


@media (min-width: 480px) and (max-width: 767px) {

  .aw-hero__header {
    padding: 2.4rem 3rem;
  }

  .aw-hero__header-logo {
    height: 4.5rem;
  }

  .aw-hero__social {
    display: none;
  }

  .aw-hero__content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 3rem;
    margin-top: 0;
    gap: 2.8rem;
    text-align: center;
  }

  .aw-hero__title-block {
    padding-right: 0;
    text-align: center;
  }

  .aw-hero__title {
    font-size: clamp(8rem, 18vw, 11rem);
    line-height: 0.88;
  }

  .aw-hero__divider {
    width: 5rem;
    height: 0.1rem;
    align-self: center;
  }

  .aw-hero__info-block {
    max-width: 100%;
    padding-left: 0;
    gap: 1.6rem;
    align-items: center;
    text-align: center;
  }

  .aw-hero__years {
    font-size: clamp(3.2rem, 8vw, 5rem);
  }

  .aw-hero__description {
    font-size: 1.6rem;
  }

  .aw-hero__cta {
    align-self: center;
  }

  .aw-hero__content--centered {
    padding: 0 3rem;
    justify-content: center;
    align-items: center;
    margin-top: 0;
  }

  .aw-hero__title-block--centered {
    align-items: center;
    text-align: center;
    gap: 1.6rem;
  }
}


@media (min-width: 768px) and (max-width: 1139px) {

  .aw-hero__header {
    padding: 2.8rem 4rem;
  }

  .aw-hero__header-logo {
    height: 5rem;
  }

  .aw-hero__social {
    left: 2.5rem;
    gap: 1.4rem;
  }

  .aw-hero__content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 5rem;
    margin-top: 0;
    gap: 3rem;
    text-align: center;
  }

  .aw-hero__title-block {
    padding-right: 0;
    text-align: center;
  }

  .aw-hero__title {
    font-size: clamp(9rem, 14vw, 13rem);
    line-height: 0.88;
  }

  .aw-hero__divider {
    width: 6rem;
    height: 0.1rem;
    align-self: center;
  }

  .aw-hero__info-block {
    max-width: 55rem;
    padding-left: 0;
    gap: 1.6rem;
    align-items: center;
    text-align: center;
  }

  .aw-hero__years {
    font-size: clamp(3.6rem, 6vw, 5.5rem);
  }

  .aw-hero__cta {
    align-self: center;
  }

  .aw-hero__content--centered {
    padding: 0 5rem;
    justify-content: center;
    align-items: center;
    margin-top: 0;
  }

  .aw-hero__title-block--centered {
    align-items: center;
    text-align: center;
  }
}


@media (min-width: 1140px) and (max-width: 1399px) {

  .aw-hero__content {
    padding: 0 7rem 0 12rem;
    margin-top: -8rem;
  }

  .aw-hero__title {
    font-size: clamp(10rem, 10vw, 13rem);
  }

  .aw-hero__social {
    left: 3rem;
  }

  .aw-hero__info-block {
    max-width: 34rem;
    padding-left: 5rem;
  }

  .aw-hero__divider {
    height: 17rem;
  }
}
@media (min-width: 1400px) {

  .aw-hero__content {
    padding: 0 10rem;
    margin-top: -10rem;
    
  }

  .aw-hero__social {
    left: 4rem;
    gap: 1.5rem;
  }

  .aw-footer__main {
    margin-left: 3rem;
  }

  .aw-footer__bottom {
    margin-left: 3rem;
  }

  .aw-footer__contact {
    margin-left: 0rem;
    margin-right: -34rem;
    gap: 10rem;
  }
}
@media (max-width: 479px) {

  /* ── PORTAFOLIO ── */
  .aw-portafolio {
    padding: 4rem 0 6rem;
  }

  .aw-cat {
    padding: 0 1.8rem;
    margin-bottom: 5rem;
  }

  .aw-cat__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2rem;
  }

  .aw-cat__title {
    font-size: 2rem;
    letter-spacing: 0.08em;
  }

  .aw-cat__more-btn {
    font-size: 1.2rem;
    padding: 0.7rem 1.6rem;
  }


  .aw-cat__grid--software,
  .aw-cat__grid--apps,
  .aw-cat__grid--web,
  .aw-cat__grid--catalog,
  .aw-cat__grid--invites {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .aw-cat__grid--software .aw-cat__item:nth-child(n),
  .aw-cat__grid--apps     .aw-cat__item:nth-child(n),
  .aw-cat__grid--web      .aw-cat__item:nth-child(n),
  .aw-cat__grid--catalog  .aw-cat__item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .aw-cat__media,
  .aw-cat__item--featured .aw-cat__media {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: unset;
  }

  .aw-cat__item--featured .aw-cat__media {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: unset;
  }

  
  .aw-cat__extra-grid {
    grid-template-columns: 1fr;
  }

 
  .aw-brands {
    padding: 3rem 0 0;
  }

  .aw-brands__label {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .aw-brands__track-wrapper {
    width: 100%;
    margin-left: 0;
  }

  .aw-brands__logo {
    height: 3.8rem;
  }

  /* ── CARRUSEL DE PROYECTOS ── */
  .aw-projects {
    padding: 5rem 0 4rem;
  }

  .aw-projects__title {
    font-size: clamp(2.4rem, 7vw, 3.2rem);
  }

  .aw-projects__carousel-wrapper {
    padding: 0 3.5rem;
  }

  /* 1 card visible en móvil muy pequeño */
  .aw-projects__card {
    width: calc(100% - 0rem);
  }

  /* ── SERVICIOS ── */
  .aw-services {
    padding: 5rem 0 5rem;
  }

  .aw-services__grid {
       grid-template-columns: repeat(2, 1fr); /* antes: 2fr */
    padding: 0 2rem;
    gap: 1.2rem;
  }

  .aw-services__title {
    font-size: clamp(2.4rem, 7vw, 3.2rem);
  }

  /* ── STATEMENT ── */
  .aw-statement {
    min-height: 40rem;
    padding: 0 2rem;
  }

  .aw-statement__orb {
    width: 28rem;
    height: 28rem;
  }

  .aw-statement__title {
    font-size: clamp(3rem, 9vw, 4.5rem);
  }

  /* ── SERVICIOS ADICIONALES ── */
 .aw-additional {
    padding: 4rem 0 5rem;
}

 .aw-additional__logos {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 0 2rem;
}

.aw-additional__logo {
    height: 4.5rem;
    flex-shrink: 0;
}

 .aw-additional__title {
    font-size: clamp(2rem, 6vw, 2.8rem);
}

  /* ── CTA ── */
  .aw-cta {
    padding: 8rem 2rem 7rem;
  }

  .aw-cta__title {
    font-size: clamp(4rem, 13vw, 6rem);
    margin-bottom: 2rem;
  }

  .aw-cta__subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
  }

  .aw-cta__contact {
    flex-direction: column;
    gap: 1.6rem;
  }

  .aw-cta__contact-divider {
    display: none;
  }

  .aw-cta__carousel {
    width: 100%;
    margin-left: 0;
  }

  .aw-cta__carousel-slide {
    width: 14rem;
    height: 10rem;
  }

/* ── FOOTER ── */
.aw-footer__main {
    padding: 4rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.aw-footer__logo {
    height: 5rem;
    margin-left: 0;
    margin-bottom: 2rem;
}

.aw-footer__description {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 32rem;
}

.aw-footer__socials {
    justify-content: center;
    margin-bottom: 0;
}

.aw-footer__bottom {
    padding: 2rem 2rem 4rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.6rem;
}

.aw-footer__contact {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.aw-footer__copy {
    font-size: 1.3rem;
}}


@media (min-width: 480px) and (max-width: 767px) {

  /* ── PORTAFOLIO ── */
  .aw-portafolio {
    padding: 5rem 0 7rem;
  }

  .aw-cat {
    padding: 0 2.4rem;
    margin-bottom: 6rem;
  }

  .aw-cat__header {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.4rem;
  }

  .aw-cat__title {
    font-size: 2.2rem;
  }

  .aw-cat__more-btn {
    font-size: 1.25rem;
    padding: 0.75rem 1.8rem;
  }

  /* Grids → 2 columnas */
  .aw-cat__grid--software,
  .aw-cat__grid--apps,
  .aw-cat__grid--web,
  .aw-cat__grid--catalog,
  .aw-cat__grid--invites {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

/* Cancelar TODOS los posicionamientos especiales */
  .aw-cat__grid--software .aw-cat__item:nth-child(n),
  .aw-cat__grid--apps     .aw-cat__item:nth-child(n),
  .aw-cat__grid--web      .aw-cat__item:nth-child(n),
  .aw-cat__grid--catalog  .aw-cat__item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .aw-cat__media {
    aspect-ratio: 4 / 3;
  }

  /* Featured → span 2 columnas completo */
  .aw-cat__item--featured {
    grid-column: 1 / -1;
  }

  .aw-cat__item--featured .aw-cat__media {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: unset;
  }

  /* Grid de extras → 2 columnas */
  .aw-cat__extra-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ── CARRUSEL DE MARCAS ── */
  .aw-brands__track-wrapper {
    width: 100%;
    margin-left: 0;
  }

  .aw-brands__logo {
    height: 4.2rem;
  }

 
  .aw-projects {
    padding: 5rem 0 5rem;
  }

  .aw-projects__carousel-wrapper {
    padding: 0 4rem;
  }


  .aw-projects__card {
    width: calc(50% - 1rem);
  }

 
  .aw-services {
    padding: 6rem 0 6rem;
  }

  .aw-services__grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 2.4rem;
  }


  .aw-statement {
    min-height: 60rem;
    padding: 0 3rem;
  }

  .aw-statement__orb {
    width: 34rem;
    height: 34rem;
  }

  .aw-statement__title {
    font-size: clamp(3.4rem, 9vw, 5.5rem);
  }

  .aw-additional {
    padding: 5rem 0 6rem;
  }

  .aw-additional__logos {
    gap: 4rem;
    padding: 0 3rem;
  }

  .aw-additional__logo {
    height: 5rem;
  }

  /* ── CTA ── */
  .aw-cta {
    padding: 9rem 2rem 8rem;
  }

  .aw-cta__title {
    font-size: clamp(4.5rem, 12vw, 7rem);
  }

  .aw-cta__contact {
    flex-direction: column;
    gap: 1.6rem;
    align-items: center;
  }

  .aw-cta__contact-divider {
    display: none;
  }

  .aw-cta__carousel {
    width: 100%;
    margin-left: 0;
  }

  .aw-cta__carousel-slide {
    width: 15rem;
    height: 11rem;
  }

  /* ── FOOTER ── */
  .aw-footer__main {
    padding: 4rem 3rem 2rem;
  }

  .aw-footer__logo {
    height: 5.5rem;
    margin-left: 0;
  }

  .aw-footer__bottom {
    padding: 2rem 3rem 4rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .aw-footer__contact {
    flex-direction: column;
    gap: 1.6rem;
  }
}


@media (min-width: 768px) and (max-width: 1139px) {

  /* ── PORTAFOLIO ── */
  .aw-portafolio {
    padding: 6rem 0 9rem;
  }

  .aw-cat {
    padding: 0 3.5rem;
    margin-bottom: 7rem;
  }

  .aw-cat__grid--software {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .aw-cat__grid--software .aw-cat__item:nth-child(5) {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .aw-cat__grid--software .aw-cat__item:nth-child(5) .aw-cat__media {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: unset;
  }

  .aw-cat__grid--apps {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .aw-cat__grid--apps .aw-cat__item:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .aw-cat__grid--apps .aw-cat__item:nth-child(1) .aw-cat__media {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: unset;
  }

  .aw-cat__grid--web {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .aw-cat__grid--web .aw-cat__item:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .aw-cat__grid--web .aw-cat__item:nth-child(1) .aw-cat__media {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: unset;
  }

  .aw-cat__grid--catalog {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .aw-cat__grid--catalog .aw-cat__item:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .aw-cat__grid--catalog .aw-cat__item:nth-child(3) .aw-cat__media {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: unset;
  }

  /* Extra grid → 2 columnas */
  .aw-cat__extra-grid {
    grid-template-columns: 1fr 1fr;
  }
  .aw-brands__track-wrapper {
    width: 90%;
    margin-left: 5rem;
  }

  .aw-brands__logo {
    height: 4.8rem;
  }


  .aw-projects__carousel-wrapper {
    padding: 0 5rem;
  }

  /* 3 cards visibles en tablet */
  .aw-projects__card {
    width: calc(33.333% - 1.35rem);
  }

  /* ── SERVICIOS ── */
  .aw-services__grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 3rem;
  }

  .aw-statement {
    min-height: 70rem;
  }

  .aw-statement__orb {
    width: 40rem;
    height: 40rem;
  }


  .aw-additional__logos {
    gap: 5rem;
    padding: 0 4rem;
  }

  .aw-additional__logo {
    height: 6rem;
  }


  .aw-cta {
    padding: 10rem 2rem 10rem;
  }

  .aw-cta__carousel {
    width: 90%;
    margin-left: 5rem;
  }

  /* ── FOOTER ── */
  .aw-footer__main {
    padding: 5rem 4rem 3rem;
  }

  .aw-footer__bottom {
    padding: 2rem 4rem 4rem;
  }
}

@media (min-width: 1140px) and (max-width: 1399px) {

  /* ── PORTAFOLIO ── */
  .aw-cat {
    max-width: 90rem;
    padding: 0 4rem;
  }

  .aw-brands__track-wrapper {
    width: 82%;
    margin-left: 9rem;
  }

 
  .aw-services__grid {
    max-width: 96rem;
  }

  .aw-statement__orb {
    width: 46rem;
    height: 46rem;
  }

  /* ── CTA ── */
  .aw-cta {
    padding: 13rem 2rem 12rem;
  }

  .aw-cta__carousel {
    width: 82%;
    margin-left: 9rem;
  }

  /* ── FOOTER ── */
  .aw-footer__main {
    padding: 5rem 4rem 4rem;
  }

  .aw-footer__bottom {
    padding: 2rem 4rem 5rem;
  }
}

@media (min-width: 1400px) {

  /* ── PORTAFOLIO ── */
  .aw-cat {
    max-width: 130rem;
  }

  .aw-services__grid {
    max-width: 120rem;
    grid-template-columns: repeat(3, 1fr);
  }

  .aw-statement__orb {
    width: 56rem;
    height: 56rem;
  }


  .aw-brands__track-wrapper {
    width: 80%;
    margin-left: 10rem;
  }

  /* ── SERVICIOS ADICIONALES ── */
  .aw-additional__logos {
    gap: 10rem;
  }

  .aw-additional__logo {
    height: 8rem;
  }

  /* ── CTA ── */
  .aw-cta {
    padding: 18rem 2rem 16rem;
  }

  .aw-cta__carousel {
    width: 80%;
    margin-left: 10rem;
  }
}

:root {
    --aw-fx-cyan:      rgba(51, 136, 233, 0.888);
    --aw-fx-cyan-dim:  rgba(0, 210, 255, 0.12);
    --aw-fx-blue-glow: rgba(26, 90, 160, 0.6);
    --aw-fx-line:      rgba(255, 255, 255, 0.07);
    --aw-fx-speed:     0.6s;
}

.aw-fx-scanlines {
    position: relative;
    overflow: hidden;
}

.aw-fx-scanlines::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 3px,
        rgba(0, 0, 0, 0.10) 3px,
        rgba(0, 0, 0, 0.10) 4px
    );
    pointer-events: none;
    z-index: 99;
    animation: awScanlineShift 8s linear infinite;
}

@keyframes awScanlineShift {
    0%   { background-position-y: 0; }
    100% { background-position-y: 40px; }
}

.aw-fx-glitch {
    position: relative;
    display: inline-block;
}

.aw-fx-glitch::before,
.aw-fx-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.aw-fx-glitch::before {
    color: rgba(90, 90, 90, 0.886);
    clip-path: polygon(0 20%, 100% 20%, 100% 45%, 0 45%);
    animation: awGlitchA 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    mix-blend-mode: screen;
}


.aw-fx-glitch::after {
    color: var(--aw-fx-cyan);
    clip-path: polygon(0 55%, 100% 55%, 100% 80%, 0 80%);
    animation: awGlitchB 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite 0.15s;
    mix-blend-mode: screen;
}

@keyframes awGlitchA {
    0%, 92%, 100%  { transform: translateX(0);          opacity: 0; }
    93%            { transform: translateX(-4px);         opacity: 1; }
    95%            { transform: translateX(3px);          opacity: 1; }
    97%            { transform: translateX(-2px);         opacity: 1; }
    99%            { transform: translateX(0);            opacity: 0; }
}

@keyframes awGlitchB {
    0%, 92%, 100%  { transform: translateX(0);          opacity: 0; }
    94%            { transform: translateX(4px);          opacity: 1; }
    96%            { transform: translateX(-3px);         opacity: 1; }
    98%            { transform: translateX(2px);          opacity: 1; }
    99%            { transform: translateX(0);            opacity: 0; }
}

.aw-fx-cursor,
.aw-fx-cursor * {
    cursor: none !important;
}

#awCursorDot {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    background: var(--aw-fx-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s;
    box-shadow: 0 0 8px var(--aw-fx-cyan), 0 0 20px rgba(25, 54, 61, 0.3);
}

#awCursorRing {
    position: fixed;
    top: 0; left: 0;
    width: 32px; height: 32px;
    border: 1px solid rgba(32, 58, 65, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease,
                opacity 0.3s ease;
}


body:has(a:hover) #awCursorRing,
body:has(button:hover) #awCursorRing,
body:has(.aw-projects__card:hover) #awCursorRing {
    width: 52px;
    height: 52px;
    border-color: rgba(34, 71, 80, 0.85);
}

/* Líneas de crosshair (4 segmentos) */
#awCursorRing::before,
#awCursorRing::after {
    content: '';
    position: absolute;
    background: rgba(22, 25, 26, 0.5);
}

#awCursorRing::before { 
    width: 8px; height: 1px;
    top: 50%; left: -14px;
    transform: translateY(-50%);
    box-shadow: 38px 0 0 rgba(24, 38, 41, 0.5);
}

#awCursorRing::after { /* vertical */
    width: 1px; height: 8px;
    left: 50%; top: -14px;
    transform: translateX(-50%);
    box-shadow: 0 38px 0 rgba(20, 32, 35, 0.5);
}

.aw-fx-border-glow {
    position: relative;
    z-index: 0;
}

.aw-fx-border-glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(
        from var(--aw-fx-angle, 0deg),
        transparent 0deg,
        var(--aw-fx-cyan) 60deg,
        rgba(44, 53, 62, 0.8) 120deg,
        transparent 180deg,
        transparent 360deg
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: awBorderSpin 4s linear infinite;
}

@property --aw-fx-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes awBorderSpin {
    to { --aw-fx-angle: 360deg; }
}

.aw-fx-grid-bg {
    position: relative;
}

.aw-fx-grid-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--aw-fx-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--aw-fx-line) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center center;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}


.aw-fx-grid-bg > * {
    position: relative;
    z-index: 1;
}


.aw-fx-typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--aw-fx-cyan);
    width: 0;
    opacity: 0;
}

.aw-fx-typewriter.aw-fx-typing-active {
    opacity: 1;
    animation:
        awTypeIn var(--aw-fx-type-dur, 1.8s) steps(var(--aw-fx-chars, 20), end) forwards,
        awTypeCursor 0.8s step-end infinite;
}

.aw-fx-typewriter.aw-fx-type-done {
    border-right-color: transparent;
    width: auto;
}

@keyframes awTypeIn {
    from { width: 0; }
    to   { width: 100%; }
}

@keyframes awTypeCursor {
    0%, 100% { border-right-color: var(--aw-fx-cyan); }
    50%       { border-right-color: transparent; }
}


#awParticlesCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}


.aw-fx-scan-card {
    overflow: hidden;
}

.aw-fx-scan-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 210, 255, 0.06) 50%,
        transparent 100%
    );
    pointer-events: none;
    transition: none;
}

.aw-fx-scan-card:hover::after {
    animation: awScanDown 0.7s ease-out forwards;
}

@keyframes awScanDown {
    from { top: -40%; }
    to   { top: 110%; }
}


.aw-fx-counter {
    background: linear-gradient(
        90deg,
        var(--blanco) 0%,
        var(--blanco) 40%,
        var(--aw-fx-cyan) 50%,
        var(--blanco) 60%,
        var(--blanco) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: awShimmer 3.5s ease-in-out infinite 1s;
}

@keyframes awShimmer {
    0%   { background-position: 200% center; }
    50%  { background-position: -200% center; }
    100% { background-position: 200% center; }
}


.aw-fx-reveal {
    opacity: 0;
    transform: translateY(2.4rem);
    transition:
        opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.aw-fx-reveal.aw-fx-in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger: retrasa cada hijo secuencialmente */
.aw-fx-reveal-group > *:nth-child(1) { transition-delay: 0.05s; }
.aw-fx-reveal-group > *:nth-child(2) { transition-delay: 0.15s; }
.aw-fx-reveal-group > *:nth-child(3) { transition-delay: 0.25s; }
.aw-fx-reveal-group > *:nth-child(4) { transition-delay: 0.35s; }
.aw-fx-reveal-group > *:nth-child(5) { transition-delay: 0.45s; }
.aw-fx-reveal-group > *:nth-child(6) { transition-delay: 0.55s; }

#awHudLoader {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--aw-fx-cyan), rgba(28, 34, 40, 0.8));
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 0 8px var(--aw-fx-cyan);
    transition: width 0.4s ease, opacity 0.5s ease;
}

#awHudLoader.aw-hud-done {
    width: 100% !important;
    opacity: 0;
    transition: width 0.2s ease, opacity 0.6s ease 0.3s;
}


.aw-fx-decode-char {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.1s;
}

.aw-fx-decode-char.aw-fx-decoding {
    opacity: 1;
    color: var(--aw-fx-cyan);
}

.aw-fx-decode-char.aw-fx-decoded {
    opacity: 1;
    color: inherit;
    transition: color 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
    .aw-fx-glitch::before,
    .aw-fx-glitch::after,
    .aw-fx-border-glow::before,
    .aw-fx-typewriter,
    .aw-fx-counter,
    .aw-fx-scan-card::after,
    .aw-fx-scanlines::after {
        animation: none !important;
    }

    .aw-fx-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.aw-footer__privacy {
    font-size: 1.3rem; 
    color: rgba(255, 255, 255, 0.6); 
    text-decoration: none;
    margin-top: 0.5rem; 
    transition: color 0.2s ease, text-decoration 0.2s ease;
}


.aw-footer__privacy:hover {
    color: #ffffff; 
    text-decoration: underline; 
}

@media (min-width: 768px) {
   
    .aw-footer__bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

   
    .aw-footer__contact {
        flex-direction: row;
        justify-content: flex-end;
        gap: 2.5rem; 
        width: auto;
    }

    .aw-footer__privacy {
        margin-top: 0;
    }
}


