:root {
    --bg: #080d16;
    --bg-soft: #0d1420;
    --surface: #111a28;
    --surface-light: #172234;

    --text: #f5f7fb;
    --text-soft: #a5b0c0;

    --blue: #3578ff;
    --blue-light: #66a0ff;

    --border: rgba(255,255,255,.09);

    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}


/* HEADER */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(8,13,22,.75);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}

.header-inner {
    height: 82px;

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    font-weight: 700;
}

.brand-symbol {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--blue);

    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
}

.brand-name {
    font-size: 15px;
}

.main-nav {
    display: flex;
    gap: 34px;
}

.main-nav a {
    color: var(--text-soft);
    font-size: 14px;

    transition: .25s;
}

.main-nav a:hover {
    color: var(--text);
}

.header-cta {
    padding: 11px 20px;

    border-radius: 50px;

    background: var(--blue);

    font-weight: 600;
    font-size: 14px;
}

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    width: 34px;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    height: 2px;
    margin: 6px 0;

    background: white;
}


/* HERO */

.hero {
    min-height: 100vh;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;

    padding: 150px 0 90px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;

    align-items: center;

    position: relative;
    z-index: 2;
}

.hero-glow {
    position: absolute;

    width: 550px;
    height: 550px;

    border-radius: 50%;

    filter: blur(100px);

    opacity: .12;
}

.hero-glow-one {
    background: var(--blue);

    right: -120px;
    top: 100px;
}

.hero-glow-two {
    background: #713cff;

    left: -250px;
    bottom: -280px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--blue-light);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .17em;
}

.hero h1 {
    max-width: 760px;

    font-family: 'Space Grotesk', sans-serif;

    font-size: clamp(48px, 6.6vw, 86px);
    line-height: .98;
    letter-spacing: -.045em;
}

.hero h1 span {
    display: block;

    color: #7f91aa;
}

.hero-description {
    max-width: 630px;

    margin-top: 30px;

    color: var(--text-soft);

    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 14px;

    margin-top: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 26px;

    border-radius: 50px;

    font-size: 14px;
    font-weight: 600;

    transition: .25s;
}

.btn-primary {
    background: var(--blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--border);

    background: rgba(255,255,255,.03);
}

.btn-secondary:hover {
    background: rgba(255,255,255,.08);
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;

    margin-top: 70px;
}

.hero-meta div {
    border-top: 1px solid var(--border);

    padding-top: 18px;
}

.hero-meta strong,
.hero-meta span {
    display: block;
}

.hero-meta strong {
    margin-bottom: 5px;

    font-size: 13px;
}

.hero-meta span {
    color: var(--text-soft);

    font-size: 11px;
}

.hero-visual {
    position: relative;
}

.visual-card-main {
    min-height: 520px;

    position: relative;

    display: flex;
    flex-direction: column;

    padding: 24px;

    border: 1px solid var(--border);
    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(53,120,255,.15),
            rgba(255,255,255,.02)
        );

    box-shadow:
        0 40px 120px rgba(0,0,0,.38);
}

.visual-label {
    color: var(--text-soft);

    font-size: 10px;
    letter-spacing: .18em;
}

.visual-placeholder {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    margin-top: 20px;
    padding: 34px;

    border-radius: 22px;

    background:
        radial-gradient(
            circle at top right,
            rgba(53,120,255,.5),
            transparent 45%
        ),
        #101927;
}

.visual-placeholder span {
    font-family: 'Space Grotesk', sans-serif;

    font-size: 32px;
    font-weight: 600;
}

.visual-placeholder small {
    max-width: 280px;

    margin-top: 9px;

    color: var(--text-soft);
}

.floating-tag {
    position: absolute;

    padding: 12px 18px;

    border: 1px solid var(--border);
    border-radius: 50px;

    background: rgba(17,26,40,.86);

    backdrop-filter: blur(12px);

    font-size: 12px;
}

.floating-tag-one {
    top: 80px;
    right: -30px;
}

.floating-tag-two {
    bottom: 80px;
    left: -40px;
}


/* COMMON */

.section {
    padding: 115px 0;
}

.section-dark {
    background: var(--bg-soft);
}

.section-heading {
    max-width: 720px;

    margin-bottom: 55px;
}

.section-heading.centered {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.section-heading h2 {
    font-family: 'Space Grotesk', sans-serif;

    font-size: clamp(34px,4.5vw,58px);
    line-height: 1.05;
    letter-spacing: -.035em;
}


/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 90px;
}

.about-copy {
    color: var(--text-soft);

    font-size: 18px;
}

.about-copy p + p {
    margin-top: 20px;
}

.capability {
    display: flex;
    align-items: center;

    gap: 24px;

    padding: 22px 0;

    border-bottom: 1px solid var(--border);
}

.capability span {
    color: var(--blue-light);

    font-size: 11px;
}

.capability strong {
    font-family: 'Space Grotesk', sans-serif;

    font-size: 21px;
}


/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);

    gap: 18px;
}

.service-card {
    min-height: 275px;

    padding: 32px;

    border: 1px solid var(--border);
    border-radius: 24px;

    background: var(--surface);

    transition: .3s;
}

.service-card:hover {
    transform: translateY(-5px);

    border-color: rgba(53,120,255,.45);
}

.service-number {
    color: var(--blue-light);

    font-size: 11px;
}

.service-card h3 {
    margin-top: 60px;

    font-family: 'Space Grotesk', sans-serif;

    font-size: 27px;
}

.service-card p {
    max-width: 430px;

    margin-top: 10px;

    color: var(--text-soft);
}


/* PORTFOLIO */

.portfolio-heading {
    display: flex;

    justify-content: space-between;
    align-items: end;

    gap: 30px;

    margin-bottom: 48px;
}

