/* Medusa UI theme overlay for JCO Exports landing
   Loads after style.css and re-skins the brand layer with Medusa design tokens. */

:root {
    /* Remap brand palette to Medusa UI values */
    --blue: #3b82f6;         /* bg-interactive */
    --blue-light: #3b82f6;
    --red: #e11d48;          /* button-danger */
    --green: #27272a;        /* button-inverted (primary) */
    --green-dark: #3f3f46;   /* button-inverted-hover */
    --black: #18181b;        /* fg-base */
    --dark-gray: #3f3f46;
    --medium-gray: #71717a;  /* fg-muted */
    --light-gray: #fafafa;   /* bg-subtle */

    --border-base: #e4e4e7;
    --border-strong: #d4d4d8;
    --bg-subtle: #fafafa;
    --fg-base: #18181b;
    --fg-muted: #71717a;
    --fg-subtle: #52525b;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-card: 0 1px 2px rgba(24, 24, 27, .06), 0 1px 3px rgba(24, 24, 27, .05);
}

body {
    font-family: 'Inter', 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--fg-base);
    -webkit-font-smoothing: antialiased;
}

/* ---------- NAVBAR ---------- */
.navbar {
    background: #fff;
    border-bottom: 1px solid var(--border-base);
}
.nav-link {
    font-weight: 500;
    letter-spacing: 0;
    color: var(--fg-base);
}
.nav-link:hover { opacity: .55; }
.social-icons a:hover { opacity: .55; }

/* ---------- BUTTONS ---------- */
.btn {
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
}
.btn-green,
.btn-black {
    background: var(--green);
    color: #fff;
}
.btn-green:hover,
.btn-black:hover {
    background: var(--green-dark);
}

/* ---------- HERO ---------- */
.hero-title {
    font-weight: 700;
    letter-spacing: -.02em;
}
.hero-subtitle { color: var(--fg-muted); }
.feature-tag { font-weight: 500; color: var(--fg-base); }

/* ---------- SECTION HEADINGS ---------- */
.section-title {
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--fg-base);
}
.section-subtitle { color: var(--fg-muted); }

/* ---------- SEDES / SURFACES ---------- */
.sedes-section,
.procesos-section,
.nosotros-section {
    border-top: 1px solid var(--border-base);
    border-bottom: 1px solid var(--border-base);
}
.procesos-section { border-bottom: none; }
.divider-line,
.marca-divider { background: var(--border-base); }

/* ---------- ICONOS (banda oscura estilo Medusa) ---------- */
.iconos-section {
    background: #18181b;
    padding: 40px 24px;
}
.icono-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
}
.icono-label { font-weight: 500; }

/* ---------- PRODUCTS ---------- */
.section-badge { color: var(--red); font-weight: 600; }
.section-badge .star path,
.product-badge .star path { fill: var(--red); }

.product-card {
    border: 1px solid var(--border-base);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(24, 24, 27, .10);
}
.product-image {
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border-base);
}
.product-badge {
    border: 1px solid var(--border-base);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(24, 24, 27, .12);
    font-weight: 600;
    color: var(--red);
}
.product-name { font-weight: 600; }
.product-desc { color: var(--fg-muted); }
.product-price { color: var(--fg-base); font-weight: 600; }
.product-add-btn {
    background: var(--green);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 500;
}
.product-add-btn:hover { filter: none; background: var(--green-dark); }

/* ---------- CARRITO ---------- */
.cart-fab {
    background: var(--green);
    box-shadow: 0 6px 20px rgba(24, 24, 27, .28);
}
.cart-count { background: var(--red); }
.cart-drawer { box-shadow: -10px 0 30px rgba(24, 24, 27, .18); }
.cart-header,
.cart-footer { border-color: var(--border-base); }
.cart-header h3 { font-weight: 600; }
.cart-close {
    background: var(--bg-subtle);
    border: 1px solid var(--border-base);
    border-radius: var(--radius);
}
.cart-item { border-bottom: 1px solid var(--border-base); }
.cart-item-name { font-weight: 600; }
.cart-item-price { color: var(--fg-base); font-weight: 600; }
.cart-item-actions button {
    border: 1px solid var(--border-base);
    border-radius: var(--radius);
    font-weight: 500;
}
.cart-item-actions .cart-item-del { border-color: transparent; color: var(--red); }
.cart-item-total { color: var(--fg-muted); font-weight: 500; }
.cart-total { font-weight: 600; }
.cart-checkout {
    border-radius: var(--radius);
    font-weight: 500;
}

/* ---------- TOAST ---------- */
.page-toast {
    background: #fff;
    color: var(--fg-base);
    border: 1px solid var(--border-base);
    border-left: 3px solid #10b981;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(24, 24, 27, .14);
    font-weight: 500;
}

/* ---------- PROCESOS ---------- */
.procesos-icon { background: var(--green); }
.procesos-title { font-weight: 700; }

/* ---------- MARCAS ---------- */
.marcas-title { color: var(--fg-base); font-weight: 700; }

/* ---------- NOSOTROS ---------- */
.nosotros-image img { border-radius: var(--radius-lg); }
.nosotros-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--fg-muted);
}
.nosotros-title { font-weight: 700; }
.nosotros-text { color: var(--fg-muted); }
.feature-icon { background: #27272a08; }
.feature-label { font-weight: 600; }

/* ---------- CONTACTO / FOOTER ---------- */
.contacto-bar,
.footer { background: #18181b; }
.contacto-item { font-weight: 500; }
.contacto-item i { color: var(--blue); }
.footer { color: rgba(255, 255, 255, .56); }
