/* ================================
   Global Styles & Reset
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3fae2a;
    --primary-dark: #2d8a1c;
    --secondary-color: #1e1e1e;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* ================================
   Typography
   ================================ */
.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-header {
    margin-bottom: 50px;
}

.section-header.center {
    text-align: center;
}

.section-header.white .section-title,
.section-header.white .section-tag {
    color: var(--white);
}

.text-green {
    color: var(--primary-color);
}

.lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(63, 174, 42, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-block {
    width: 100%;
}

/* ================================
   Navigation
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3fae2a 0%, #2d8a1c 100%);
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../uploads/bg-home.png') center/cover no-repeat;
    opacity: 0.1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 30, 30, 0.3);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px 50px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 0; top: 8px; }
    50% { opacity: 1; top: 15px; }
}

/* ================================
   Animations
   ================================ */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   About Section
   ================================ */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 80px;
    align-items: center;
}

.about-text {
    padding: 20px 0;
}

.about-text .section-tag {
    margin-bottom: 15px;
}

.about-text .section-title {
    margin-bottom: 30px;
    font-size: 2.3rem;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-text .lead {
    font-size: 1.15rem;
    margin-bottom: 25px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 35px;
    padding: 30px;
    background: var(--gray-light);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.about-image {
    text-align: center;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: linear-gradient(135deg, rgba(63, 174, 42, 0.1) 0%, rgba(45, 138, 28, 0.1) 100%);
    border-radius: 50%;
    z-index: 0;
}

.about-image img {
    max-width: 100%;
    width: 380px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* ================================
   Services Section
   ================================ */
.services {
    padding: 100px 0;
    background: var(--gray-light);
}

.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: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(63, 174, 42, 0.2);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ================================
   Impact Section
   ================================ */
.impact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2c2c2c 100%);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ================================
   Sistema de Movilidad Section
   ================================ */
.mobility-system {
    padding: 100px 0;
    background: var(--white);
}

.mobility-system .section-header {
    margin-bottom: 60px;
}

.mobility-system .section-title {
    font-size: 2.5rem;
    line-height: 1.3;
    max-width: 900px;
    margin: 0 auto;
}

.mobility-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
}

.mobility-card {
    text-align: center;
}

.mobility-card .mobility-image {
    margin-bottom: 20px;
}

.mobility-card .mobility-image img {
    max-width: 180px;
    width: 100%;
    margin: 0 auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.mobility-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.mobility-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 25px;
}

.mobility-center {
    text-align: center;
    padding: 0 20px;
}

.mobility-center img {
    max-width: 280px;
    width: 100%;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.2));
}

.mobility-stat {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.stat-highlight {
    display: inline-block;
    padding: 20px 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 15px;
    color: var(--white);
    text-align: center;
    box-shadow: 0 10px 30px rgba(63, 174, 42, 0.3);
}

.stat-big {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 1rem;
    opacity: 0.95;
}

/* ================================
   Clients Section
   ================================ */
.clients {
    padding: 100px 0;
    background: var(--gray-light);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition);
    min-height: 120px;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.client-logo img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
    margin: 0 auto;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ================================
   Contact Section
   ================================ */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-info-center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info-center h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-info-center p {
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-item strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 5px;
    text-align: left;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
    text-align: left;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 50%;
    color: var(--secondary-color);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ================================
   Footer
   ================================ */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-simple {
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    max-width: 180px;
    margin: 0 auto 15px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        max-width: 300px;
    }
    
    .mobility-system .section-title {
        font-size: 1.8rem;
    }
    
    .mobility-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .mobility-center {
        order: 2;
    }
    
    .mobility-center img {
        max-width: 250px;
    }
    
    .stat-big {
        font-size: 2rem;
    }
    
    .stat-highlight {
        padding: 15px 25px;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 25px;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .mobility-system .section-title {
        font-size: 1.5rem;
    }
    
    .mobility-card h3 {
        font-size: 1.2rem;
    }
    
    .stat-big {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

