.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: white;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    width: 140px;
}

/* MENU */
.menu{
     display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
}

.menu > a,
.menu > .dropdown > a{

    display:flex;

    align-items:center;

    justify-content:center;

    min-width:160px;

    height:48px;

    padding:0 20px;

    text-decoration:none;

    background:linear-gradient(45deg,#007BFF,#00C6FF);

    color:#fff;

    border-radius:8px;

    font-weight:bold;

    transition:.3s;

    box-sizing:border-box;
}

.menu > a:hover,
.menu > .dropdown > a:hover{

    background:linear-gradient(45deg,#0056b3,#0096c7);

}

.dropdown{
    position:relative;
}

.dropdown-content{
    position:absolute;
    top:110%;
    left:0;
    min-width:100%;
    background:#fff;
    border-radius:10px;
    box-shadow:0 10px 20px rgba(0,0,0,.15);
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:.3s;
    z-index:999;
}

.dropdown:hover .dropdown-content{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.dropdown-content ul{
    list-style:none;
    margin:0;
    padding:10px;
}

.dropdown-content li{
    margin:5px 0;
}

.dropdown-content li a{
    display:block;
    padding:12px 18px;
    color:#333;
    text-decoration:none;
    border-radius:8px;
    transition:.3s;
}

.dropdown-content li a:hover{
    background:#007BFF;
    color:#fff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: 'Segoe UI', sans-serif;
    background: #f4f6f9;
    color: #333;
}

/* WHATSAPP */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    font-size: 24px;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
    z-index: 1000;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: white;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    width: 140px;
}

/* MENU */
.menu {
    display: flex;
    gap: 4px;
    align-items: center;
}

.menu a {
    text-decoration: none;
    padding: 12px 18px;
    background: linear-gradient(45deg, #007BFF, #00C6FF);
    color: white;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}
.menu > a:hover {
    background: linear-gradient(45deg, #0056b3, #0096c7);
}


/* DROPDOWN */
.dropdown {
    position: relative;
    display: inline-block;
    font-family: Arial, sans-serif;
}

/* Botón principal */
.dropdown > a {
    text-decoration: none;
    padding: 12px 18px;
    background: linear-gradient(35deg, #007BFF, #00C6FF);
    color: white;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
}

.dropdown > a:hover {
    background: linear-gradient(deg, #0056b3, #0096c7);
}

/* Contenido desplegable */
.dropdown-content {
    position: absolute;
    top: 120%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 10px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
    z-index: 100;
}

/* Mostrar dropdown al pasar el mouse */
.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Lista */


/* Contenedor */
.dropdown-content ul{
    list-style: none;
    margin: 0;
    padding: 10px;
}

.dropdown-content ul li{
    margin: 8px 0;
    padding: 0;
    background: none;
    box-shadow: none;
}

.dropdown-content ul li a{
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    background: #fff;
    border-radius: 10px;
    transition: all .3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    font-weight: 600;
}

.dropdown-content ul li a:hover{
    background: linear-gradient(135deg,#007BFF,#00C6FF);
    color: #fff;
    transform: translateX(5px);
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    background: url('AUTOMATIC.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    padding: 60px;
}
.hero-content {
    opacity: 0;
    transform: translateX(50px);
    animation: aparecer 1s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes aparecer {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero h1 {
    color: white;
    font-size: 50px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.hero h3 {
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 25px;
}

/* CONTENIDO */
.container {
    width: 100%;
    padding: 50px;
}

.valores{
    padding: 80px 50px;
    background: #f8f8fa;
}

.cards-valores{
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    flex-wrap: wrap;
}

.card-valor{
    flex: 1;
    min-width: 220px;
    max-width: 250px;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    transition: .3s;
}

.card-valor:hover{
    transform: translateY(-8px);
}

.card-valor i{
    font-size: 45px;
    color: #00c6ff;
    margin-bottom: 15px;
}

.card-valor h3{
    margin-bottom: 15px;
}

.card-valor p{
    color: #444;
    line-height: 1.6;
}
.card-valor img{
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.card-valor .img-forza {

    width: 95%;
    height: 220px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.nosotros{
    padding: 100px 20px;
    background: linear-gradient(135deg, #f5f9ff, #ffffff);
    text-align: center;
}

.nosotros .contenedor{
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.nosotros .titulo{
    font-size: 42px;
    color: #222;
    margin-bottom: 20px;
    font-weight: 700;
}

.nosotros .subtitulo{
    font-size: 20px;
    color: #666;
    margin-top: 20px;
}

.nosotros .btn{
    display: inline-block;
    margin-top: 25px;
    padding: 18px 35px;
    background: linear-gradient(135deg, #007BFF, #00C6FF);
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,123,255,0.3);
}

.nosotros .btn:hover{
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,123,255,0.4);
}

.nosotros .btn::before{
    content: "\f232";
    font-family: "Font Awesome 6 Brands";
    margin-right: 10px;
    font-size: 22px;
}

@media (max-width: 768px){

    .nosotros{
        padding: 70px 15px;
    }

    .nosotros .contenedor{
        padding: 35px 20px;
    }

    .nosotros .titulo{
        font-size: 30px;
    }

    .nosotros .btn{
        width: 100%;
        font-size: 18px;
        padding: 16px;
    }
}
footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 20px;
}