/* ============================================
   VARIABLES
   ============================================ */
:root {
    --inter: "Inter", sans-serif;
    --instrument: "Instrument Serif", serif;

    --gradient: linear-gradient(to left, #1dd2bf 0%, #3249d1 45%, #25a3f7 100%);

    --diamond-gradient: conic-gradient(from 45deg,
            #1dd2bf,
            #3249d1,
            #25a3f7,
            #3249d1,
            #1dd2bf);

    --abstract-gradient:
        radial-gradient(circle at 15% 25%, #1dd2bf 0%, transparent 35%),
        radial-gradient(circle at 85% 20%, #3249d1 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, #25a3f7 0%, transparent 35%),
        radial-gradient(circle at 20% 75%, #6b5cff 0%, transparent 30%), #3249d1;
}

/* ============================================
   RESET / BASE
   ============================================ */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    min-height: 100dvh;
    font-family: var(--inter);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* AOS: entradas más cortas y delicadas (default 100px) */
[data-aos="fade-up"] {
    transform: translate3d(0, 24px, 0);
}

[data-aos="fade-down"] {
    transform: translate3d(0, -24px, 0);
}

/* ============================================
   NAVBAR (fijo)
   ============================================ */
.navBar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    padding: 0 25px;
    z-index: 999;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(4, 1, 9, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    border-radius: 0 0 15px 15px;

    img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 30px;
        filter: drop-shadow(0 0 3px rgb(138, 138, 138));
    }

    .contacto,
    .menu {
        background-color: transparent;
        color: white;
        font-weight: 600;
        font-size: clamp(12px, 0.9vw, 16px);
        border: 1.5px solid white;
        border-radius: 5px;
        padding: 0.5em 1.25em;
        filter: drop-shadow(0 0 3px rgb(0, 0, 0));
        cursor: pointer;
        text-decoration: none;
        display: inline-block;
    }

    .menu {
        border: none;
    }
}

/* ============================================
   MENÚ OVERLAY
   ============================================ */
.menuOverlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(4, 1, 9, .88);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s ease;
}

.menuOverlay.open {
    opacity: 1;
    visibility: visible;
}

.menuCerrar {
    position: absolute;
    top: 22px;
    right: 25px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease, transform .3s ease;
}

.menuCerrar:hover {
    background: rgba(255, 255, 255, .14);
    transform: rotate(90deg);
}

.menuNav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menuNav a {
    display: flex;
    align-items: baseline;
    gap: 18px;
    text-decoration: none;
    color: #f3f3f3;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.25;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .5s ease, color .3s ease;
}

.menuOverlay.open .menuNav a {
    opacity: 1;
    transform: translateY(0);
}

.menuOverlay.open .menuNav a:nth-child(1) {
    transition-delay: .08s;
}

.menuOverlay.open .menuNav a:nth-child(2) {
    transition-delay: .14s;
}

.menuOverlay.open .menuNav a:nth-child(3) {
    transition-delay: .2s;
}

.menuOverlay.open .menuNav a:nth-child(4) {
    transition-delay: .26s;
}

.menuOverlay.open .menuNav a:nth-child(5) {
    transition-delay: .32s;
}

.menuNav a:hover {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.menuNum {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .35);
    -webkit-text-fill-color: rgba(255, 255, 255, .35);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100dvh;
    background: url(./img/bg.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    border-radius: 0 0 15px 15px;
}

.fondo {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #040109);
    z-index: 1;
}

.nav {
    height: 50px;
}

/* --- Mensaje principal --- */
.mainMessage {
    font-family: var(--inter);
    color: white;
    font-size: clamp(2.5rem, 6vw, 150px);
    line-height: 1.05;
    text-align: center;
    font-weight: 600;
    padding: 0 20px;
    z-index: 998;
}

.resaltado {
    font-weight: 900;
    background: var(--abstract-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* --- Bloque inferior --- */
.bottomMenssaje {
    width: 100%;
    padding: 30px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 99;
}

.submessage {
    color: rgba(138, 138, 138, 0.61);
    max-width: 500px;
    font-family: var(--instrument);
    font-size: clamp(16px, 1.1vw, 22px);
}

.conocenos {
    background-color: transparent;
    color: white;
    font-weight: 600;
    font-size: clamp(12px, 0.9vw, 16px);
    border: 1.5px solid white;
    border-radius: 5px;
    padding: 0.5em 1.25em;
    filter: drop-shadow(0 0 3px rgb(0, 0, 0));
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

/* ============================================
   VENTAJAS
   ============================================ */
.ventajas {
    width: 100%;
    min-height: 100dvh;
    background-color: #040109;
    padding: 120px 35px 120px 35px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;

    position: relative;

    overflow: hidden;
}

.ventajasTitulo {
    position: relative;
    display: block;
    max-width: 1000px;
    font-size: clamp(2.5rem, 6vw, 150px);
    font-family: var(--inter);
    color: #f3f3f3;
    line-height: 1.05;
    font-weight: 700;
    padding: 0 20px;
    z-index: 998;
}

.ventajasSubtitle {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    padding: 25px 20px;
    font-weight: 900;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.ventajaCard {
    position: relative;
    z-index: 1;
    padding: 25px 25px 25px 0px;
    background: rgba(255, 255, 255, .045);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 25px;
    width: 100%;
    max-width: 920px;
    display: flex;
    align-items: center;
    justify-content: start;
    border: 1px solid rgba(255, 255, 255, .09);
    transition: transform .35s ease, border-color .35s ease, background-color .35s ease;


    margin-top: 60px;
}

.ventajaCard:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 163, 247, .3);
    background: rgba(255, 255, 255, .07);
}

.cardIcon {
    padding: 25px;
    animation: iconFloat 5s ease-in-out infinite;

    svg {
        width: 64px;
        height: 64px;
        transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
    }
}

/* Delays escalonados por card */
.ventajaCard:nth-of-type(2) .cardIcon {
    animation-delay: .4s;
}

.ventajaCard:nth-of-type(3) .cardIcon {
    animation-delay: .8s;
}

.ventajaCard:hover .cardIcon svg {
    transform: scale(1.08) rotate(-3deg);
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cardIcon {
        animation: none;
    }

    .cardIcon svg {
        transition: none;
    }

    .ventajaCard:hover {
        transform: none;
    }

    .servicioCard:hover {
        transform: none;
    }

    .trabajoCard:hover {
        transform: none;
    }

    .contactoItem:hover,
    .contactoRed:hover,
    .contactoEnviar:hover {
        transform: none;
    }

    .menuNav a {
        transform: none;
        transition: opacity .2s ease;
    }

    .menuCerrar:hover {
        transform: none;
    }
}

.cardInfo {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 15px;
    font-size: 22px;

    .cardTitle {
        font-weight: 800;
        font-size: 24px;
        color: white;

    }

    .cardText {
        font-weight: 400;
        font-size: 22px;
        color: rgb(182, 182, 182);
    }
}

.ventajasLogo {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    /* border: 2px solid red; */
    top: 50%;
    right: -250px;
    transform: translateY(-50%);
    height: 80%;
    opacity: 0.12;
}


.servicios {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 100dvh;
    background-color: #040109;
    padding: 110px 65px 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 55px;
}

/* Glow azul detrás de las cards */
.servicios::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    width: 65%;
    height: 340px;
    background: radial-gradient(ellipse at center, rgba(37, 163, 247, .30) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.serviciosHeader {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.serviciosEyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: rgb(140, 140, 140);
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
}

.serviciosTitulo {
    font-weight: 800;
    font-size: 4rem;
    line-height: 1;
    color: #f3f3f3;
    margin: 0;
}

.serviciosIntro {
    font-size: 19px;
    line-height: 1.6;
    color: rgb(165, 165, 165);
    max-width: 560px;
    margin: 0;
}

.serviciosGrid {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1150px;
    display: flex;
    gap: 28px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.servicioCard {
    position: relative;
    text-decoration: none;
    color: #f3f3f3;
    cursor: pointer;
    flex: 1 1 300px;
    max-width: 360px;
    background: rgba(255, 255, 255, .045);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 24px;
    padding: 34px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    overflow: hidden;
    transition: transform .35s ease, border-color .35s ease, background-color .35s ease;
}

.servicioCard::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(37, 163, 247, .5), transparent 45%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.servicioCard:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .07);
}

.servicioCard:hover::before {
    opacity: 1;
}

.servicioCard:focus-visible,
.serviciosCta:focus-visible {
    outline: 2px solid #25a3f7;
    outline-offset: 3px;
}

.servicioCard:focus-visible .servicioArrow {
    color: #25a3f7;
}

.servicioNum {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: 'Instrument Serif', serif;
    font-size: 30px;
    color: rgba(255, 255, 255, .12);
    line-height: 1;
}

.servicioIcon {
    /* flex item en columna: sin esto el alto se encoge y el círculo se vuelve óvalo */
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 8px 24px rgba(37, 163, 247, .25);
}

.servicioTitle {
    font-weight: 800;
    font-size: 27px;
    color: #fff;
}

.servicioSub {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 20px;
    color: rgb(150, 150, 150);
    margin-top: -6px;
}

.servicioText {
    font-size: 16px;
    line-height: 1.6;
    color: rgb(160, 160, 160);
    margin-top: 4px;
}

.servicioArrow {
    margin-top: auto;
    padding-top: 20px;
    color: rgb(120, 120, 120);
    transition: color .35s ease, transform .35s ease;
}

.servicioCard:hover .servicioArrow {
    color: #25a3f7;
    transform: translate(2px, -2px);
}

.serviciosCta {
    position: relative;
    z-index: 1;
    border: none;
    cursor: pointer;
    padding: 16px 38px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    /* capa oscura sobre el gradient para que el texto no se pierda */
    background: linear-gradient(rgba(4, 1, 9, .32), rgba(4, 1, 9, .32)), var(--gradient);
    text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
    box-shadow: 0 10px 30px rgba(37, 163, 247, .3);
    transition: transform .3s ease, box-shadow .3s ease;
}

.serviciosCta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 38px rgba(37, 163, 247, .45);
}

/* ============================================
   TRABAJOS
   ============================================ */
.trabajos {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 100dvh;
    background-color: #040109;
    padding: 110px 65px 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 45px;
}

/* Glow de fondo */
.trabajos::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(50, 73, 209, .28) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.trabajosHeader {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.trabajosEyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: rgb(140, 140, 140);
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
}

.trabajosTitulo {
    font-weight: 800;
    font-size: 4rem;
    line-height: 1;
    color: #f3f3f3;
    margin: 0;
}

.trabajosTitulo .resaltado {
    background: none;
    -webkit-text-fill-color: initial;
    color: #f3f3f3;
}

.trabajosGrid {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1250px;
    display: grid;
    grid-template-columns: 1.15fr 1.15fr 1fr 1fr 0.85fr;
    grid-template-rows: 270px 270px;
    grid-template-areas:
        "hero hero v1 v2 mock"
        "hero hero v3 v4 mock";
    gap: 18px;
}

.trabajoHero {
    grid-area: hero;
}

.trabajoV1 {
    grid-area: v1;
}

.trabajoV2 {
    grid-area: v2;
}

.trabajoV3 {
    grid-area: v3;
}

.trabajoV4 {
    grid-area: v4;
}

.trabajoMockup {
    grid-area: mock;
}

.trabajoCard {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .02) 60%),
        #0C0C0C;
    border: 1px solid rgba(255, 255, 255, .09);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.trabajoCard:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 163, 247, .35);
    box-shadow: 0 16px 40px rgba(37, 163, 247, .18);
}

.trabajoCard video,
.trabajoCard img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* oculta alt/ícono de imagen rota mientras no existan los assets */
    color: transparent;
}

/* Botón play */
.trabajoPlay {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    transition: transform .3s ease, opacity .3s ease, background .3s ease;
}

.trabajoCard:not(.trabajoHero) .trabajoPlay {
    width: 52px;
    height: 52px;
}

.trabajoPlay:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(255, 255, 255, .2);
}

