html {
    scroll-behavior: smooth;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background: #f4f7f6; /* Un gris muy claro, más limpio */
    font-family: 'Roboto', sans-serif;
}

a {
    text-decoration: none;
}

/* --- HERO --- */

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: calc(100vh - 80px);
    /* Sugerencia: Usá una foto de herramientas o un tablero eléctrico */
    background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.8)), url(img/banner-giardina.png); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hero h1 {
    font-size: 3.5em;
    text-align: center;
    color: #1a1a1a;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 28px;
    text-transform: uppercase;
    color: #0056b3; /* Azul profesional */
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* --- MENÚ --- */
#menu {
    z-index: 100;
}

nav {
    background: #ffffff;
    height: 80px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
    display: flex;
    position: sticky;
    top: 0;
    overflow: hidden;
}

nav a {
    flex: 1;
    height: 100%;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
    transition: .3s ease all;
    font-weight: 500;
    font-size: 14px;
}

nav a:hover {
    background: #f8f9fa;
    color: #007bff;
}

nav .indicador {
    width: 0px;
    height: 5px;
    background: #444ee7; /* Amarillo industrial para el indicador */
    position: absolute;
    bottom: 0;
    transition: .3s ease-out all;
}

/* --- SECCIONES --- */
.seccion {
    min-height: 100vh;
    max-width: 900px;
    width: 95%;
    margin: auto;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.seccion .card {
    background: #fff;
    width: 100%;
    padding: 40px;
    border-radius: 8px;
    border-top: 5px solid #007bff; /* Detalle azul arriba */
    box-shadow: 0px 10px 30px rgba(0,0,0,0.05);
}

.seccion h1 {
    font-size: 42px;
    margin-bottom: 25px;
    color: #2c3e50;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.seccion p, .seccion li {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
    font-size: 18px;
}

/* --- ESTILOS TYPED.JS --- */
.contenedor-texto {
    font-weight: bold;
    font-size: 2em;
    color: #2c3e50;
    margin-top: 20px;
}

/* Estilo para el texto que se escribe solo */
.typed {
    color: #007bff; /* Tu azul profesional */
    font-weight: bold;
    font-style: normal;
}

/* Estilo para el cursor parpadeante */
.typed-cursor {
    color: #007bff;
}

.contenedor-texto .servicio {
    color: #007bff; /* Azul eléctrico para el texto que cambia */
    font-style: normal;
}

.seccion .img, .seccion .img2 {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 800px) {
    .hero h1 { font-size: 45px; }
    .seccion h1 { font-size: 15px; }
    .formulario { grid-template-columns: 1fr; }
    #grupo__consulta, .formulario__grupo-btn-enviar { grid-column: 1; }
    nav a { font-size: 11px; }
}

@media screen and (max-width: 450px) {
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 18px; }
    .seccion h1 { font-size: 28px; }
    .seccion h2 { font-size: 15px; }
    nav { height: 60px; }
}