/* =========================================================
   VARIABLES
========================================================= */

:root {
    --bg: #07090d;
    --bg-secondary: #0c1016;

    --white: #f5f7fa;
    --text: #c1c7d0;
    --muted: #828a96;

    --blue: #258cff;
    --blue-light: #39b8ff;

    --border: rgba(255, 255, 255, 0.10);

    --container: 1440px;

    --header-height: 94px;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
}


/* =========================================================
   GENERAL
========================================================= */

.container {
    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: var(--header-height);

    z-index: 100;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        backdrop-filter 0.3s ease;
}

.header.scrolled {
    background: rgba(7, 9, 13, 0.80);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-bottom: 1px solid var(--border);
}

.header__inner {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 40px;
}


/* Logo */

.logo {
    font-size: 30px;
    font-weight: 900;

    letter-spacing: -1.5px;

    position: relative;
    z-index: 110;
}

.logo span {
    color: var(--blue);
}


/* Navigation */

.nav {
    display: flex;
    align-items: center;

    gap: clamp(22px, 2.3vw, 42px);

    margin-left: auto;
}

.nav__link {
    position: relative;

    font-size: 13px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.04em;

    color: #d7dbe1;

    padding-block: 10px;

    transition: color 0.25s ease;
}

.nav__link:hover,
.nav__link.active {
    color: var(--blue-light);
}

.nav__link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -10px;

    width: 0;
    height: 2px;

    background: var(--blue);

    transition: width 0.25s ease;
}

.nav__link.active::after {
    width: 32px;
}


/* CTA */

.header__cta {
    margin-left: 25px;

    min-width: 168px;
    height: 52px;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.04em;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.header__cta span {
    font-size: 22px;
}

.header__cta:hover {
    background: var(--white);
    color: var(--bg);

    border-color: var(--white);
}


/* Mobile menu button */

.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    background: transparent;

    border: 1px solid var(--border);
    border-radius: 50%;

    cursor: pointer;

    position: relative;
    z-index: 110;
}

.menu-toggle span {
    position: absolute;

    left: 13px;

    width: 18px;
    height: 1px;

    background: white;

    transition:
        transform 0.3s ease,
        top 0.3s ease;
}

.menu-toggle span:first-child {
    top: 18px;
}

.menu-toggle span:last-child {
    top: 26px;
}

.menu-toggle.active span:first-child {
    top: 22px;
    transform: rotate(45deg);
}

.menu-toggle.active span:last-child {
    top: 22px;
    transform: rotate(-45deg);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding-top: var(--header-height);

    isolation: isolate;

    background:
        radial-gradient(
            circle at 67% 60%,
            rgba(20, 103, 210, 0.20),
            transparent 35%
        ),
        radial-gradient(
            circle at 83% 40%,
            rgba(13, 62, 125, 0.12),
            transparent 28%
        ),
        linear-gradient(
            120deg,
            #07090d 0%,
            #080b10 52%,
            #05070a 100%
        );
}


/* Decorative grid */

.hero__grid {
    position: absolute;
    inset: 0;

    z-index: -3;

    opacity: 0.12;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to right,
            transparent,
            black,
            transparent
        );
}


/* Glow */

.hero__glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;

    z-index: -2;
}

.hero__glow--one {
    width: 500px;
    height: 500px;

    right: 15%;
    top: 28%;

    background: rgba(0, 104, 255, 0.10);
}

.hero__glow--two {
    width: 350px;
    height: 350px;

    left: -180px;
    bottom: -100px;

    background: rgba(0, 140, 255, 0.08);
}


/* Layout */

.hero__container {
    position: relative;

    min-height: calc(100vh - var(--header-height));

    display: grid;

    grid-template-columns:
        minmax(650px, 0.95fr)
        minmax(600px, 1.05fr);

    align-items: center;

    gap: 0;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero__content {
    position: relative;
    z-index: 5;

    padding-block: 40px 115px;

    /* Permitimos que el titular aproveche parte
       del espacio central del Hero */
    width: 115%;
}

.hero__eyebrow {
    color: #64b8ff;

    font-size: 16px;
    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: 0.28em;

    margin-bottom: 18px;
}


/* Title */

.hero__title {
    font-size: clamp(52px, 5.2vw, 88px);

    font-weight: 900;

    line-height: 0.95;

    letter-spacing: -0.055em;

    text-transform: uppercase;

    margin-bottom: 28px;
}

.hero__title span {
    display: block;
}

.hero__title--accent {
    color: var(--blue);

    background:
        linear-gradient(
            100deg,
            #3fc2ff,
            #258cff 65%,
            #347cff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


/* Intro */

.hero__intro {
    max-width: 550px;
}

.hero__lead {
    font-size: clamp(19px, 1.4vw, 24px);

    line-height: 1.4;

    margin-bottom: 15px;
}

.hero__lead strong {
    font-weight: 800;
}

.hero__description {
    max-width: 570px;

    color: var(--text);

    font-size: 16px;
    line-height: 1.55;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero__actions {
    display: flex;
    align-items: center;

    gap: 35px;

    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    text-transform: uppercase;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.08em;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    min-width: 245px;
    height: 58px;

    padding-inline: 28px;

    border-radius: 100px;

    background:
        linear-gradient(
            100deg,
            #28afff,
            #2868ff
        );

    box-shadow:
        0 10px 35px rgba(35, 126, 255, 0.25);
}

.button--primary span {
    font-size: 22px;
}

.button--text span {
    color: var(--blue);
    font-size: 22px;
}


/* =========================================================
   STATS
========================================================= */

.hero__stats {
    display: flex;

    margin-top: 48px;
}

.stat {
    min-height: 88px;

    display: flex;
    align-items: center;

    gap: 18px;

    padding-right: 30px;

    margin-right: 30px;

    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: 0;

    padding-right: 0;
    margin-right: 0;
}

.stat__icon {
    color: var(--blue);

    font-size: 37px;
    font-weight: 700;
}

.stat__icon--wp {
    width: 34px;
    height: 34px;

    border: 2px solid var(--blue);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: Georgia, serif;

    font-size: 20px;
}

.stat strong,
.stat span {
    display: block;
}

.stat strong {
    font-size: 17px;

    margin-bottom: 6px;
}

.stat span {
    color: #a6adb7;

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.15em;
}


/* =========================================================
   HERO PHOTO
========================================================= */

.hero__visual {
    position: relative;

    height: calc(100vh - var(--header-height));
    min-height: 650px;

    align-self: end;

    z-index: 2;

    margin-left: -100px;

    overflow: visible;  
	top: -125px;
}

.hero__photo {
    position: absolute;

    z-index: 2;

    /* Ya no la anclamos abajo */
    top: 115px;
    left: 46%;

    transform: translateX(-50%);

    width: min(800px, 62vw);
    max-width: none;

    height: auto;
    max-height: none;

    object-fit: contain;

    filter:
        drop-shadow(
            0 30px 60px rgba(0, 0, 0, 0.45)
        );
}

.hero__photo-glow {
    position: absolute;

    z-index: 0;

    width: 650px;
    height: 650px;

    left: 50%;
    bottom: -120px;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(23, 118, 255, 0.20),
            rgba(23, 118, 255, 0.03) 45%,
            transparent 70%
        );

    filter: blur(20px);
}


/* Experience floating card */

.experience-card {
    position: absolute;

    z-index: 4;

    top: 24%;
    right: 0;

    width: 170px;
    min-height: 170px;

    padding: 30px;

    border: 1px solid rgba(88, 161, 255, 0.32);

    border-radius: 28px;

    background: rgba(8, 16, 27, 0.55);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    box-shadow: 0 30px 70px rgba(0,0,0,0.25);
}

.experience-card strong {
    display: block;

    font-size: 45px;

    margin-bottom: 20px;
}

.experience-card span {
    display: block;

    color: #c4cad2;

    font-size: 11px;

    line-height: 1.5;

    text-transform: uppercase;

    letter-spacing: 0.15em;
}

.experience-card i {
    position: absolute;

    right: 25px;
    bottom: 47px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--blue);
}

/* =========================================================
   HERO LAPTOP
========================================================= */

.hero__laptop {
    position: absolute;

    z-index: 5;

    /* Más hacia la izquierda */
    left: -18%;

    /* Gran parte queda fuera del Hero */
    top: 545px;

    /* Más pequeño */
    width: 590px;

    pointer-events: none;

    transform:
        perspective(1200px)
        rotateX(-2deg)
        rotateY(3deg);
}


/* Pantalla */

.hero__laptop-screen {
    position: relative;

    width: 100%;
    height: 350px;

    overflow: hidden;

    border-radius: 18px 18px 10px 10px;

    border: 2px solid rgba(255, 255, 255, 0.12);

    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(38, 126, 255, 0.12),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #192330,
            #0b1119 55%,
            #070b10
        );

    box-shadow:
        0 40px 100px rgba(0,0,0,0.65),
        inset 0 1px 0 rgba(255,255,255,0.08);
}


/* Reflejo */

.hero__laptop-screen::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            120deg,
            rgba(255,255,255,0.05),
            transparent 35%
        );

    pointer-events: none;
}


/* Cámara */

.hero__laptop-camera {
    position: absolute;

    top: 9px;
    left: 50%;

    transform: translateX(-50%);

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #020304;

    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06);
}


/* Logo pantalla */

.hero__laptop-logo {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    color: rgba(255,255,255,0.13);

    font-size: 28px;
    font-weight: 900;

    letter-spacing: -0.06em;
}

.hero__laptop-logo span {
    color: rgba(37, 140, 255, 0.4);
}


/* Base inferior */

.hero__laptop-base {
    position: absolute;

    left: -5%;
    bottom: -12px;

    width: 110%;
    height: 14px;

    border-radius:
        0 0 50% 50%;

    background:
        linear-gradient(
            to bottom,
            #202934,
            #080c11
        );

    box-shadow:
        0 10px 30px rgba(0,0,0,0.6);
}

/* =========================================================
   SCROLL INDICATOR
========================================================= */

.scroll-indicator {
    position: absolute;

    left: max(
        40px,
        calc((100vw - var(--container)) / 2)
    );

    bottom: 30px;

    z-index: 10;

    display: flex;
    align-items: center;

    gap: 25px;
}

.scroll-indicator__circle {
    width: 72px;
    height: 72px;

    border:
        1px solid rgba(255,255,255,0.25);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.scroll-indicator:hover
.scroll-indicator__circle {
    background: white;
    color: black;
}

.scroll-indicator__text {
    color: #a8afb9;

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.18em;
}

/* =========================================================
   SOBRE MÍ
========================================================= */

.about {
    position: relative;

    padding: 150px 0 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 45%,
            rgba(37, 140, 255, 0.08),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #080b10 0%,
            #0a0e14 100%
        );

    border-top: 1px solid var(--border);
}


/* Número decorativo */

