/* ===================================================================
   MindForce AI & Technology — Design System v2.0
   www.mindforce.cloud — 2026
   =================================================================== */

/* ── 1. Tokens de diseño ─────────────────────────────────────────── */
:root {
    --mf-navy:       #1f2a57;
    --mf-navy-dark:  #16203f;
    --mf-navy-mid:   #2d3d7a;
    --mf-navy-light: #3a4f9a;
    --mf-gold:       #cfab66;
    --mf-gold-dark:  #b8963a;
    --mf-gold-light: #e0c88a;
    --mf-cta:        #e8500a;
    --mf-cta-dark:   #cf4408;
    --mf-slate:      #1e293b;
    --mf-gray:       #64748b;
    --mf-light:      #f1f5f9;
    --mf-lighter:    #f8fafc;
    --mf-border:     #e2e8f0;
    --mf-success:    #16a34a;
    --mf-warning:    #d97706;
    --mf-radius:     0.5rem;
    --mf-shadow:     0 4px 24px rgba(31, 42, 87, 0.10);
    --mf-shadow-lg:  0 8px 40px rgba(31, 42, 87, 0.16);
}

/* ── 2. Tipografía base ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    color: var(--mf-slate);
    background-color: var(--mf-lighter);
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--mf-slate);
    line-height: 1.25;
}

/* ── 3. Navbar ───────────────────────────────────────────────────── */
.mf-navbar {
    background-color: var(--mf-navy);
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.20);
}

.mf-navbar .navbar-brand img {
    filter: brightness(0) invert(1);
    height: 36px;
    width: auto;
}

.mf-navbar .nav-link {
    color: rgba(255,255,255,0.82) !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem !important;
    border-radius: var(--mf-radius);
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.01em;
}

.mf-navbar .nav-link:hover,
.mf-navbar .nav-link.active {
    color: #ffffff !important;
    background: rgba(255,255,255,0.08);
}

.mf-navbar .nav-link.active {
    color: var(--mf-gold) !important;
}

.mf-navbar .navbar-toggler {
    border-color: rgba(255,255,255,0.3);
}

.mf-navbar .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* ── 4. Botones ──────────────────────────────────────────────────── */
.btn-mf-cta {
    background: var(--mf-cta);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 0.7rem 1.8rem;
    border-radius: var(--mf-radius);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    letter-spacing: 0.02em;
}
.btn-mf-cta:hover {
    background: var(--mf-cta-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,80,10,0.35);
}

.btn-mf-gold {
    background: var(--mf-gold);
    border: none;
    color: var(--mf-slate);
    font-weight: 600;
    padding: 0.7rem 1.8rem;
    border-radius: var(--mf-radius);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-mf-gold:hover {
    background: var(--mf-gold-dark);
    color: var(--mf-slate);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(207,171,102,0.40);
}

.btn-mf-navy {
    background: var(--mf-navy);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 0.7rem 1.8rem;
    border-radius: var(--mf-radius);
    transition: background 0.2s, transform 0.15s;
}
.btn-mf-navy:hover {
    background: var(--mf-navy-mid);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-mf-white {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.55);
    color: #ffffff;
    font-weight: 600;
    padding: 0.65rem 1.8rem;
    border-radius: var(--mf-radius);
    transition: all 0.2s;
}
.btn-outline-mf-white:hover {
    background: rgba(255,255,255,0.12);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-outline-mf-gold {
    background: transparent;
    border: 2px solid var(--mf-gold);
    color: var(--mf-gold);
    font-weight: 600;
    padding: 0.65rem 1.8rem;
    border-radius: var(--mf-radius);
    transition: all 0.2s;
}
.btn-outline-mf-gold:hover {
    background: var(--mf-gold);
    color: var(--mf-slate);
}

/* ── 5. Hero ─────────────────────────────────────────────────────── */
.mf-hero {
    background: linear-gradient(135deg, var(--mf-navy-dark) 0%, var(--mf-navy) 55%, var(--mf-navy-mid) 100%);
    color: #ffffff;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.mf-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(207,171,102,0.10) 0%, transparent 70%);
    pointer-events: none;
}

.mf-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(207,171,102,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.mf-hero .kicker {
    display: inline-block;
    background: rgba(207,171,102,0.15);
    border: 1px solid rgba(207,171,102,0.4);
    color: var(--mf-gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.mf-hero h1 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.mf-hero h1 em {
    color: var(--mf-gold);
    font-style: normal;
}

.mf-hero .lead {
    color: rgba(255,255,255,0.80);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 530px;
}

/* ── 6. Banda de credibilidad ────────────────────────────────────── */
.mf-credibility {
    background: var(--mf-navy-dark);
    border-top: 1px solid rgba(207,171,102,0.2);
    border-bottom: 1px solid rgba(207,171,102,0.2);
    padding: 0.85rem 0;
}

.mf-credibility .cred-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.mf-credibility .cred-item i {
    color: var(--mf-gold);
    font-size: 1rem;
}

.mf-credibility .divider {
    color: rgba(207,171,102,0.35);
    font-size: 1.2rem;
}

/* ── 7. Secciones ────────────────────────────────────────────────── */
.mf-section {
    padding: 5rem 0;
}

.mf-section-light {
    padding: 5rem 0;
    background: var(--mf-light);
}

.mf-section-navy {
    padding: 5rem 0;
    background: var(--mf-navy);
    color: #ffffff;
}

.mf-section-navy h2,
.mf-section-navy h3,
.mf-section-navy p {
    color: #ffffff;
}

.section-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mf-gold);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--mf-slate);
    margin-bottom: 1rem;
}

.section-title.white { color: #ffffff; }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--mf-gray);
    max-width: 600px;
    line-height: 1.7;
}

/* ── 8. Cards ────────────────────────────────────────────────────── */
.mf-card {
    background: #ffffff;
    border: 1px solid var(--mf-border);
    border-radius: 0.75rem;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--mf-shadow);
}

.mf-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mf-shadow-lg);
}

