:root {
    --primary: #f26d21; /* Celsia Orange */
    --primary-dark: #d95a16;
    --secondary: #004d80; /* Corporate Blue */
    --bg-color: #0f172a; /* Dark sleek bg */
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
}

/* Background Blobs for Modern Aesthetic */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary);
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--secondary);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logos {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 70px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.divider {
    width: 2px;
    height: 50px;
    background-color: var(--glass-border);
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    margin: 120px 5% 50px;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary), #ffa366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(242, 109, 33, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(242, 109, 33, 0.6);
}

/* Sections */
.section {
    padding: 50px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: var(--primary);
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

/* Profile Presentation */
.profile-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 3rem;
}

.profile-photo {
    flex-shrink: 0;
}

.profile-photo img {
    width: 280px;
    height: auto;
    border-radius: 16px;
    border: 4px solid var(--primary);
    box-shadow: 0 0 20px rgba(242, 109, 33, 0.3);
}

.profile-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.profile-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.profile-text strong {
    color: var(--text-main);
}

.mt-4 {
    margin-top: 2rem;
}

/* Cards (Experiencia) */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
}

/* Timeline (Propuesta de Valor) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--glass-border);
    top: 0;
    bottom: 0;
    left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    left: 13px;
    top: 20px;
    box-shadow: 0 0 10px var(--primary);
}

.timeline-content {
    padding: 2rem;
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.timeline-content strong {
    color: var(--text-main);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    margin-top: 50px;
    border-top: 1px solid var(--glass-border);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .header {
        flex-direction: column;
        padding: 1rem;
    }
    nav {
        margin-top: 1rem;
    }
    nav a {
        margin: 0 1rem;
    }
    .profile-container {
        flex-direction: column;
        text-align: center;
    }
}