.about__number {
    position: absolute;

    left: -35px;
    top: 120px;

    color: rgba(255, 255, 255, 0.018);

    font-size: clamp(280px, 28vw, 520px);
    font-weight: 900;

    line-height: 0.8;
    letter-spacing: -0.1em;

    pointer-events: none;
    user-select: none;
}


/* =========================================================
   CABECERA
========================================================= */

.about__header {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 18px;

    margin-bottom: 75px;
}

.about__index {
    color: var(--blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.about__label {
    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.22em;
}

.about__line {
    width: 80px;
    height: 1px;

    background: rgba(255, 255, 255, 0.18);
}


/* =========================================================
   GRID
========================================================= */

.about__grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(420px, 0.85fr)
        minmax(520px, 1.15fr);

    gap: clamp(70px, 8vw, 150px);

    align-items: center;

    padding-bottom: 0;
}


/* =========================================================
   IMAGEN
========================================================= */
/* =========================================================
   IMAGEN
========================================================= */

.about__visual {
    position: relative;

    height: 650px;

    display: flex;
    align-items: flex-end;

    isolation: isolate;
}

.about__visual::before {
    content: "";

    position: absolute;

    width: 480px;
    height: 480px;

    left: 43%;
    bottom: 40px;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(37, 140, 255, 0.11),
            rgba(37, 140, 255, 0.035) 45%,
            transparent 70%
        );

    filter: blur(20px);

    z-index: -1;

    pointer-events: none;
}

.about__image {
    position: absolute;

    z-index: 2;

    left: 45%;
    bottom: 0;

    transform: translateX(-50%);

    width: 610px;
    max-width: none;

    height: auto;

    filter:
        drop-shadow(
            0 30px 50px rgba(0, 0, 0, 0.32)
        );
}


/* 6+ junto a fotografía */

.about__years {
    position: absolute;

    z-index: 4;

    right: -5px;
    bottom: 65px;

    width: 160px;
    min-height: 145px;

    padding: 25px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    background: rgba(8, 16, 27, 0.62);

    border:
        1px solid rgba(70, 150, 255, 0.28);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.22);
}

.about__years strong {
    color: var(--white);

    font-size: 48px;
    font-weight: 800;

    line-height: 1;

    margin-bottom: 12px;
}

.about__years span {
    color: #9fa8b5;

    font-size: 9px;
    font-weight: 600;

    line-height: 1.5;

    text-transform: uppercase;

    letter-spacing: 0.16em;
}


/* =========================================================
   CONTENIDO
========================================================= */

.about__content {
    position: relative;
  margin-top: -90px;
    max-width: 680px;
}

.about__eyebrow {
    color: #65baff;

    margin-bottom: 24px;

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.22em;
}


/* Título */

.about__title {
    margin-bottom: 42px;

    font-size: clamp(48px, 4.7vw, 76px);
    font-weight: 900;

    line-height: 0.94;

    letter-spacing: -0.055em;

    text-transform: uppercase;
}

.about__title span {
    display: block;
}

.about__title-accent {
    color: var(--blue);

    background:
        linear-gradient(
            100deg,
            #3fc2ff,
            #258cff 65%,
            #347cff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


/* Texto */

.about__text {
    max-width: 620px;
}

.about__text p {
    color: #aeb6c1;

    margin-bottom: 20px;

    font-size: 15px;

    line-height: 1.75;
}

.about__text p:last-child {
    margin-bottom: 0;
}

.about__text strong {
    color: #edf1f6;

    font-weight: 600;
}


/* =========================================================
   FRASE
========================================================= */

.about__statement {
    display: grid;

    grid-template-columns: 45px 1fr;

    gap: 20px;

    align-items: start;

    max-width: 570px;

    margin-top: 45px;
}

.about__statement-line {
    display: block;

    width: 45px;
    height: 2px;

    margin-top: 11px;

    background: var(--blue);
}

.about__statement p {
    color: #dfe4eb;

    font-size: 18px;
    font-weight: 500;

    line-height: 1.5;
}

.about__statement strong {
    color: var(--white);

    font-weight: 800;
}


/* =========================================================
   TECNOLOGÍAS — MARQUEE INFINITO
========================================================= */

.about__technologies {
    position: relative;

    width: 100%;

    overflow: hidden;

    padding: 28px 0;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.015);
}


/* Pista completa */

.about__technologies-track {
    display: flex;
    align-items: center;

    width: max-content;

    animation: technologies-scroll 25s linear infinite;

    will-change: transform;
}


/* Cada copia */

.about__technologies-group {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    gap: 35px;

    padding-right: 35px;
}


/* Textos */

.about__technologies-group span {
    flex-shrink: 0;

    color: #8f98a5;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.22em;

    white-space: nowrap;
}


/* Puntos */

.about__technologies-group i {
    display: block;

    width: 5px;
    height: 5px;

    flex: 0 0 5px;

    border-radius: 50%;

    background: var(--blue);
}


/* Animación */

@keyframes technologies-scroll {

    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-25%, 0, 0);
    }

}


/* =========================================================
   PLACEHOLDER SECTIONS
========================================================= */

.placeholder-section {
    min-height: 80vh;

    display: flex;
    align-items: center;

    border-top: 1px solid var(--border);

    background: var(--bg-secondary);
}

.placeholder-section:nth-child(even) {
    background: var(--bg);
}

.placeholder-section span {
    display: block;

    color: var(--blue);

    font-size: 14px;

    margin-bottom: 20px;
}

.placeholder-section h2 {
    font-size: clamp(45px, 7vw, 100px);

    letter-spacing: -0.06em;
}


/* =========================================================
   SMALL DESKTOP / LAPTOP
   1101px — 1350px
========================================================= */

