/* ============================================================
   Nativo Group — site styles
   Palette drawn from the capability statement:
   ochre #DD6202 (logo emblem) · charcoal #26221F (logo text)
   rust #7B3A14 (artwork) · warm neutrals
   ============================================================ */

:root {
  --ochre: #DD6202;
  --ochre-dark: #B44F02;
  --rust: #7B3A14;
  --ink: #26221F;
  --ink-soft: #4A443F;
  --line: #E6DFD8;
  --tint: #F8F4EF;
  --paper: #FFFFFF;
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: "Archivo", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem;
}

img { max-width: 100%; display: block; }

a { color: var(--ochre-dark); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand .mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--ochre);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.brand .word {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand .word em {
  font-style: normal;
  color: var(--ochre);
}

.nav { display: flex; gap: 1.75rem; align-items: center; }
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ochre);
}
.nav .cta {
  background: var(--ochre);
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
  border-bottom: none;
  font-weight: 600;
}
.nav .cta:hover { background: var(--ochre-dark); color: #fff; }

.menu-toggle { display: none; }

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0.45rem 0.7rem;
    font: inherit;
    color: var(--ink);
    cursor: pointer;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.25rem;
    gap: 0.9rem;
  }
  .nav.open { display: flex; }
}

/* ---------- hero (home) ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 560px;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  align-self: center;
  padding: 4.5rem 3rem 4.5rem max(1.5rem, calc((100vw - var(--max)) / 2 + 1.5rem));
}
.hero-copy .mono { color: var(--rust); margin-bottom: 1.25rem; }
.hero-copy h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
  max-width: 13ch;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--ochre);
}
.hero-copy p { max-width: 46ch; color: var(--ink-soft); margin-bottom: 2rem; }
.hero-art {
  background: url("assets/hero.jpg") center / cover no-repeat;
  min-height: 320px;
}

.btn {
  display: inline-block;
  background: var(--ochre);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
}
.btn:hover { background: var(--ochre-dark); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  margin-left: 0.75rem;
}
.btn.ghost:hover { border-color: var(--ochre); color: var(--ochre-dark); background: transparent; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 3rem 1.5rem; }
  .hero-art { order: -1; min-height: 220px; }
  .btn.ghost { margin-left: 0; margin-top: 0.6rem; }
}

/* ---------- stats band ---------- */
.stats {
  background: var(--ink);
  color: #fff;
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}
.stat b {
  display: block;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ochre);
  line-height: 1.1;
}
.stat span { color: #CFC7BF; font-size: 0.95rem; }
@media (max-width: 700px) {
  .stats .wrap { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---------- sections ---------- */
.section { padding: 5rem 0; }
.section.tint { background: var(--tint); }
.section.dark { background: var(--ink); color: #fff; }
.section .eyebrow { color: var(--rust); display: block; margin-bottom: 0.9rem; }
.section.dark .eyebrow { color: var(--ochre); }
.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  max-width: 24ch;
  margin-bottom: 1.1rem;
}
.section .lede { max-width: 62ch; color: var(--ink-soft); }
.section.dark .lede { color: #CFC7BF; }

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.75rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; font-weight: 650; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card .mono { color: var(--rust); display: block; margin-bottom: 0.85rem; }

/* service detail rows */
.service-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}
.service-row:first-of-type { border-top: none; }
.service-row h3 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.01em; }
.service-row .mono { color: var(--rust); display: block; margin-bottom: 0.7rem; }
.service-row p { color: var(--ink-soft); margin-bottom: 0.9rem; }
.service-row ul { padding-left: 1.2rem; color: var(--ink-soft); }
.service-row li { margin-bottom: 0.45rem; }
@media (max-width: 820px) {
  .service-row { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---------- sectors chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.chips span {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- leadership ---------- */
.leader {
  border: 1px solid var(--line);
  border-left: 4px solid var(--ochre);
  border-radius: 6px;
  padding: 2rem;
  max-width: 640px;
  margin-top: 2.5rem;
  background: var(--paper);
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}
.leader img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.leader h3 { font-size: 1.3rem; font-weight: 700; }
.leader .role { color: var(--rust); margin: 0.2rem 0 1rem; }
.leader p { color: var(--ink-soft); }
@media (max-width: 500px) {
  .leader { flex-direction: column; }
}

/* ---------- credentials ---------- */
.creds { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center; margin-top: 2.5rem; }
.creds .cred-text { font-size: 0.95rem; color: var(--ink-soft); max-width: 30ch; }

/* ---------- contact ---------- */
.contact-block { margin-top: 2.25rem; }
.contact-block dt { font-weight: 650; margin-top: 1.4rem; }
.contact-block dd { color: var(--ink-soft); }
.contact-block dd a { color: var(--ochre-dark); text-decoration: none; font-weight: 600; }
.contact-block dd a:hover { text-decoration: underline; }
.contact-card {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2rem;
}
.contact-card h3 { margin-bottom: 0.4rem; }
.contact-card .big {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  margin: 0.5rem 0;
  color: var(--ink);
  text-decoration: none;
}
.contact-card .big:hover { color: var(--ochre-dark); }
.locations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.locations .card b { display: block; font-size: 1.1rem; margin-bottom: 0.25rem; }
@media (max-width: 700px) { .locations { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--rust); color: #fff; }
.cta-band .wrap {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; max-width: 26ch; }
.cta-band .btn { background: #fff; color: var(--rust); }
.cta-band .btn:hover { background: var(--tint); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #B7AFA7; font-size: 0.92rem; }
.site-footer .wrap {
  padding-top: 3rem;
  padding-bottom: 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer .brand .word { color: #fff; }
.site-footer p { margin-top: 1rem; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.8rem; }
.site-footer a { color: #DDD5CC; text-decoration: none; }
.site-footer a:hover { color: var(--ochre); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-note {
  border-top: 1px solid #3B352F;
  padding: 1.1rem 0;
  text-align: center;
  font-size: 0.83rem;
  color: #8F877F;
}
@media (max-width: 760px) {
  .site-footer .wrap { grid-template-columns: 1fr; gap: 1.75rem; }
}
