/* InstallateurInDeBuurt.be — local-first HVAC intake site */
:root {
  --paper: #f5f1ea;
  --paper-2: #ece6da;
  --paper-3: #e8e2d4;
  --ink: #1a1a1a;
  --ink-2: #2b2b2b;
  --ink-3: #4b4843;
  --ink-mute: #6f6b62;
  --line: #dcd5c7;
  --line-soft: #e8e2d4;
  --line-strong: #c9c0ad;

  --navy: #1f3a5f;
  --navy-2: #16284a;
  --navy-soft: #e5eaf1;

  --accent: #c8553d;
  --accent-deep: #a8412c;
  --accent-soft: #f5ddd2;

  --green: #4f6b47;
  --green-soft: #dde5d8;
  --gold: #c8a24a;
  --gold-soft: #f1e5c5;

  --ok: #2f7d52;
  --ok-soft: #dbebdf;

  --shadow-sm: 0 1px 2px rgba(20, 18, 12, 0.06), 0 2px 6px rgba(20, 18, 12, 0.04);
  --shadow-md: 0 2px 8px rgba(20, 18, 12, 0.06), 0 12px 28px rgba(20, 18, 12, 0.08);
  --shadow-lg: 0 8px 24px rgba(20, 18, 12, 0.1), 0 24px 60px rgba(20, 18, 12, 0.12);

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --r-xl: 22px;

  --container: 1200px;
  --gutter: 24px;

  --display: "Archivo", "Inter Tight", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(34px, 4.4vw, 56px);
}

h2 {
  font-size: clamp(26px, 2.8vw, 40px);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 19px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
}

.lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 60ch;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 234, 0.86);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}

.header-strip {
  background: var(--ink);
  color: #e8e2d4;
  font-size: 12.5px;
}

.header-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.strip-left {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.strip-left .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4faa6d;
  box-shadow: 0 0 0 3px rgba(79, 170, 109, 0.18);
}

.strip-left span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
}

.strip-right {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0.7;
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 9px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(168, 65, 44, 0.18);
}

.accent-text {
  color: var(--accent);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 14.5px;
  color: var(--ink-3);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.lang:hover {
  border-color: var(--line-strong);
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
  }
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--r);
  padding: 13px 18px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.08s, box-shadow 0.15s;
  background: var(--ink);
  color: #fff;
}

.button:hover {
  background: var(--ink-2);
}

.button:active {
  transform: translateY(1px);
}

.button.green {
  background: var(--accent);
  color: #fff;
}

.button.green:hover {
  background: var(--accent-deep);
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-deep);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}

.button.secondary:hover {
  background: var(--paper-2);
}

.button.lg {
  padding: 16px 22px;
  font-size: 16px;
}

.button.sm {
  padding: 10px 14px;
  font-size: 13px;
}

.button:focus-visible {
  outline: 3px solid rgba(200, 85, 61, 0.32);
  outline-offset: 2px;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border-bottom: 1px solid var(--line-soft);
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px var(--gutter) 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px var(--gutter) 56px;
  }
}

.local-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.flag-mini {
  display: inline-block;
  width: 18px;
  height: 12px;
  background: linear-gradient(to right, #000 0%, #000 33%, #fdda24 33%, #fdda24 66%, #ed2939 66%, #ed2939 100%);
  border-radius: 1px;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.hero h1 {
  margin-top: 18px;
  margin-bottom: 18px;
}

.hero .lead {
  margin-bottom: 28px;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 13px;
  color: var(--ink-3);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta b {
  color: var(--ink);
  font-weight: 700;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-strong);
}

.proof-strip > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--ink-3);
}

.proof-strip strong {
  font-size: 14px;
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 540px) {
  .proof-strip {
    grid-template-columns: 1fr;
  }
}

/* Local quote panel (visual hero card) */
.visual {
  margin: 0;
}

.local-quote-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.local-quote-panel h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.local-quote-panel .form-note {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0 0 14px;
}

.form-note-box {
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft);
  color: var(--accent-deep);
  padding: 10px 12px;
  border-radius: var(--r);
  font-size: 13px;
  margin-bottom: 16px;
}

.form-note-box strong {
  color: var(--accent-deep);
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 12px;
}

.service-chip {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 500;
}

.service-chip.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 12.5px;
  color: var(--ink-mute);
  padding: 14px 0 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumbs a {
  color: var(--ink-mute);
}

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

.breadcrumbs span,
.breadcrumbs strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs span::before,
.breadcrumbs strong::before {
  content: "›";
  opacity: 0.6;
}

.breadcrumbs strong {
  color: var(--ink);
  font-weight: 600;
}

/* Recognition strip */
.recognition-strip {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.recognition-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 30px;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}

.recognition-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.recognition-inner span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent-soft);
  border-radius: 50%;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section.dark {
  background: var(--ink);
  color: #fff;
}

.section.dark h2,
.section.dark h3 {
  color: #fff;
}

.section-head {
  margin-bottom: 32px;
  max-width: 620px;
}

.section-head .eyebrow {
  margin-bottom: 12px;
}

.section-head h2 {
  margin-bottom: 12px;
}

.section-head p {
  color: var(--ink-3);
  font-size: 16px;
}

/* Local grid (city seeds) */
.local-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.local-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.local-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.local-card strong {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.local-card span {
  font-size: 13px;
  color: var(--ink-3);
}

.trustbar {
  margin-top: 28px;
  padding: 18px 22px;
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  font-size: 13px;
  color: var(--ink-3);
  align-items: center;
}

.trustbar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trustbar span::before {
  content: "✓";
  color: var(--ok);
  font-weight: 700;
}

/* Service grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  position: relative;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.service-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.service-card > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  margin-bottom: 16px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.service-card:nth-child(1) > span::before {
  content: "AC";
}

.service-card:nth-child(2) > span::before {
  content: "WP";
}

.service-card:nth-child(3) > span::before {
  content: "ON";
}

.service-card:nth-child(4) > span::before {
  content: "HR";
}

.service-card:nth-child(2) > span,
.service-card:nth-child(4) > span {
  background: var(--navy-soft);
  color: var(--navy);
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.service-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
}

/* Generic grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
}

.tile h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.tile p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
}

.tile .pill {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* Form / quote band */
.quote-band {
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 56px;
  align-items: flex-start;
}

@media (max-width: 880px) {
  .quote-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.quote-layout > div h2 {
  margin: 14px 0 14px;
}

.quote-layout > div p {
  color: var(--ink-3);
  font-size: 15px;
  margin: 0;
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 85, 61, 0.16);
}

.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-mute);
}

.form button[type="submit"] {
  margin-top: 16px;
  width: 100%;
  padding: 15px;
}

.status {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-3);
  min-height: 18px;
}

.status.success {
  color: var(--ok);
}

.status.error {
  color: var(--accent-deep);
}

@media (max-width: 540px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  padding: 28px 0;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Visually-hidden */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
