/*
Theme Name: SM Nambija Recuperación Rápida
Theme URI: https://smnambijabajo.com/
Author: SM Nambija
Description: Tema clásico, ligero y limpio para recuperar rápidamente el sitio institucional de Sociedad Minera de Hecho Nambija Bajo.
Version: 1.0.0
Text Domain: sm-nambija
*/
:root {
  --sm-ink: #1f2933;
  --sm-muted: #64748b;
  --sm-gold: #c79222;
  --sm-gold-dark: #a66f05;
  --sm-paper: #ffffff;
  --sm-soft: #f6f7f7;
  --sm-line: #e5e7eb;
  --sm-max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; color:var(--sm-ink); background:var(--sm-paper); font-family: Arial, Helvetica, sans-serif; line-height:1.6; }
a { color: inherit; }
img { max-width:100%; height:auto; }
.sm-container { width:min(var(--sm-max), calc(100% - 40px)); margin-inline:auto; }
.sm-site-header { border-bottom:1px solid var(--sm-line); background:#fff; position:sticky; top:0; z-index:20; }
.sm-header-row { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:86px; }
.sm-brand { display:flex; align-items:center; min-width:0; gap:14px; text-decoration:none; }
.sm-brand .custom-logo-link { display:flex; align-items:center; }
.sm-brand .custom-logo { width:84px; height:auto; max-height:70px; object-fit:contain; }
.sm-brand-title { font-size:clamp(1rem, 2vw, 1.35rem); font-weight:800; line-height:1.2; }
.sm-brand-subtitle { color:var(--sm-muted); font-size:.82rem; margin-top:3px; }
.sm-primary-menu { margin:0; padding:0; list-style:none; display:flex; align-items:center; flex-wrap:wrap; gap:4px 10px; }
.sm-primary-menu li { margin:0; }
.sm-primary-menu a { text-decoration:none; padding:10px 8px; display:block; font-weight:700; font-size:.95rem; border-radius:6px; }
.sm-primary-menu a:hover, .sm-primary-menu .current-menu-item > a { color:var(--sm-gold-dark); background:#fff8e7; }
.sm-hero { min-height:480px; display:grid; place-items:center; background:linear-gradient(135deg, #1d2a32, #425a62); background-size:cover; background-position:center; position:relative; isolation:isolate; }
.sm-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(18,26,30,.86), rgba(18,26,30,.52)); z-index:-1; }
.sm-hero-content { color:#fff; padding:86px 0; max-width:780px; }
.sm-eyebrow { color:#f6d583; text-transform:uppercase; font-weight:800; letter-spacing:.13em; font-size:.78rem; margin:0 0 12px; }
.sm-hero h1 { margin:0; font-size:clamp(2.2rem, 5vw, 4.6rem); line-height:1.03; }
.sm-hero p { margin:18px 0 0; max-width:700px; font-size:clamp(1rem, 2.2vw, 1.3rem); }
.sm-button { display:inline-block; margin-top:28px; padding:12px 18px; border-radius:7px; background:var(--sm-gold); color:#1a1a1a; text-decoration:none; font-weight:800; }
.sm-button:hover { background:#f6d583; }
.sm-section { padding:68px 0; }
.sm-section--soft { background:var(--sm-soft); }
.sm-section-title { margin:0 0 14px; font-size:clamp(1.7rem, 3vw, 2.5rem); }
.sm-lead { color:#334155; font-size:1.12rem; max-width:800px; }
.sm-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; margin-top:28px; }
.sm-card { background:#fff; border:1px solid var(--sm-line); border-top:4px solid var(--sm-gold); border-radius:10px; padding:24px; box-shadow:0 12px 30px rgba(15,23,42,.05); }
.sm-card h3 { margin:0 0 10px; font-size:1.2rem; }
.sm-card p { margin:0; color:#475569; }
.sm-card a { color:var(--sm-gold-dark); font-weight:800; text-decoration:none; }
.sm-content { padding:64px 0; }
.sm-entry { max-width:860px; }
.sm-entry h1 { line-height:1.15; font-size:clamp(2rem, 4vw, 3.4rem); }
.sm-entry .wp-post-image { border-radius:12px; margin-bottom:28px; }
.sm-entry p { font-size:1.08rem; }
.sm-site-footer { background:#172027; color:#e5e7eb; padding:34px 0; }
.sm-footer-row { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.sm-footer-row p { margin:0; }
.screen-reader-text { position:absolute; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); height:1px; width:1px; overflow:hidden; white-space:nowrap; }
@media (max-width: 820px) {
  .sm-header-row { align-items:flex-start; padding:16px 0; flex-direction:column; }
  .sm-primary-menu a { padding:6px 8px; }
  .sm-grid { grid-template-columns:1fr; }
  .sm-hero { min-height:420px; }
}
