:root {
  --ink: #111;
  --muted: #5b5f66;
  --line: #e5e7eb;
  --bg: #fff;
  --bg-soft: #f6f6f7;
  --accent: #ed1c24;
  --accent-dark: #c4121a;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.logo img { height: 2.25rem; width: auto; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 6px;
  padding: .5rem .75rem; font: inherit; cursor: pointer;
}
.nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-block; padding: .8rem 1.5rem; border-radius: 6px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { border-color: var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }

/* Hero */
.hero { padding: clamp(4rem, 12vw, 9rem) 0; }
.eyebrow {
  color: var(--accent); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: .8rem; margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4rem); line-height: 1.08;
  letter-spacing: -.02em; margin: 0 0 1.25rem; max-width: 18ch;
}
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 55ch; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-soft { background: var(--bg-soft); }
.section h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -.01em; margin: 0 0 .75rem; }
.section-intro { color: var(--muted); max-width: 60ch; margin: 0 0 2.5rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-services { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-values { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 2.5rem; }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 1.75rem; border-top: 3px solid var(--ink);
  transition: border-top-color .15s, transform .15s;
}
.card:hover { border-top-color: var(--accent); transform: translateY(-2px); }
.card h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }

.about-text { max-width: 65ch; color: var(--muted); font-size: 1.1rem; }
.value h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.value h3::before { content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); margin-right: .6rem; }
.value p { margin: 0; color: var(--muted); }

/* Contact band */
.contact-band { background: var(--ink); color: #fff; text-align: center; }
.contact-band p { color: #c9ccd1; margin: 0 auto 2rem; max-width: 50ch; }

/* Footer */
.site-footer { background: #0a0a0a; color: #c9ccd1; padding: 3rem 0 2rem; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.footer-inner img { height: 2.25rem; width: auto; margin-bottom: 1rem; }
.footer-inner p { margin: .25rem 0; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: #fff; text-decoration: underline; }
.copyright { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #262626; font-size: .85rem; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound h1 { font-size: clamp(3rem, 10vw, 6rem); margin: 0; color: var(--accent); }

/* Mobile nav */
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

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