/* Variables de color para paleta refinada */
:root {
    --primary: #00d4ff;
    --primary-hover: #00b8e6;
    --bg-dark: #000000d7;
    --bg-light: #f8f8f8;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-muted: #cccccc;
    --border-light: rgba(255, 255, 255, 0.1);
    --border-medium: rgba(255, 255, 255, 0.144);
    --shadow-primary: rgba(0, 212, 255, 0.2);
    --shadow-dark: rgba(0, 0, 0, 0.3);
}

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: "Inter", "UniversLTStd", sans-serif;
    margin: 0;
    padding: 0;
    background: var(--text-primary);
    color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.959);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: var(--bg-dark);
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--bg-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--bg-dark);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--bg-dark);
    font-weight: 500;
}

.nav-link.active::after {
    width: 100%;
}

/* Selector de Idioma */
.language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 2rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-secondary);
}

.lang-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

.lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.flag-icon {
    font-size: 1.2rem;
}

.lang-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--bg-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Sección Hero */
.hero {
    min-height: 100vh;  
    display: flex;
    align-items: center;
    background:radial-gradient(circle at 30% 20%, rgba(0, 123, 255, 0.5), rgba(0, 0, 0, 0.7)),url('assets/Images/Background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    padding-top: 140px;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 15px;
    display: block;
    transition: transform 0.4s ease;
}

.hero img:hover {
    transform: scale(1.03);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 85% 15%, rgba(0, 200, 255, 0.2) 0%, transparent 25%),
        radial-gradient(circle at 25% 85%, rgba(255, 255, 255, 0.08) 0%, transparent 18%),
        radial-gradient(circle at 75% 75%, rgba(0, 150, 255, 0.15) 0%, transparent 22%),
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.05) 0%, transparent 15%),
        radial-gradient(circle at 10% 50%, rgba(0, 200, 255, 0.12) 0%, transparent 20%),
        radial-gradient(circle at 90% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 18%),
        radial-gradient(circle at 50% 90%, rgba(0, 150, 255, 0.1) 0%, transparent 25%),
        conic-gradient(from 45deg at 20% 30%, transparent 0deg, rgba(0, 150, 255, 0.1) 90deg, transparent 180deg),
        conic-gradient(from 225deg at 80% 70%, transparent 0deg, rgba(0, 200, 255, 0.08) 90deg, transparent 180deg);
    pointer-events: none;
    animation: fluidMove 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 150, 255, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 20%, rgba(0, 200, 255, 0.03) 60%, transparent 80%),
        linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.02) 50%, transparent 60%);
    pointer-events: none;
    animation: waveMove 15s ease-in-out infinite reverse;
}

@keyframes fluidMove {
    0%, 100% { 
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 1;
    }
    25% { 
        transform: translateX(10px) translateY(-5px) rotate(1deg);
        opacity: 0.8;
    }
    50% { 
        transform: translateX(-5px) translateY(10px) rotate(-1deg);
        opacity: 0.9;
    }
    75% { 
        transform: translateX(5px) translateY(-8px) rotate(0.5deg);
        opacity: 0.85;
    }
}

@keyframes waveMove {
    0%, 100% { 
        transform: translateX(0) scale(1);
    }
    50% { 
        transform: translateX(20px) scale(1.05);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: left;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: left;
}

.highlight {
    color: var(--primary);
    background: linear-gradient(45deg, var(--primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.7;
}

/* Botones mejorados */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-width: 165px;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.5);
    background: var(--primary);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 217, 255, 0.2);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 0.5rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card {
    max-width: 350px;
    width: 90%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow-dark);
    padding: 2rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image {
    width: 100%;
    height: 320px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow-dark);
}

.profile-info {
    text-align: center;
    padding-top: 1.2rem;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.profile-role {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.open-to-work {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 210, 100, 0.15);
    border: 1px solid rgba(0, 210, 100, 0.35);
    color: #00e676;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.work-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e676;
    flex-shrink: 0;
    animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.5); }
    50% { box-shadow: 0 0 0 7px rgba(0, 230, 118, 0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce-arrow 2s ease-in-out infinite;
    z-index: 2;
    text-decoration: none;
    cursor: default;
}

.scroll-indicator i {
    font-size: 1rem;
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.8; }
}