@media (min-width: 1101px) and (max-width: 1350px) {

    /* ========================================
       HEADER
    ======================================== */

    .container {
        width: calc(100% - 70px);
    }

    .header__inner {
        gap: 20px;
    }

    .logo {
        font-size: 26px;
    }

    .nav {
        gap: 20px;
    }

    .nav__link {
        font-size: 11px;
    }

    .header__cta {
        min-width: 145px;
        height: 48px;

        margin-left: 10px;

        font-size: 11px;
    }


    /* ========================================
       HERO
    ======================================== */

    .hero__container {
        grid-template-columns:
            minmax(570px, 1fr)
            minmax(430px, 0.82fr);

        gap: 0;
    }


    /* ========================================
       CONTENIDO
    ======================================== */

    .hero__content {
        width: 112%;

        padding:
            35px
            0
            100px;
    }

    .hero__eyebrow {
        font-size: 13px;

        margin-bottom: 17px;
    }

    .hero__title {
        font-size: clamp(53px, 5vw, 68px);

        line-height: 0.93;

        margin-bottom: 27px;

        white-space: nowrap;
    }

    .hero__intro {
        max-width: 610px;
    }

    .hero__lead {
        font-size: 18px;
    }

    .hero__description {
        font-size: 14px;

        max-width: 550px;
    }


    /* ========================================
       BOTONES
    ======================================== */

    .hero__actions {
        margin-top: 28px;
    }

    .button--primary {
        min-width: 215px;

        height: 54px;
    }


    /* ========================================
       ESPECIALIDADES
    ======================================== */

    .hero__stats {
        margin-top: 38px;
    }

    .stat {
        min-height: 72px;

        padding-right: 18px;
        margin-right: 18px;
    }

    .stat strong {
        font-size: 14px;
    }

    .stat span {
        font-size: 8px;
    }


    /* ========================================
       ZONA VISUAL
    ======================================== */

    .hero__visual {
        height:
            calc(100vh - var(--header-height));

        min-height: 590px;

        margin-left: -35px;
    }


    /* Roberto */

    .hero__photo {
        top: 240px;
        bottom: auto;

        left: 46%;

        width: 690px;

        max-width: none;
        max-height: none;

        height: auto;

        transform:
            translateX(-50%);
    }
    /* ========================================
       TARJETA 6+
    ======================================== */

    .experience-card {
        top: 26%;
        right: -5px;

        width: 135px;
        min-height: 135px;

        padding: 22px;

        border-radius: 22px;
    }

    .experience-card strong {
        font-size: 37px;

        margin-bottom: 14px;
    }

    .experience-card span {
        font-size: 8px;
    }

    .experience-card i {
        right: 18px;
        bottom: 37px;
    }


    /* ========================================
       PORTÁTIL
    ======================================== */

    .hero__laptop {
    left: -27%;
    top: 630px;
    width: 560px;

    transform:
        perspective(1200px)
        rotateX(-2deg)
        rotateY(3deg);
}

    .hero__laptop-screen {
        height: 320px;
    }

}
/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 1100px) {

    :root {
        --header-height: 78px;
    }

    .container {
        width: calc(100% - 48px);
    }


    /* HEADER */

    .header__cta {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav {
        position: fixed;
        inset: 0;

        z-index: 100;

        background: rgba(5, 7, 10, 0.98);

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;

        padding: 60px;

        gap: 20px;

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .nav__link {
        font-size: clamp(32px, 6vw, 60px);

        font-weight: 800;

        text-transform: none;

        letter-spacing: -0.04em;
    }

    .nav__link::after {
        display: none;
    }


    /* HERO */

    .hero {
        min-height: auto;

        padding-top: var(--header-height);

        overflow: hidden;
    }

    .hero__container {
        min-height: auto;

        display: flex;
        flex-direction: column;

        align-items: stretch;

        gap: 0;
    }


    /* TEXTO */

    .hero__content {
        width: 100%;

        padding:
            70px
            0
            20px;

        z-index: 10;
    }

    .hero__eyebrow {
        font-size: 13px;

        margin-bottom: 18px;
    }

    .hero__title {
        max-width: 850px;

        font-size: clamp(55px, 9vw, 90px);

        white-space: normal;

        line-height: 0.92;
    }

    .hero__intro {
        max-width: 500px;
    }

    .hero__description {
        max-width: 600px;
    }


    /* FOTO */

    .hero__visual {
        position: relative;

        width: 100%;

        height: 650px;
        min-height: 0;

        margin-left: 0;

        align-self: auto;

        overflow: visible;
    }

    .hero__photo {
        top: 55px;
        bottom: auto;

        left: 66%;

        transform: translateX(-50%);

        width: 760px;

        max-width: none;
        max-height: none;

        height: auto;
    }

    /* TARJETA 6+ */

    .experience-card {
    top: -100px;
    right: 4%;
    width: 145px;
    min-height: 145px;
    padding: 24px;
  }


    /* PORTÁTIL */

    .hero__laptop {
        left: 50%;

        width: 570px;

        transform:
            translateX(-62%)
            perspective(1200px)
            rotateX(-2deg)
            rotateY(3deg);
    }


    /* SCROLL */

    .scroll-indicator {
        display: none;
    }

}



/* =========================================================
   MOBILE
========================================================= */

/* =========================================================
   MOBILE — < 700px
========================================================= */

@media (max-width: 700px) {

    :root {
        --header-height: 70px;
    }

    .container {
        width: calc(100% - 32px);
    }


    /* ===============================
       HEADER
    =============================== */

    .header__inner {
        width: calc(100% - 32px);
    }

    .logo {
        font-size: 24px;
    }

    .header__cta {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav {
        padding: 32px;
    }

    .nav__link {
        font-size: 36px;
    }


    /* ===============================
       HERO
    =============================== */

    .hero {
        min-height: auto;
        padding-top: var(--header-height);
        overflow: hidden;
    }

    .hero__container {
        display: flex;
        flex-direction: column;

        width: 100%;

        padding: 0 20px;

        min-height: 0;
    }


    /* ===============================
       CONTENIDO
    =============================== */

    .hero__content {
        width: 100%;

        padding: 42px 0 0;

        z-index: 10;
    }

    .hero__eyebrow {
        font-size: 9px;
        letter-spacing: 0.27em;

        margin-bottom: 15px;
    }

    .hero__title {
        width: 100%;

        font-size: clamp(39px, 12vw, 56px);

        line-height: 0.91;
        letter-spacing: -0.055em;

        white-space: normal;

        margin-bottom: 24px;
    }

    .hero__title span {
        display: block;
    }


    /* ===============================
       TEXTO
    =============================== */

    .hero__intro {
        width: 100%;
        max-width: none;
    }

    .hero__lead {
        max-width: 350px;

        font-size: 16px;
        line-height: 1.45;

        margin-bottom: 14px;
    }

    .hero__description {
        max-width: 350px;

        font-size: 13px;
        line-height: 1.55;
    }


    /* ===============================
       BOTONES
    =============================== */

    .hero__actions {
        display: flex;
        align-items: center;

        gap: 16px;

        margin-top: 26px;
    }

    .button {
        font-size: 9px;
    }

    .button--primary {
        min-width: 155px;
        height: 48px;

        padding: 0 16px;
    }

    .button--text {
        gap: 8px;
    }

/* ========================================
   ESPECIALIDADES
======================================== */

.hero__stats {
    position: relative;
    z-index: 10;

    display: grid;
    grid-template-columns: 1fr 1fr;

    width: 100%;

    margin-top: 36px;
    padding: 22px 0;

    border-top: 1px solid rgba(255,255,255,.10);
}

.stat {
    display: flex;
    align-items: center;

    min-width: 0;
    min-height: 55px;

    margin: 0;
    padding: 0 22px;

    gap: 13px;
}

.stat:first-child {
    padding-left: 0;

    border-right: 1px solid rgba(255,255,255,.10);
}

.stat:last-child {
    padding-right: 0;
    border-right: 0;
}

.stat__icon {
    flex: 0 0 auto;
    font-size: 37px;
}

.stat__icon--wp {
    width: 31px;
    height: 31px;

    font-size: 18px;
}

.stat strong {
    display: block;

    font-size: 13px;
    line-height: 1.1;
}

.stat span {
    display: block;

    margin-top: 5px;

    font-size: 7px;
    letter-spacing: .12em;
}


/* ========================================
   ZONA FOTOGRÁFICA
======================================== */

/* ZONA FOTO */
    .hero__visual {
        position: relative;

        width: calc(100% + 40px);
        height: 460px;

        min-height: 0;

        margin-left: -20px;
        margin-top: 0;

        /*
         * IMPORTANTE:
         * dejamos visible el portátil aunque sobresalga
         */
        overflow: visible;

        z-index: 4;
    }


 /* FOTO */
    .hero__photo {
        position: absolute;

        z-index: 2;

        top: 110px;
        left: 64%;

        width: 500px;
        height: auto;

        max-width: none;
        max-height: none;

        transform: translateX(-50%);
    }




/* ========================================
   6+
======================================== */
.experience-card {
    top: 130px;
    left: 18px;
	right: auto;
	    width: 100px;
    min-height: 95px;
}

.experience-card strong {
    margin: 0;

    font-size: 24px;
    line-height: 1;
}

.experience-card span {
    max-width: 55px;

    font-size: 6px;
    line-height: 1.35;
}

.experience-card i {
    display: none;
}

/* ========================================
   PORTÁTIL
======================================== */

    /* PORTÁTIL */
    

    .hero__laptop-screen {
        height: 280px;
    }

    /* ===============================
       GLOW
    =============================== */

    .hero__photo-glow {
        width: 400px;
        height: 400px;

        left: 50%;
        bottom: -100px;

        transform: translateX(-50%);
    }


    .scroll-indicator {
        display: none;
    }
	 .hero__laptop {
    position: absolute;
    z-index: 5;
    left: 42%;
    top: 400px;
    width: min(382px, 105vw);
    pointer-events: none;
    transform: translateX(-62%) perspective(1000px) rotateX(-2deg) rotateY(3deg);
  }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .hero__title {
        font-size: 39px;
    }

    .hero__lead,
    .hero__description {
        max-width: 100%;
    }

    .hero__actions {
        gap: 10px;
    }

    .button--primary {
        min-width: 145px;
    }

    .hero__photo {
        width: 420px;    
		top: 185px;
    }

    .hero__laptop {
        width: 340px;
        top: 444px;
    left: 40%;

        transform:
            translateX(-60%)
            perspective(1000px)
            rotateX(-2deg)
            rotateY(3deg);
    }

    .hero__laptop-screen {
        height: 215px;
    }
	
}



/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 370px) {

    .hero__title {
        font-size: 38px;
    }

    .hero__lead {
        font-size: 16px;
    }

    .hero__actions {
        flex-direction: column;

        align-items: flex-start;
    }

    .hero__stats {
        margin-top: 25px;
    }

    .hero__visual {
        height: 390px;
    }

    .hero__photo {
        width: 370px;    
		top: 176px;
    left: 51%;
    }

    .experience-card {
        transform: scale(0.9);

        transform-origin: top right;
    }

}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}

/* =========================================================
   SOBRE MÍ — RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .about {
        padding-top: 110px;
    }

    .about__header {
        margin-bottom: 55px;
    }

    .about__grid {
        grid-template-columns:
            minmax(330px, 0.8fr)
            minmax(420px, 1.2fr);

        gap: 65px;

        padding-bottom: 0px;
    }

    .about__visual {
    height: 560px;
}

.about__image {
    width: 530px;
}

    .about__years {
        right: -25px;

        width: 145px;
        min-height: 130px;
    }

    .about__title {
        font-size: clamp(43px, 5.5vw, 62px);
    }

}


@media (max-width: 870px) {

    .about {
        padding-top: 80px;
    }

    .about__number {
        top: 90px;
        left: -20px;

        font-size: 250px;
    }

    .about__container {
        width: calc(100% - 40px);
    }

    .about__header {
        margin-bottom: 45px;
    }


    /* En móvil el contenido pasa primero */

    .about__grid {
        display: flex;
        flex-direction: column;

        gap: 55px;

        padding-bottom: 75px;
    }

    .about__content {
        order: 1;

        width: 100%;
        max-width: none;
    }

    .about__visual {
        order: 2;

        width: 100%;
    }


    /* Título */

    .about__eyebrow {
        margin-bottom: 18px;

        font-size: 9px;
    }

    .about__title {
        margin-bottom: 32px;

        font-size: clamp(40px, 12vw, 57px);
    }


    /* Texto */

    .about__text {
        max-width: none;
    }

    .about__text p {
        font-size: 14px;

        line-height: 1.7;
    }


    /* Fotografía */

    .about__visual {
    width: 100%;
    height: 500px;
}

.about__image {
    left: 50%;
    bottom: 0;

    width: 500px;

    transform: translateX(-50%);
}

.about__visual::before {
    width: 360px;
    height: 360px;

    left: 50%;
    bottom: 20px;
}

    .about__years {
        right: 0;
        bottom: 35px;

        width: 125px;
        min-height: 115px;

        padding: 20px;
    }

    .about__years strong {
        font-size: 37px;
    }


    /* Frase */

    .about__statement {
        grid-template-columns: 30px 1fr;

        gap: 15px;

        margin-top: 35px;
    }

    .about__statement-line {
        width: 30px;
    }

    .about__statement p {
        font-size: 16px;
    }


    /* Tecnologías */

    .about__technologies {
        padding: 22px 0;
    }

    .about__technologies-track {
    animation-duration: 22s;
}

.about__technologies-group {
    gap: 26px;
    padding-right: 26px;
}

    .about__technologies-track span {
        font-size: 9px;
    }

}


@media (max-width: 420px) {

    .about {
        padding-top: 70px;
    }

    .about__header {
        gap: 12px;

        margin-bottom: 38px;
    }

    .about__line {
        width: 45px;
    }

    .about__title {
        font-size: 39px;
    }

    .about__visual {
    height: 430px;
}

.about__image {
    width: 430px;
}
.about__content {
  margin-top: 0px;
 } 

.about__years {
    right: 0;
    bottom: 30px;

    width: 112px;
    min-height: 105px;
}

	.about__grid {
    padding-bottom: 0px;
  }

}
/* =========================================================
   SOBRE MÍ — TABLET / MÓVIL GRANDE
   421px — 870px
========================================================= */

@media (min-width: 421px) and (max-width: 870px) {

    .about {
        padding-top: 70px;
    }

    /* Cabecera 01 / SOBRE MÍ */

    .about__header {
        position: relative;
        z-index: 5;

        margin-bottom: 45px;
    }


    /* Contenido */

    .about__grid {
        gap: 35px;
        padding-bottom: 0;
    }

    .about__content {
        position: relative;
        z-index: 3;
  margin-top: 0px;
    }


    /* Eyebrow */

    .about__eyebrow {
        margin-bottom: 15px;

        font-size: 9px;
        line-height: 1.4;
    }


    /* Título */

    .about__title {
        margin-bottom: 28px;

        font-size: clamp(43px, 8vw, 54px);

        line-height: 0.91;
        letter-spacing: -0.055em;
    }


    /* Texto */

    .about__text p {
        margin-bottom: 18px;

        font-size: 13px;
        line-height: 1.65;
    }

    .about__text p:last-child {
        margin-bottom: 0;
    }


    /* Frase final */

    .about__statement {
        margin-top: 30px;

        grid-template-columns: 30px 1fr;

        gap: 14px;
    }

    .about__statement p {
        font-size: 15px;
        line-height: 1.45;
    }


    /* Roberto + Elvis */

    .about__visual {
        height: 440px;

        margin-top: 40px;
    }

    .about__image {
        left: 50%;

        width: 470px;

        bottom: 0;

        transform: translateX(-50%);
    }


    /* Tarjeta 6+ */

    .about__years {
        right: 6%;
        bottom: 55px;

        width: 120px;
        min-height: 110px;

        padding: 18px;
    }

    .about__years strong {
        font-size: 38px;
    }

    .about__years span {
        font-size: 8px;
    }

}



/* =========================================================
   02 · QUÉ PUEDO DESARROLLAR
========================================================= */

.services {
    position: relative;
    overflow: hidden;

    padding: 110px 0 125px;

    background: #070c13;

    border-bottom: 1px solid var(--border);
}