.portfolio-heading .section-heading {
    margin-bottom: 0;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.filter-btn {
    padding: 9px 16px;

    border: 1px solid var(--border);
    border-radius: 50px;

    background: transparent;

    color: var(--text-soft);

    cursor: pointer;

    font-size: 12px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--blue);

    border-color: var(--blue);

    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);

    gap: 30px 22px;
}

.project-card {
    transition: .3s;
}

.project-card.hidden {
    display: none;
}

.project-image {
    aspect-ratio: 16 / 11;

    overflow: hidden;

    border-radius: 22px;

    background: var(--surface);
}

.placeholder-project {
    display: grid;
    place-items: center;

    border: 1px solid var(--border);

    background:
        radial-gradient(
            circle at top left,
            rgba(53,120,255,.25),
            transparent 45%
        ),
        var(--surface);
}

.placeholder-project span {
    color: rgba(255,255,255,.34);

    font-family: 'Space Grotesk', sans-serif;

    font-size: 28px;
}

.project-info {
    padding: 18px 4px 0;
}

.project-info span {
    color: var(--blue-light);

    font-size: 11px;
    text-transform: uppercase;
}

.project-info h3 {
    margin-top: 4px;

    font-family: 'Space Grotesk', sans-serif;

    font-size: 23px;
}


/* TECHNOLOGIES */

.technologies-section {
    background: var(--bg-soft);
}

.technology-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px;
}

.technology-list span {
    padding: 13px 20px;

    border: 1px solid var(--border);
    border-radius: 50px;

    color: var(--text-soft);

    font-size: 13px;
}


/* PROCESS */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);

    gap: 15px;
}

.process-item {
    padding: 26px 0;

    border-top: 1px solid var(--border);
}

.process-item span {
    color: var(--blue-light);

    font-size: 11px;
}

.process-item h3 {
    margin-top: 26px;

    font-family: 'Space Grotesk', sans-serif;

    font-size: 20px;
}

.process-item p {
    margin-top: 7px;

    color: var(--text-soft);

    font-size: 13px;
}


/* CONTACT */

.contact-section {
    padding: 50px 0 110px;
}

.contact-box {
    display: grid;
    grid-template-columns: 1.4fr .6fr;

    gap: 50px;

    align-items: center;

    padding: 70px;

    border-radius: 30px;

    background: var(--blue);
}

.contact-box .eyebrow {
    color: rgba(255,255,255,.7);
}

.contact-box h2 {
    max-width: 700px;

    font-family: 'Space Grotesk', sans-serif;

    font-size: clamp(38px,5vw,62px);
    line-height: 1;
}

.contact-box p {
    margin-top: 17px;

    color: rgba(255,255,255,.8);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 12px;
}

.btn-light {
    margin-bottom: 8px;

    background: white;

    color: var(--blue);
}

.contact-link {
    color: rgba(255,255,255,.9);

    font-size: 13px;
}


/* FOOTER */

.site-footer {
    border-top: 1px solid var(--border);

    color: var(--text-soft);
}

.footer-inner {
    min-height: 90px;

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

    font-size: 12px;
}


/* WHATSAPP */

.whatsapp-floating {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 1100;

    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #25D366;

    color: white;

    font-size: 12px;
    font-weight: 800;

    box-shadow:
        0 12px 30px rgba(0,0,0,.28);
}


/* RESPONSIVE */

@media (max-width: 920px) {

    .main-nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav.open {
        position: absolute;

        top: 82px;
        left: 4%;
        right: 4%;

        display: flex;
        flex-direction: column;

        gap: 0;

        padding: 16px;

        border: 1px solid var(--border);
        border-radius: 16px;

        background: var(--surface);
    }

    .main-nav.open a {
        padding: 14px;
    }

    .hero-grid,
    .about-grid,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        max-width: 620px;
    }

    .hero-meta {
        margin-top: 50px;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .process-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .contact-box {
        padding: 45px;
    }

}

@media (max-width: 600px) {

    .header-inner {
        height: 72px;
    }

    .brand-name {
        display: none;
    }

    .hero {
        padding-top: 125px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-meta {
        grid-template-columns: 1fr;
    }

    .visual-card-main {
        min-height: 380px;
    }

    .floating-tag {
        display: none;
    }

    .section {
        padding: 82px 0;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .services-grid {
        gap: 12px;
    }

    .service-card {
        min-height: 235px;

        padding: 26px;
    }

    .service-card h3 {
        margin-top: 40px;
    }

    .portfolio-filters {
        gap: 6px;
    }

    .filter-btn {
        font-size: 11px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 34px 26px;
    }

    .contact-box h2 {
        font-size: 40px;
    }

    .footer-inner {
        flex-direction: column;

        justify-content: center;

        gap: 6px;

        text-align: center;
    }

}


/* =========================================================
   PORTFOLIO_HERO_V2_STYLES
   ========================================================= */

.hero-v2 {
    min-height: 100vh;
    isolation: isolate;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;

    z-index: 0;

    opacity: .22;

    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.8),
            transparent 92%
        );
}

.hero-grid-v2 {
    grid-template-columns: 1.08fr .92fr;
    gap: 75px;
}

.hero-status {
    width: fit-content;

    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 30px;

    padding: 8px 13px;

    border: 1px solid var(--border);
    border-radius: 50px;

    background: rgba(255,255,255,.025);

    color: var(--text-soft);

    font-size: 11px;
    font-weight: 500;
}

.hero-status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #42d985;

    box-shadow:
        0 0 0 5px rgba(66,217,133,.1);
}

.hero-eyebrow {
    margin-bottom: 22px;
}

.hero-v2 h1 {
    max-width: 820px;

    font-size: clamp(52px, 6vw, 86px);
}

