/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #0f172a;
    --accent-color: #22d3ee;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --background-dark: #000000;
    --background-light: #f8fafc;
    --card-bg: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-dark: #1e293b;
    --border-color: #334155;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== BOTONES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: white;
    border: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #db2777 0%, #ec4899 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
}

.btn-light {
    background: #ffffff;
    color: #333333;
    border: 1px solid #e5e5e5;
}

.btn-light:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #000000;
    backdrop-filter: blur(10px);
    border-bottom: none;
    padding: 15px 0;
}


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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    color: #ffffff;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #f59e0b;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #d97706);
    transition: var(--transition);
}

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

.btn-client {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-client:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.nav-linkedin {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0077b5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.nav-linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.4);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: unset;
    max-width: 520px;
}

.hero-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
    text-align: justify;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

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

.hero-image img {
    max-width: 450px;
    animation: float 6s ease-in-out infinite;
}

.hero-image .hero-logo {
    max-width: 500px;
    animation: none;
}

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

/* ===== CONVOCATORIA BANNER ===== */
.convocatoria {
    background: #e8e8e8;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.convocatoria .badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000000;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.convocatoria h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.convocatoria > .container > p {
    color: #555555;
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    padding: 20px 30px;
    border-radius: var(--border-radius);
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.countdown-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f59e0b;
}

.countdown-label {
    font-size: 0.85rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 80px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.about-title span {
    color: #1a1a1a;
}

/* ===== ABOUT LAYOUT ===== */
.about-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-left {
    flex: 1;
    max-width: 650px;
}

.about-text {
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 35px;
}

/* ===== STATS VERTICAL ===== */
.stats-vertical {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #f59e0b;
}

.stats-vertical .stat-item {
    text-align: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.stats-vertical .stat-item:last-child {
    border-bottom: none;
}

.stats-vertical .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #f59e0b;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.stats-vertical .stat-label {
    color: #666666;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 900px) {
    .about-layout {
        flex-direction: column;
        gap: 40px;
    }

    .about-left {
        max-width: 100%;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .stats-vertical {
        flex-direction: row;
        justify-content: center;
        border-left: none;
        border-top: 4px solid #f59e0b;
        width: 100%;
    }

    .stats-vertical .stat-item {
        text-align: center;
        border-bottom: none;
        border-right: 1px solid #f0f0f0;
        padding: 0 25px;
    }

    .stats-vertical .stat-item:last-child {
        border-right: none;
    }
}

/* ===== FOUNDER SIGNATURE ===== */
.founder-signature {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 28px 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 70px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    border: 2px solid #3a3a3a;
    transition: all 0.4s ease;
}

.founder-signature:hover {
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
    border-color: #f59e0b;
    transform: translateY(-3px);
}

.founder-signature .founder-image {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f59e0b;
    flex-shrink: 0;
    box-shadow: 
        0 8px 25px rgba(245, 158, 11, 0.35),
        0 0 20px rgba(245, 158, 11, 0.2);
    transition: all 0.4s ease;
}

.founder-signature:hover .founder-image {
    box-shadow: 
        0 10px 30px rgba(245, 158, 11, 0.45),
        0 0 30px rgba(245, 158, 11, 0.3);
    transform: scale(1.05);
}

.founder-signature .founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-signature .founder-info {
    text-align: left;
}

.founder-signature .founder-info h3 {
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 700;
}

.founder-signature .founder-role {
    display: block;
    color: #f59e0b;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
}

.founder-signature .founder-desc {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 340px;
}

.founder-linkedin {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #3a3a3a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    border: 2px solid #4a4a4a;
    flex-shrink: 0;
}

.founder-linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: #ffffff;
    transform: scale(1.1);
}

@media (max-width: 700px) {
    .founder-signature {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 28px;
        padding: 28px;
        gap: 18px;
    }

    .founder-signature .founder-info {
        text-align: center;
    }

    .founder-signature .founder-desc {
        max-width: 100%;
    }
}


.about h2 span {
    color: #1a1a1a;
}

.about p {
    color: #555555;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: #f59e0b;
}

.stat-label {
    color: #555555;
    font-size: 1rem;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 80px 20px;
    background: #e8e8e8;
    position: relative;
    border-bottom: 1px solid #e5e7eb;
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.services h2 span {
    color: #1a1a1a;
}

.section-subtitle {
    text-align: center;
    color: #666666;
    font-size: 1rem;
    margin-bottom: 50px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #f59e0b;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 30px rgba(245, 158, 11, 0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    transform: scale(1.05);
}

.service-icon i {
    font-size: 1.4rem;
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-weight: 600;
}

.service-card p {
    color: #666666;
    line-height: 1.6;
    font-size: 0.9rem;
    text-align: justify;
}

.service-card:hover h3 {
    color: #f59e0b;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    padding: 80px 20px;
    background: #f5f5f5;
    border-bottom: 1px solid #e5e7eb;
}

.projects h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.projects h2 span {
    color: #1a1a1a;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.project-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #f59e0b;
}

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

.project-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000000;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.project-content {
    padding: 24px;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-weight: 700;
}

.project-card:hover .project-content h3 {
    color: #f59e0b;
}

.project-content p {
    color: #666666;
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 0.9rem;
    text-align: justify;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.1);
}

.status.active {
    color: #10b981;
}

.status.active::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.project-link {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.project-link:hover {
    gap: 10px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 80px 20px;
    background: #e8e8e8;
    border-bottom: 1px solid #e5e7eb;
}

.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #1a1a1a;
}

.testimonials h2 span {
    color: #1a1a1a;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 950px;
    margin: 0 auto;
}

.testimonial-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: #f59e0b;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
    text-align: justify;
}