/* =========================================================
   FONDO
========================================================= */

.services__glow {
    position: absolute;

    width: 650px;
    height: 650px;

    left: -280px;
    top: 15%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(37, 140, 255, 0.09),
            rgba(37, 140, 255, 0.025) 45%,
            transparent 70%
        );

    filter: blur(25px);

    pointer-events: none;
}
.services__background-number {
    position: absolute;

    z-index: 0;

    left: -35px;
    top: 85px;

    color: rgba(255, 255, 255, 0.025);

    font-size: clamp(280px, 29vw, 520px);
    font-weight: 900;

    line-height: 0.8;
    letter-spacing: -0.09em;

    user-select: none;
    pointer-events: none;
}

/* =========================================================
   CABECERA
========================================================= */

.services__container {
    position: relative;
    z-index: 2;
}

.services__header {
    display: flex;
    align-items: center;

    gap: 20px;

    margin-bottom: 85px;
}

.services__index {
    color: var(--blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.15em;
}

.services__label {
    color: #fff;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.22em;
}

.services__line {
    width: 80px;
    height: 1px;

    margin-left: 5px;

    background: rgba(255, 255, 255, 0.22);
}


/* =========================================================
   LAYOUT
========================================================= */

.services__layout {
    display: grid;

    grid-template-columns:
        minmax(330px, 0.75fr)
        minmax(600px, 1.25fr);

    gap: clamp(70px, 9vw, 150px);

    align-items: start;
}


/* =========================================================
   COLUMNA IZQUIERDA
========================================================= */

.services__intro {
    position: sticky;

    top: 145px;
}

.services__title {
    margin: 0;

    color: #fff;

    font-size: clamp(55px, 5.3vw, 82px);
    font-weight: 900;

    line-height: 0.88;

    letter-spacing: -0.065em;

    text-transform: uppercase;
}

.services__title span {
    display: block;
}

.services__title-accent {
    color: var(--blue);
}

.services__description {
    margin: 38px 0 0;

    color: #aab4c2;

    font-size: 16px;
    line-height: 1.65;
}

.services__signature {
    display: flex;
    align-items: flex-start;

    gap: 25px;

    margin-top: 80px;
}

.services__signature > span {
    width: 40px;
    height: 2px;

    margin-top: 7px;

    flex: 0 0 auto;

    background: var(--blue);
}

.services__signature p {
    margin: 0;

    color: #778392;

    font-size: 9px;
    font-weight: 800;

    line-height: 1.6;

    text-transform: uppercase;

    letter-spacing: 0.17em;
}


/* =========================================================
   LISTADO
========================================================= */

.services__list {
    border-top: 1px solid var(--border);
}

.service-item {
    position: relative;

    border-bottom: 1px solid var(--border);

    transition:
        background 0.35s ease,
        border-color 0.35s ease;
		  padding: 0px 10px;
}


/* =========================================================
   BOTÓN
========================================================= */

.service-item__trigger {
    width: 100%;

    display: grid;

    grid-template-columns: 75px 1fr 55px;

    align-items: center;

    gap: 25px;

    padding: 30px 0;

    border: 0;

    background: transparent;

    color: inherit;

    font: inherit;

    text-align: left;

    cursor: pointer;
}

.service-item__number {
    color: #566273;

    font-size: 36px;
    font-weight: 500;

    letter-spacing: -0.05em;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.service-item__name {
    color: #fff;

    font-size: clamp(17px, 1.35vw, 22px);
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.06em;
}

.service-item__arrow {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    justify-self: end;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;

    color: #fff;

    font-size: 20px;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.35s ease;
}


/* Hover */

.service-item:hover .service-item__number {
    color: var(--blue);
}

.service-item:hover .service-item__arrow {
    border-color: var(--blue);

    color: var(--blue);

    transform: translateX(4px);
}


/* =========================================================
   CONTENIDO DESPLEGABLE
========================================================= */

.service-item__content {
    display: grid;

    grid-template-rows: 0fr;

    overflow: hidden;

    transition:
        grid-template-rows 0.5s
        cubic-bezier(0.22, 1, 0.36, 1);
}

.service-item__content-inner {
    min-height: 0;

    overflow: hidden;

    padding-left: 100px;
    padding-right: 75px;

    opacity: 0;

    transform: translateY(-12px);

    transition:
        opacity 0.35s ease,
        transform 0.45s ease,
        padding 0.45s ease;
}


/* =========================================================
   SERVICIO ACTIVO
========================================================= */

.service-item.is-active {
    background:
        linear-gradient(
            110deg,
            rgba(37, 140, 255, 0.07),
            rgba(37, 140, 255, 0.015)
        );
}

.service-item.is-active .service-item__number {
    color: var(--blue);
}

.service-item.is-active .service-item__arrow {
    color: #07101a;

    background: var(--blue);

    border-color: var(--blue);

    transform: rotate(-90deg);
}

.service-item.is-active .service-item__content {
    grid-template-rows: 1fr;
}

.service-item.is-active
.service-item__content-inner {
    padding-top: 0;
    padding-bottom: 35px;

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   CONTENIDO DEL SERVICIO
========================================================= */

.service-item__lead {
    max-width: 430px;

    margin: 0 0 18px;

    color: #aab4c2;

    font-size: 14px;
    line-height: 1.6;
}

.service-item__tech {
    margin-bottom: 24px;

    color: var(--blue);

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.16em;
}

.service-item__features {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px 25px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.service-item__features li {
    position: relative;

    padding-left: 20px;

    color: #c3cad3;

    font-size: 12px;
    line-height: 1.5;
}

.service-item__features li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 0;

    color: var(--blue);

    font-weight: 800;
}


/* 101 CLUB */

.service-item__case {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 27px;

    color: #fff;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.1em;

    transition: color 0.25s ease;
}

.service-item__case span {
    color: var(--blue);

    font-size: 17px;
}

.service-item__case:hover {
    color: var(--blue);
}
/* =========================================================
   SERVICIOS · VISUAL DESARROLLO A MEDIDA
========================================================= */

.service-item__body {
    display: grid;

    grid-template-columns:
        minmax(300px, 1fr)
        290px;

    gap: 35px;

    align-items: center;
}


/* =========================================================
   VISUAL
========================================================= */

.service-visual {
    position: relative;

    height: 212px;

    overflow: hidden;

    opacity: 0;

    transform: translateX(20px);

    transition:
        opacity 0.6s ease 0.15s,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.service-item.is-active .service-visual {
    opacity: 1;

    transform: translateX(0);
}


/* </> gigante de fondo */

.service-visual__code {
    position: absolute;

    right: -5px;
    top: 50%;

    transform: translateY(-50%);

    color: rgba(255, 255, 255, 0.025);

    font-size: 110px;
    font-weight: 900;

    line-height: 1;

    letter-spacing: -0.1em;

    pointer-events: none;
}


/* =========================================================
   RED TECNOLÓGICA
========================================================= */

.tech-network {
    position: absolute;

    inset: 0;
}


/* Nodos */

.tech-node {
    position: absolute;

    z-index: 3;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(37, 140, 255, 0.35);

    border-radius: 50%;

    background: #09111c;

    color: #7d8998;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.1em;

    transition:
        border-color 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease;
}


/* Nodo central */

.tech-node--core {
    left: 50%;
    top: 50%;

    width: 54px;
    height: 54px;

    transform: translate(-50%, -50%);

    border-color: var(--blue);

    background:
        rgba(37, 140, 255, 0.08);

    box-shadow:
        0 0 35px rgba(37, 140, 255, 0.08);
}

.tech-node--core span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: var(--blue);

    box-shadow:
        0 0 18px rgba(37, 140, 255, 0.8);
}


/* Posiciones */

.tech-node--php {
    left: 3%;
    top: 12%;
}

.tech-node--js {
    right: 5%;
    top: 10%;
}

.tech-node--db {
    left: 7%;
    bottom: 9%;
}

.tech-node--api {
    right: 2%;
    bottom: 10%;
}


/* =========================================================
   LÍNEAS
========================================================= */

.tech-line {
    position: absolute;

    z-index: 1;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(37, 140, 255, 0.08),
            rgba(37, 140, 255, 0.75)
        );

    transform-origin: left center;

    opacity: 0;

    transition:
        opacity 0.5s ease 0.25s;
}

.service-item.is-active .tech-line {
    opacity: 1;
}


/* PHP → centro */

.tech-line--php {
    width: 90px;

    left: 42px;
    top: 42px;

    transform: rotate(25deg);
}


/* JS → centro */

.tech-line--js {
    width: 85px;

    right: 40px;
    top: 42px;

    transform-origin: right center;
    transform: rotate(-27deg);
}


/* DB → centro */

.tech-line--db {
    width: 90px;

    left: 47px;
    bottom: 42px;

    transform: rotate(-24deg);
}


/* API → centro */

.tech-line--api {
    width: 90px;

    right: 38px;
    bottom: 42px;

    transform-origin: right center;
    transform: rotate(26deg);
}


/* =========================================================
   PULSO DEL NODO CENTRAL
========================================================= */

.service-item.is-active
.tech-node--core::after {

    content: "";

    position: absolute;

    inset: -1px;

    border:
        1px solid rgba(37, 140, 255, 0.5);

    border-radius: 50%;

    animation:
        tech-pulse 2.2s ease-out infinite;
}


@keyframes tech-pulse {

    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.55);
        opacity: 0;
    }

    100% {
        transform: scale(1.55);
        opacity: 0;
    }

}

/* =========================================================
   SERVICIOS · VISUAL WEB
========================================================= */

.service-visual--website {
    display: flex;
    align-items: center;
    justify-content: center;
}

.website-demo {
    position: relative;

    width: 245px;
}


/* Navegador */

.website-demo__browser {
    position: relative;

    width: 100%;

    overflow: hidden;

    border:
        1px solid rgba(37, 140, 255, 0.32);

    background: #080f19;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.2);

    transform:
        perspective(700px)
        rotateY(-4deg);

    transition:
        border-color 0.4s ease,
        transform 0.5s ease;
}

.service-item.is-active
.website-demo__browser {

    border-color:
        rgba(37, 140, 255, 0.55);

    transform:
        perspective(700px)
        rotateY(0);
}


/* Barra navegador */

.website-demo__topbar {
    height: 25px;

    display: flex;
    align-items: center;

    padding: 0 9px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    background: rgba(255, 255, 255, 0.025);
}

.website-demo__dots {
    display: flex;

    gap: 4px;
}

.website-demo__dots i {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #4d5968;
}

.website-demo__url {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    color: #536070;

    font-size: 6px;
    font-weight: 700;

    letter-spacing: 0.08em;
}


/* Página */

.website-demo__page {
    padding: 13px;
}


/* Navegación */

.website-demo__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 16px;
}

.website-demo__logo {
    width: 27px;
    height: 5px;

    display: block;

    background: var(--blue);

    transform: scaleX(0);
    transform-origin: left;

    transition:
        transform 0.5s ease 0.15s;
}

