/* AMV Solutions — institutional site. Identity: petrol green + warm off-white.
   No frameworks, no webfonts, no client JS. */

:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --ink: #16232d;
  --muted: #45535d;
  --line: #e2e6e2;
  --accent: #0f5156;
  --accent-strong: #0b3f43;
  --accent-soft: #e5efee;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 10;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

a { color: var(--accent); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  max-width: 66rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand svg { display: block; }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--ink); text-decoration: underline; }

.lang-switch {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent) !important;
  background: var(--surface);
}

.lang-switch:hover { border-color: var(--accent); text-decoration: none !important; }

@media (max-width: 720px) {
  .site-nav a:not(.lang-switch) { display: none; }
}

/* Hero */
.hero { padding: 5.5rem 0 4.5rem; }

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
  max-width: 21ch;
}

.hero .lede {
  margin-top: 1.4rem;
  font-size: 1.17rem;
  color: var(--muted);
  max-width: 54ch;
}

.cta-row {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
}

.btn:hover { background: var(--accent-strong); }

.btn svg { flex: none; }

.link-quiet {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.link-quiet:hover { text-decoration: underline; }

/* Sections */
section { padding: 4.25rem 0; }

section + section { border-top: 1px solid var(--line); }

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  letter-spacing: -0.018em;
  line-height: 1.2;
}

.section-lede {
  margin-top: 0.8rem;
  color: var(--muted);
  max-width: 52ch;
}

/* Services grid */
.cards {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.75rem 1.6rem;
}

.card h3 {
  font-size: 1.13rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.7rem;
}

.card p { color: var(--muted); font-size: 0.98rem; }

.card .tool-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.card-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.18rem 0.7rem;
  margin-bottom: 0.85rem;
}

/* Process steps */
.steps {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.6rem 1.5rem;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.steps h3 { font-size: 1.08rem; margin-bottom: 0.55rem; }

.steps p { color: var(--muted); font-size: 0.96rem; }

/* About */
.about-copy {
  margin-top: 1.6rem;
  max-width: 62ch;
  display: grid;
  gap: 1.1rem;
}

.about-copy p { color: var(--ink); }

.about-copy .fact { color: var(--muted); }

/* Contact */
.contact { text-align: left; }

.contact .cta-row { margin-top: 1.8rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 2.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
}

.site-footer nav {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
}

.site-footer a { color: var(--muted); }

.site-footer a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .hero { padding: 3.75rem 0 3.25rem; }
  section { padding: 3.25rem 0; }
  .site-footer nav { margin-left: 0; }
}