.hero-v2 h1 span {
    margin-top: 9px;

    background:
        linear-gradient(
            90deg,
            #74859e,
            #b2bdcc
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-v2 .hero-description {
    max-width: 680px;

    font-size: 17px;
    line-height: 1.8;
}

.hero-v2 .hero-actions {
    align-items: center;
}

.btn-arrow {
    margin-left: 15px;

    font-size: 18px;

    transition: transform .25s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.hero-expertise {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-top: 58px;
}

.hero-expertise-item {
    min-height: 88px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 15px 13px;

    border-top: 1px solid var(--border);
}

.hero-expertise-number {
    color: var(--blue-light);

    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
}

.hero-expertise-item strong,
.hero-expertise-item small {
    display: block;
}

.hero-expertise-item strong {
    margin-bottom: 2px;

    font-size: 12px;
    font-weight: 600;
}

.hero-expertise-item small {
    color: var(--text-soft);

    font-size: 10px;
}


/* HERO SHOWCASE */

.hero-showcase {
    min-height: 590px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-orbit {
    position: absolute;

    border: 1px solid rgba(255,255,255,.06);
    border-radius: 50%;
}

.showcase-orbit-one {
    width: 520px;
    height: 520px;
}

.showcase-orbit-two {
    width: 390px;
    height: 390px;

    border-color: rgba(53,120,255,.14);
}

.showcase-card {
    width: min(100%, 435px);

    position: relative;
    z-index: 3;

    padding: 16px;

    border: 1px solid rgba(255,255,255,.11);
    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.025)
        );

    backdrop-filter: blur(20px);

    box-shadow:
        0 50px 100px rgba(0,0,0,.38);

    transform: rotate(2deg);
}

.showcase-header {
    height: 42px;

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

    padding: 0 5px;

    color: var(--text-soft);

    font-size: 8px;
    letter-spacing: .13em;
}

.showcase-status {
    color: var(--blue-light);
}

.showcase-screen {
    min-height: 390px;

    position: relative;

    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 26px;

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(62,121,255,.65),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(111,60,255,.35),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #101a2c,
            #080e18
        );
}

.showcase-screen::after {
    content: '';

    width: 220px;
    height: 220px;

    position: absolute;

    right: -70px;
    bottom: -90px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}

.showcase-screen-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: relative;
    z-index: 2;
}

.showcase-screen-top span {
    width: 37px;
    height: 37px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 9px;

    background: rgba(255,255,255,.05);

    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.showcase-screen-top small {
    color: rgba(255,255,255,.5);

    font-size: 7px;
    letter-spacing: .12em;
}

.showcase-main-copy {
    position: relative;
    z-index: 2;
}

.showcase-main-copy span,
.showcase-main-copy strong {
    display: block;

    font-family: 'Space Grotesk', sans-serif;

    line-height: .9;
}

.showcase-main-copy span {
    color: rgba(255,255,255,.42);

    font-size: 35px;
}

.showcase-main-copy strong {
    margin-top: 8px;

    font-size: 68px;
    letter-spacing: -.06em;
}

.showcase-bottom {
    display: flex;
    gap: 7px;

    position: relative;
    z-index: 2;
}

.showcase-bottom span {
    padding: 7px 10px;

    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50px;

    background: rgba(0,0,0,.14);

    color: rgba(255,255,255,.68);

    font-size: 8px;
}

.showcase-footer {
    min-height: 67px;

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

    padding: 0 8px;
}

.showcase-footer small,
.showcase-footer strong {
    display: block;
}

.showcase-footer small {
    margin-bottom: 2px;

    color: var(--text-soft);

    font-size: 7px;
    letter-spacing: .12em;
}

.showcase-footer strong {
    font-size: 11px;
}

.showcase-arrow {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: var(--blue-light);
}

.showcase-floating {
    position: absolute;
    z-index: 5;

    min-width: 180px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 13px 15px;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;

    background: rgba(12,19,30,.88);

    backdrop-filter: blur(18px);

    box-shadow:
        0 20px 50px rgba(0,0,0,.28);
}

.showcase-floating-top {
    top: 95px;
    right: -25px;
}

.showcase-floating-bottom {
    bottom: 75px;
    left: -35px;
}

.showcase-floating small,
.showcase-floating strong {
    display: block;
}

.showcase-floating small {
    color: var(--text-soft);

    font-size: 7px;
    letter-spacing: .12em;
}

.showcase-floating strong {
    margin-top: 2px;

    font-size: 11px;
}

.floating-icon,
.floating-code {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: rgba(53,120,255,.13);

    color: var(--blue-light);

    font-size: 14px;
    font-weight: 700;
}

.hero-scroll {
    position: absolute;

    left: 50%;
    bottom: 25px;

    z-index: 3;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 11px;

    color: rgba(255,255,255,.28);

    font-size: 7px;
    letter-spacing: .18em;
}

.hero-scroll-line {
    width: 55px;
    height: 1px;

    background: rgba(255,255,255,.18);
}


/* RESPONSIVE HERO V2 */

@media (max-width: 1050px) {

    .hero-grid-v2 {
        gap: 45px;
    }

    .showcase-floating-top {
        right: 0;
    }

    .showcase-floating-bottom {
        left: 0;
    }

}

@media (max-width: 920px) {

    .hero-grid-v2 {
        grid-template-columns: 1fr;
    }

    .hero-showcase {
        width: 100%;
        max-width: 650px;

        margin: 20px auto 0;
    }

    .hero-expertise {
        max-width: 650px;
    }

}

@media (max-width: 600px) {

    .hero-v2 {
        padding-bottom: 70px;
    }

    .hero-status {
        margin-bottom: 24px;
    }

    .hero-v2 h1 {
        font-size: 46px;
    }

    .hero-v2 .hero-description {
        font-size: 15px;
    }

    .hero-expertise {
        grid-template-columns: 1fr;

        margin-top: 40px;
    }

    .hero-expertise-item {
        min-height: 65px;
    }

    .hero-showcase {
        min-height: 500px;

        margin-top: 5px;
    }

    .showcase-card {
        width: 91%;

        transform: none;
    }

    .showcase-screen {
        min-height: 330px;
    }

    .showcase-main-copy span {
        font-size: 28px;
    }

    .showcase-main-copy strong {
        font-size: 55px;
    }

    .showcase-floating {
        display: none;
    }

    .showcase-orbit-one {
        width: 390px;
        height: 390px;
    }

    .showcase-orbit-two {
        width: 300px;
        height: 300px;
    }

    .hero-scroll {
        display: none;
    }

}


/* =========================================================
   PORTFOLIO_CONTACT_FORM_STYLES_V1
   ========================================================= */

.contact-section {
    padding: 120px 0;
    background: var(--bg-soft);
}

.contact-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.contact-intro h2 {
    max-width: 550px;

    font-family: 'Space Grotesk', sans-serif;

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -.04em;
}

.contact-intro > p {
    max-width: 510px;

    margin-top: 25px;

    color: var(--text-soft);

    font-size: 16px;
    line-height: 1.8;
}

.contact-direct {
    display: grid;
    gap: 0;

    margin-top: 50px;
}

.contact-direct a {
    display: flex;
    flex-direction: column;

    padding: 18px 0;

    border-bottom:
        1px solid var(--border);
}

.contact-direct small {
    margin-bottom: 5px;

    color: var(--blue-light);

    font-size: 8px;
    letter-spacing: .15em;
}

.contact-direct strong {
    font-size: 14px;
    font-weight: 500;
}

.contact-form-card {
    padding: 38px;

    border: 1px solid var(--border);
    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2,1fr);

    gap: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--text-soft);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border: 1px solid var(--border);
    border-radius: 12px;

    outline: none;

    background: rgba(255,255,255,.025);

    color: var(--text);

    font-family: inherit;
    font-size: 13px;

    transition:
        border-color .2s,
        background .2s;
}

