:root {
    --bg-main: #0b0f14;
    --bg-alt: #111722;
    --card: #151b26;
    --primary: #00c2ff;
    --text-main: #e5e7eb;
    --text-muted: #9aa4b2;
    --border: rgba(255,255,255,0.08);
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.section {
    padding: 80px 0;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    background: radial-gradient(circle at top, #0f172a, #020617);
    display: flex;
    flex-direction: column;
}

.navbar {
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
}

.logo span {
    color: var(--primary);
}

.nav {
    list-style: none;
    display: flex;
    gap: 25px;
}

.btn-nav {
    border: 1px solid var(--primary);
    padding: 8px 16px;
    border-radius: 6px;
}

.hero-content {
    flex: 1;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 750px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    padding: 14px 26px;
    border-radius: 8px;
    font-weight: 600;
    width: fit-content;
}

/* =========================
   INTRO
========================= */

.intro p {
    max-width: 900px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* =========================
   NAVBAR MOBILE
========================= */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 90px;
        right: 5%;
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 20px;
        flex-direction: column;
        gap: 16px;
        display: none;
        min-width: 200px;
        z-index: 1000;
    }

    .nav.active {
        display: flex;
    }

    .btn-nav {
        text-align: center;
    }
}


/* =========================
   SERVICES
========================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 30px;
}

.service-card h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.small {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================
   CAPACITACIÓN
========================= */

#capacitacion {
    background: var(--bg-alt);
}

#capacitacion .section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

#capacitacion .section-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 900px;
}

/* =========================
   CONTACT
========================= */

.contact h2 {
    margin-bottom: 10px;
}

.contact p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.contact-info {
    margin-bottom: 35px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.contact-info i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Destacado de ubicación */
.contact-location {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
}

.contact-location i {
    font-size: 1.4rem;
}

/* Formulario */

.form {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form input,
.form textarea {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 14px;
    border-radius: 8px;
    color: var(--text-main);
}

.form textarea {
    min-height: 120px;
}

.form button {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
}

.form-privacy-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-align: right; /* opcional: alineado a la derecha */
}

.form-privacy-link a {
    color: var(--primary);
    text-decoration: underline;
}


/* =========================
FOOTER
========================= */

.footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}