.testimonial-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
    border-radius: 2px;
}

.quote-icon {
    font-size: 2rem;
    color: #f59e0b;
    margin-bottom: 16px;
    display: block;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.author-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: 3px solid #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.4s ease;
}

.testimonial-card:hover .author-avatar {
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: #1a1a1a;
    font-weight: 600;
}

.testimonial-card:hover .author-info h4 {
    color: #f59e0b;
}

.author-info span {
    color: #888888;
    font-size: 0.85rem;
}

/* ===== ALLIANCES SECTION ===== */
.alliances {
    padding: 80px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.alliances h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.alliances h2 span {
    color: #1a1a1a;
}

.alliances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.alliance-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    border: 1px solid #e5e5e5;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.alliance-card:hover {
    transform: translateY(-5px);
    border-color: #f59e0b;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.alliance-logo {
    width: 100%;
    height: 100px;
    margin: 0 auto 24px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border: 1px solid #e8e8e8;
}

.alliance-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

.alliance-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.alliance-card p {
    color: #666666;
    line-height: 1.6;
    text-align: justify;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 20px;
    background: #e8e8e8;
    position: relative;
    overflow: hidden;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.contact-header h2 span {
    color: #1a1a1a;
}

.contact-header p {
    color: #666666;
    font-size: 1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    max-width: 950px;
    margin: 0 auto;
}

.contact-form-container {
    background: #ffffff;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-container h3 {
    color: #1a1a1a;
    font-size: 1.2rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-container h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    color: #333333;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: #ffffff;
    color: #333333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaaaaa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #ffffff;
    color: #333333;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    font-weight: 600;
    margin-top: 8px;
}

.contact-form .btn-primary:hover {
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    transition: var(--transition);
}

.info-item:hover {
    border-color: #f59e0b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-item i {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.9rem;
}

.info-item a,
.info-item span {
    color: #333333;
    font-size: 0.9rem;
}

.info-item a:hover {
    color: #f59e0b;
}

.contact-map {
    margin-top: 20px;
}

.contact-map h4 {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #666666;
}

/* ===== FOOTER ===== */
.footer {
    background: #000000;
    padding: 60px 20px 30px;
    border-top: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-linkedin {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #0077b5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    max-width: 400px;
    width: 90%;
    position: relative;
    border: 1px solid var(--border-color);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.modal h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.login-form .form-group input {
    background: var(--background-dark);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.login-form .form-group label {
    color: var(--text-primary);
}

.modal-info {
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
}

/* ===== DASHBOARD ===== */
.dashboard {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background-dark);
    z-index: 3000;
    overflow-y: auto;
}

.dashboard-header {
    background: var(--card-bg);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dashboard-content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.dashboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.tab-btn:hover:not(.active) {
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.tab-content {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.project-dashboard-card {
    background: var(--background-dark);
    padding: 24px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.project-dashboard-card h3 {
    margin-bottom: 16px;
}

.progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.card-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
}

.dashboard-form .form-group input,
.dashboard-form .form-group select {
    background: var(--background-dark);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.dashboard-form .form-group label {
    color: var(--text-primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        max-width: 100%;
    }

    .hero-content p {
        max-width: 100%;
    }

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

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 350px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #000000;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .countdown {
        flex-wrap: wrap;
    }

    .countdown-item {
        padding: 15px 20px;
    }

    .countdown-value {
        font-size: 1.8rem;
    }

    .services-grid,
    .projects-grid,
    .testimonials-grid,
    .alliances-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .convocatoria h2 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    .contact-form-container {
        padding: 24px;
    }
}