.service-item.is-active
.website-demo__logo {

    transform: scaleX(1);
}

.website-demo__nav > div {
    display: flex;

    gap: 5px;
}

.website-demo__nav i {
    width: 12px;
    height: 2px;

    display: block;

    background:
        rgba(255, 255, 255, 0.2);

    transform: scaleX(0);

    transition:
        transform 0.4s ease 0.25s;
}

.service-item.is-active
.website-demo__nav i {

    transform: scaleX(1);
}


/* Hero de la mini web */

.website-demo__hero {
    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    gap: 12px;

    align-items: center;
}

.website-demo__copy {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.website-demo__copy span {
    height: 5px;

    display: block;

    background:
        rgba(255, 255, 255, 0.68);

    transform: scaleX(0);

    transform-origin: left;
}

.website-demo__copy span:nth-child(1) {
    width: 88%;

    transition:
        transform 0.45s ease 0.35s;
}

.website-demo__copy span:nth-child(2) {
    width: 72%;

    transition:
        transform 0.45s ease 0.43s;
}

.website-demo__copy span:nth-child(3) {
    width: 52%;

    background: var(--blue);

    transition:
        transform 0.45s ease 0.51s;
}

.service-item.is-active
.website-demo__copy span {

    transform: scaleX(1);
}


/* Botón */

.website-demo__copy i {
    width: 36px;
    height: 12px;

    margin-top: 5px;

    display: block;

    border:
        1px solid rgba(37, 140, 255, 0.5);

    transform: scale(0);

    transition:
        transform 0.4s
        cubic-bezier(0.34, 1.56, 0.64, 1)
        0.6s;
}

.service-item.is-active
.website-demo__copy i {

    transform: scale(1);
}


/* Gráfico */

.website-demo__graphic {
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(37, 140, 255, 0.18);

    background:
        radial-gradient(
            circle,
            rgba(37, 140, 255, 0.12),
            transparent 70%
        );

    opacity: 0;

    transform: scale(0.8);

    transition:
        opacity 0.45s ease 0.45s,
        transform 0.55s
        cubic-bezier(0.34, 1.56, 0.64, 1)
        0.45s;
}

.website-demo__graphic span {
    color: var(--blue);

    font-size: 17px;
    font-weight: 900;
}

.service-item.is-active
.website-demo__graphic {

    opacity: 1;

    transform: scale(1);
}


/* Tarjetas inferiores */

.website-demo__cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 6px;

    margin-top: 12px;
}

.website-demo__cards i {
    height: 24px;

    display: block;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    background:
        rgba(255, 255, 255, 0.025);

    opacity: 0;

    transform: translateY(8px);
}

.website-demo__cards i:nth-child(1) {
    transition:
        opacity 0.35s ease 0.68s,
        transform 0.35s ease 0.68s;
}

.website-demo__cards i:nth-child(2) {
    transition:
        opacity 0.35s ease 0.76s,
        transform 0.35s ease 0.76s;
}

.website-demo__cards i:nth-child(3) {
    transition:
        opacity 0.35s ease 0.84s,
        transform 0.35s ease 0.84s;
}

.service-item.is-active
.website-demo__cards i {

    opacity: 1;

    transform: translateY(0);
}


/* BUILDING */

.website-demo__label {
    position: absolute;

    right: 0;
    bottom: -17px;

    color: var(--blue);

    font-size: 6px;
    font-weight: 800;

    letter-spacing: 0.18em;

    opacity: 0;

    transition:
        opacity 0.3s ease 0.2s;
}

.service-item.is-active
.website-demo__label {

    opacity: 1;
}
/* =========================================================
   SERVICIOS · VISUAL AUTOMATIZACIÓN
========================================================= */

.service-visual--automation {
    display: flex;
    align-items: center;
    justify-content: center;
}

.automation-demo {
    position: relative;

    width: 100%;
    max-width: 290px;

    padding: 20px 5px 28px;
}


/* =========================================================
   FLUJO
========================================================= */

.automation-flow {
    position: relative;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 10px;
}


/* =========================================================
   PASOS
========================================================= */

.automation-step {
    position: relative;

    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 9px;

    opacity: 0;

    transform: translateY(10px);
}

.automation-step__icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(37, 140, 255, 0.32);

    border-radius: 50%;

    background: #09111c;

    color: #778494;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.08em;

    transition:
        color 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.automation-step strong {
    color: #657181;

    font-size: 7px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    white-space: nowrap;
}


/* Aparición escalonada */

.service-item.is-active
.automation-step:nth-child(1) {
    animation:
        automation-step-in
        0.45s ease 0.15s forwards;
}

.service-item.is-active
.automation-step:nth-child(2) {
    animation:
        automation-step-in
        0.45s ease 0.3s forwards;
}

.service-item.is-active
.automation-step:nth-child(3) {
    animation:
        automation-step-in
        0.45s ease 0.45s forwards;
}

.service-item.is-active
.automation-step:nth-child(4) {
    animation:
        automation-step-in
        0.45s ease 0.6s forwards;
}


@keyframes automation-step-in {

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   LÍNEA DEL PROCESO
========================================================= */

.automation-line {
    position: absolute;

    z-index: 1;

    left: 11%;
    right: 11%;

    top: 21px;

    height: 1px;

    overflow: visible;

    background:
        rgba(37, 140, 255, 0.14);
}


/* Línea azul que se construye */

.automation-line__progress {
    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 1px;

    display: block;

    background:
        linear-gradient(
            90deg,
            rgba(37, 140, 255, 0.2),
            var(--blue),
            rgba(37, 140, 255, 0.2)
        );

    transform: scaleX(0);

    transform-origin: left center;
}

.service-item.is-active
.automation-line__progress {

    animation:
        automation-line-build
        1s cubic-bezier(0.22, 1, 0.36, 1)
        0.2s forwards;
}


@keyframes automation-line-build {

    to {
        transform: scaleX(1);
    }

}


/* =========================================================
   SEÑAL QUE RECORRE EL PROCESO
========================================================= */

.automation-pulse {
    position: absolute;

    z-index: 5;

    left: 0;
    top: 50%;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--blue);

    box-shadow:
        0 0 6px rgba(37, 140, 255, 0.9),
        0 0 16px rgba(37, 140, 255, 0.55);

    opacity: 0;

    transform: translate(-50%, -50%);
}

.service-item.is-active
.automation-pulse {

    animation:
        automation-travel
        3.2s linear
        1.1s infinite;
}


@keyframes automation-travel {

    0% {
        left: 0;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }

}


/* =========================================================
   ACTIVACIÓN DE LOS NODOS
========================================================= */

.service-item.is-active
.automation-step__icon {

    animation:
        automation-node-pulse
        3.2s ease-in-out
        1.1s infinite;
}

.service-item.is-active
.automation-step:nth-child(2)
.automation-step__icon {

    animation-delay: 1.9s;
}

.service-item.is-active
.automation-step:nth-child(3)
.automation-step__icon {

    animation-delay: 2.7s;
}

.service-item.is-active
.automation-step:nth-child(4)
.automation-step__icon {

    animation-delay: 3.5s;
}


@keyframes automation-node-pulse {

    0%,
    75%,
    100% {
        color: #778494;

        border-color:
            rgba(37, 140, 255, 0.32);

        background: #09111c;

        box-shadow: none;
    }

    10%,
    25% {
        color: #fff;

        border-color: var(--blue);

        background:
            rgba(37, 140, 255, 0.13);

        box-shadow:
            0 0 22px
            rgba(37, 140, 255, 0.18);
    }

}


/* =========================================================
   ESTADO
========================================================= */

.automation-status {
    position: absolute;

    right: 5px;
    bottom: 0;

    display: flex;
    align-items: center;

    gap: 7px;

    color: #657181;

    font-size: 6px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.15em;

    opacity: 0;

    transition:
        opacity 0.4s ease 0.9s;
}

.service-item.is-active
.automation-status {
    opacity: 1;
}

.automation-status i {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--blue);

    box-shadow:
        0 0 8px rgba(37, 140, 255, 0.7);

    animation:
        automation-status-blink
        1.8s ease-in-out infinite;
}


@keyframes automation-status-blink {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 1;
    }

}
/* =========================================================
   SERVICIOS · VISUAL PLATAFORMA
========================================================= */

