/* --- (Mantener variables y resets anteriores) --- */
:root {
    --primary-color: #1F5F6B;
    --secondary-color: #C1D82F;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --bg-light: #f9f9f9;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
	--lime-green: #B0D93A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); line-height: 1.6; color: var(--text-color); background-color: var(--white); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--primary-color); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }


/* Navbar, Hero y Botones (Igual que antes) */
.navbar { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: fixed; width: 100%; top: 0; z-index: 1000; height: 80px; display: flex; align-items: center; }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo-container { display: flex; align-items: center; }
.main-logo { height: 50px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-link { font-weight: 600; color: var(--primary-color); transition: color 0.3s; }
.nav-link:hover { color: var(--secondary-color); }
.btn-nav { background-color: var(--primary-color); color: var(--white); padding: 10px 20px; border-radius: 4px; font-weight: 600; }
.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--primary-color); }

.hero { height: 90vh; background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover; position: relative; display: flex; align-items: center; color: var(--white); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(31,95,107,0.95) 0%, rgba(15,61,70,0.85) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 800px; text-align: left; }
.hero-content h1 { font-size: 3rem; color: var(--white); margin-bottom: 20px; }

.text-highlight { color: var(--secondary-color); }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; }

.btn { display: inline-block; padding: 12px 30px; border-radius: 5px; font-weight: 600; transition: all 0.3s ease; border: 2px solid transparent; }
.btn-primary { background-color: var(--secondary-color); color: var(--primary-color); }
.btn-primary:hover { background-color: transparent; border-color: var(--secondary-color); color: var(--secondary-color); }
.btn-outline { background-color: transparent; border-color: var(--white); color: var(--white); margin-left: 10px; }
.btn-outline:hover { background-color: var(--white); color: var(--primary-color); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
    font-size: 3.0rem;  /* <--- CAMBIA ESTE VALOR (Antes estaba en 2.5rem) */
    margin-bottom: 1rem;
    line-height: 1.2;   /* Agregado para que si ocupa dos líneas no se vean pegadas */
}
.section-bg { background-color: var(--bg-light); }
.services, .portfolio, .clients { padding: 80px 0; }

/* --- MEJORA 1: SERVICIOS DETALLADOS --- */
.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card-large {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 5px solid var(--secondary-color);
    transition: transform 0.3s;
}

.service-card-large:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(193, 216, 47, 0.2); /* Verde Lima transparente */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-desc {
    margin: 15px 0 25px 0;
    font-style: italic;
    color: #555;
}

.service-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* --- MEJORA 2: CARRUSEL / SLIDER --- */
.carousel-container {
    position: relative;
    height: 400px; /* Ajusta según contenido */
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 40px; /* Espacio para botones */
}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 400ms ease-in;
    display: flex;
    gap: 30px; /* Espacio entre cards */
}

.carousel-slide {
    min-width: 350px; /* Ancho de cada card */
    max-width: 350px;
    height: 100%;
    flex-shrink: 0;
}

.portfolio-card {
    background: var(--white);
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-color);
    padding: 30px;
}

.category { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; font-weight: 700; }
.tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 5px; }
.tags span { background: #eee; color: #555; padding: 4px 10px; border-radius: 15px; font-size: 0.75rem; font-weight: 600; }

/* Botones del Carrusel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.carousel-btn:hover { background: var(--secondary-color); color: var(--primary-color); }
.prev-btn { left: 0; }
.next-btn { right: 0; }

/* Puntos de Navegación */
.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    gap: 10px;
}
.carousel-indicator {
    border: 0;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background: #ccc;
    cursor: pointer;
}
.carousel-indicator.current-slide { background: var(--primary-color); }

/* Clientes */
.clients-category { margin-bottom: 40px; }
.clients-category h4 { text-align: center; color: #999; margin-bottom: 20px; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; }
.logos-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; align-items: center; }
.client-logo { max-height: 60px; filter: grayscale(100%); opacity: 0.7; transition: all 0.3s ease; }
.client-logo:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }

/* Contacto CTA */
.contact-cta { background-color: var(--primary-color); color: var(--white); padding: 80px 0; text-align: center; }
.contact-cta h2 { color: var(--white); font-size: 2.5rem; margin-bottom: 1rem; }
.contact-cta p { font-size: 1.2rem; margin-bottom: 3rem; opacity: 0.9; }
.contact-cards { display: flex; justify-content: center; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }
.contact-card { display: flex; align-items: center; gap: 15px; background: rgba(255,255,255,0.1); padding: 15px 25px; border-radius: 50px; }
.contact-card i { color: var(--secondary-color); font-size: 1.2rem; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-whatsapp { background-color: #25D366; color: white; font-size: 1.1rem; padding: 15px 35px; border-radius: 50px; display: flex; align-items: center; gap: 10px; }
.btn-whatsapp:hover { background-color: #20bd5a; transform: scale(1.05); }
.btn-light { background-color: var(--white); color: var(--primary-color); font-size: 1.1rem; padding: 15px 35px; border-radius: 50px; display: flex; align-items: center; gap: 10px; }
.btn-light:hover { background-color: #eee; transform: scale(1.05); }
.contact-details {
    margin-top: 3rem;
}
.contact-details p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.contact-details p i {
    margin-right: 0.5rem;
    width: 20px;
}
.contact-details a {
    color: var(--dark-blue);
    font-weight: 600;
}

footer { background: #0f2f36; color: #aaa; padding: 30px 0; text-align: center; font-size: 0.9rem; }
.footer-logo {
    height: 75px;
    margin-bottom: 1.5rem;
}

/* --- REDES SOCIALES EN FOOTER --- */

.social-links {
    margin-bottom: 15px; /* Espacio entre íconos y el texto de copyright */
}

.social-links a {
    color: #aaaaaa; /* Color gris suave */
    margin: 0 15px; /* Espacio entre cada ícono */
    transition: all 0.3s ease;
    
    /* ESTA ES LA LÍNEA PARA CAMBIAR EL TAMAÑO */
    font-size: 1.6rem;   
}

/* Efecto al pasar el mouse (se ponen del color verde de la marca) */
.social-links a:hover {
    color: var(--secondary-color); /* Verde Lima */
    transform: scale(1.5); /* Crecen un poquito al pasar el mouse */
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu { position: fixed; left: -100%; top: 80px; flex-direction: column; background-color: var(--white); width: 100%; text-align: center; padding: 20px 0; transition: 0.3s; }
    .nav-menu.active { left: 0; }
    .menu-toggle { display: block; }
    .hero-content h1 { font-size: 2.2rem; }
    .contact-cards { flex-direction: column; gap: 15px; }
    .cta-buttons { flex-direction: column; }
    
    /* Ajuste slider móvil */
    .carousel-slide { min-width: 100%; max-width: 100%; }
    .carousel-container { padding: 0 10px; }
    .carousel-btn { width: 30px; height: 30px; font-size: 0.8rem; }
}