/* ============================================================
   VARIABLES
   ============================================================ */

:root {

    --color-primary: #002C66;
    --color-secondary: #0052A5;
    --color-accent: #00B8D9;

    --color-background: #07111F;
    --color-surface: #0D1B2A;
    --color-surface-hover: #102338;

    --color-text: #F1F5F9;
    --color-text-muted: #94A3B8;

    --color-border: #1E3A5F;

    --color-success: #22C55E;

    --shadow-card:
        0 20px 60px rgba(0, 0, 0, .25);

    --shadow-glow:
        0 0 50px rgba(0, 184, 217, .12);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --container: 1180px;

    --transition:
        220ms ease;

}


/* ============================================================
   LIGHT MODE
   ============================================================ */

[data-theme="light"] {

    --color-primary: #002C66;
    --color-secondary: #0052A5;
    --color-accent: #008EAD;

    --color-background: #F8FAFC;
    --color-surface: #FFFFFF;
    --color-surface-hover: #F1F5F9;

    --color-text: #0F172A;
    --color-text-muted: #475569;

    --color-border: #CBD5E1;

    --shadow-card:
        0 20px 50px rgba(15, 23, 42, .08);

}


/* ============================================================
   RESET
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--color-background);

    color: var(--color-text);

    line-height: 1.6;

    min-height: 100vh;

    overflow-x: hidden;

    transition:
        background-color .3s ease,
        color .3s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: var(--color-accent);
    color: #fff;
}


/* ============================================================
   BACKGROUND
   ============================================================ */

.site-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.background-grid {

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(0, 82, 165, .035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 82, 165, .035) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 80%
        );
}

.background-glow {

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(100px);

    opacity: .12;
}

.background-glow--one {

    top: -250px;
    right: -150px;

    background: var(--color-secondary);
}

.background-glow--two {

    bottom: 10%;
    left: -300px;

    background: var(--color-accent);
}


/* ============================================================
   LAYOUT
   ============================================================ */

.site-wrapper {
    position: relative;
    min-height: 100vh;
}

.container {

    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;
}

.section {

    position: relative;

    padding:
        120px 0;

}

.section--border {

    border-top:
        1px solid var(--color-border);

}

.section--contact {
    padding-top: 100px;
    padding-bottom: 100px;
}


/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    background:
        color-mix(
            in srgb,
            var(--color-background) 80%,
            transparent
        );

    backdrop-filter: blur(18px);

    border-bottom:
        1px solid transparent;

    transition:
        background-color var(--transition),
        border-color var(--transition);

}

.navbar.scrolled {

    border-color: var(--color-border);

}

.navbar__inner {

    height: 76px;

    display: flex;

    align-items: center;
    justify-content: space-between;

}

.navbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}


.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

.brand-mark {

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--color-primary),
            var(--color-secondary)
        );

    color: white;

    font-size: 12px;
    font-weight: 800;

    box-shadow:
        0 0 25px rgba(0, 82, 165, .25);

}

.brand-name {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
}

.navbar__menu {

    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar__link {

    position: relative;

    color: var(--color-text-muted);

    font-size: 13px;

    transition: color var(--transition);

}

.navbar__link:hover,
.navbar__link.active {

    color: var(--color-text);

}

.navbar__link.active::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: -10px;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--color-accent);

    transform: translateX(-50%);

}

.navbar__actions {

    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle,
.menu-toggle {

    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid var(--color-border);

    border-radius: 10px;

    background: var(--color-surface);

    color: var(--color-text);

    cursor: pointer;

    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);

}

.theme-toggle:hover,
.menu-toggle:hover {

    border-color: var(--color-accent);

    transform: translateY(-2px);

}

.theme-icon {
    font-size: 17px;
}

.theme-icon--moon {
    display: none;
}

[data-theme="light"] .theme-icon--sun {
    display: none;
}

[data-theme="light"] .theme-icon--moon {
    display: block;
}

.menu-toggle {
    display: none;
}


/* ============================================================
   HERO
   ============================================================ */

.hero {

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 130px;

}

.hero__container {

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(400px, .95fr);

    gap: 80px;

    align-items: center;

}

