/* ===========================================================
   FLETUR — estilo "Uber suave"
   Negro suave #1a1a1a · fondo cremita #f7f6f3 · fuente Inter
   =========================================================== */

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

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background: #f7f6f3;          /* cremita suave: descansa la vista */
    line-height: 1.6;
}

/* ===================== NAVBAR (negro) ===================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #2e2e2e;
    z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #d4d4d4;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: #ffffff; }

/* Logo del nav (versión blanca) */
.logo-img-nav { height: 30px; width: auto; display: block; }

/* ===================== HERO ===================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content { flex: 1; }

.hero h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.highlight { color: #1a1a1a; }

.hero-lead {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.hero-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 26px;
    max-width: 480px;
}

.hero-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin-bottom: 34px;
    max-width: 480px;
}

.hero-features li {
    position: relative;
    padding-left: 30px;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
}

.hero-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    max-width: 460px;
    height: auto;
    border-radius: 24px;
    display: block;
    margin: 0 auto;
}

/* ===================== BOTONES ===================== */
.btn-primary {
    background: #1a1a1a;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background: #000000;
    transform: translateY(-2px);
}
/* Botón "Registrarme como fletero" sobre la sección negra: invertido para que se note que es botón */
.para-fleteros .btn-primary {
    background: #ffffff;
    color: #1a1a1a;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.para-fleteros .btn-primary:hover {
    background: #f0f0f0;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #1a1a1a;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #e5e5e5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.2s, transform 0.2s;
}

.btn-secondary:hover {
    border-color: #1a1a1a;
    transform: translateY(-2px);
}