.service-visual--platform {
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-demo {
    position: relative;

    width: 100%;
    max-width: 290px;

    padding-bottom: 20px;
}


/* =========================================================
   VENTANA
========================================================= */

.platform-window {
    position: relative;

    display: grid;

    grid-template-columns:
        42px 1fr;

    min-height: 160px;

    overflow: hidden;

    border:
        1px solid rgba(37, 140, 255, 0.28);

    background: #080f19;

    box-shadow:
        0 20px 45px
        rgba(0, 0, 0, 0.22);

    opacity: 0;

    transform:
        perspective(700px)
        rotateY(-5deg)
        translateY(8px);

    transition:
        opacity 0.5s ease 0.1s,
        transform 0.7s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.1s,
        border-color 0.4s ease;
}


.service-item.is-active
.platform-window {

    opacity: 1;

    transform:
        perspective(700px)
        rotateY(0)
        translateY(0);

    border-color:
        rgba(37, 140, 255, 0.48);
}


/* =========================================================
   SIDEBAR
========================================================= */

.platform-sidebar {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 13px 0;

    border-right:
        1px solid rgba(255, 255, 255, 0.06);

    background:
        rgba(255, 255, 255, 0.018);
}


.platform-sidebar__logo {
    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border:
        1px solid rgba(37, 140, 255, 0.5);

    border-radius: 4px;
}


.platform-sidebar__logo span {
    width: 6px;
    height: 6px;

    display: block;

    background: var(--blue);

    border-radius: 50%;

    box-shadow:
        0 0 10px
        rgba(37, 140, 255, 0.7);

    transform: scale(0);
}


.service-item.is-active
.platform-sidebar__logo span {

    animation:
        platform-logo-in
        0.4s
        cubic-bezier(0.34, 1.56, 0.64, 1)
        0.35s forwards;
}


@keyframes platform-logo-in {

    to {
        transform: scale(1);
    }

}


/* Navegación lateral */

.platform-sidebar__nav {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


.platform-sidebar__nav i {
    width: 13px;
    height: 2px;

    display: block;

    background:
        rgba(255, 255, 255, 0.14);

    opacity: 0;

    transform: translateX(-5px);
}


.service-item.is-active
.platform-sidebar__nav i:nth-child(1) {

    animation:
        platform-nav-in
        0.35s ease 0.4s forwards;
}

.service-item.is-active
.platform-sidebar__nav i:nth-child(2) {

    animation:
        platform-nav-in
        0.35s ease 0.48s forwards;
}

.service-item.is-active
.platform-sidebar__nav i:nth-child(3) {

    animation:
        platform-nav-in
        0.35s ease 0.56s forwards;
}

.service-item.is-active
.platform-sidebar__nav i:nth-child(4) {

    animation:
        platform-nav-in
        0.35s ease 0.64s forwards;
}


@keyframes platform-nav-in {

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


/* =========================================================
   CONTENIDO DASHBOARD
========================================================= */

.platform-main {
    padding: 12px;
}


/* Topbar */

.platform-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 13px;
}


.platform-topbar > div {
    display: flex;
    flex-direction: column;

    gap: 4px;
}


.platform-topbar span {
    height: 3px;

    display: block;

    background:
        rgba(255, 255, 255, 0.2);

    transform: scaleX(0);

    transform-origin: left;
}


.platform-topbar span:first-child {
    width: 45px;

    transition:
        transform 0.4s ease 0.38s;
}


.platform-topbar span:last-child {
    width: 28px;

    opacity: 0.5;

    transition:
        transform 0.4s ease 0.46s;
}


.service-item.is-active
.platform-topbar span {

    transform: scaleX(1);
}


.platform-topbar > i {
    width: 16px;
    height: 16px;

    display: block;

    border-radius: 50%;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    opacity: 0;

    transition:
        opacity 0.4s ease 0.5s;
}


.service-item.is-active
.platform-topbar > i {

    opacity: 1;
}


/* =========================================================
   MÉTRICAS
========================================================= */

.platform-stats {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 7px;

    margin-bottom: 8px;
}


.platform-stat {
    padding: 8px;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    background:
        rgba(255, 255, 255, 0.018);

    opacity: 0;

    transform: translateY(7px);
}


.platform-stat span {
    display: block;

    margin-bottom: 5px;

    color: #556170;

    font-size: 5px;
    font-weight: 800;

    letter-spacing: 0.14em;
}


.platform-stat strong {
    color: #dfe6ef;

    font-size: 13px;
    font-weight: 700;
}


.platform-stat:first-child strong {
    color: var(--blue);
}


.service-item.is-active
.platform-stat:nth-child(1) {

    animation:
        platform-card-in
        0.45s ease 0.55s forwards;
}


.service-item.is-active
.platform-stat:nth-child(2) {

    animation:
        platform-card-in
        0.45s ease 0.67s forwards;
}


@keyframes platform-card-in {

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   CONTENIDO INFERIOR
========================================================= */

.platform-content {
    display: grid;

    grid-template-columns:
        1fr 55px;

    gap: 7px;
}


/* Gráfico */

.platform-chart {
    position: relative;

    height: 54px;

    display: flex;
    align-items: flex-end;

    padding:
        8px 9px 6px;

    overflow: hidden;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    background:
        rgba(255, 255, 255, 0.015);

    opacity: 0;

    transition:
        opacity 0.4s ease 0.72s;
}


.service-item.is-active
.platform-chart {

    opacity: 1;
}


.platform-chart__grid {
    position: absolute;

    inset: 0;

    opacity: 0.15;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );

    background-size:
        100% 14px;
}


.platform-bars {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: flex-end;

    gap: 5px;
}


.platform-bars i {
    flex: 1;

    display: block;

    background:
        rgba(37, 140, 255, 0.55);

    transform: scaleY(0);

    transform-origin: bottom;
}


.platform-bars i:nth-child(1) {
    height: 35%;
}

.platform-bars i:nth-child(2) {
    height: 60%;
}

.platform-bars i:nth-child(3) {
    height: 48%;
}

.platform-bars i:nth-child(4) {
    height: 78%;
}

.platform-bars i:nth-child(5) {
    height: 65%;
}

.platform-bars i:nth-child(6) {
    height: 92%;
}


.service-item.is-active
.platform-bars i:nth-child(1) {

    animation:
        platform-bar-in
        0.5s ease 0.78s forwards;
}

.service-item.is-active
.platform-bars i:nth-child(2) {

    animation:
        platform-bar-in
        0.5s ease 0.84s forwards;
}

.service-item.is-active
.platform-bars i:nth-child(3) {

    animation:
        platform-bar-in
        0.5s ease 0.90s forwards;
}

.service-item.is-active
.platform-bars i:nth-child(4) {

    animation:
        platform-bar-in
        0.5s ease 0.96s forwards;
}

.service-item.is-active
.platform-bars i:nth-child(5) {

    animation:
        platform-bar-in
        0.5s ease 1.02s forwards;
}

.service-item.is-active
.platform-bars i:nth-child(6) {

    animation:
        platform-bar-in
        0.5s ease 1.08s forwards;
}


@keyframes platform-bar-in {

    to {
        transform: scaleY(1);
    }

}


/* Usuarios */

.platform-users {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 6px;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    background:
        rgba(255, 255, 255, 0.015);

    opacity: 0;

    transition:
        opacity 0.4s ease 0.85s;
}


.service-item.is-active
.platform-users {

    opacity: 1;
}


.platform-users span {
    position: relative;

    width: 19px;
    height: 19px;

    display: block;

    border:
        1px solid rgba(37, 140, 255, 0.28);

    border-radius: 50%;

    transform: scale(0);
}


.platform-users span::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 5px;
    height: 5px;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.35);
}


.service-item.is-active
.platform-users span:nth-child(1) {

    animation:
        platform-user-in
        0.35s
        cubic-bezier(0.34, 1.56, 0.64, 1)
        0.9s forwards;
}

.service-item.is-active
.platform-users span:nth-child(2) {

    animation:
        platform-user-in
        0.35s
        cubic-bezier(0.34, 1.56, 0.64, 1)
        1s forwards;
}

.service-item.is-active
.platform-users span:nth-child(3) {

    animation:
        platform-user-in
        0.35s
        cubic-bezier(0.34, 1.56, 0.64, 1)
        1.1s forwards;
}


@keyframes platform-user-in {

    to {
        transform: scale(1);
    }

}


/* =========================================================
   SYSTEM ONLINE
========================================================= */

.platform-status {
    position: absolute;

    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;

    gap: 7px;

    color: #657181;

    font-size: 6px;
    font-weight: 800;

    letter-spacing: 0.16em;

    opacity: 0;

    transform: translateY(5px);

    transition:
        opacity 0.4s ease 1.15s,
        transform 0.4s ease 1.15s;
}


.service-item.is-active
.platform-status {

    opacity: 1;
    transform: translateY(0);
}


.platform-status i {
    width: 5px;
    height: 5px;

    display: block;

    border-radius: 50%;

    background: var(--blue);

    box-shadow:
        0 0 10px
        rgba(37, 140, 255, 0.7);

    animation:
        platform-online
        1.8s ease-in-out infinite;
}


@keyframes platform-online {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }

}


/* =========================================================
   ENLACE 101 CLUB
========================================================= */

.service-item__case-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 22px;

    color: #7e8a99;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none;

    letter-spacing: 0.04em;

    transition:
        color 0.3s ease;
}


.service-item__case-link span {
    color: var(--blue);

    transition:
        transform 0.3s ease;
}


.service-item__case-link:hover {
    color: #fff;
}


.service-item__case-link:hover span {
    transform:
        translate(3px, -3px);
}

/* =========================================================
   SERVICIOS · PORTÁTIL / TABLET HORIZONTAL
   871px — 1400px
========================================================= */

@media (min-width: 871px) and (max-width: 1400px) {

    .services__layout {
        grid-template-columns:
            minmax(280px, 0.65fr)
            minmax(0, 1.35fr);

        gap: clamp(35px, 5vw, 70px);
    }


    /* Titular */

    .services__title {
        font-size: clamp(52px, 5.2vw, 70px);
        line-height: 0.92;
    }


    /* Columna de servicios */

    .service-item__trigger {
        grid-template-columns:
            70px
            minmax(0, 1fr)
            55px;

        gap: 15px;
    }


    .service-item__name {
        font-size: clamp(17px, 1.65vw, 22px);
    }


    /* Contenido abierto */

    .service-item__body {
        grid-template-columns:
            minmax(0, 1fr)
            220px;

        gap: 25px;
    }


    /* Visuales */

    .service-visual {
        width: 100%;
        height: 212px;
        min-width: 0;
    }


    /* Automatización */

    .automation-demo {
        max-width: 220px;
    }

    .automation-flow {
        gap: 4px;
    }

    .automation-step__icon {
        width: 36px;
        height: 36px;
    }

    .automation-step strong {
        font-size: 5.5px;
        letter-spacing: 0.08em;
    }

    .automation-line {
        top: 18px;
    }


    /* Mini web */

    .website-demo {
        width: 215px;
    }


    /* Plataforma */

    .platform-demo {
        max-width: 220px;
    }

}
/* =========================================================
   SERVICIOS · ≤ 1050px
   Una columna
========================================================= */

@media (max-width: 1050px) {

    .services__layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 65px;
    }


    /* -----------------------------------------
       COLUMNA IZQUIERDA
    ----------------------------------------- */

    .services__intro {
        position: relative;
        top: auto;
        max-width: 700px;
    }


    .services__title {
        font-size: clamp(58px, 9vw, 88px);
        line-height: 0.9;
    }


    /* -----------------------------------------
       ACORDEÓN
    ----------------------------------------- */

    .services__list {
        width: 100%;
    }


    .service-item__trigger {
        grid-template-columns:
            75px
            minmax(0, 1fr)
            55px;

        gap: 20px;
    }


    .service-item__name {
        font-size: clamp(18px, 2.6vw, 24px);
    }


    /* -----------------------------------------
       CONTENIDO ABIERTO
    ----------------------------------------- */

    .service-item__body {
        grid-template-columns:
            minmax(0, 1fr)
            290px;

        gap: 40px;
    }


    /* Recuperamos tamaño de los visuales */

    .automation-demo,
    .platform-demo {
        max-width: 290px;
    }


    .website-demo {
        width: 245px;
    }

}

/* =========================================================
   SERVICIOS · TABLET / MÓVIL
   ≤ 800px
========================================================= */