.hero__eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 7px 12px;

    margin-bottom: 22px;

    border:
        1px solid var(--color-border);

    border-radius: 50px;

    background:
        rgba(0, 82, 165, .08);

    color: var(--color-text-muted);

    font-size: 11px;

}

.status-dot {

    width: 7px;
    height: 7px;

    display: inline-block;

    border-radius: 50%;

    background: var(--color-success);

    box-shadow:
        0 0 0 4px rgba(34, 197, 94, .1);

}

.hero__intro {

    color: var(--color-accent);

    font-size: 16px;

    margin-bottom: 2px;

}

.hero__title {

    font-size:
        clamp(48px, 7vw, 88px);

    line-height: .98;

    letter-spacing: -4px;

    font-weight: 800;

}

.hero__role {

    margin-top: 10px;

    color: var(--color-text-muted);

    font-size:
        clamp(22px, 3vw, 34px);

    font-weight: 500;

    letter-spacing: -1px;

}

.hero__slogan {

    margin-top: 22px;

    font-size: 20px;

    font-weight: 600;

    color: var(--color-text);

}

.hero__description {

    max-width: 610px;

    margin-top: 14px;

    color: var(--color-text-muted);

    font-size: 16px;

}

.hero__actions {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;

}

.btn {

    min-height: 48px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding:
        0 20px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 700;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        border-color var(--transition);

}

.btn:hover {

    transform: translateY(-2px);

}

.btn--primary {

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--color-secondary),
            var(--color-primary)
        );

    box-shadow:
        0 10px 30px rgba(0, 82, 165, .25);

}

.btn--primary:hover {

    box-shadow:
        0 15px 40px rgba(0, 184, 217, .2);

}

.btn--secondary {

    border:
        1px solid var(--color-border);

    background: var(--color-surface);

    color: var(--color-text);

}

.btn--secondary:hover {

    border-color: var(--color-accent);

}

.hero__meta {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 35px;

    color: var(--color-text-muted);

    font-size: 12px;

}

.hero__meta > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-icon {
    color: var(--color-accent);
}

.meta-separator {

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--color-border);

}


/* ============================================================
   HERO VISUAL
   ============================================================ */

.hero__visual {

    position: relative;

    min-height: 480px;

    display: grid;
    place-items: center;

}

.developer-card {

    width: min(100%, 490px);

    border:
        1px solid var(--color-border);

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(13, 27, 42, .98),
            rgba(7, 17, 31, .98)
        );

    box-shadow:
        var(--shadow-card),
        var(--shadow-glow);

    overflow: hidden;

    transform:
        perspective(1000px)
        rotateY(-4deg)
        rotateX(2deg);

    transition:
        transform .5s ease;

}

[data-theme="light"] .developer-card {

    background:
        linear-gradient(
            145deg,
            #fff,
            #f8fafc
        );

}

.developer-card:hover {

    transform:
        perspective(1000px)
        rotateY(0)
        rotateX(0)
        translateY(-5px);

}

.developer-card__top {

    height: 50px;

    display: flex;
    align-items: center;

    padding: 0 18px;

    border-bottom:
        1px solid var(--color-border);

}

.window-dots {

    display: flex;
    gap: 6px;
}

.window-dots span {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--color-border);

}

.window-dots span:first-child {
    background: #EF4444;
}

.window-dots span:nth-child(2) {
    background: #F59E0B;
}

.window-dots span:nth-child(3) {
    background: #22C55E;
}

.window-title {

    margin-left: auto;
    margin-right: auto;

    color: var(--color-text-muted);

    font-family: monospace;

    font-size: 11px;

}

.developer-card__code {

    padding: 35px 25px;

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 13px;

    line-height: 2.1;

}

.code-line {

    display: block;

    white-space: nowrap;

}

.code-number {

    display: inline-block;

    width: 28px;

    color: #475569;

    user-select: none;

}

.code-indent {
    padding-left: 22px;
}

.code-purple {
    color: #C084FC;
}

.code-blue {
    color: #60A5FA;
}

.code-green {
    color: #4ADE80;
}

.code-orange {
    color: #FDBA74;
}

.code-string {
    color: #67E8F9;
}

.code-number-value {
    color: #FACC15;
}