.mf-card .card-icon {
    width: 52px;
    height: 52px;
    background: rgba(31, 42, 87, 0.07);
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--mf-navy);
    flex-shrink: 0;
}

.mf-card .card-icon.gold {
    background: rgba(207,171,102,0.12);
    color: var(--mf-gold-dark);
}

.mf-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--mf-slate);
    margin-bottom: 0.6rem;
}

.mf-card p {
    font-size: 0.9rem;
    color: var(--mf-gray);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Service feature cards (larger) */
.mf-service-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2.25rem 2rem;
    height: 100%;
    box-shadow: var(--mf-shadow);
    border: 1px solid var(--mf-border);
    border-top: 4px solid var(--mf-navy);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.mf-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--mf-shadow-lg);
}

.mf-service-card.gold-top {
    border-top-color: var(--mf-gold);
}

.mf-service-card.cta-top {
    border-top-color: var(--mf-cta);
}

.mf-service-card .svc-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--mf-navy);
    display: block;
}

.mf-service-card.gold-top .svc-icon { color: var(--mf-gold-dark); }
.mf-service-card.cta-top .svc-icon  { color: var(--mf-cta); }

.mf-service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.mf-service-card p {
    color: var(--mf-gray);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ── 9. Badges ITIL / BCCR ───────────────────────────────────────── */
.mf-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.mf-badge-itil {
    background: rgba(31, 42, 87, 0.08);
    color: var(--mf-navy);
    border: 1px solid rgba(31, 42, 87, 0.2);
}

.mf-badge-bccr {
    background: rgba(22, 163, 74, 0.08);
    color: #15803d;
    border: 1px solid rgba(22, 163, 74, 0.25);
}

.mf-badge-pyme {
    background: rgba(207,171,102,0.12);
    color: var(--mf-gold-dark);
    border: 1px solid rgba(207,171,102,0.35);
}

/* ── 10. Tabla de módulos / features ─────────────────────────────── */
.mf-module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.mf-module-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    background: #ffffff;
    border: 1px solid var(--mf-border);
    border-radius: 0.6rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mf-module-item:hover {
    border-color: var(--mf-gold);
    box-shadow: 0 2px 12px rgba(207,171,102,0.15);
}

.mf-module-item i {
    color: var(--mf-navy);
    font-size: 1.25rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.mf-module-item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--mf-slate);
    margin-bottom: 0.15rem;
}

.mf-module-item span {
    font-size: 0.78rem;
    color: var(--mf-gray);
    line-height: 1.4;
}