.btn-proximamente { color: #999; border-color: #e5e5e5; cursor: default; }
.btn-proximamente:hover { border-color: #e5e5e5; transform: none; }

/* ===================== SECCIONES GENERALES ===================== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-container h2 {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: #888;
    font-size: 18px;
    margin-bottom: 48px;
}

/* ===================== COMO FUNCIONA ===================== */
.como-funciona { background: #ffffff; }

.pasos { display: flex; flex-direction: column; gap: 56px; margin-top: 48px; overflow: hidden; }
.paso-row { display: flex; align-items: center; gap: 48px; }
.paso-row.invertido { flex-direction: row-reverse; }
.paso-img { flex: 1; }
.paso-img img { width: 100%; max-width: 420px; height: auto; border-radius: 20px; display: block; margin: 0 auto; }
.paso-text { flex: 1; }
.paso-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: #1a1a1a; color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 16px;
}
.paso-text h3 { font-size: 26px; font-weight: 700; margin-bottom: 12px; color: #1a1a1a; }
.paso-text p { font-size: 16px; color: #555; line-height: 1.7; max-width: 460px; }

.tipos-carga { text-align: center; margin-top: 80px; clear: both; }
.tipos-carga h3 { font-size: 24px; margin-bottom: 20px; }

.tipos-grid { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.tipo-item {
    background: #f7f6f3;
    padding: 12px 20px;
    border-radius: 100px;
    font-size: 15px;
    border: 1.5px solid #e5e5e5;
    font-weight: 500;
}

/* ===================== PARA FLETEROS (negro) ===================== */
.para-fleteros { background: #1a1a1a; color: white; }
.para-fleteros .section-container { padding: 80px 24px; }

.fleteros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.fleteros-text h2 {
    font-size: 36px;
    text-align: left;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.fleteros-text p { color: #a3a3a3; line-height: 1.7; margin-bottom: 24px; }

.fleteros-beneficios { list-style: none; margin-bottom: 32px; }
.fleteros-beneficios li { display: flex; align-items: center; gap: 8px; color: #d4d4d4; padding: 8px 0; font-size: 16px; }

.fleteros-vehiculos h3 { color: white; margin-bottom: 20px; font-size: 20px; }

.requisitos-lista { display: flex; flex-direction: column; gap: 14px; }

.requisito-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #262626;
    padding: 14px;
    border-radius: 10px;
}

.req-icon { display: flex; align-items: center; justify-content: center; min-width: 32px; }

.requisito-item strong { display: block; color: white; font-size: 14px; margin-bottom: 2px; }
.requisito-item p { color: #a3a3a3; font-size: 13px; line-height: 1.4; }

.vehiculo-nota { color: #737373; font-size: 13px; }

/* ===================== ÍCONOS (reemplazan los emojis) ===================== */
.icon-svg { flex-shrink: 0; display: inline-block; vertical-align: -4px; }
.check-icon { color: #4ade80; }

/* ===================== NOSOTROS ===================== */
.nosotros { background: #f7f6f3; }

.nosotros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.nosotros-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #ececec;
}

.nosotros-icon { font-size: 40px; margin-bottom: 16px; }
.nosotros-card h3 { font-size: 20px; margin-bottom: 12px; }
.nosotros-card p { color: #666; line-height: 1.6; }

/* ===================== AYUDA ===================== */
.ayuda { background: #ffffff; }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.faq-item {
    background: #f7f6f3;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #ececec;
}

.faq-item h4 { font-size: 16px; margin-bottom: 8px; color: #1a1a1a; }
.faq-item p { color: #666; font-size: 14px; line-height: 1.6; }

.contacto { text-align: center; }
.contacto p { color: #888; margin-bottom: 16px; }

/* ===================== FOOTER (negro) ===================== */
.footer { background: #1a1a1a; color: white; }

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.logo-img-footer { height: 32px; width: auto; display: block; margin-bottom: 12px; }
.footer-brand p { color: #a3a3a3; margin-top: 8px; font-size: 14px; }

.footer-links h4 { color: white; margin-bottom: 16px; font-size: 16px; }
.footer-links a {
    display: block;
    color: #a3a3a3;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover { color: #ffffff; }

.footer-bottom {
    border-top: 1px solid #2e2e2e;
    padding: 20px 24px;
    text-align: center;
    color: #737373;
    font-size: 13px;
}

/* ===================== HAMBURGER (mobile) ===================== */
.hamburger { display: none; }

@media (max-width: 768px) {
    .hero { flex-direction: column; padding-top: 100px; text-align: center; }
    .hero h1 { font-size: 38px; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-lead, .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-features { justify-items: start; text-align: left; }
    .hero-buttons { justify-content: center; }
    .hero-img { max-width: 320px; }

    .paso-row, .paso-row.invertido { flex-direction: column; gap: 20px; text-align: center; }
    .paso-text p { margin: 0 auto; }

    .fleteros-content { grid-template-columns: 1fr; }
    .nosotros-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }

    .section-container h2 { font-size: 30px; }
    .fleteros-text h2 { font-size: 28px; }

    /* Navbar mobile: ocultamos links y mostramos hamburger */
    .nav-links { display: none; }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        background: none;
        border: none;
        padding: 4px;
    }
    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: #ffffff;
        border-radius: 2px;
        transition: all 0.3s;
    }

    /* Menú desplegable mobile (fondo negro para que se lean los links blancos) */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: #1a1a1a;
        border-bottom: 1px solid #2e2e2e;
        padding: 16px 24px 24px;
        gap: 16px;
        z-index: 999;
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }
}

@media (max-width: 480px) {
    .hero-features { grid-template-columns: 1fr; }
}
/* Caja de ganancias en la sección de fleteros */
.ganancias-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 24px;
}
.ganancias-titulo {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 12px !important;
}
.ganancia-fila {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: #d4d4d4;
}
.ganancia-fila:last-of-type { border-bottom: none; }
.ganancia-fila strong {
    color: #4ade80;
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
}
.ganancias-nota {
    font-size: 12px !important;
    color: #8a8a8a !important;
    line-height: 1.5 !important;
    margin: 12px 0 0 0 !important;
}