/* Variables y Reset Base */
:root {
    --primary-color: #003366; /* Azul marino profundo */
    --secondary-color: #107C41; /* Verde sustentable para CTA */
    --accent-color: #FADB5F; /* Tono amarillo/dorado sutil para detalles */
    --text-color: #333333;
    --bg-light: #F7F9FC;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navegación */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: none;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Botones Premium */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(16, 124, 65, 0.2);
}

.btn-primary:hover {
    background-color: #0c5e31;
    border-color: #0c5e31;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 124, 65, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #001a33 100%);
    color: var(--white);
    padding: 6rem 5%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.1rem;
    margin: 0 auto 2.5rem auto;
    opacity: 0.9;
    max-width: 600px;
}

/* Estilos de Placeholders (Provisionales) */
.placeholder-box {
    background-color: #E2E8F0;
    border: 2px dashed #CBD5E1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
    width: 100%;
}

.hero-image {
    min-height: 400px;
    margin-top: 3rem;
    max-width: 900px;
}

.small-placeholder {
    min-height: 200px;
    margin-bottom: 1.5rem;
}

.tall-placeholder {
    min-height: 300px;
}

/* Servicios */
.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 3rem;
}

.services-section {
    padding: 5rem 5%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-top-color: var(--secondary-color);
}

.service-card h3 {
    color: var(--primary-color);
}

/* Sección Cargadores VE */
.ev-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 5%;
    background-color: var(--white);
    align-items: center;
}

.ev-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.ev-content p {
    margin-bottom: 2rem;
    color: #555;
    font-size: 1.1rem;
}

/* Cómo Funciona */
.how-it-works-section {
    padding: 5rem 5%;
    background-color: var(--primary-color);
    color: var(--white);
}

.how-it-works-section .section-title {
    color: var(--white);
}

.steps-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    font-size: 1.1rem;
}

.step strong {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Últimos Proyectos */
.projects-section {
    padding: 5rem 5%;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding: 5rem 5%;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background-color: #001a33;
    color: var(--white);
    padding: 4rem 5% 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-contact h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animaciones Premium de CSS */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Desktop Media Queries */
@media (min-width: 768px) {
    .nav-links { display: flex; }
    .hero-section h1 { font-size: 3.5rem; }
    .hero-section p { font-size: 1.3rem; }
    .ev-section { grid-template-columns: 1fr 1fr; }
    .projects-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-section { grid-template-columns: repeat(4, 1fr); }
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}