/* ── 11. Sección BCCR / diferenciador ───────────────────────────── */
.mf-bccr-section {
    background: linear-gradient(135deg, #0f4c2a 0%, #16603a 100%);
    color: #ffffff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.mf-bccr-section::before {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.mf-bccr-badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 0.6rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.mf-bccr-badge i {
    font-size: 1.5rem;
    color: #4ade80;
    flex-shrink: 0;
}

.mf-bccr-badge strong {
    display: block;
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 0.15rem;
}

.mf-bccr-badge span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

/* ── 12. Marco normativo ─────────────────────────────────────────── */
.mf-law-table td, .mf-law-table th {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    vertical-align: top;
}

.mf-law-table th {
    background: var(--mf-navy);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mf-law-table tr:nth-child(even) td {
    background: rgba(241,245,249,0.8);
}

.mf-law-badge {
    display: inline-block;
    background: rgba(31,42,87,0.08);
    color: var(--mf-navy);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    white-space: nowrap;
}

/* ── 13. Pricing cards ───────────────────────────────────────────── */
.mf-path-card {
    background: #ffffff;
    border: 2px solid var(--mf-border);
    border-radius: 0.875rem;
    padding: 2.25rem 2rem;
    height: 100%;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mf-path-card:hover {
    border-color: var(--mf-navy);
    box-shadow: var(--mf-shadow-lg);
}

.mf-path-card.featured {
    border-color: var(--mf-navy);
    background: var(--mf-navy);
    color: #ffffff;
}

.mf-path-card .path-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.mf-path-card .path-price {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0.75rem 0 0.25rem;
}

.mf-path-card .path-price small {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.75;
}

.mf-path-card ul {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
    text-align: left;
}

.mf-path-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    color: var(--mf-slate);
}

.mf-path-card.featured ul li {
    color: rgba(255,255,255,0.88);
}

.mf-path-card ul li i {
    color: var(--mf-success);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.mf-path-card.featured ul li i {
    color: #4ade80;
}

/* ── 14. Por qué MindForce ───────────────────────────────────────── */
.mf-pillar {
    text-align: center;
    padding: 1.5rem 1rem;
}

.mf-pillar .pillar-icon {
    width: 64px;
    height: 64px;
    background: rgba(31,42,87,0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: var(--mf-navy);
}

.mf-pillar h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mf-pillar p {
    font-size: 0.88rem;
    color: var(--mf-gray);
    line-height: 1.6;
}

/* ── 15. Formulario ──────────────────────────────────────────────── */
.mf-form-wrap {
    background: #ffffff;
    border-radius: 0.875rem;
    padding: 2.5rem;
    box-shadow: var(--mf-shadow-lg);
    border: 1px solid var(--mf-border);
}

.mf-form-wrap .form-control,
.mf-form-wrap .form-select {
    border: 1.5px solid var(--mf-border);
    border-radius: 0.5rem;
    padding: 0.65rem 1rem;
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mf-form-wrap .form-control:focus,
.mf-form-wrap .form-select:focus {
    border-color: var(--mf-navy);
    box-shadow: 0 0 0 3px rgba(31,42,87,0.12);
    outline: none;
}

.mf-form-wrap label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--mf-slate);
    margin-bottom: 0.35rem;
}

/* ── 16. Footer ──────────────────────────────────────────────────── */
.mf-footer {
    background: var(--mf-navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 3.5rem 0 1.5rem;
}

.mf-footer .footer-logo img {
    filter: brightness(0) invert(1);
    height: 32px;
    opacity: 0.9;
}

.mf-footer h6 {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.mf-footer a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
    display: block;
    margin-bottom: 0.4rem;
}

.mf-footer a:hover {
    color: var(--mf-gold);
}

.mf-footer .footer-legal {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
}

.mf-footer .legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
    margin: 0.25rem;
}

/* ── 17. Misceláneos ─────────────────────────────────────────────── */
.text-gold { color: var(--mf-gold) !important; }
.text-navy { color: var(--mf-navy) !important; }
.bg-navy   { background-color: var(--mf-navy) !important; }

.mf-divider {
    height: 4px;
    width: 48px;
    background: var(--mf-gold);
    border-radius: 2px;
    margin: 0 auto 1.5rem;
}

.mf-divider.left { margin: 0 0 1.5rem; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Responsive tweaks */
@media (max-width: 768px) {
    .mf-hero { padding: 3.5rem 0 3rem; }
    .mf-section, .mf-section-light, .mf-section-navy { padding: 3.5rem 0; }
    .mf-form-wrap { padding: 1.75rem; }
    .mf-credibility .divider { display: none; }
}
