/* ==========================================================================
   MYFOODPERÚ — SISTEMA DE DISEÑO EDITORIAL CLARO (FASE 0)
   Estética: Alta Gastronomía / Hospitalidad Corporativa
   ========================================================================== */

:root {
    /* Superficies claras cálidas (tipo papel de carta / alabastro) */
    --mfp-bg: #FAF9F6;
    --mfp-surface: #FFFFFF;
    --mfp-surface-subtle: #F3F1EC;
    --mfp-surface-dark: #111315;
    --mfp-surface-dark-soft: #1B1E22;

    /* Tintas y tipografía */
    --mfp-ink: #111315;
    --mfp-ink-secondary: #4B5260;
    --mfp-ink-muted: #717886;

    /* Acento corporativo (Verde Esmeralda sobrio derivado de tu logo) */
    --mfp-accent: #047857;
    --mfp-accent-hover: #065F46;
    --mfp-accent-soft: #ECFDF5;
    --mfp-accent-border: rgba(4, 120, 87, 0.22);

    /* Estados sutiles */
    --mfp-danger-soft: #FEF2F2;
    --mfp-danger-ink: #991B1B;
    --mfp-warn-soft: #FFFBEB;
    --mfp-warn-ink: #92400E;

    /* Bordes finos arquitectónicos */
    --mfp-border: rgba(17, 19, 21, 0.09);
    --mfp-border-strong: rgba(17, 19, 21, 0.16);

    /* Sombras discretas y realistas */
    --mfp-shadow-xs: 0 1px 2px rgba(17, 19, 21, 0.04);
    --mfp-shadow-sm: 0 4px 16px rgba(17, 19, 21, 0.04), 0 1px 3px rgba(17, 19, 21, 0.03);
    --mfp-shadow-md: 0 16px 40px -12px rgba(17, 19, 21, 0.09), 0 2px 6px rgba(17, 19, 21, 0.03);
    --mfp-shadow-lg: 0 28px 64px -18px rgba(17, 19, 21, 0.14);

    /* Radios y fuentes */
    --mfp-radius-sm: 8px;
    --mfp-radius-md: 14px;
    --mfp-radius-lg: 20px;
    --mfp-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mfp-font-serif: 'Playfair Display', Georgia, serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.mfp-editorial {
    font-family: var(--mfp-font-sans);
    background-color: var(--mfp-bg);
    color: var(--mfp-ink);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tipografía editorial */
.font-editorial {
    font-family: var(--mfp-font-serif);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.tabular-nums {
    font-variant-numeric: tabular-nums;
}

.eyebrow-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mfp-accent);
    background: var(--mfp-surface);
    border: 1px solid var(--mfp-border);
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: var(--mfp-shadow-xs);
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--mfp-accent);
    display: inline-block;
}

/* Botones refinados (sin sombras neón ni degradados chillones) */
.btn-editorial-primary {
    background-color: var(--mfp-ink);
    color: #FFFFFF !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1px solid var(--mfp-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-editorial-primary:hover {
    background-color: var(--mfp-accent);
    border-color: var(--mfp-accent);
    transform: translateY(-1px);
    box-shadow: var(--mfp-shadow-sm);
}

.btn-editorial-accent {
    background-color: var(--mfp-accent);
    color: #FFFFFF !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1px solid var(--mfp-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-editorial-accent:hover {
    background-color: var(--mfp-accent-hover);
    border-color: var(--mfp-accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--mfp-shadow-sm);
}

.btn-editorial-outline {
    background-color: var(--mfp-surface);
    color: var(--mfp-ink) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1px solid var(--mfp-border-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.btn-editorial-outline:hover {
    border-color: var(--mfp-ink);
    background-color: var(--mfp-surface-subtle);
    transform: translateY(-1px);
}

.btn-editorial-ghost-dark {
    background-color: rgba(255, 255, 255, 0.08);
    color: #FFFFFF !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-editorial-ghost-dark:hover {
    background-color: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.38);
}

/* Navbar Editorial */
.navbar-editorial {
    background: rgba(250, 249, 246, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--mfp-border);
    padding: 14px 0;
    z-index: 1030;
}

.brand-wordmark {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
    color: var(--mfp-ink);
    text-decoration: none;
}

.brand-wordmark span {
    color: var(--mfp-accent);
}

.nav-link-editorial {
    color: var(--mfp-ink-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px !important;
    transition: color 0.18s ease;
}

.nav-link-editorial:hover {
    color: var(--mfp-ink) !important;
}

/* Superficies y Tarjetas */
.editorial-card {
    background: var(--mfp-surface);
    border: 1px solid var(--mfp-border);
    border-radius: var(--mfp-radius-lg);
    box-shadow: var(--mfp-shadow-sm);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.editorial-card:hover {
    border-color: var(--mfp-border-strong);
    box-shadow: var(--mfp-shadow-md);
}

.icon-box-editorial {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--mfp-surface-subtle);
    border: 1px solid var(--mfp-border);
    color: var(--mfp-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-box-editorial svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.65;
}

/* Secciones alternadas */
.section-band {
    padding: 92px 0;
}

.section-band-subtle {
    background-color: var(--mfp-surface-subtle);
    border-top: 1px solid var(--mfp-border);
    border-bottom: 1px solid var(--mfp-border);
}

/* Iconos Lucide inline */
.ico-sm {
    width: 16px;
    height: 16px;
    stroke-width: 1.75;
    flex-shrink: 0;
}

.ico-xs {
    width: 14px;
    height: 14px;
    stroke-width: 1.9;
    flex-shrink: 0;
}

/* Utilidad de separador */
.editorial-divider {
    border: 0;
    border-top: 1px solid var(--mfp-border);
    margin: 0;
}