/*
 * Shared design system for standalone marketing pages (trabaja-con-nosotros,
 * casos-de-exito, caso-exito). Uses the site's default type faces (Russo One
 * for headings, Montserrat for body) — only sizing, weight, color and
 * spacing are tuned here, not the typeface itself.
 */

.mkt-page {
    --ink: #161a2b;
    --ink-soft: #525a72;
    --ink-faint: #8992a8;
    --surface: #ffffff;
    --surface-alt: #f6f7fb;
    --border: #e6e8f2;
    --accent: #a500ff;
    --accent-soft: rgba(165, 0, 255, 0.08);
    --teal: #00a3ca;
    --navy: #0b0a1c;
}

.mkt-eyebrow {
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

/* ---------- Page hero ---------- */
.mkt-hero {
    background:
        radial-gradient(ellipse 900px 500px at 85% -10%, rgba(0, 163, 202, 0.16), transparent 60%),
        radial-gradient(ellipse 700px 500px at 105% 60%, rgba(165, 0, 255, 0.14), transparent 60%),
        var(--surface);
    padding: 150px 0 64px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.mkt-hero h1 {
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
    color: var(--ink);
    text-wrap: balance;
}

.mkt-hero p {
    max-width: 60ch;
    margin: 18px auto 0;
    color: var(--ink-soft);
    font-size: 1.08rem;
    line-height: 1.65;
}

@media (max-width: 767px) {
    .mkt-hero { padding: 108px 0 36px; }
}

/* ---------- Generic section rhythm ---------- */
.mkt-section { padding: 72px 0; background: var(--surface); }
.mkt-section.alt { background: var(--surface-alt); }
.mkt-section-title {
    text-align: center;
    font-weight: 700;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    color: var(--ink);
    margin-bottom: 8px;
}
.mkt-section-lead {
    text-align: center;
    max-width: 60ch;
    margin: 0 auto 44px;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .mkt-section { padding: 44px 0; }
}

/* ---------- Factor / why cards ---------- */
.mkt-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mkt-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
}
.mkt-card i { color: var(--accent); font-size: 1.4rem; }
.mkt-card h3 { font-size: 1rem; margin: 14px 0 8px; font-weight: 600; color: var(--ink); }
.mkt-card p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.55; margin: 0; }
@media (max-width: 767px) { .mkt-card-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.mkt-cta {
    padding: 64px 0;
    text-align: center;
    background: var(--navy);
    color: #ffffff;
}
.mkt-cta h2 { color: #ffffff; font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.mkt-cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.mkt-cta .default-btn {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}
.mkt-cta .default-btn:hover { background: rgba(255, 255, 255, 0.08) !important; }
@media (max-width: 767px) { .mkt-cta { padding: 40px 0; } }

/* ---------- Apply / careers form ---------- */
.apply-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(15, 15, 40, 0.05);
}
.apply-card h2 { font-weight: 700; color: var(--ink); margin-bottom: 8px; font-size: 1.4rem; }
.apply-card > p { color: var(--ink-soft); margin-bottom: 28px; }
.apply-card label { display: block; font-weight: 600; font-size: 0.82rem; color: var(--ink); margin-bottom: 8px; }
.apply-card .form-control { margin-bottom: 20px; border-radius: 8px; }
.apply-card textarea.form-control { min-height: 120px; }
.file-field {
    border: 1.5px dashed var(--border);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    background: var(--surface-alt);
}
.file-field small { display: block; color: var(--ink-faint); margin-top: 6px; }
.alert-error {
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #b91c1c;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 0.92rem;
}
@media (max-width: 767px) { .apply-card { padding: 26px; } }

/* ---------- Careers Page Hybrid Theme (Dark Hero + Light Form Card) ---------- */
.careers-page {
    background: #f8fafc;
    color: #1e293b;
}

.careers-hero {
    background-color: #0e0d21 !important;
    background-image:
        radial-gradient(circle at 12% 15%, rgba(165, 0, 255, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 88% 85%, rgba(6, 200, 215, 0.16) 0%, transparent 45%) !important;
    padding: 160px 0 75px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.careers-hero h1 {
    font-weight: 800;
    font-size: clamp(2.2rem, 4.4vw, 3.1rem);
    line-height: 1.25;
    color: #ffffff;
    max-width: 850px;
    margin: 0 auto;
}

.careers-hero p {
    max-width: 700px;
    margin: 20px auto 35px;
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.7;
}

.careers-hero-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.careers-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.careers-hero-tag i {
    color: #06c8d7;
}

.careers-main-section {
    padding: 70px 0 90px;
    background-color: #f8fafc;
    background-image:
        radial-gradient(ellipse 70% 45% at 15% 10%, rgba(165, 0, 255, 0.05), transparent 60%),
        radial-gradient(ellipse 70% 45% at 85% 90%, rgba(6, 200, 215, 0.06), transparent 60%);
}

.careers-page .footer-area {
    background-color: #0e0d21 !important;
    background-image:
        radial-gradient(circle at 85% 0%, rgba(165, 0, 255, 0.10) 0%, transparent 40%),
        radial-gradient(circle at 10% 100%, rgba(6, 200, 215, 0.08) 0%, transparent 40%);
}

/* Light Form Card - Like the other forms */
.careers-form-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 44px !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06) !important;
}

.careers-form-card h2 {
    color: #0f172a !important;
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.careers-form-card > p {
    color: #64748b !important;
    font-size: 0.96rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.careers-form-card label {
    display: block;
    color: #1e293b !important;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.careers-form-card .form-control {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    margin-bottom: 22px !important;
    transition: all 0.3s ease !important;
}

.careers-form-card textarea.form-control {
    min-height: 160px !important;
    line-height: 1.6 !important;
    resize: vertical !important;
}

/* intl-tel-input: match the form-control look */
.careers-form-card .iti {
    display: block;
    width: 100%;
    margin-bottom: 22px;
}

.careers-form-card .iti input#phone {
    margin-bottom: 0 !important;
    width: 100%;
    padding-left: 92px !important;
}

.careers-form-card .iti {
    --iti-border-color: #cbd5e1;
    --iti-country-selector-bg: #f8fafc;
}

.careers-form-card .iti__country-selector {
    border-radius: 12px 0 0 12px;
    border-right: 1px solid #cbd5e1;
}

.careers-form-card .iti__selected-dial-code {
    color: #0f172a;
    font-size: 0.9rem;
    margin-left: 6px;
}

.careers-form-card .iti__country-list {
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    font-size: 0.92rem;
    z-index: 20;
}

.careers-form-card .iti__country.iti__highlight {
    background-color: rgba(165, 0, 255, 0.08);
}

.careers-form-card .iti__search-input:focus {
    border-color: #a500ff;
    outline: none;
}

.careers-form-card .form-control:focus {
    border-color: #a500ff !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(165, 0, 255, 0.12) !important;
}

.careers-form-card select.form-control option {
    background: #ffffff;
    color: #0f172a;
}

.careers-file-dropzone {
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.careers-file-dropzone:hover {
    border-color: #a500ff;
    background: rgba(165, 0, 255, 0.04);
}

.careers-file-dropzone i {
    font-size: 2rem;
    color: #a500ff;
    margin-bottom: 8px;
    display: block;
}

.careers-file-dropzone input[type="file"] {
    color: #334155;
    font-size: 0.88rem;
    max-width: 100%;
}

.careers-file-dropzone small {
    display: block;
    color: #64748b;
    margin-top: 6px;
    font-size: 0.82rem;
}

.careers-submit-btn {
    width: 100%;
    padding: 15px 28px;
    border-radius: 14px;
    background: #a500ff;
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(165, 0, 255, 0.3);
}

.careers-submit-btn:hover {
    background: #8e00dc;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(165, 0, 255, 0.45);
}

.careers-submit-btn .arrow {
    transition: transform 0.3s ease;
}

.careers-submit-btn:hover .arrow {
    transform: translateX(6px);
}

@media (max-width: 767px) {
    .careers-hero { padding: 120px 0 50px; }
    .careers-form-card { padding: 26px 20px !important; }
}

