/* Core Variables */
:root {
    --primary-color: #e19b19;
    /* Arbeláez bright yellow/orange from logo */
    --primary-dark: #cc8810;
    --dark-bg: #1a1a1a;
    --darker-bg: #0d0d0d;
    --light-bg: #f5f5f5;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #FFFFFF;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

h1 span,
h2 span {
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-white {
    color: var(--white);
}

.text-gray {
    color: #AAAAAA;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
}

.bg-primary {
    background-color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--dark-bg);
    color: var(--dark-bg);
}

.btn-outline:hover {
    background-color: var(--dark-bg);
    color: var(--white);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
}

.btn-link {
    padding: 0;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
    display: inline-flex;
}

.btn-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: var(--transition-normal);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1;
}

.logo-text h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1px;
}

.logo-text h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.logo-text h2 span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-main);
}

.logo-text p {
    margin: 0;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-normal);
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-bg);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-color: var(--light-bg);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Replace with actual image path or placeholder */
    background-image: url('file:///C:/Users/geren/.gemini/antigravity/brain/bfe8299c-ed8b-422a-be43-203e2fedac9f/consulting_hero_bg_1772637994448.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.15;
}

.angular-overlay {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.9) 100%);
    z-index: 1;
}

.left-angular {
    left: 0;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
}

.right-angular {
    right: 0;
    background: var(--primary-color);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.9;
    mix-blend-mode: multiply;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
    }
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(225, 155, 25, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

/* Page Header (Experiencia) */
.page-header {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #DDDDDD;
}

.page-header-angular {
    position: absolute;
    bottom: -50px;
    right: -10%;
    width: 60%;
    height: 100px;
    background-color: var(--primary-color);
    transform: rotate(-5deg);
    z-index: 0;
}

/* Clients Grid */
.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: stretch;
}

.client-logo-box {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 280px;
    border: 1px solid #EEE;
    transition: var(--transition-normal);
}

.client-logo-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.client-logo-box h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--dark-bg);
}

.client-logo-box small {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Timeline */
.timeline-section {
    position: relative;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 4px;
    background-color: rgba(225, 155, 25, 0.3);
    border-radius: 4px;
}

@media (min-width: 768px) {
    .timeline-container::before {
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(to bottom, var(--primary-color), rgba(225, 155, 25, 0.3));
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 60px;
}

@media (min-width: 768px) {
    .timeline-item {
        padding-left: 0;
        width: 50%;
    }

    .timeline-item:nth-child(even) {
        margin-left: auto;
        padding-left: 40px;
    }

    .timeline-item:nth-child(odd) {
        text-align: right;
        padding-right: 40px;
    }
}

.timeline-year {
    position: absolute;
    left: 4px;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--dark-bg);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .timeline-year {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }

    .timeline-item:nth-child(odd) .timeline-year {
        left: 100%;
        transform: translateX(-50%);
    }

    .timeline-item:nth-child(even) .timeline-year {
        left: 0;
        transform: translateX(-50%);
    }
}

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-normal);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-item:hover .timeline-year {
    background-color: var(--primary-color);
    color: var(--white);
}

.timeline-content h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.timeline-content h4:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer-top {
    padding: 80px 0 40px;
    position: relative;
    z-index: 1;
}

.team-header {
    text-align: center;
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.ceo-colab {
    max-width: 450px;
    margin: 0 auto 50px auto;
}

.colab-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-normal);
    border-top: 4px solid transparent;
}

.colab-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary-color);
}

.colab-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
    overflow: hidden;
    position: relative;
    border: 3px solid var(--primary-color);
}

.colab-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.colab-card h3 {
    margin-bottom: 5px;
    font-size: 1.25rem;
    color: var(--dark-bg);
}

.colab-card h4 {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.colab-card ul {
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.colab-card ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.colab-card ul li::before {
    content: '\f058';
    /* fa-circle-check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
}

.angular-footer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(225, 155, 25, 0.05) 50%);
    z-index: -1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-muted);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.footer-contact ul li i {
    margin-top: 5px;
}

.footer-contact ul li a {
    color: var(--text-muted);
}

.footer-contact ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    background-color: var(--darker-bg);
    padding: 20px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
}

.delay-5 {
    transition-delay: 1.0s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
        pointer-events: none;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        pointer-events: auto;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .left-angular {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        background: rgba(255, 255, 255, 0.85);
    }

    .right-angular {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }
}