.form-group input,
.form-group select {
    height: 50px;

    padding: 0 15px;
}

.form-group textarea {
    resize: vertical;

    min-height: 145px;

    padding: 15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(53,120,255,.65);

    background: rgba(53,120,255,.035);
}

.form-group select option {
    background: #111a28;
    color: white;
}

.contact-submit {
    width: 100%;
    height: 54px;

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

    padding: 0 21px;

    border: 0;
    border-radius: 12px;

    background: var(--blue);

    color: white;

    cursor: pointer;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    transition:
        transform .2s,
        opacity .2s;
}

.contact-submit:hover {
    transform: translateY(-2px);
}

.contact-submit:disabled {
    cursor: wait;
    opacity: .65;
}

.contact-form-alert {
    margin-bottom: 17px;

    padding: 13px 15px;

    border-radius: 10px;

    font-size: 12px;
    line-height: 1.5;
}

.contact-form-alert.success {
    border: 1px solid rgba(66,217,133,.25);

    background: rgba(66,217,133,.08);

    color: #7ce5aa;
}

.contact-form-alert.error {
    border: 1px solid rgba(255,92,92,.25);

    background: rgba(255,92,92,.08);

    color: #ff9696;
}


@media (max-width: 920px) {

    .contact-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }

}

@media (max-width: 600px) {

    .contact-section {
        padding: 80px 0;
    }

    .contact-form-card {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .contact-intro h2 {
        font-size: 42px;
    }

}


/* =========================================================
   PORTFOLIO_HONEYPOT_STYLES_V1
   ========================================================= */

.portfolio-honeypot {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    opacity: 0 !important;

    pointer-events: none !important;
}



/* =========================================================
   PORTFOLIO_DESIGN_GALLERY_STYLES_V1
   ========================================================= */

.portfolio-showcase {
    overflow: hidden;
}

.portfolio-category-panel {
    display: none;
}

.portfolio-category-panel.active {
    display: block;
}


/* MASONRY */

.design-gallery {
    columns: 3;
    column-gap: 18px;
}

.design-gallery-item {
    width: 100%;

    display: block;

    position: relative;

    overflow: hidden;

    margin: 0 0 18px;

    break-inside: avoid;

    padding: 0;

    border: 0;
    border-radius: 18px;

    background: var(--surface);

    cursor: zoom-in;

    appearance: none;
}

.design-gallery-item img {
    width: 100%;
    height: auto;

    display: block;

    transition:
        transform .55s cubic-bezier(.2,.8,.2,1),
        filter .4s ease;
}

.design-gallery-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;
    justify-content: flex-end;

    padding: 18px;

    opacity: 0;

    background:
        linear-gradient(
            to top,
            rgba(4,8,14,.55),
            transparent 50%
        );

    transition: opacity .3s ease;
}

.design-gallery-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;

    background: rgba(8,13,22,.68);

    color: #fff;

    font-size: 17px;

    backdrop-filter: blur(12px);

    transform:
        translateY(8px)
        scale(.95);

    transition:
        transform .3s ease;
}

.design-gallery-item:hover img {
    transform: scale(1.025);
}

.design-gallery-item:hover .design-gallery-overlay {
    opacity: 1;
}

.design-gallery-item:hover .design-gallery-icon {
    transform:
        translateY(0)
        scale(1);
}


/* LIGHTBOX */

.design-lightbox {
    position: fixed;
    inset: 0;

    z-index: 5000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 40px 80px;

    background:
        rgba(4,7,12,.94);

    backdrop-filter: blur(20px);
}

.design-lightbox.open {
    display: flex;
}

.design-lightbox-content {
    max-width: min(94vw, 1400px);
    max-height: 92vh;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.design-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;

    width: auto;
    height: auto;

    display: block;

    border-radius: 14px;

    box-shadow:
        0 40px 100px rgba(0,0,0,.55);
}

.design-lightbox-close {
    position: absolute;

    top: 25px;
    right: 30px;

    z-index: 3;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;

    background: rgba(255,255,255,.05);

    color: white;

    cursor: pointer;

    font-size: 26px;

    transition: .2s;
}

.design-lightbox-close:hover {
    background: rgba(255,255,255,.12);
}

