/* RESET */
img {
    border-radius: 10px;
}
/* HERO FLEX */
.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* TEXTO */
.hero-text {
    flex: 1;
}

/* IMAGEN */
.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 12px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: 'Montserrat', sans-serif;
    background: #0b0f14;
    color: #ffffff;
    line-height: 1.6;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 1px;
}

nav a {
    color: #aaa;
    margin-left: 25px;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: #ffffff;
}

/* HERO */
.hero {
    padding: 100px 0;
}

.hero h1 {
    font-size: 42px;
    max-width: 700px;
    font-weight: 600;
}

.hero p {
    margin-top: 20px;
    color: #aaa;
    max-width: 600px;
}

/* BOTONES */
.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #007BFF, #00c6ff);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* SECCIONES */
.section {
    padding: 80px 0;
}

.section h1,
.section h2 {
    margin-bottom: 20px;
}

/* FONDO CLARO */
.light {
    background: #f4f6f8;
    color: #111;
}

.light p {
    color: #333;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* CARDS */
.card {
    background: #111827;
    padding: 30px;
    border-radius: 10px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.light .card {
    background: #ffffff;
}

/* FORMULARIO */
form input,
form textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    margin-bottom: 15px;
}

form textarea {
    height: 120px;
}

/* FOOTER */
.footer {
    padding: 40px 0;
    text-align: center;
    color: #777;
}