
:root{
  --bg:#f5f5f5;
  --card:#ffffff;
  --muted:#6b7280;
  --text:#111827;
  --accent:#8b0000;
  --soft:#eeeeee;
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --radius:16px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.container{
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}

.site-header{
  background: var(--accent);
  color: #fff;
  padding: 22px 0;
}

.header-grid{
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:space-between;
}

h1{
  margin:0;
  letter-spacing:.2px;
  font-size: 1.8rem;
}

.subtitle{
  margin:.15rem 0 0 0;
  opacity:.9;
}

.lang-nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.pill{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  color:#fff;
  text-decoration:none;
  border: 1px solid rgba(255,255,255,.35);
  font-weight: 600;
  font-size: .95rem;
}
.pill:hover{ background: rgba(255,255,255,.12); }
.pill.active{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.55);
}

.hero{
  background:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.35)),
    url("../img/novajo-hero.jpg");
  background-size: cover;
  background-position:center;
  padding: 46px 0;
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}

.hero-card{
  background: rgba(255,255,255,.94);
  border-radius: var(--radius);
  padding: 18px 18px 14px 18px;
  box-shadow: var(--shadow);
}

.hero-card h2{ margin:0 0 8px 0; font-size: 1.55rem; }
.hero-card p{ margin:0 0 14px 0; color:#1f2937; }

.hero-stats{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}

.stat{
  display:flex;
  justify-content:space-between;
  gap:12px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
}
.stat .k{ color: var(--muted); font-weight: 600; }
.stat .v{ font-weight: 700; }

.hero-figure{
  margin:0;
  background: rgba(255,255,255,.94);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
}
.hero-figure img{
  width:100%;
  height:100%;
  max-height: 280px;
  object-fit:cover;
  display:block;
}
figcaption{
  padding: 10px 12px;
  color: var(--muted);
  font-size: .92rem;
  border-top: 1px solid #e5e7eb;
  background:#fff;
}

main section{
  background: var(--card);
  padding: 34px 0;
  border-top: 1px solid #e5e7eb;
}
main section.alt{
  background: var(--soft);
}

.section-head{
  margin-bottom: 16px;
}
.section-head h2{
  margin:0 0 6px 0;
  font-size: 1.55rem;
}
.lead{
  margin:0;
  color: var(--muted);
}

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.card{
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  border: 1px solid #e5e7eb;
}

.media{
  margin:0;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid #e5e7eb;
  background:#fff;
}
.media img{
  width:100%;
  height: 320px;
  object-fit: cover;
  display:block;
}

.callout{
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}
.callout.warning{
  background: #fff7ed;
  border-color: #fed7aa;
}

.bullets{
  margin: 10px 0 0 0;
  padding-left: 18px;
}
.bullets li{ margin: 8px 0; }

table.spec{
  width:100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow:hidden;
}
table.spec td{
  padding: 10px 10px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}
table.spec tr:last-child td{ border-bottom:none; }
table.spec td:first-child{
  color: var(--muted);
  font-weight: 700;
  width: 38%;
}

.fine{
  margin-top: 10px;
  color: var(--muted);
  font-size: .92rem;
}

.timeline{
  margin-top: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 14px;
}
.tl-item{
  display:grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  padding: 10px 0;
}
.tl-item + .tl-item{
  border-top: 1px dashed #e5e7eb;
}
.tl-dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 4px;
}
.tl-title{
  font-weight: 800;
}
.tl-text{
  color: #374151;
}

.sources ul{
  margin: 0;
  padding-left: 18px;
}
.sources li{ margin: 8px 0; }
.sources a{
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.sources a:hover{ text-decoration: underline; }

.site-footer{
  background: #111827;
  color:#fff;
  padding: 18px 0;
}
.footer-grid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
}

@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .media img{ height: 280px; }
}

.gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.g-item{
  margin:0;
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow);
}

.g-item a{ display:block; text-decoration:none; color:inherit; }

.g-item img{
  width:100%;
  height: 230px;
  object-fit: cover;
  display:block;
  transition: transform .2s ease;
}
.g-item:hover img{ transform: scale(1.02); }

.g-item figcaption{
  border-top: 1px solid #e5e7eb;
  background:#fff;
  padding: 10px 12px;
  font-size: .9rem;
  color: var(--muted);
}

@media (max-width: 900px){
  .gallery{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .gallery{ grid-template-columns: 1fr; }
  .g-item img{ height: 260px; }
}
