@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800&display=swap');
@charset "utf-8";


/* --- GENERAL --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Inter', sans-serif; 
    background: linear-gradient(rgba(0, 45, 115, 0.75), rgba(0, 20, 60, 0.85)), 
                url('images/fondo.png');
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
}

/* --- HEADER Y LOGO --- */
header { 
    background: rgba(0, 20, 50, 0.85); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 10px 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    z-index: 1000;
    border-bottom: 2px solid #00d4ff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);



}


h1
{
  text-indent: -9999px;
  background-image: url(images/robot_nautico3.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80% auto; /* El 90% achica el ancho y el 'auto' mantiene la proporción */
  width: 300px; 
  height: 110px;
  float: left;
  margin: 10px 0px 0px 0px;
  cursor: pointer;
  border: 1px solid transparent;
}


nav
{
    float:right;
}


.logo {
    background: transparent;
    display: flex;
    align-items: center;
}

.logo img { 
    height: 80px; /* Tamaño optimizado */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2)); 
    transition: transform 0.3s ease;
}

.logo img:hover { transform: scale(1.05); }

/* --- NAVEGACIÓN DESKTOP --- */
nav ul { list-style: none; display: flex; }

nav ul li a { 
    text-decoration: none; 
    color: #ffffff; 
    font-weight: 700; 
    margin-left: 25px; 
    font-size: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

nav ul li a:hover { 
    color: #00d4ff; 
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

/* --- MÓVIL (CORREGIDO SIN SOMBRAS QUE SE PISAN) --- */
@media (max-width: 768px) {
    #btn-menu-movil {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
    }

    #btn-menu-movil span {
        width: 100%;
        height: 3px;
        background-color: #00d4ff;
        border-radius: 2px;
    }

    nav ul {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background: rgba(0, 20, 50, 0.98); /* Más sólido para que no transparente el fondo */
        padding: 0;
        border-bottom: 2px solid #00d4ff;
    }

    nav ul.mostrar { display: flex; }

    nav ul li { width: 100%; }

    nav ul li a {
        padding: 20px;
        margin: 0;
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-shadow: none !important; /* ELIMINADO PARA QUE NO SE PISEN */
        display: block;
        text-align: center;
    }

    /* Efecto de clic limpio en el móvil */
    nav ul li a:active, nav ul li a:hover {
        background: rgba(0, 212, 255, 0.15);
        color: #00d4ff;
        padding-left: 0; /* Mantenemos centrado */
    }
}

/* --- SECCIONES DE CONTENIDO --- */
.hero-section {
    padding: 80px 20px;
    text-align: center;
}

.hero-section h1 { 
    font-size: 3rem; 
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 2px 2px 5px rgba(0,0,0,0.5);
    margin-bottom: 15px;
}

.grid-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 5%;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

/* --- SECCIÓN MARCAS --- */
.seccion-marcas {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 5%;
    text-align: center;
}

.contenedor-marcas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.marca-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 12px;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marca-card img { max-width: 90%; max-height: 90%; object-fit: contain; }

/* --- WHATSAPP --- */
.btn-wsp { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    background: #25d366; 
    color: #fff; 
    padding: 15px 30px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: bold; 
    z-index: 2000;
}
/* --- WHATSAPP INFERIOR izq --- */

.whatsapp_inferior {
    position: fixed; 
    bottom: 10px; 
    left: 10px;  /* --- izq --- */
    background: #25d366; 
    color: #fff; 
    padding: 15px 30px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: bold; 
    z-index: 2000;
}