.developer-card__footer {

    min-height: 48px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding:
        0 18px;

    border-top:
        1px solid var(--color-border);

    color: var(--color-text-muted);

    font-size: 11px;

}

.terminal-status {

    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-badge {

    position: absolute;

    padding: 10px 13px;

    border:
        1px solid var(--color-border);

    border-radius: 10px;

    background:
        color-mix(
            in srgb,
            var(--color-surface) 90%,
            transparent
        );

    backdrop-filter: blur(10px);

    color: var(--color-text-muted);

    font-size: 10px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .2);

    animation:
        float 5s ease-in-out infinite;

}

.floating-badge span {

    color: var(--color-accent);

    font-weight: 800;

    margin-right: 5px;

}

.floating-badge--one {

    top: 13%;
    right: 0;

}

.floating-badge--two {

    bottom: 12%;
    left: 0;

    animation-delay: -2s;

}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}


/* ============================================================
   SECTION HEADING
   ============================================================ */

.section-heading {

    max-width: 760px;

    margin-bottom: 60px;

}

.section-heading--center {

    margin-inline: auto;

    text-align: center;

}

.section-label {

    display: block;

    margin-bottom: 16px;

    color: var(--color-accent);

    font-family: monospace;

    font-size: 11px;

    letter-spacing: .08em;

    text-transform: uppercase;

}

.section-heading h2,
.experience__content h2 {

    font-size:
        clamp(34px, 5vw, 58px);

    line-height: 1.05;

    letter-spacing: -2.5px;

}

.section-heading h2 span,
.experience__content h2 span,
.contact-box h2 span {

    color: var(--color-text-muted);

}

.section-heading p {

    max-width: 600px;

    margin-top: 18px;

    color: var(--color-text-muted);

    font-size: 15px;

}

.section-heading--center p {
    margin-inline: auto;
}


/* ============================================================
   ABOUT
   ============================================================ */

.about-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 90px;

    align-items: start;

}

.about-content {

    max-width: 620px;

}

.about-content p {

    color: var(--color-text-muted);

    font-size: 15px;

    margin-bottom: 20px;

}

.about-content .about-lead {

    color: var(--color-text);

    font-size: 21px;

    line-height: 1.5;

    font-weight: 500;

}

.about-values {

    display: flex;

    flex-direction: column;

    gap: 12px;

}

.value-card {

    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 20px;

    padding: 25px;

    border:
        1px solid var(--color-border);

    border-radius: var(--radius-md);

    background: var(--color-surface);

    transition:
        transform var(--transition),
        border-color var(--transition);

}

.value-card:hover {

    transform: translateX(5px);

    border-color: var(--color-secondary);

}

.value-card__number {

    color: var(--color-accent);

    font-family: monospace;

    font-size: 12px;

}

.value-card h3 {

    font-size: 16px;

    margin-bottom: 5px;

}

.value-card p {

    color: var(--color-text-muted);

    font-size: 13px;

}


/* ============================================================
   SKILLS
   ============================================================ */

.skills-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;

}

.skill-card {

    padding: 28px 22px;

    border:
        1px solid var(--color-border);

    border-radius: var(--radius-md);

    background: var(--color-surface);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);

}

.skill-card:hover {

    transform: translateY(-5px);

    border-color: var(--color-secondary);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .15);

}

.skill-card__icon {

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    border-radius: 10px;

    background:
        rgba(0, 184, 217, .08);

    border:
        1px solid rgba(0, 184, 217, .15);

    color: var(--color-accent);

    font-family: monospace;

    font-weight: 700;

}

.skill-card h3 {

    font-size: 16px;

    margin-bottom: 18px;

}

.skill-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

}

.skill-tag {

    padding:
        5px 9px;

    border-radius: 6px;

    background:
        rgba(148, 163, 184, .06);

    color: var(--color-text-muted);

    font-size: 11px;

}


/* ============================================================
   PROJECTS
   ============================================================ */

.projects-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

}

.project-card {

    overflow: hidden;

    border:
        1px solid var(--color-border);

    border-radius: var(--radius-lg);

    background: var(--color-surface);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;

}

