@charset "utf-8";
/* CSS Document */

:root {
    --nw-blue: #23689b;
    --nw-light-blue: #3e84b8;
    --nw-green: #67c15e;
    --text-dark: #333333;
    --bg-light: #f4f7f6;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Navigation */
header {
    background-color: var(--white);
    border-bottom: 2px solid var(--bg-light);
    padding: 10px 0;
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--nw-blue);
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--nw-blue);
    font-weight: 600;
	font-size: 18px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 240px; 
    box-shadow: 0px 8px 16px rgba(0,0,0,0.08); 
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    z-index: 100;
    top: 100%;
    right: 0;
    overflow: hidden;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--nw-blue);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: var(--nw-light-blue);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
}

.whatsapp-btn svg {
    height: 32px; 
    width: 28px; 
    display: block; 
    fill: var(--nw-green); 
    transition: transform 0.3s ease, fill 0.3s ease;
}

.whatsapp-btn:hover svg {
    transform: scale(1.1); 
    fill: #3ea045; 
}

/* Image Hero Banner Section */
.image-hero {
    position: relative;
    width: 100%;
    height: 650px; 
    display: flex;
    align-items: flex-end; 
    padding-bottom: 40px; 
    overflow: hidden;
    background-color: #f4f7f6;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center top; 
    z-index: 1; 
}

.image-hero .container {
    position: relative;
    z-index: 10; 
    display: flex;
    justify-content: flex-end; 
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    pointer-events: all;
}

/* Text Hero Section */
.hero {
    background-color: var(--nw-blue);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background-color: #3ea045;
    color: var(--white);
    padding: 12px 20px; 
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.cta-btn:hover {
    opacity: 0.9;
}

/* Core Services Section */
.services {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--nw-blue);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.service-card:hover {
    transform: scale(1.03); 
    box-shadow: 0 12px 24px rgba(0,0,0,0.12); 
}

.service-card h3 {
    color: var(--nw-blue);
    margin-bottom: 15px;
    font-size: 22px;
}

/* =========================================
   SECCIÓN DE REVIEWS
   ========================================= */
.reviews {
    padding: 60px 0;
    background-color: var(--white);
}

.reviews h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--nw-blue);
}

.carousel-wrapper {
    position: relative;
    max-width: 900px; 
    margin: 0 auto;
    padding: 0 60px; 
}

.carousel-track-container {
    overflow: hidden;
    width: 100%; 
    padding: 20px 0; 
}

.carousel-track {
    display: flex;
    list-style: none;
    gap: 20px;
    transition: transform 0.5s ease-in-out; 
}

.carousel-slide {
    flex: 0 0 100%; 
    display: flex;
    justify-content: center; 
}

.review-card {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    width: 100%;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 15px 25px rgba(0,0,0,0.15); 
}

.stars {
    color: #f59e0b; 
    font-size: 26px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-card p {
    font-size: 18px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.review-card h4 {
    color: var(--nw-blue);
    font-size: 18px;
    font-weight: bold;
}

.carousel-btn {
    background-color: var(--nw-blue);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%); 
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background-color: var(--nw-light-blue);
}

.left-btn { left: 0px; }
.right-btn { right: 0px; }

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

footer p {
    font-size: 14px;
    opacity: 0.8;
}

/* =========================================
   ESTILOS DEL PIE DE PÁGINA (TIPO 3 COLUMNAS)
   ========================================= */
.sbs-footer {
    background-color: var(--);
    color: #9ca3af;
    padding: 60px 20px 30px; 
    font-family: Arial, sans-serif;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Divide exactamente en 3 columnas iguales */
    gap: 100px;
    margin-bottom: 25px;
}

/* Diseño responsivo: En celulares se apilará en 1 sola columna */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff; /* Letras blancas para el nombre */
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
	line-height: 0.9;
}

.footer-logo-link .footer-logo {
    max-width: 50px; /* Hace el logo más pequeño para que acompañe al texto */
    margin-right: 2px;
}

.footer-brand .slogan {
    color: var(--white);
    font-size: 15px;
    margin: 0;
}

.footer-links h4, .footer-contact h4 {
    color: #ffffff; /* Títulos en blanco para resaltar */
    font-size: 18px;
    margin-bottom: 25px;
    margin-top: 0;
    font-weight: bold;
	text-align: left;
}

.footer-links ul, .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 15px;
}

.footer-links ul li a, .footer-contact ul li a {
    color: #ffffff; /* Gris claro para los links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact ul li {
    color: #ffffff; /* ¡Cambia este valor al color que quieras! (Ejemplo: blanco) */
}

.footer-contact ul li span.icon {
    margin-right: 15px;
    font-size: 16px;
    /* En la imagen de referencia los iconos son rojos, aquí se ven con los emojis por defecto. */
}

/* Efecto al pasar el mouse por los enlaces */
.footer-links ul li a:hover, .footer-contact ul li a:hover {
    color: #4ade80; /* Cambia a tu color verde cuando le pasan el mouse */
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1.5px solid #1E1E1E; /* Una línea divisoria muy sutil y oscura */
    font-size: 13px;
    color: #ffffff;
}

/* =========================================
   DISEÑO MÓVIL (Pantallas de celular - max 768px)
   ========================================= */
@media (max-width: 768px) {
    header .container {
        width: 100%; 
        padding: 0 15px; 
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
    }

    .logo { font-size: 18px; }
    .logo img { height: 32px; }
    
    nav ul {
        flex-direction: row; 
        align-items: center;
        justify-content: flex-end;
        gap: 15px;
    }
	
	nav a {
        font-size: 18px;
    }

    .dropdown-content {
        position: absolute; 
        min-width: 220px;
        right: 0;
        text-align: right; 
    }

    .hero h1 { font-size: 32px; }
    .hero p {
        font-size: 16px;
        padding: 0 15px;
    }

    .image-hero {
        height: 350px; 
        align-items: flex-end; 
        padding-bottom: 30px; 
    }
    
    .image-hero .container {
        justify-content: center; 
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }

    .carousel-wrapper {
        padding: 0 40px; 
    }

    .review-card {
        padding: 30px 15px; 
    }

    .review-card p {
        font-size: 16px; 
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
	.footer-container {
        grid-template-columns: 1fr;
        text-align: center; /* Centra los títulos y los párrafos */
    }

    /* Centra el logo y el nombre de la marca */
    .footer-logo-link {
        justify-content: center;
    }

    /* Centra las listas (Enlaces y Contacto) que tienen iconos */
    .footer-links ul li, .footer-contact ul li {
        justify-content: center;
    }
	
	.footer-links h4, .footer-contact h4 {
        text-align: center;
    }
}