@media (max-width: 800px) {

    /* =====================================================
       SECCIÓN
    ===================================================== */

    .services {
        padding:
            80px 0
            90px;
    }

    .services__layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }


    /* =====================================================
       INTRO
    ===================================================== */

    .services__intro {
        max-width: 100%;
    }

    .services__title {
        font-size: clamp(52px, 11vw, 78px);
        line-height: 0.9;
    }


    /* =====================================================
       ACORDEÓN
    ===================================================== */

    .service-item {
        padding:
            0 10px;
    }

    .service-item__trigger {
        grid-template-columns:
            55px
            minmax(0, 1fr)
            48px;

        gap: 15px;

        padding:
            24px 0;
    }

    .service-item__number {
        font-size: 32px;
    }

    .service-item__name {
        font-size:
            clamp(16px, 3.2vw, 21px);

        line-height: 1.15;
    }

    .service-item__arrow {
        width: 48px;
        height: 48px;
    }


    /* =====================================================
       CONTENIDO ABIERTO

       CAMBIO IMPORTANTE:
       texto arriba + visual debajo
    ===================================================== */

    .service-item__body {
        display: grid;

        grid-template-columns: 1fr;

        gap: 35px;
    }


    .service-item__info {
        width: 100%;
        max-width: 100%;
    }


    .service-item__lead {
        max-width: 520px;

        font-size: 17px;
        line-height: 1.55;
    }


    .service-item__tech {
        margin-top: 20px;

        font-size: 10px;
        line-height: 1.5;
    }


    /* =====================================================
       FUNCIONALIDADES
    ===================================================== */

    .service-item__features {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            12px 25px;

        margin-top: 24px;
    }

    .service-item__features li {
        min-width: 0;

        font-size: 14px;
        line-height: 1.4;
    }


    /* =====================================================
       VISUALES
    ===================================================== */

    .service-visual {
        width: 100%;

        height: 212px;

        display: flex;
        align-items: center;
        justify-content: center;

        overflow: hidden;
    }


    /* 01 · Web */

    .website-demo {
        width: min(100%, 290px);
    }


    /* 02 · Desarrollo a medida */

    .service-visual--custom {
        max-width: 340px;

        margin:
            0 auto;
    }


    /* 03 · Automatización */

    .automation-demo {
        width: 100%;

        max-width: 360px;

        margin:
            0 auto;
    }


    /* 04 · Plataforma */

    .platform-demo {
        width: 100%;

        max-width: 340px;

        margin:
            0 auto;
    }


    /* =====================================================
       101 CLUB LINK
    ===================================================== */

    .service-item__case-link {
        margin-top: 20px;
    }
	.service-item__content-inner {
		padding-left: 20px;
		padding-right: 20px;
}
}
/* =========================================================
   03 · 101 CLUB
========================================================= */

.club101 {
    position: relative;
    overflow: hidden;

    padding: 120px 0 130px;

    background: #060b12;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* Glow naranja del proyecto */

.club101__glow {
    position: absolute;

    width: 650px;
    height: 650px;

    right: -280px;
    top: 100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 107, 0, 0.08) 0%,
            rgba(255, 107, 0, 0.025) 35%,
            transparent 70%
        );

    pointer-events: none;
}


/* Número gigante */

.club101__background-number {
    position: absolute;

    left: -35px;
    top: 85px;

    z-index: 0;

    color: rgba(255, 255, 255, 0.025);

    font-size: clamp(280px, 29vw, 520px);
    font-weight: 900;

    line-height: 0.8;
    letter-spacing: -0.09em;

    pointer-events: none;
    user-select: none;
}


.club101__container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   CABECERA
========================================================= */

.club101__header {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 85px;
}

.club101__section-number {
    color: var(--blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.club101__section-label {
    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.18em;
}

.club101__section-line {
    width: 130px;
    height: 1px;

    background:
        rgba(255, 255, 255, 0.22);
}


/* =========================================================
   INTRO
========================================================= */

.club101__intro {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, 0.65fr);

    gap: clamp(70px, 9vw, 150px);

    align-items: center;

    margin-bottom: 110px;
}


.club101__eyebrow {
    display: block;

    margin-bottom: 22px;

    color: #ff6b00;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.16em;
}


/* Título */

.club101__title {
    margin: 0;

    color: #f5f7fa;

    font-size: clamp(58px, 6vw, 94px);
    font-weight: 900;

    line-height: 0.88;
    letter-spacing: -0.065em;
}


.club101__title span {
    color: #ff6b00;
}


/* Descripción */

.club101__description {
    max-width: 570px;

    margin:
        35px 0 0;

    color: #9ba7b6;

    font-size: 17px;
    line-height: 1.7;
}


/* Tecnologías */

.club101__tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 30px;
}


.club101__tags span {
    padding:
        8px 12px;

    border:
        1px solid rgba(255, 107, 0, 0.22);

    color: #8f9baa;

    font-size: 8px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    background:
        rgba(255, 107, 0, 0.025);
}


/* =========================================================
   MARCA 101 CLUB
========================================================= */

.club101__brand {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    justify-content: center;

    min-height: 410px;
}


.club101__brand-glow {
    position: absolute;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 107, 0, 0.13),
            rgba(255, 107, 0, 0.025) 45%,
            transparent 72%
        );
}


.club101__logo-wrap {
    position: relative;
    z-index: 2;

    width: min(100%, 360px);

    padding: 28px;

    background: #fff;

    border-radius: 3px;

    transform: rotate(2deg);

    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.35);

    transition:
        transform 0.5s
        cubic-bezier(0.22, 1, 0.36, 1);
}


.club101__logo-wrap:hover {
    transform:
        rotate(0deg)
        translateY(-6px);
}


.club101__logo {
    display: block;

    width: 100%;
    height: auto;
}


.club101__brand-info {
    position: relative;
    z-index: 3;

    width: min(100%, 360px);

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 16px;
}


.club101__brand-info span {
    color: #566171;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 0.17em;
}


.club101__brand-info strong {
    color: #ff6b00;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.12em;
}


/* =========================================================
   SHOWCASE
========================================================= */

.club101__showcase {
    margin-top: 20px;
}


/* Navegación */

.club101__showcase-nav {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}


.club101__showcase-button {
    position: relative;

    display: flex;
    align-items: center;

    gap: 13px;

    min-height: 72px;

    padding:
        0 20px;

    border: 0;
    border-right:
        1px solid rgba(255, 255, 255, 0.07);

    background: transparent;

    color: #687484;

    font-family: inherit;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    cursor: pointer;

    transition:
        color 0.3s ease,
        background 0.3s ease;
}


.club101__showcase-button:last-child {
    border-right: 0;
}


.club101__showcase-button span {
    color: #46515f;

    font-size: 9px;

    transition:
        color 0.3s ease;
}


.club101__showcase-button::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 2px;

    background: #ff6b00;

    transform: scaleX(0);

    transition:
        transform 0.4s
        cubic-bezier(0.22, 1, 0.36, 1);
}


.club101__showcase-button:hover {
    color: #fff;

    background:
        rgba(255, 255, 255, 0.015);
}


.club101__showcase-button.is-active {
    color: #fff;
}


.club101__showcase-button.is-active span {
    color: #ff6b00;
}


.club101__showcase-button.is-active::after {
    transform: scaleX(1);
}


/* =========================================================
   NAVEGADOR
========================================================= */

.club101__screen {
    position: relative;

    padding:
        40px clamp(25px, 5vw, 75px)
    65px;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(255, 107, 0, 0.055),
            transparent 45%
        );
}


.club101__browser {
    position: relative;

    max-width: 1250px;

    margin: 0 auto;

    overflow: hidden;

    border:
        1px solid rgba(255, 255, 255, 0.1);

    background: #0b111a;

    box-shadow:
        0 40px 100px
        rgba(0, 0, 0, 0.45);
}


/* Barra */

.club101__browser-bar {
    position: relative;

    height: 42px;

    display: flex;
    align-items: center;

    padding:
        0 15px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    background: #0c121b;
}


.club101__browser-dots {
    display: flex;

    gap: 6px;
}


.club101__browser-dots i {
    width: 6px;
    height: 6px;

    display: block;

    border-radius: 50%;

    background: #35404d;
}


.club101__browser-dots i:first-child {
    background: #ff6b00;
}


.club101__browser-url {
    position: absolute;

    left: 50%;

    transform:
        translateX(-50%);

    color: #505c6b;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0.08em;
}


.club101__browser-status {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 6px;

    color: #697585;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 0.15em;
}


.club101__browser-status::before {
    content: "";

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #ff6b00;

    box-shadow:
        0 0 10px
        rgba(255, 107, 0, 0.65);
}


/* =========================================================
   CAPTURAS
========================================================= */

.club101__screen-content {
    position: relative;
    aspect-ratio: 16 / 8.6;
    overflow: hidden;
    background: #111822;
}


.club101__screen-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top;

    opacity: 0;

    transform:
        translateY(18px)
        scale(0.985);

    filter:
        blur(5px);

    transition:
        opacity 0.55s ease,
        transform 0.7s
        cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.55s ease;

    pointer-events: none;
}


.club101__screen-image.is-active {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);

    filter:
        blur(0);
}


/* =========================================================
   CAPACIDADES
========================================================= */

.club101__capabilities {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    margin-top: 35px;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}


.club101__capability {
    min-height: 210px;

    padding:
        32px 28px;

    border-right:
        1px solid rgba(255, 255, 255, 0.07);

    transition:
        background 0.3s ease;
}


.club101__capability:last-child {
    border-right: 0;
}


.club101__capability:hover {
    background:
        rgba(255, 107, 0, 0.025);
}


.club101__capability > span {
    display: block;

    margin-bottom: 45px;

    color: #ff6b00;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.1em;
}


.club101__capability strong {
    display: block;

    margin-bottom: 12px;

    color: #f4f6f8;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.08em;
}


.club101__capability p {
    max-width: 240px;

    margin: 0;

    color: #737f8e;

    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   FOOTER PROYECTO
========================================================= */

.club101__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    padding-top: 65px;
}


.club101__footer-text {
    display: flex;
    flex-direction: column;

    gap: 5px;
}


.club101__footer-text span {
    color: #657181;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.14em;
}


.club101__footer-text strong {
    color: #fff;

    font-size:
        clamp(25px, 2.3vw, 38px);

    font-weight: 900;

    letter-spacing: -0.035em;
}


.club101__link {
    display: inline-flex;
    align-items: center;

    gap: 25px;

    padding:
        18px 24px;

    border:
        1px solid rgba(255, 107, 0, 0.45);

    color: #fff;

    font-size: 9px;
    font-weight: 800;

    text-decoration: none;

    letter-spacing: 0.12em;

    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}


.club101__link span {
    color: #ff6b00;

    font-size: 15px;

    transition:
        transform 0.3s ease;
}


.club101__link:hover {
    background:
        rgba(255, 107, 0, 0.06);

    border-color: #ff6b00;
}


.club101__link:hover span {
    transform:
        translate(4px, -4px);
}
/* =========================================================
   101 CLUB · RESPONSIVE < 800px
========================================================= */