.design-lightbox-nav {
    position: absolute;
    top: 50%;

    z-index: 3;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;

    background: rgba(255,255,255,.05);

    color: white;

    cursor: pointer;

    transform: translateY(-50%);

    font-size: 20px;

    transition: .2s;
}

.design-lightbox-nav:hover {
    background: rgba(255,255,255,.12);
}

.design-lightbox-prev {
    left: 25px;
}

.design-lightbox-next {
    right: 25px;
}

.design-lightbox-counter {
    position: absolute;

    left: 50%;
    bottom: -30px;

    display: flex;
    gap: 6px;

    transform: translateX(-50%);

    color: rgba(255,255,255,.55);

    font-size: 10px;
    letter-spacing: .1em;
}


/* PLACEHOLDER CATEGORIES */

.portfolio-coming-soon {
    min-height: 400px;

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

    border: 1px solid var(--border);
    border-radius: 24px;

    background:
        radial-gradient(
            circle at center,
            rgba(53,120,255,.12),
            transparent 45%
        ),
        var(--surface);
}

.portfolio-coming-soon span {
    margin-bottom: 8px;

    color: var(--blue-light);

    font-size: 9px;
    letter-spacing: .15em;
}

.portfolio-coming-soon strong {
    font-family:
        'Space Grotesk',
        sans-serif;

    font-size: 32px;
}


/* RESPONSIVE */

@media (max-width: 980px) {

    .design-gallery {
        columns: 2;
    }

}

@media (max-width: 600px) {

    .design-gallery {
        columns: 1;

        column-gap: 0;
    }

    .design-gallery-item {
        margin-bottom: 14px;

        border-radius: 14px;
    }

    .design-lightbox {
        padding: 60px 12px 45px;
    }

    .design-lightbox-content img {
        max-height: 82vh;

        border-radius: 10px;
    }

    .design-lightbox-nav {
        width: 42px;
        height: 42px;

        top: auto;
        bottom: 12px;

        transform: none;
    }

    .design-lightbox-prev {
        left: 15px;
    }

    .design-lightbox-next {
        right: 15px;
    }

    .design-lightbox-close {
        top: 14px;
        right: 14px;

        width: 42px;
        height: 42px;
    }

    .design-lightbox-counter {
        bottom: -25px;
    }

}


/* =========================================================
   PORTFOLIO_DESIGN_GRID_V2
   ========================================================= */

.design-gallery {
    columns: auto;
    column-gap: 0;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}

.design-gallery-item {
    width: 100%;
    height: 100%;

    margin: 0;

    break-inside: auto;

    border-radius: 12px;

    aspect-ratio: 1 / 1;

    overflow: hidden;
}

.design-gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}

.design-gallery-overlay {
    padding: 12px;
}

.design-gallery-icon {
    width: 34px;
    height: 34px;

    font-size: 14px;
}


/* 5 columnas en pantallas grandes */

@media (min-width: 1450px) {

    .design-gallery {
        grid-template-columns:
            repeat(5, minmax(0, 1fr));
    }

}


/* Laptop */

@media (max-width: 1100px) {

    .design-gallery {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* Tablet */

@media (max-width: 760px) {

    .design-gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

}


/* Mobile */

@media (max-width: 480px) {

    .design-gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    .design-gallery-item {
        border-radius: 9px;
    }

    .design-gallery-overlay {
        padding: 8px;
    }

    .design-gallery-icon {
        width: 30px;
        height: 30px;

        font-size: 12px;
    }

}


/* =========================================================
   PORTFOLIO_DESIGN_GRID_V3
   GRID COMPACTO DEFINITIVO
   ========================================================= */

#portafolio .design-gallery {
    display: grid !important;

    grid-template-columns:
        repeat(5, minmax(0, 1fr)) !important;

    gap: 12px !important;

    columns: unset !important;
    column-count: unset !important;
    column-gap: unset !important;

    width: 100% !important;

    align-items: start !important;
}


#portafolio .design-gallery-item {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    aspect-ratio: 1 / 1 !important;

    overflow: hidden !important;

    border-radius: 10px !important;

    break-inside: auto !important;
}


#portafolio .design-gallery-item img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;

    object-fit: cover !important;
    object-position: center !important;
}


#portafolio .design-gallery-overlay {
    padding: 10px !important;
}


#portafolio .design-gallery-icon {
    width: 32px !important;
    height: 32px !important;

    font-size: 13px !important;
}


/* DESKTOP MEDIO */

@media (max-width: 1250px) {

    #portafolio .design-gallery {
        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;
    }

}


/* TABLET */

@media (max-width: 900px) {

    #portafolio .design-gallery {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        gap: 10px !important;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    #portafolio .design-gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 8px !important;
    }

    #portafolio .design-gallery-item {
        border-radius: 8px !important;
    }

}


/* =========================================================
   PORTFOLIO_DESIGN_GRID_SPACING_V4
   ========================================================= */

#portafolio .design-gallery {
    display: grid !important;

    grid-template-columns:
        repeat(5, minmax(0, 1fr)) !important;

    row-gap: 14px !important;
    column-gap: 14px !important;

    gap: 14px !important;
}


/* Desktop medio */

@media (max-width: 1250px) {

    #portafolio .design-gallery {
        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;

        row-gap: 14px !important;
        column-gap: 14px !important;
    }

}


/* Tablet */

@media (max-width: 900px) {

    #portafolio .design-gallery {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        row-gap: 12px !important;
        column-gap: 12px !important;
    }

}


/* Mobile */

@media (max-width: 600px) {

    #portafolio .design-gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        row-gap: 10px !important;
        column-gap: 10px !important;
    }

}


/* =========================================================
   PORTFOLIO_WEBSITES_STYLES_V1
   ========================================================= */

.websites-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.website-card {
    width: 100%;

    display: block;

    padding: 0;

    border: 0;

    background: transparent;

    color: inherit;

    text-align: left;

    cursor: pointer;
}