.trabajoCard.playing .trabajoPlay {
    opacity: 0;
    pointer-events: none;
}

/* Overlay inferior */
.trabajoOverlay {
    position: absolute;
    z-index: 1;
    inset: auto 0 0 0;
    padding: 40px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: linear-gradient(to top, rgba(4, 1, 9, .92) 0%, rgba(4, 1, 9, .55) 55%, transparent 100%);
    pointer-events: none;
}

.trabajoTitle {
    font-weight: 800;
    font-size: 18px;
    color: #fff;
}

.trabajoHero .trabajoTitle {
    font-size: 24px;
}

.trabajoLogro {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 15px;
    color: rgba(255, 255, 255, .55);
}

.trabajoHero .trabajoLogro {
    font-size: 18px;
}

/* ============================================
   CONTACTO
   ============================================ */
.contactanos {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 100dvh;
    background-color: #040109;
    padding: 110px 65px 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.contactanos::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 20%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 380px;
    background: radial-gradient(ellipse at center, rgba(50, 73, 209, .22) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

/* --- Card izquierda --- */
.contactoCard {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, .045);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 24px;
    padding: 52px 46px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contactoEyebrow {
    font-size: 15px;
    color: rgb(140, 140, 140);
}

.contactoTitulo {
    font-weight: 800;
    font-size: 3rem;
    color: #fff;
    margin: 0 0 24px;
}

.contactoItems {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contactoItem {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    border-radius: 14px;
    transition: transform .3s ease;
}

.contactoItem:hover {
    transform: translateX(4px);
}

.contactoItemIcon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contactoItemInfo {
    display: flex;
    flex-direction: column;
}

.contactoItemLabel {
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.contactoItemValue {
    font-size: 15px;
    color: rgb(165, 165, 165);
}

.contactoDivider {
    height: 1px;
    background: rgba(255, 255, 255, .1);
    margin: 26px 0 16px;
}

.contactoRedesLabel {
    font-size: 15px;
    color: rgb(140, 140, 140);
    margin-bottom: 10px;
}

.contactoRedes {
    display: flex;
    gap: 12px;
}

.contactoRed {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgb(200, 200, 200);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

.contactoRed:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    transform: translateY(-3px);
}

/* --- Formulario derecha --- */
.contactoForm {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
}

.contactoFormTitulo {
    font-weight: 800;
    font-size: 2.8rem;
    color: #fff;
    margin: 0 0 34px;
}

.contactoForm form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contactoForm label {
    font-size: 15px;
    font-weight: 600;
    color: rgb(200, 200, 200);
    margin-top: 16px;
}

.contactoForm input,
.contactoForm textarea {
    width: 100%;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: 15px 18px;
    font-family: var(--inter);
    font-size: 16px;
    color: #fff;
    resize: vertical;
    transition: border-color .3s ease, background .3s ease;
}

.contactoForm input::placeholder,
.contactoForm textarea::placeholder {
    color: rgb(110, 110, 110);
}

.contactoForm input:focus,
.contactoForm textarea:focus {
    outline: none;
    border-color: rgba(37, 163, 247, .5);
    background: rgba(255, 255, 255, .07);
}

.contactoEnviar {
    align-self: flex-end;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    padding: 16px 38px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(rgba(4, 1, 9, .32), rgba(4, 1, 9, .32)), var(--gradient);
    text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
    box-shadow: 0 10px 30px rgba(37, 163, 247, .25);
    transition: transform .3s ease, box-shadow .3s ease;
}

.contactoEnviar:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 38px rgba(37, 163, 247, .4);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
    .bottomMenssaje {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 24px 20px;
    }

    .submessage {
        max-width: 100%;
    }

    /* Ventajas */
    .ventajas {
        padding: 90px 24px;
    }

    .ventajaCard {
        width: 100%;
        margin-top: 30px;
    }

    .ventajasSubtitle {
        font-size: 1.15rem;
        padding: 20px;
    }

    /* Logo decorativo se desborda en pantallas chicas */
    .ventajasLogo {
        display: none;
    }

    /* Servicios */
    .servicios {
        padding: 90px 24px;
    }

    /* Trabajos */
    .trabajos {
        padding: 90px 24px;
    }

    /* Contacto */
    .contactanos {
        padding: 90px 24px;
        gap: 40px;
    }

    .trabajosTitulo {
        font-size: 2.6rem;
    }

    .trabajosGrid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "hero hero"
            "v1 v2"
            "v3 v4"
            "mock mock";
    }

    .trabajoHero {
        aspect-ratio: 16 / 9;
    }

    .trabajoV1,
    .trabajoV2,
    .trabajoV3,
    .trabajoV4 {
        aspect-ratio: 4 / 3;
    }

    .trabajoMockup {
        aspect-ratio: 16 / 10;
    }

    .serviciosGrid {
        flex-direction: column;
        align-items: stretch;
    }

    .servicioCard {
        max-width: 100%;
    }

    .serviciosTitulo {
        font-size: 2.6rem;
    }
}

/* Móvil */
@media (max-width: 480px) {
    .navBar {
        padding: 0 15px;
    }

    /* El logo centrado se solapa con el botón bajo ~445px.
       En móvil el menú hamburguesa cubre la navegación/contacto. */
    .navBar .contacto {
        display: none;
    }

    .submessage {
        font-size: 16px;
    }

    .bottomMenssaje {
        padding: 20px 16px;
    }

    /* Ventajas */
    .ventajas {
        padding: 70px 16px;
    }

    /* Trabajos: una columna */
    .trabajos {
        padding: 70px 16px;
    }

    /* Contacto */
    .contactanos {
        padding: 70px 16px;
    }

    .contactoCard,
    .contactoForm {
        max-width: 100%;
    }

    .contactoEnviar {
        align-self: stretch;
        justify-content: center;
    }

    .trabajosGrid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "hero"
            "v1"
            "v2"
            "v3"
            "v4"
            "mock";
    }

    .trabajosTitulo {
        font-size: 2.1rem;
    }

    .trabajoMockup {
        aspect-ratio: 4 / 5;
    }

    .ventajasTitulo {
        padding: 0;
    }

    .ventajasSubtitle {
        font-size: 1rem;
        padding: 18px 0;
    }

    /* Tarjeta pasa a columna: icono arriba, texto abajo */
    .ventajaCard {
        flex-direction: column;
        align-items: start;
        gap: 12px;
        padding: 22px;
    }

    .cardIcon {
        padding: 0;
    }

    .cardIcon svg {
        width: 48px;
        height: 48px;
    }

    .cardInfo {
        font-size: 18px;
    }

    .cardInfo .cardTitle {
        font-size: 20px;
    }

    .cardInfo .cardText {
        font-size: 16px;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}