/* Variables de color de Vazztec */
:root {
    --primary: #028963; /* Verde extraído de tu logo */
    --secondary: #005e82; /* Azul extraído de tu logo */
    --dark: #102a35; /* Un tono oscuro basado en tu identidad */
    --light: #f9f9f9;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    background-color: var(--light);
}

/* Navegación Refinada */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 5%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

nav ul { 
    display: flex; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
}

nav ul li { margin-left: 25px; }

nav ul li a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

/* Sección Principal (Hero) */
.hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(16, 42, 53, 0.85), rgba(16, 42, 53, 0.85)), 
                url('https://images.unsplash.com/photo-1597872200969-2b65d56bd16b?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.btn {
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 25px;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--secondary);
}

/* Cuadrícula de Servicios */
#servicios {
    padding: 60px 5%;
    text-align: center;
}

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

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--primary);
}

.card h3 {
    color: var(--secondary);
}

/* Sección de Confianza */
#confianza {
    background: white;
    padding: 50px 5%;
    text-align: center;
    border-top: 1px solid #eee;
}

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

.confianza-item {
    padding: 20px;
}

.confianza-item .icon {
    color: var(--primary);
    margin-bottom: 15px;
}

.confianza-item h3 {
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.confianza-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Pie de página */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 30px 0;
}

footer a {
    color: var(--primary);
    text-decoration: none;
}

.horario-txt {
    color: #028963;
    font-weight: 600;
    margin: 5px 0 15px 0;
    font-size: 0.95rem;
}

/* Estilos de Botones de Contacto y Ubicación */
.ubicacion-container {
    margin: 15px 0 15px 0;
}

.redes-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.maps-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ea4335;
    color: white !important;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 8px;
    transition: background-color 0.3s, transform 0.2s;
}

.maps-link:hover {
    background-color: #d93025;
    transform: translateY(-2px);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25d366;
    color: white !important;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.3);
}

.facebook-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #1877f2;
    color: white !important;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.2);
}

.facebook-btn:hover {
    background-color: #1464cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(24, 119, 242, 0.3);
}

.maps-link svg, .whatsapp-btn svg, .facebook-btn svg {
    fill: white;
}

/* Botón flotante persistente de WhatsApp */
.btn-flotante {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white !important;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s, background-color 0.3s;
}

.btn-flotante:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
}

.btn-flotante svg {
    fill: white;
}