@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background: #f9f9f9;
    color: #222;
    line-height: 1.6;
}

/* Header */
.header {
    background: #005BBB; /* azul principal */
    color: white;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.4rem;
}

/* Menú */
.menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.menu li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.menu li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: #FFD600; /* amarillo acento */
    transition: width 0.3s ease;
}

.menu li a:hover::after {
    width: 100%;
}

/* Ícono hamburguesa */
.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f9f9f9, #ececec);
    text-align: center;
    padding: 2rem;
}

.hero-content {
    max-width: 600px;
}

.miniatura {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.miniatura:hover {
    transform: scale(1.05);
}

.btn-hero {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: #005BBB;
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: #D50000;
}

/* Secciones */
section {
    padding: 3rem 2rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #005BBB;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Suscripción */
.suscripcion form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: auto;
}

.suscripcion input, .suscripcion button {
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.suscripcion button {
    background: #FFD600;
    color: #222;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.suscripcion button:hover {
    background: #005BBB;
    color: white;
}

/* Frase llamativa */
.frase {
    background: #D50000;
    color: white;
    padding: 2rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 12px;
    margin: 2rem auto;
    max-width: 800px;
}

/* Footer */
.footer {
    background: #111;
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer a {
    color: #FFD600;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer a:hover {
    color: #005BBB;
}

/* Responsive */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        background: #005BBB;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        padding: 1rem;
    }
    .menu.show {
        display: flex;
    }
    .hamburger {
        display: block;
        color: white;
    }
}
