/* ===================================================================
   URU Consulting — Shared Stylesheet
   Sprint 7 extraction. Canonical declarations only.
   Page-specific overrides remain in each page's own <style> block.
   =================================================================== */

/* ── Design tokens ────────────────────────────────────────────────── */
:root {
  --ink:    #0C0C0B;
  --white:  #FAFAF8;
  --accent: #FF2400;
  --stone:  #8C8C84;
  --bg:     #F2F1EE;
  --mid:    #E0DED9;
  --pad:    80px;
}

/* ── Reset and base typography ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Typographic utilities ────────────────────────────────────────── */
.wordmark {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--ink);
}
.wordmark .consulting { color: var(--accent); }

.label {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
}

.stone { color: var(--stone); }

/* ── Layout primitives ────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 120px 0; }
.section-divider { border-top: 1px solid var(--mid); }

/* ── Navigation ───────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--mid);
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--pad);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }

/* ── Hamburger and mobile overlay ─────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--ink);
  opacity: 1;
  z-index: 200;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 48px;
  gap: 28px;
  overflow-y: auto;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color .2s;
}
.nav-overlay a:hover { color: var(--accent); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn-accent {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 22px;
  transition: opacity .2s;
}
.btn-accent:hover { opacity: .88; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 22px;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 16px 36px;
  flex-shrink: 0;
  transition: opacity .2s;
}
.btn-white:hover { opacity: .9; }

/* ── Footer (compact, used by all 24 pages) ───────────────────────── */
footer {
  background: var(--ink);
  padding: 56px 0 32px;
}
.footer-grid-compact {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-col-brand .footer-wordmark { color: var(--white); }
.footer-col-brand .footer-wordmark .consulting { color: var(--accent); }
.footer-tagline {
  font-size: .8rem;
  color: rgba(250,250,248,.4);
  line-height: 1.6;
  max-width: 240px;
}
.footer-entities {
  font-size: .75rem;
  color: rgba(250,250,248,.28);
  line-height: 1.8;
}
.footer-copy {
  font-size: .75rem;
  color: rgba(250,250,248,.28);
  margin-top: 6px;
}
.footer-col h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(250,250,248,.32);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  font-size: .82rem;
  color: rgba(250,250,248,.5);
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-address {
  font-size: .8rem;
  color: rgba(250,250,248,.4);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-address strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(250,250,248,.3);
  margin-bottom: 4px;
}
.footer-address a { color: rgba(250,250,248,.4); }
.footer-address a:hover { color: var(--white); }

.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: .8rem;
  color: rgba(250,250,248,.3);
  transition: color .2s;
}
.footer-legal a:hover { color: rgba(250,250,248,.65); }

/* ── Language switcher ────────────────────────────────────────────── */
.lang-switcher {
  display: flex;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone);
}
.lang-switcher span {
  cursor: pointer;
  transition: color .2s;
}
.lang-switcher span:hover,
.lang-switcher span.active-lang { color: var(--ink); }

/* ── Scroll reveal ────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Animation keyframes ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Loading and empty states (for Sprint 9 fallback removal) ─────── */
.loading-skeleton {
  padding: 60px 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
}
.no-results {
  padding: 60px 0;
  text-align: center;
  font-size: .9rem;
  color: var(--stone);
}
.no-results.error { color: var(--accent); }
.no-results button {
  margin-left: 12px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.no-results button:hover { background: var(--accent); color: var(--white); }

/* ── Responsive breakpoints ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid-compact { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --pad: 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid-compact { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-col-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid-compact { grid-template-columns: 1fr; gap: 24px; }
  footer { padding: 40px 0 24px; }
}