.website-browser {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: var(--surface);

    box-shadow:
        0 20px 45px rgba(0,0,0,.18);

    transition:
        transform .3s ease,
        border-color .3s ease;
}

.website-card:hover .website-browser {
    transform: translateY(-4px);

    border-color:
        rgba(53,120,255,.45);
}

.website-browser-bar {
    height: 42px;

    display: flex;
    align-items: center;

    gap: 16px;

    padding: 0 15px;

    border-bottom:
        1px solid var(--border);

    background:
        rgba(255,255,255,.025);
}

.website-browser-dots {
    display: flex;
    gap: 5px;
}

.website-browser-dots span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.18);
}

.website-browser-url {
    flex: 1;

    overflow: hidden;

    color: var(--text-soft);

    font-size: 10px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.website-browser-preview {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 10;

    background: #fff;
}

.website-browser-preview img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: top;

    transition:
        transform .55s cubic-bezier(.2,.8,.2,1);
}

.website-card:hover
.website-browser-preview img {
    transform: scale(1.018);
}

.website-hover {
    position: absolute;
    inset: 0;

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

    padding: 20px;

    opacity: 0;

    background:
        linear-gradient(
            to top,
            rgba(5,9,15,.75),
            transparent 55%
        );

    transition: opacity .3s ease;
}

.website-card:hover .website-hover {
    opacity: 1;
}

.website-hover span {
    color: white;

    font-size: 12px;
    font-weight: 600;
}

.website-hover strong {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;

    background:
        rgba(7,12,20,.6);

    color: white;

    font-size: 14px;
}

.website-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 14px 3px 0;
}

.website-card-meta strong {
    font-family:
        'Space Grotesk',
        sans-serif;

    font-size: 16px;
}

.website-card-meta span {
    color: var(--text-soft);

    font-size: 10px;
}


/* VIEWER */

.website-viewer {
    position: fixed;
    inset: 0;

    z-index: 6000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 28px;

    background:
        rgba(4,7,12,.94);

    backdrop-filter: blur(20px);
}

.website-viewer.open {
    display: flex;
}

.website-viewer-panel {
    width: min(1200px, 96vw);
    height: min(92vh, 950px);

    display: grid;
    grid-template-rows:
        auto 1fr auto;

    overflow: hidden;

    border: 1px solid
        rgba(255,255,255,.1);

    border-radius: 22px;

    background: #0b111b;

    box-shadow:
        0 45px 120px rgba(0,0,0,.55);
}

.website-viewer-header {
    min-height: 78px;

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

    gap: 20px;

    padding: 16px 20px;

    border-bottom:
        1px solid var(--border);
}

.website-viewer-header div {
    min-width: 0;
}

.website-viewer-label,
.website-viewer-header strong,
.website-viewer-header small {
    display: block;
}

.website-viewer-label {
    margin-bottom: 4px;

    color: var(--blue-light);

    font-size: 7px;
    letter-spacing: .14em;
}

.website-viewer-header strong {
    font-size: 15px;
}

.website-viewer-header small {
    margin-top: 2px;

    color: var(--text-soft);

    font-size: 9px;
}

.website-viewer-close {
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);
    border-radius: 50%;

    background:
        rgba(255,255,255,.04);

    color: white;

    cursor: pointer;

    font-size: 24px;
}

.website-viewer-scroll {
    overflow-y: auto;
    overflow-x: hidden;

    background: #fff;

    scrollbar-width: thin;
}

.website-viewer-scroll img {
    width: 100%;
    height: auto;

    display: block;
}

.website-viewer-footer {
    min-height: 58px;

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

    gap: 20px;

    padding: 10px 18px;

    border-top:
        1px solid var(--border);

    color: var(--text-soft);

    font-size: 9px;
}

.website-viewer-nav {
    display: flex;
    align-items: center;

    gap: 12px;
}

.website-viewer-nav button {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    background:
        rgba(255,255,255,.04);

    color: white;

    cursor: pointer;
}

.website-viewer-nav span {
    min-width: 48px;

    text-align: center;
}


/* RESPONSIVE */

@media (max-width: 800px) {

    .websites-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

}

@media (max-width: 600px) {

    .website-viewer {
        padding: 8px;
    }

    .website-viewer-panel {
        width: 100%;
        height: 96vh;

        border-radius: 15px;
    }

    .website-viewer-footer > span {
        display: none;
    }

    .website-viewer-footer {
        justify-content: center;
    }

    .website-card-meta {
        align-items: flex-start;
        flex-direction: column;

        gap: 2px;
    }

}


/* =========================================================
   PORTFOLIO_SYSTEMS_STYLES_V1
   ========================================================= */

.systems-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.system-card {
    width: 100%;

    display: block;

    padding: 0;

    border: 0;

    background: transparent;

    color: inherit;

    text-align: left;

    cursor: pointer;
}

.system-preview {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: var(--surface);

    box-shadow:
        0 20px 45px rgba(0,0,0,.18);

    transition:
        transform .3s ease,
        border-color .3s ease;
}

.system-card:hover .system-preview {
    transform: translateY(-4px);

    border-color:
        rgba(53,120,255,.45);
}

.system-preview-bar {
    min-height: 42px;

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

    padding: 0 14px;

    border-bottom:
        1px solid var(--border);

    background:
        rgba(255,255,255,.025);
}

.system-preview-dots {
    display: flex;
    gap: 5px;
}

.system-preview-dots span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.18);
}

.system-preview-type {
    color: var(--blue-light);

    font-size: 8px;
    letter-spacing: .13em;
}

.system-preview-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 10;

    background: #f5f7fa;
}

.system-preview-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: top;

    transition:
        transform .55s cubic-bezier(.2,.8,.2,1);
}

.system-card:hover
.system-preview-image img {
    transform: scale(1.018);
}

.system-preview-overlay {
    position: absolute;
    inset: 0;

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

    padding: 20px;

    opacity: 0;

    background:
        linear-gradient(
            to top,
            rgba(5,9,15,.72),
            transparent 55%
        );

    transition: opacity .3s ease;
}

