/*
 * krakryp/assets/css/mercado.css
 * Estilos de la sección "Mercado" (Krakryp B2B: pagos internacionales con stablecoins).
 * Todas las clases usan el prefijo .mk- para no interferir con el resto del sitio.
 */

.mk-page {
    --mk-gold: #DAA520;
    --mk-gold-light: #FFD700;
    --mk-gold-soft: #fdf6e3;
    --mk-ink: #2c3e50;
    --mk-ink-2: #34495e;
    --mk-muted: #6c7a89;
    --mk-line: #e6e9ec;
    --mk-bg: #f4f7f6;
    --mk-white: #ffffff;
    --mk-dark: #1f2d3a;
    --mk-radius: 16px;

    color: var(--mk-ink);
}

/* ---------- Tipografía común ---------- */
.mk-page h2 {
    font-weight: 700;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: .75rem;
}

.mk-page h3 {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: .5rem;
}

.mk-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mk-gold);
    margin-bottom: .75rem;
}

/* ---------- Hero ---------- */
.mk-hero {
    background: linear-gradient(135deg, var(--mk-dark) 0%, var(--mk-ink) 100%);
    color: var(--mk-white);
    padding: clamp(3rem, 8vw, 6rem) 0;
    position: relative;
    overflow: hidden;
}

.mk-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, .25), transparent 70%);
    pointer-events: none;
}

.mk-hero .mk-eyebrow { color: var(--mk-gold-light); }

.mk-hero-title {
    font-weight: 700;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.12;
    max-width: 820px;
    margin-bottom: 1.25rem;
}

.mk-hero-lead {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    max-width: 720px;
    color: rgba(255, 255, 255, .82);
    margin-bottom: 2rem;
}

.mk-hero-lead strong { color: var(--mk-gold-light); }

.mk-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mk-tags li {
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50px;
    padding: .45rem 1rem;
    font-size: .9rem;
    font-weight: 600;
    background: rgba(255, 255, 255, .06);
}

.mk-tags i { color: var(--mk-gold-light); margin-right: .35rem; }

.mk-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2.25rem;
}

/* ---------- Botones ---------- */
.mk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .98rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s, color .2s;
}

.mk-btn:hover { transform: translateY(-2px); }
.mk-btn:focus-visible { outline: 3px solid var(--mk-gold-light); outline-offset: 3px; }

.mk-btn--gold {
    background: linear-gradient(45deg, var(--mk-gold-light), var(--mk-gold));
    color: var(--mk-ink);
}

.mk-btn--gold:hover { color: var(--mk-ink); box-shadow: 0 8px 20px rgba(218, 165, 32, .35); }

.mk-btn--ghost {
    border-color: rgba(255, 255, 255, .4);
    color: var(--mk-white);
}

.mk-btn--ghost:hover { color: var(--mk-white); border-color: var(--mk-gold-light); background: rgba(255, 255, 255, .06); }

.mk-btn--dark {
    background: var(--mk-ink);
    color: var(--mk-white);
}

.mk-btn--dark:hover { color: var(--mk-gold-light); box-shadow: 0 8px 20px rgba(44, 62, 80, .3); }

/* ---------- Secciones ---------- */
.mk-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    scroll-margin-top: 20px;
}

.mk-section--alt { background: var(--mk-white); }

.mk-section-head {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

/* ---------- Tarjetas de enfoque ---------- */
.mk-card {
    border-radius: var(--mk-radius);
    padding: 2rem;
    border: 1px solid var(--mk-line);
    background: var(--mk-white);
}

.mk-card p { color: var(--mk-muted); margin: 0; }

.mk-card--accent {
    border: 2px solid var(--mk-gold);
    background: var(--mk-gold-soft);
}

.mk-card--accent p { color: var(--mk-ink-2); }

/* Bloque de enfoque: una sola tarjeta a lo ancho, centrada */
.mk-focus {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(1.75rem, 4vw, 2.75rem);
}

.mk-focus .mk-icon { margin: 0; width: 56px; height: 56px; font-size: 1.4rem; }
.mk-focus h2 { margin-bottom: .6rem; }
.mk-focus p { font-size: 1.08rem; line-height: 1.6; }

.mk-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .9rem;
}

.mk-label--yes { color: #8a6d0b; }

/* ---------- Funcionalidades ---------- */
.mk-feature {
    height: 100%;
    padding: 1.75rem;
    border-radius: var(--mk-radius);
    border: 1px solid var(--mk-line);
    background: var(--mk-bg);
    transition: transform .25s ease, box-shadow .25s ease;
}

.mk-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(44, 62, 80, .08);
}

.mk-feature p { color: var(--mk-muted); margin: 0; }

.mk-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(45deg, var(--mk-gold-light), var(--mk-gold));
    color: var(--mk-ink);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.mk-icon--sm {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    border-radius: 10px;
    margin: 0;
}

.mk-highlight {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 1.75rem;
    border-radius: var(--mk-radius);
    background: var(--mk-ink);
    color: var(--mk-white);
    font-size: 1.1rem;
    line-height: 1.5;
}

.mk-highlight p { margin: 0; }
.mk-highlight strong { color: var(--mk-gold-light); }

.mk-highlight-label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin-bottom: .5rem;
}

/* ---------- Cierre / propuesta de valor ---------- */
.mk-cta {
    padding: clamp(3rem, 7vw, 5.5rem) 0;
    background: linear-gradient(45deg, var(--mk-gold-light), var(--mk-gold));
    text-align: center;
}

.mk-cta .mk-eyebrow { color: var(--mk-ink); }

.mk-cta-quote {
    font-size: clamp(1.2rem, 2.4vw, 1.75rem);
    font-weight: 700;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto 2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 575.98px) {
    .mk-focus { flex-direction: column; gap: 1rem; }
    .mk-card { padding: 1.5rem; }
    .mk-hero-actions .mk-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .mk-feature, .mk-btn { transition: none; }
    .mk-feature:hover, .mk-btn:hover { transform: none; }
}

html { scroll-behavior: smooth; }
