:root {
    --primary: #ff6a00;
    /* Industrial Orange */
    --primary-glow: rgba(255, 106, 0, 0.2);
    --secondary: #e6a822;
    /* Warning Yellow */
    --accent: #2196f3;
    /* IT Blue */
    --bg-dark: #060b14;
    --bg-darker: #020509;
    --text-main: #fcfcfc;
    --text-muted: #9ba4b5;
    --border-color: rgba(255, 255, 255, 0.1);

    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-darker);
    color: var(--text-main);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.glitch {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Typography & Utilities */
.w-100 {
    width: 100%;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #ff8c3a;
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.pulse {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 106, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(2, 5, 9, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: none;
    transition: var(--transition);
}

.logo:hover .logo-text {
    color: var(--primary);
    text-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    color: var(--text-main);
    position: relative;
    font-weight: 600;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary);
}

.menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 999;
}

.menu-btn .bar {
    width: 25px;
    height: 3px;
    background: white;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    /* slightly bigger for parallax */
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 5, 9, 0.8) 0%, rgba(6, 11, 20, 0.95) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 900px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

.hero h1.glitch {
    position: relative;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Trust Section */
.trust-section {
    background: var(--bg-dark);
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.trust-item p {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Section Common */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(1.2rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    max-width: 100%;
    overflow-wrap: break-word;
}

.title-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Services */
.services {
    padding: 8rem 2rem;
    background: var(--bg-darker);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(255, 106, 0, 0.1);
}

.card-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}

.card-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 106, 0, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex: 1;
}

.link-arrow {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
}

.link-arrow:hover {
    color: #fff;
}

/* Split Section */
.split-section {
    display: flex;
    min-height: 80vh;
}

.split-side {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    overflow: hidden;
    text-align: center;
}

.split-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.4) saturate(0.8);
    transition: var(--transition);
}

.split-side:hover .split-bg {
    filter: brightness(0.6) saturate(1.1);
    transform: scale(1.05);
}

.split-content {
    position: relative;
    z-index: 2;
    max-width: 400px;
}

.split-content h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.split-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #eee;
}

.client-side .split-content h2 {
    color: var(--primary);
}

.candidate-side .split-content h2 {
    color: var(--text-main);
}

/* CV Parallax Section */
.cv-parallax {
    position: relative;
    padding: 8rem 2rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-image: url('assets/ChatGPT Image 19 feb 2026, 18_53_17.png');
    /* A good industrial placeholder */
    background-size: cover;
    background-position: center;
    z-index: -2;
    will-change: transform;
    filter: brightness(0.3) saturate(0.5);
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--bg-dark), transparent 50%, var(--bg-dark));
    z-index: -1;
}

.cv-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.cv-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.cv-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
}

.upload-area {
    border: 2px dashed rgba(255, 106, 0, 0.4);
    background: rgba(2, 5, 9, 0.5);
    border-radius: 12px;
    padding: 3rem 2rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary);
    background: rgba(255, 106, 0, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.1);
}

.upload-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.upload-area:hover .upload-icon {
    transform: translateY(-5px);
}

.upload-area h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.file-info {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
}

/* Footer / Contact */
.footer {
    background: var(--bg-dark);
    padding: 6rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.cta-box {
    background: rgba(2, 5, 9, 0.8);
    border: 1px solid var(--border-color);
    padding: 4rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 4rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(-50px);
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.2);
}

.form-group select option {
    background: var(--bg-dark);
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    opacity: 0.8;
}

.footer-logo .logo-text {
    font-size: 1.2rem;
    text-shadow: none;
    color: var(--text-muted);
}

.footer-logo:hover {
    opacity: 1;
}

.footer-info {
    text-align: right;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: 0.8s ease-out;
}

.revealed {
    opacity: 1;
    transform: translateY(0);
    transform: translateX(0);
}

/* Metodologia PRO */
.metodologia-pro {
    padding: 10rem 2rem;
}

#pro-parallax-bg {
    filter: brightness(0.2) saturate(0.5);
}

.pro-content {
    max-width: 900px;
}

.text-secondary {
    color: var(--secondary);
}

.pro-description {
    font-size: 1.25rem;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.stat-pro {
    text-align: center;
}

.stat-pro h3 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.stat-pro p {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    color: #fff;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .split-section {
        flex-direction: column;
    }

    .split-side {
        min-height: 50vh;
        padding: 4rem 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        padding: 4rem 2rem;
        transition: 0.4s ease-in-out;
        border-left: 1px solid var(--border-color);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a.btn-primary {
        display: block;
        text-align: center;
        width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btns a {
        text-align: center;
        width: 100%;
        margin-bottom: 0;
    }

    .cta-box {
        padding: 2rem;
        transform: translateY(-20px);
    }

    .services {
        padding: 5rem 1rem;
    }

    .trust-section {
        padding: 3rem 1rem;
    }

    .trust-item h3 {
        font-size: 2.5rem;
    }

    .stats-row {
        gap: 2rem;
        flex-direction: column;
    }

    .stat-pro h3 {
        font-size: 2.5rem;
    }

    .cv-parallax {
        padding: 5rem 1rem;
    }

    .metodologia-pro {
        padding: 6rem 1rem;
    }
}