/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    background: #ffffff;
    line-height: 1.6;
}

/* UTILIDADES */

.container {
    width: min(1100px, 90%);
    margin: auto;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: #f5f7fa;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-title p {
    color: #6b7280;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-height: 175px;
}

.logo {
    margin: 5px;
	width: 200px;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav a {
    text-decoration: none;
    color: #374151;
    transition: .3s;
}

.nav a:hover {
    color: #2563eb;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* HERO */

.hero {
    background: linear-gradient(
        135deg,
        #0f172a,
        #1e3a8a
    );

    color: white;
    min-height: 85vh;

    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    margin-bottom: 30px;
    color: #dbeafe;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-card {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
}

/* BOTONES */

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: .3s;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    border: 1px solid white;
    color: white;
}

.btn-secondary:hover {
    background: rgba(255,255,255,.1);
}

/* CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
    transition: .3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 15px;
}

/* MENTORIAS */

.mentoring {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mentoring ul {
    padding-left: 20px;
}

/* CTA */

.cta {
    background: #2563eb;
    color: white;
    text-align: center;
    padding: 70px 0;
}

.cta h2 {
    margin-bottom: 20px;
}

/* Texto Contacto */
.texto-contacto {
  text-align: center;
  padding: 20px;
}

.texto-contacto a {
  color: #blue;
  text-decoration: none;
}

.texto-contacto a:hover {
  text-decoration: underline;
}

/* FOOTER */

.footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 25px 0;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .hero-content,
    .cards,
    .mentoring {
        grid-template-columns: 1fr;
    }

    .hero {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;

        background: white;

        flex-direction: column;
        padding: 20px;

        display: none;
    }

    .nav.active {
        display: flex;
    }
}