/* =========================================
   VARIABLES GLOBALES Y PALETA 
   ========================================= */
:root {
    --bg-asfalto: #121212;
    --bg-tarjetas: #242424;
    --acento-amarillo: #FACC15;
    --texto-claro: #F9FAFB;
    --texto-mutado: #9CA3AF;
    --fuente-titulos: 'Oswald', sans-serif;
    --fuente-texto: 'Inter', sans-serif;
    --verdewasap: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-asfalto);
    color: var(--texto-claro);
    font-family: var(--fuente-texto);
    line-height: 1.6;
}

/* =========================================
   NAVBAR Y LOGO TIPOGRÁFICO
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

/* El truco del logo: La "Barra" literal */
.logo-taller {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-texto {
    font-family: var(--fuente-titulos);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--texto-claro);
    letter-spacing: 2px;
    line-height: 1;
}

.logo-barra {
    height: 4px;
    width: 100%;
    background-color: var(--acento-amarillo);
    margin-top: 2px;
    border-radius: 2px;
}

/* =========================================
   SECCIÓN INICIO (HERO)
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 5% 2rem;
    /* Aquí luego puedes poner de fondo una foto del taller oscurecida */
    background: linear-gradient(rgba(18,18,18,0.9), rgba(18,18,18,0.95)); 
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-family: var(--fuente-titulos);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 .zona {
    color: var(--acento-amarillo);
}

.hero p {
    font-size: 1.1rem;
    color: var(--texto-mutado);
    margin-bottom: 2rem;
}

/* =========================================
   BOTONES
   ========================================= */
.botones-hero {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primario {
    background-color: var(--acento-amarillo);
    color: #000; /* Texto negro para contraste fuerte */
}

.btn-primario-w {
    background-color: var(--verdewasap);
    color: #000; /* Texto negro para contraste fuerte */
}

.btn-primario:hover {
    background-color: #eab308;
    transform: translateY(-2px);
}

.btn-secundario {
    background-color: transparent;
    color: var(--texto-claro);
    border: 1px solid var(--texto-mutado);
}

.btn-secundario:hover {
    border-color: var(--texto-claro);
    background-color: rgba(255, 255, 255, 0.05);
}

/* =========================================
   ESTRUCTURA GENERAL DE SECCIONES
   ========================================= */
.seccion {
    padding: 6rem 5%;
}

.bg-alternativo {
    background-color: #1a1a1a; /* Un gris un pelín más claro para separar visualmente */
}

.contenedor {
    max-width: 1200px;
    margin: 0 auto;
}

.titulo-seccion {
    font-family: var(--fuente-titulos);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--texto-claro);
}

.subtitulo-seccion {
    text-align: center;
    color: var(--texto-mutado);
    margin-top: -2rem;
    margin-bottom: 3rem;
}

/* =========================================
   GRILLA DE SERVICIOS
   ========================================= */
.grilla-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tarjeta-servicio {
    background-color: var(--bg-tarjetas);
    padding: 2rem;
    border-radius: 8px;
    border-top: 3px solid transparent;
    transition: all 0.3s ease;
}

.tarjeta-servicio:hover {
    border-top-color: var(--acento-amarillo);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.icono-amarillo {
    font-size: 2rem;
    margin-bottom: 1rem;
    /* En el futuro podemos cambiar estos emojis por íconos SVG reales */
}

.tarjeta-servicio h3 {
    font-family: var(--fuente-titulos);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.tarjeta-servicio p {
    color: var(--texto-mutado);
    font-size: 0.95rem;
}

/* =========================================
   GALERÍA DE TRABAJOS
   ========================================= */
.grilla-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.foto-galeria {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    filter: grayscale(20%); /* Le da un tono más rudo e industrial */
    transition: all 0.4s ease;
}

.foto-galeria:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* =========================================
   ENLACES DE NAVEGACIÓN
   ========================================= */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--texto-claro);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--acento-amarillo);
}

/* Ocultamos los links en celulares para que no se rompa el diseño (dejamos logo y botón). 
   Más adelante podemos sumarle el menú hamburguesa */
@media (max-width: 800px) {
    .nav-links {
        display: none; 
    }
}

/* =========================================
   OPINIONES
   ========================================= */
.grilla-opiniones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tarjeta-opinion {
    background-color: var(--bg-asfalto);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.estrellas {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.texto-opinion {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--texto-claro);
}

.autor-opinion {
    font-weight: 600;
    color: var(--acento-amarillo);
    font-size: 0.9rem;
}

/* =========================================
   CONTACTO Y MAPA
   ========================================= */
.grid-contacto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 800px) {
    .grid-contacto {
        grid-template-columns: 1fr;
    }
}

.formulario {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-form {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-tarjetas);
    border: 1px solid #333;
    border-radius: 6px;
    color: var(--texto-claro);
    font-family: var(--fuente-texto);
}

.input-form:focus {
    outline: none;
    border-color: var(--acento-amarillo);
}

.mapa-container {
    min-height: 350px;
}

/* =========================================
   FOOTER Y BOTÓN FLOTANTE
   ========================================= */
.footer {
    background-color: #0a0a0a;
    padding: 3rem 5%;
    border-top: 1px solid #222;
}

.flex-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.btn-flotante-wsp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366; /* Verde oficial de WSP */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    font-size: 2rem;
}

.btn-flotante-wsp:hover {
    transform: scale(1.1);
}

/* Contenedor para el Widget de Reseñas */
.contenedor-widget {
    max-width: 1000px;
    margin: 0 auto;
    overflow: visible; 
    padding: 0 40px; 
    box-sizing: border-box; 
}