.system-card:hover
.system-preview-overlay {
    opacity: 1;
}

.system-preview-overlay span {
    color: white;

    font-size: 12px;
    font-weight: 600;
}

.system-preview-overlay strong {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border: 1px solid
        rgba(255,255,255,.25);

    border-radius: 50%;

    background:
        rgba(7,12,20,.6);

    color: white;
}

.system-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding: 14px 3px 0;
}

.system-card-meta strong {
    font-family:
        'Space Grotesk',
        sans-serif;

    font-size: 16px;
}

.system-card-meta span {
    color: var(--text-soft);

    font-size: 10px;
}


/* VIEWER */

.system-viewer {
    position: fixed;
    inset: 0;

    z-index: 6100;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 28px;

    background:
        rgba(4,7,12,.94);

    backdrop-filter: blur(20px);
}

.system-viewer.open {
    display: flex;
}

.system-viewer-panel {
    width: min(1250px, 96vw);
    height: min(92vh, 960px);

    display: grid;
    grid-template-rows:
        auto 1fr auto;

    overflow: hidden;

    border: 1px solid
        rgba(255,255,255,.1);

    border-radius: 22px;

    background: #0b111b;

    box-shadow:
        0 45px 120px
        rgba(0,0,0,.55);
}

.system-viewer-header {
    min-height: 78px;

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

    gap: 20px;

    padding: 16px 20px;

    border-bottom:
        1px solid var(--border);
}

.system-viewer-label,
.system-viewer-header strong,
.system-viewer-header small {
    display: block;
}

.system-viewer-label {
    margin-bottom: 4px;

    color: var(--blue-light);

    font-size: 7px;
    letter-spacing: .14em;
}

.system-viewer-header strong {
    font-size: 15px;
}

.system-viewer-header small {
    margin-top: 2px;

    color: var(--text-soft);

    font-size: 9px;
}

.system-viewer-close {
    width: 42px;
    height: 42px;

    flex: 0 0 auto;

    border: 1px solid var(--border);
    border-radius: 50%;

    background:
        rgba(255,255,255,.04);

    color: white;

    cursor: pointer;

    font-size: 24px;
}

.system-viewer-scroll {
    overflow-y: auto;
    overflow-x: hidden;

    background: #f5f7fa;

    scrollbar-width: thin;
}

.system-viewer-scroll img {
    width: 100%;
    height: auto;

    display: block;
}

.system-viewer-footer {
    min-height: 58px;

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

    gap: 20px;

    padding: 10px 18px;

    border-top:
        1px solid var(--border);

    color: var(--text-soft);

    font-size: 9px;
}

.system-viewer-nav {
    display: flex;
    align-items: center;

    gap: 12px;
}

.system-viewer-nav button {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    background:
        rgba(255,255,255,.04);

    color: white;

    cursor: pointer;
}


/* RESPONSIVE */

@media (max-width: 800px) {

    .systems-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

}

@media (max-width: 600px) {

    .system-viewer {
        padding: 8px;
    }

    .system-viewer-panel {
        width: 100%;
        height: 96vh;

        border-radius: 15px;
    }

    .system-viewer-footer > span {
        display: none;
    }

    .system-viewer-footer {
        justify-content: center;
    }

    .system-card-meta {
        flex-direction: column;
        align-items: flex-start;

        gap: 2px;
    }

}


/* =========================================================
   PORTFOLIO_TOOLS_HOVER_V1
   Hover profesional para herramientas / tecnologías
   ========================================================= */

/*
 * Se cubren las clases más habituales utilizadas
 * en la sección de herramientas sin modificar
 * la estructura HTML existente.
 */

.tools-grid > *,
.tool-item,
.tech-item,
.technology-item,
.skill-tool,
.tool-card,
.tech-card {
    position: relative;
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        background-color 0.28s ease,
        box-shadow 0.28s ease;
}

.tools-grid > *:hover,
.tool-item:hover,
.tech-item:hover,
.technology-item:hover,
.skill-tool:hover,
.tool-card:hover,
.tech-card:hover {
    transform: translateY(-5px);

    border-color: rgba(59, 130, 246, 0.72) !important;

    background:
        linear-gradient(
            145deg,
            rgba(59, 130, 246, 0.14),
            rgba(59, 130, 246, 0.045)
        ) !important;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(59, 130, 246, 0.08),
        0 0 24px rgba(59, 130, 246, 0.10);
}


/* Iconos */

.tools-grid > * img,
.tool-item img,
.tech-item img,
.technology-item img,
.skill-tool img,
.tool-card img,
.tech-card img,
.tools-grid > * svg,
.tool-item svg,
.tech-item svg,
.technology-item svg,
.skill-tool svg,
.tool-card svg,
.tech-card svg {
    transition:
        transform 0.28s ease,
        filter 0.28s ease;
}


.tools-grid > *:hover img,
.tool-item:hover img,
.tech-item:hover img,
.technology-item:hover img,
.skill-tool:hover img,
.tool-card:hover img,
.tech-card:hover img,
.tools-grid > *:hover svg,
.tool-item:hover svg,
.tech-item:hover svg,
.technology-item:hover svg,
.skill-tool:hover svg,
.tool-card:hover svg,
.tech-card:hover svg {
    transform: scale(1.08);

    filter:
        brightness(1.10)
        drop-shadow(0 4px 10px rgba(59, 130, 246, 0.22));
}


/* Texto */

.tools-grid > * span,
.tool-item span,
.tech-item span,
.technology-item span,
.skill-tool span,
.tool-card span,
.tech-card span {
    transition: color 0.28s ease;
}


.tools-grid > *:hover span,
.tool-item:hover span,
.tech-item:hover span,
.technology-item:hover span,
.skill-tool:hover span,
.tool-card:hover span,
.tech-card:hover span {
    color: #ffffff;
}