@media (max-width: 799px) {

    .club101 {
        padding:
            70px 0 90px;
    }


    /* Número gigante de fondo */

    .club101__background-number {
        left: -20px;
        top: 95px;

        font-size: clamp(220px, 55vw, 350px);
    }


    /* Cabecera */

    .club101__header {
        margin-bottom: 55px;
    }


    /* INTRO
       Pasa completamente a una columna
    */

    .club101__intro {
        display: flex;
        flex-direction: column;

        gap: 55px;

        align-items: stretch;

        margin-bottom: 80px;
    }


    .club101__intro-content {
        width: 100%;
    }


    .club101__eyebrow {
        margin-bottom: 22px;

        font-size: 9px;
    }


    /* Titular */

    .club101__title {
        max-width: 100%;

        font-size:
            clamp(48px, 11.5vw, 72px);

        line-height: 0.9;

        letter-spacing: -0.055em;
    }


    /* Descripción */

    .club101__description {
        max-width: 520px;

        margin-top: 30px;

        font-size: 16px;
        line-height: 1.65;
    }


    /* Tecnologías */

    .club101__tags {
        margin-top: 25px;
    }


    /* LOGO
       Ahora debajo del contenido
    */

    .club101__brand {
        width: 100%;

        min-height: 0;

        align-items: center;

        padding:
            15px 0 0;
    }


    .club101__brand-glow {
        width: 360px;
        height: 360px;
    }


    .club101__logo-wrap {
        width: min(75vw, 340px);

        padding: 28px;

        transform: rotate(2deg);
    }


    .club101__brand-info {
        width: min(75vw, 340px);
    }
	/* ---------- TABS ---------- */

    .club101__showcase-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .club101__showcase-button {
        min-width: 0;
        min-height: 68px;

        padding: 0 16px;

        font-size: 9px;
        line-height: 1.2;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.07);
    }

    .club101__showcase-button:nth-child(2) {
        border-right: 0;
    }


    /* ---------- ZONA DE CAPTURA ---------- */

    .club101__screen {
        padding:
            35px 0
            45px;
    }

    .club101__browser {
        width: 100%;
    }

    .club101__screen-content {
        aspect-ratio: 16 / 10;
    }


    /* ---------- CAPACIDADES ---------- */

    .club101__capabilities {
        grid-template-columns: repeat(2, 1fr);

        margin-top: 30px;
    }

    .club101__capability {
        min-width: 0;
        min-height: 190px;

        padding: 26px 22px;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.07);
    }

    .club101__capability:nth-child(2) {
        border-right: 0;
    }

    .club101__capability:nth-child(3),
    .club101__capability:nth-child(4) {
        border-bottom: 0;
    }

    .club101__capability:nth-child(4) {
        border-right: 0;
    }

    .club101__capability > span {
        margin-bottom: 32px;
    }

    .club101__capability strong {
        font-size: 12px;
    }

    .club101__capability p {
        font-size: 11px;
    }

}
/* =========================================================
   04 · CONTACTO
========================================================= */

.contact {
    position: relative;
    overflow: hidden;
    padding: 120px 0 35px;
    background: #050a11;
    border-top: 1px solid rgba(255,255,255,.05);
}

.contact__container {
    position: relative;
    z-index: 2;
}

.contact__background-number {
    position: absolute;
    left: -35px;
    top: 80px;
    z-index: 0;

    color: rgba(255,255,255,.025);

    font-size: clamp(280px,29vw,520px);
    font-weight: 900;
    line-height: .8;
    letter-spacing: -.09em;

    pointer-events: none;
}

.contact__glow {
    position: absolute;
    width: 700px;
    height: 700px;
    right: -350px;
    top: 120px;

    background:
        radial-gradient(
            circle,
            rgba(0,119,255,.09) 0%,
            rgba(0,119,255,.025) 35%,
            transparent 70%
        );

    pointer-events: none;
}


/* HEADER */

.contact__header {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 90px;
}

.contact__section-number {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.contact__section-line {
    width: 130px;
    height: 1px;

    background: rgba(255,255,255,.22);
}

.contact__section-label {
    color: #fff;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}


/* MAIN */

.contact__main {
    padding-bottom: 75px;
}

.contact__eyebrow {
    display: block;

    margin-bottom: 25px;

    color: var(--blue);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em;
}

.contact__title {
    max-width: 1100px;

    margin: 0;

    color: #f5f7fa;

    font-size: clamp(70px, 7.2vw, 118px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.07em;
}

.contact__title span {
    color: var(--blue);
}


/* PARTE INFERIOR DEL TITULAR */

.contact__bottom {
    display: grid;
    grid-template-columns: 1fr minmax(360px, .75fr);
    gap: 80px;
    align-items: end;

    margin-top: 0px;
}

.contact__description {
    max-width: 520px;

    margin: 0;

    color: #8e99a8;

    font-size: 16px;
    line-height: 1.7;
}


/* HABLEMOS */

.contact__trigger {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 115px;

    padding: 0 35px;

    overflow: hidden;

    border: 1px solid rgba(0,119,255,.55);
    background: transparent;

    color: #fff;

    font-family: inherit;

    cursor: pointer;

    transition:
        border-color .4s ease,
        transform .4s cubic-bezier(.22,1,.36,1);
}

.contact__trigger::before {
    content: "";

    position: absolute;
    inset: 0;

    background: var(--blue);

    transform: translateY(101%);

    transition:
        transform .55s cubic-bezier(.22,1,.36,1);
}

.contact__trigger span,
.contact__trigger i {
    position: relative;
    z-index: 2;
}

.contact__trigger span {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.contact__trigger i {
    font-size: 30px;
    font-style: normal;

    transition:
        transform .45s cubic-bezier(.22,1,.36,1);
}

.contact__trigger:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
}

.contact__trigger:hover::before {
    transform: translateY(0);
}

.contact__trigger:hover i {
    transform: translate(5px,-5px);
}


/* FORMULARIO DESPLEGABLE */

.contact__form-wrapper {
    display: grid;
    grid-template-rows: 0fr;

    opacity: 0;

    transition:
        grid-template-rows .65s cubic-bezier(.22,1,.36,1),
        opacity .4s ease;
}

.contact__form-wrapper.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
}

.contact__form {
    min-height: 0;
    overflow: hidden;
}

.contact__form-wrapper.is-open .contact__form {
    margin-bottom: 100px;
}

.contact__form {
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.contact__form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 25px 0;

    border-bottom: 1px solid rgba(255,255,255,.07);
}

.contact__form-header > span {
    color: #fff;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
}

.contact__form-close {
    border: 0;
    background: transparent;

    color: #687484;

    font-size: 30px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transition:
        color .25s ease,
        transform .3s ease;
}

.contact__form-close:hover {
    color: #fff;
    transform: rotate(90deg);
}


/* CAMPOS */

.contact__field {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;

    padding: 40px 0;

    border-bottom: 1px solid rgba(255,255,255,.07);
}

.contact__field label {
    padding-top: 7px;

    color: #657181;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}

.contact__field textarea,
.contact__field input {
    width: 100%;

    padding: 0;

    border: 0;
    outline: 0;
    background: transparent;

    color: #fff;

    font-family: inherit;
    font-size: 24px;
    font-weight: 600;

    resize: none;
}

.contact__field textarea {
    min-height: 110px;
}

.contact__field textarea::placeholder,
.contact__field input::placeholder {
    color: #3f4956;
}

.contact__field textarea:focus,
.contact__field input:focus {
    color: #fff;
}


/* FOOTER FORM */

.contact__form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 30px 0;
}

.contact__form-footer > span {
    color: #4f5b69;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .14em;
}

.contact__submit {
    display: flex;
    align-items: center;
    gap: 35px;

    padding: 17px 22px;

    border: 1px solid var(--blue);
    background: var(--blue);

    color: #fff;

    font-family: inherit;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.contact__submit i {
    font-size: 18px;
    font-style: normal;

    transition: transform .3s ease;
}

.contact__submit:hover {
    background: transparent;
    transform: translateY(-2px);
}

.contact__submit:hover i {
    transform: translateX(5px);
}

.contact__honeypot {
    position: absolute !important;
    left: -9999px !important;
}


/* RESPUESTA */

.contact__response {
    display: none;

    padding: 0 0 30px;

    color: #8e99a8;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
}

.contact__response.is-visible {
    display: block;
}


/* EMAIL + LINKEDIN */

.contact__links {
    display: grid;
    grid-template-columns: 1fr 1fr;

    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.contact__link {
    display: block;

    padding: 30px 30px 32px 0;

    color: inherit;
    text-decoration: none;
}

.contact__link + .contact__link {
    padding-left: 35px;
    border-left: 1px solid rgba(255,255,255,.08);
}

.contact__link > span {
    display: block;

    margin-bottom: 20px;

    color: #4e5967;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .17em;
}

.contact__link div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.contact__link strong {
    color: #dce1e7;

    font-size: 13px;
    font-weight: 700;

    transition: color .3s ease;
}

.contact__link i {
    color: #5b6674;

    font-size: 18px;
    font-style: normal;

    transition:
        color .3s ease,
        transform .3s ease;
}

.contact__link:hover strong,
.contact__link:hover i {
    color: var(--blue);
}

.contact__link:hover i {
    transform: translate(4px,-4px);
}


/* FOOTER */

.contact__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding-top: 30px;

    color: #394451;

    font-size: 7px;
    font-weight: 800;
    letter-spacing: .14em;
}


/* =========================================================
   CONTACTO · RESPONSIVE
========================================================= */

@media (max-width: 799px) {

    .contact {
        padding: 70px 0 25px;
    }

    .contact__background-number {
        left: -20px;
        top: 90px;

        font-size: clamp(220px,55vw,350px);
    }

    .contact__header {
        margin-bottom: 55px;
    }

    .contact__title {
        font-size: clamp(53px,13vw,82px);
        line-height: 1;
    }

    .contact__bottom {
        grid-template-columns: 1fr;
        gap: 40px;

        margin-top: 0px;
    }

    .contact__trigger {
        min-height: 95px;
        padding: 0 25px;
    }

    .contact__main {
        padding-bottom: 70px;
    }

    .contact__form-wrapper.is-open .contact__form {
        margin-bottom: 70px;
    }

    .contact__field {
        grid-template-columns: 1fr;
        gap: 20px;

        padding: 30px 0;
    }

    .contact__field label {
        padding-top: 0;
    }

    .contact__field textarea,
    .contact__field input {
        font-size: 19px;
    }

    .contact__form-footer {
        align-items: flex-end;
    }

    .contact__links {
        grid-template-columns: 1fr;
    }

    .contact__link {
        padding: 28px 0;
    }

    .contact__link + .contact__link {
        padding-left: 0;

        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .contact__footer {
        flex-direction: column;
        align-items: flex-start;

        padding-top: 25px;
    }
}

.contact__response.is-success {
    color: #2d8cff;
}

.contact__response.is-error {
    color: #ff6262;
}

.contact__submit:disabled {
    opacity: .55;
    cursor: wait;
    transform: none;
}

/* =========================================================
   FIX — MOBILE MENU
========================================================= */

@media (max-width: 1100px) {

    /* El header siempre debe estar por encima de la web */
    .header {
        z-index: 1000;
    }

    /* El menú ocupa el viewport completo */
    .nav {
        position: fixed;

        top: 0;
        right: 0;
        bottom: 0;
        left: 0;

        width: 100%;
        height: 100dvh;

        z-index: 1001;

        margin: 0;

        background: #05070a;

        overflow-y: auto;
        overscroll-behavior: contain;
    }

    /* Logo y X por encima del propio menú */
    .logo,
    .menu-toggle {
        position: relative;
        z-index: 1002;
    }

    /* Cuando abrimos el menú no se mueve la página */
    body.menu-open {
        overflow: hidden;
    }

}