/* PALETA */
:root {
    --bg-dark: #080513;
    --bg-card: #140e22;
    --purple: #7b2dff;
    --purple-soft: #a87dff;
    --blue-deep: #190b3d;
    --text-main: #ffffff;
    --text-muted: #bfbfbf;
    --radius: 12px;
    --shadow: 0 6px 20px rgba(0,0,0,0.45);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', system-ui, sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

/* UTILS */
.mt-2 { margin-top: 18px; }
.center { text-align: center; }

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1250px;
    margin: 0 auto;
}

/* HEADER */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 12px 0;
    background: rgba(12, 8, 25, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 52px;
}

/* NAV */
.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-link,
.main-nav > a {
    text-decoration: none;
    color: var(--text-main);
    position: relative;
    padding: 4px 0;
}

.nav-link::after,
.main-nav > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--purple-soft);
    transition: width 0.2s;
}

.nav-link:hover::after,
.main-nav > a:hover::after {
    width: 100%;
}

/* CTA NAV */
.cta-nav {
    background: var(--purple);
    padding: 8px 14px;
    border-radius: var(--radius);
    text-decoration: none;
    color: white !important;
    box-shadow: var(--shadow);
}

/* HERO */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 130px;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, #2d1557 0, #080513 60%);
    z-index: -1;
}

.hero-content h1 {
    font-size: 2.4rem;
    line-height: 1.3;
}

.hero-content p {
    margin-top: 12px;
    color: var(--text-muted);
}

/* BOTONES */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 26px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    margin-top: 24px;
}

.btn-primary {
    background: var(--purple);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--purple-soft);
}

.btn-secondary {
    background: var(--blue-deep);
    color: white;
}

/* SECCIONES GENERALES */
.section {
    padding: 100px 0;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--purple-soft);
}

.section-text {
    max-width: 850px;
    margin-bottom: 24px;
    color: var(--text-muted);
}

/* QUIÉNES SOMOS – LAYOUT CON IMAGEN */
.about-first {
    padding-top: 160px;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.about-text {
    /* usa section-text para el cuerpo */
}

.about-image-wrap {
    display: flex;
    justify-content: flex-end;
}

.about-image {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    object-fit: cover;
    max-height: 420px;
}

/* QUIÉNES SOMOS GRID (CARDS) */
.qs-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.qs-item {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.qs-item h3 {
    margin-bottom: 8px;
}

/* EMBAJADORES */
.emb-section {
    background: radial-gradient(circle at top, #281346 0, #080513 60%);
}

.emb-card {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
    padding: 28px;
    border-radius: var(--radius);
    background: rgba(12, 8, 30, 0.95);
    border: 1px solid rgba(123,45,255,0.35);
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}

.emb-card.reverse {
    flex-direction: row-reverse;
}

.emb-media {
    flex: 1 1 320px;
    display: flex;
    justify-content: center;
}

.emb-img {
    max-width: 420px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.emb-info {
    flex: 1 1 320px;
}

.emb-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--purple-soft);
}

.emb-text {
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* FEATURE / CHOFERES / FORM */
.feature-box,
.recruit-box,
.form-box {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.recruit-box {
    text-align: center;
}

.form-box {
    max-width: 600px;
    margin: 0 auto;
}

/* FORM */
.form-box input,
.form-box select {
    width: 100%;
    padding: 12px;
    margin-bottom: 14px;
    border-radius: var(--radius);
    border: none;
    background: #1f1433;
    color: var(--text-main);
}

/* FOOTER */
footer {
    padding: 30px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .header-flex {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    /* ABOUT */
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrap {
        justify-content: center;
        margin-top: 12px;
    }

    .emb-card,
    .emb-card.reverse {
        flex-direction: column;
        text-align: center;
    }

    .emb-info {
        text-align: center;
    }
}