/* Evita animación excesiva en dispositivos táctiles */

@media (hover: none) {

    .tools-grid > *:hover,
    .tool-item:hover,
    .tech-item:hover,
    .technology-item:hover,
    .skill-tool:hover,
    .tool-card:hover,
    .tech-card:hover {
        transform: none;
    }

}



/* =========================================================
   PORTFOLIO_TECHNOLOGY_HOVER_V2
   ========================================================= */

.technology-list span {
    position: relative;

    cursor: default;

    transition:
        transform .28s ease,
        color .28s ease,
        border-color .28s ease,
        background .28s ease,
        box-shadow .28s ease;
}

.technology-list span:hover {
    transform: translateY(-4px);

    color: #ffffff !important;

    border-color:
        rgba(59, 130, 246, .75) !important;

    background:
        linear-gradient(
            145deg,
            rgba(59, 130, 246, .18),
            rgba(59, 130, 246, .06)
        ) !important;

    box-shadow:
        0 10px 24px rgba(0,0,0,.22),
        0 0 0 1px rgba(59,130,246,.08),
        0 0 20px rgba(59,130,246,.12);
}

.technology-list span::after {
    content: '';

    position: absolute;

    left: 18%;
    right: 18%;
    bottom: -5px;

    height: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #3b82f6,
            transparent
        );

    opacity: 0;

    transform: scaleX(.5);

    transition:
        opacity .28s ease,
        transform .28s ease;
}

.technology-list span:hover::after {
    opacity: 1;

    transform: scaleX(1);
}

@media (hover: none) {

    .technology-list span:hover {
        transform: none;
    }

}


/* =========================================================
   PORTFOLIO_CTA_PULSE_V1
   Pulse sutil para acciones principales
   ========================================================= */

@keyframes portfolioCtaPulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(59, 130, 246, .38);
    }

    65% {
        box-shadow:
            0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(59, 130, 246, 0);
    }

}


.cta-pulse {
    position: relative;

    animation:
        portfolioCtaPulse
        2.2s
        cubic-bezier(.4, 0, .6, 1)
        infinite;

    will-change: box-shadow;
}


/*
 * Al interactuar con el botón detenemos el pulse.
 * De esta manera prevalece su hover original.
 */

.cta-pulse:hover,
.cta-pulse:focus-visible {
    animation: none;
}


/*
 * Click
 */

.cta-pulse:active {
    animation: none;

    transform:
        translateY(1px)
        scale(.98);
}


/*
 * Accesibilidad:
 * usuarios que prefieren menos movimiento.
 */

@media (prefers-reduced-motion: reduce) {

    .cta-pulse {
        animation: none !important;
    }

}


/*
 * En dispositivos táctiles reducimos la intensidad.
 */

@media (hover: none) {

    .cta-pulse {
        animation-duration: 2.8s;
    }

}



/* =========================================================
   PORTFOLIO_WHATSAPP_PULSE_V1
   ========================================================= */

@keyframes portfolioWhatsappPulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, .48),
            0 8px 24px rgba(0, 0, 0, .20);
    }

    65% {
        box-shadow:
            0 0 0 13px rgba(37, 211, 102, 0),
            0 8px 24px rgba(0, 0, 0, .20);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0),
            0 8px 24px rgba(0, 0, 0, .20);
    }

}


.whatsapp-pulse {
    animation:
        portfolioWhatsappPulse
        2.1s
        cubic-bezier(.4, 0, .6, 1)
        infinite;
}


.whatsapp-pulse:hover,
.whatsapp-pulse:focus-visible {
    animation: none;
}


.whatsapp-pulse:active {
    animation: none;
    transform: scale(.94);
}


/* Icono */

.whatsapp-icon {
    display: block;

    width: 28px;
    height: 28px;

    color: #ffffff;

    fill: currentColor;

    transition:
        transform .25s ease;
}


.whatsapp-pulse:hover .whatsapp-icon {
    transform: scale(1.10);
}


/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {

    .whatsapp-pulse {
        animation: none !important;
    }

}


/* Móvil */

@media (max-width: 767px) {

    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }

}



/* =========================================================
   PORTFOLIO_WHATSAPP_PULSE_V2
   Pulse directo sobre botón flotante
   ========================================================= */

@keyframes whatsappFloatingPulse {

    0% {
        transform: scale(.92);
        opacity: .75;
    }

    70% {
        transform: scale(1.45);
        opacity: 0;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }

}


.whatsapp-floating {
    position: fixed;

    isolation: isolate;

    overflow: visible !important;
}


/*
 * Onda externa
 */

.whatsapp-floating::before {
    content: '';

    position: absolute;

    inset: -1px;

    z-index: -1;

    border-radius: 50%;

    background:
        rgba(37, 211, 102, .48);

    animation:
        whatsappFloatingPulse
        1.9s
        ease-out
        infinite;

    pointer-events: none;
}


/*
 * Segunda onda con retraso.
 */

.whatsapp-floating::after {
    content: '';

    position: absolute;

    inset: -1px;

    z-index: -2;

    border-radius: 50%;

    border:
        2px solid
        rgba(37, 211, 102, .38);

    animation:
        whatsappFloatingPulse
        1.9s
        .65s
        ease-out
        infinite;

    pointer-events: none;
}


/*
 * Mantener botón por encima de las ondas
 */

.whatsapp-floating .whatsapp-icon {
    position: relative;

    z-index: 2;

    width: 28px;
    height: 28px;

    color: #ffffff;
}


/*
 * Hover
 */

.whatsapp-floating:hover {
    transform: translateY(-3px);
}

.whatsapp-floating:hover .whatsapp-icon {
    transform: scale(1.10);
}


/*
 * Accesibilidad
 */

@media (prefers-reduced-motion: reduce) {

    .whatsapp-floating::before,
    .whatsapp-floating::after {
        animation: none !important;
        display: none;
    }

}