/* Secciones generales */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--bg-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary), var(--primary-hover));
    border-radius: 2px;
}

/* Sección Sobre Mí */
.about {
    background: var(--text-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.cv-download {
    margin-top: 2rem;
}

.btn-cv {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 400;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-cv:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-primary);
}

.btn-cv i {
    font-size: 1rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.stat-item i {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Sección Habilidades */
.skills {
    background: var(--bg-light);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-align: center;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(0, 200, 255, 0.1);
    transform: scale(1.05);
}

.skill-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Sección Proyectos */
.projects {
    background: var(--text-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 200, 255, 0.2);
}

.project-image {
    height: 200px;
    background: linear-gradient(45deg, var(--bg-dark), #16213e);
    position: relative;
    overflow: hidden;
}

.project-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: scale(1.1);
    background: var(--text-primary);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(0, 200, 255, 0.2);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Sección Articles */
.articles {
    background: var(--text-primary);
}

.articles-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.8rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.article-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.article-card:hover .article-arrow i {
    transform: translateX(4px);
    color: var(--primary);
}

.article-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.article-icon i {
    color: #000;
    font-size: 1.2rem;
}

.article-body {
    flex: 1;
    min-width: 0;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.article-dot { color: var(--text-secondary); }
.article-read {
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.article-excerpt {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.article-arrow {
    flex-shrink: 0;
    color: var(--text-secondary);
}

.article-arrow i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

@media (max-width: 600px) {
    .article-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.3rem;
        gap: 1rem;
    }
    .article-arrow { display: none; }
}

/* Sección Contacto */
.contact {
    background: var(--bg-light);
    padding: 5rem 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-info {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.contact-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--bg-dark);
    font-weight: 700;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-methods {
    margin-bottom: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateX(5px);
}

.contact-method i {
    color: var(--primary);
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.contact-method span {
    color: var(--bg-dark);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background: var(--primary);
    color: var(--text-primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-primary);
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    color: var(--bg-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
}

.contact-form .btn-primary {
    background: var(--primary);
    color: var(--text-primary);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.contact-form .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-primary);
}

.contact-form .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Sección Experiencia */
.experience {
    background: var(--bg-light);
}

.experience-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(0, 212, 255, 0.1));
}

.experience-item {
    display: flex;
    gap: 2rem;
    position: relative;
    padding-bottom: 2rem;
}

.experience-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.7);
    flex-shrink: 0;
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

.experience-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 212, 255, 0.15);
    border-color: var(--primary);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.experience-left {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.company-badge {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.company-badge i {
    color: #000;
    font-size: 1.4rem;
}

.experience-role {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 0.3rem;
}

.experience-company-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
}

.experience-right {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.experience-status {
    display: inline-block;
    background: rgba(0, 212, 255, 0.12);
    color: var(--primary);
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.experience-period,
.experience-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: flex-end;
    margin-top: 0.3rem;
}

.experience-period i,
.experience-location i {
    color: var(--primary);
    font-size: 0.8rem;
}

.experience-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
    background: rgba(0, 212, 255, 0.04);
    border-radius: 10px;
    border-left: 3px solid var(--primary);
    font-style: italic;
}

.experience-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.experience-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.6rem;
}

.experience-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .language-selector {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1001;
        background: rgba(255, 255, 255, 0.95);
        padding: 0.5rem;
        border-radius: 50px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        margin-left: 0;
    }

    .lang-btn {
        padding: 0.4rem 0.8rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .profile-card {
        max-width: 300px;
        margin: 0 auto;
    }

    .profile-image {
        height: 220px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cv-download {
        text-align: center;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .experience-header {
        flex-direction: column;
    }

    .experience-right {
        text-align: left;
    }

    .experience-period,
    .experience-location {
        justify-content: flex-start;
    }

    .hero-buttons {
        justify-content: center;
    }

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

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

@media (max-width: 500px) {
    .profile-image {
        height: 190px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-stats {
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}