.project-card:hover {

    transform: translateY(-7px);

    border-color: var(--color-secondary);

    box-shadow:
        var(--shadow-card);

}

.project-card__image {

    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #0A1524;

}

.project-card__image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .5s ease;

}

.project-card:hover .project-card__image img {

    transform: scale(1.04);

}

.project-card__overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(0, 20, 45, .7);

    opacity: 0;

    transition:
        opacity .3s ease;

}

.project-card:hover .project-card__overlay {
    opacity: 1;
}

.project-card__view {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 12px 17px;

    border-radius: 8px;

    background: var(--color-accent);

    color: #fff;

    font-size: 12px;
    font-weight: 700;

}

.project-card__content {

    padding: 25px;

}

.project-card__header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 14px;

}

.project-number {

    color: var(--color-accent);

    font-family: monospace;

    font-size: 11px;

}

.project-link {

    color: var(--color-text-muted);

    transition:
        color var(--transition),
        transform var(--transition);

}

.project-link:hover {

    color: var(--color-accent);

    transform: translate(2px, -2px);

}

.project-card h3 {

    font-size: 22px;

    margin-bottom: 10px;

}

.project-card p {

    min-height: 50px;

    color: var(--color-text-muted);

    font-size: 13px;

}

.project-technologies {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 20px;

}

.project-technologies span {

    padding:
        5px 9px;

    border-radius: 6px;

    background:
        rgba(0, 82, 165, .12);

    color: var(--color-text-muted);

    font-size: 10px;

}

.project-button {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 22px;

    color: var(--color-accent);

    font-size: 12px;
    font-weight: 700;

}


/* ============================================================
   WORKFLOW
   ============================================================ */

.workflow {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    border-top:
        1px solid var(--color-border);

    border-bottom:
        1px solid var(--color-border);

}

.workflow-step {

    position: relative;

    min-height: 280px;

    padding: 25px;

    border-right:
        1px solid var(--color-border);

}

.workflow-step:last-child {
    border-right: none;
}

.workflow-step__number {

    display: block;

    color: var(--color-accent);

    font-family: monospace;

    font-size: 11px;

    margin-bottom: 70px;

}

.workflow-step__line {

    width: 30px;
    height: 1px;

    background: var(--color-secondary);

    margin-bottom: 20px;

}

.workflow-step h3 {

    font-size: 18px;

    margin-bottom: 9px;

}

.workflow-step p {

    color: var(--color-text-muted);

    font-size: 12px;

}


/* ============================================================
   EXPERIENCE
   ============================================================ */

.experience {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;

}

.experience__content p {

    max-width: 550px;

    margin-top: 22px;

    color: var(--color-text-muted);

}

.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

}

.stat {

    padding: 25px 15px;

    border:
        1px solid var(--color-border);

    border-radius: var(--radius-md);

    background: var(--color-surface);

}

.stat strong {

    display: block;

    color: var(--color-accent);

    font-size: 26px;

    line-height: 1.1;

}

.stat span {

    display: block;

    margin-top: 8px;

    color: var(--color-text-muted);

    font-size: 11px;

}


/* ============================================================
   CONTACT
   ============================================================ */

.contact-box {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding: 65px;

    overflow: hidden;

    border:
        1px solid var(--color-border);

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            rgba(0, 44, 102, .4),
            var(--color-surface)
        );

}

.contact-box::after {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -150px;
    bottom: -150px;

    border-radius: 50%;

    background:
        var(--color-accent);

    opacity: .08;

    filter: blur(50px);

}

.contact-box__content {

    position: relative;

    z-index: 1;

    max-width: 700px;

}

.contact-box h2 {

    font-size:
        clamp(35px, 5vw, 58px);

    line-height: 1.05;

    letter-spacing: -2px;

}

.contact-box p {

    max-width: 600px;

    margin-top: 18px;

    color: var(--color-text-muted);

}

.contact-box__actions {

    position: relative;

    z-index: 1;

    display: flex;

    flex-direction: column;

    gap: 10px;

    min-width: 190px;

}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {

    border-top:
        1px solid var(--color-border);

    padding:
        45px 0 25px;

}

.footer__inner {

    display: grid;

    grid-template-columns:
        1fr auto;

    gap: 35px;

}

.footer__brand {

    display: flex;

    align-items: center;

    gap: 12px;

}

.footer__brand > div {

    display: flex;

    flex-direction: column;

}

.footer__brand strong {
    font-size: 13px;
}

.footer__brand span:not(.brand-mark) {

    color: var(--color-text-muted);

    font-size: 10px;

}

.footer__links {

    display: flex;

    align-items: center;

    gap: 22px;

}

.footer__links a {

    color: var(--color-text-muted);

    font-size: 11px;

    transition: color var(--transition);

}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__bottom {

    grid-column: 1 / -1;

    display: flex;

    justify-content: space-between;

    padding-top: 25px;

    border-top:
        1px solid var(--color-border);

    color: var(--color-text-muted);

    font-size: 10px;

}


/* ============================================================
   REVEAL
   ============================================================ */

.reveal {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity .7s ease,
        transform .7s ease;

}

.reveal.visible {

    opacity: 1;

    transform: translateY(0);

}

.reveal--delay {
    transition-delay: .15s;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1000px) {

    .hero__container {

        grid-template-columns: 1fr;

        gap: 50px;

    }

    .hero__visual {
        min-height: 420px;
    }

    .about-grid,
    .experience {

        grid-template-columns: 1fr;

        gap: 50px;

    }

    .skills-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .workflow {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .workflow-step:nth-child(2) {
        border-right: none;
    }

    .workflow-step:nth-child(3) {
        border-top: 1px solid var(--color-border);
    }

    .workflow-step:nth-child(4) {
        border-top: 1px solid var(--color-border);
        border-right: none;
    }

    .workflow-step:nth-child(5) {

        grid-column: 1 / -1;

        min-height: 220px;

        border-top:
            1px solid var(--color-border);

        border-right: none;

    }

    .contact-box {

        flex-direction: column;

        align-items: flex-start;

    }

    .contact-box__actions {

        flex-direction: row;

        flex-wrap: wrap;

    }

}


@media (max-width: 700px) {

    .container {

        width:
            min(
                calc(100% - 32px),
                var(--container)
            );

    }

    .section {

        padding:
            85px 0;

    }

    .navbar__menu {

        position: absolute;

        top: 76px;

        left: 16px;
        right: 16px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 8px;

        border:
            1px solid var(--color-border);

        border-radius: 14px;

        background:
            var(--color-surface);

        box-shadow:
            var(--shadow-card);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity .2s ease,
            visibility .2s ease,
            transform .2s ease;

    }

    .navbar__menu.open {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);

    }

    .navbar__link {

        padding: 12px;

    }

    .navbar__link.active::after {
        display: none;
    }

    .menu-toggle {

        display: grid;

    }

    .hero {

        padding-top: 120px;

    }

    .hero__title {

        letter-spacing: -2.5px;

    }

    .hero__meta {

        flex-wrap: wrap;

    }

    .hero__visual {

        min-height: 350px;

    }

    .developer-card {

        transform: none;

    }

    .floating-badge--one {
        right: -5px;
    }

    .floating-badge--two {
        left: -5px;
    }

    .skills-grid {

        grid-template-columns: 1fr;

    }

    .projects-grid {

        grid-template-columns: 1fr;

    }

    .workflow {

        grid-template-columns: 1fr;

    }

    .workflow-step,
    .workflow-step:nth-child(3),
    .workflow-step:nth-child(4),
    .workflow-step:nth-child(5) {

        min-height: auto;

        border-right: none;

        border-top:
            1px solid var(--color-border);

    }

    .workflow-step:first-child {
        border-top: none;
    }

    .workflow-step__number {
        margin-bottom: 25px;
    }

    .stats-grid {

        grid-template-columns: 1fr;

    }

    .contact-box {

        padding: 35px 25px;

    }

    .contact-box__actions {

        width: 100%;

        flex-direction: column;

    }

    .footer__inner {

        grid-template-columns: 1fr;

    }

    .footer__links {

        flex-wrap: wrap;

    }

    .footer__bottom {

        flex-direction: column;

        gap: 8px;

    }

}


/* ============================================================
   REDUCIR ANIMACIONES
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;

    }

}