@font-face {
  font-family: NatigLocal;
  src: local("Arial");
}

:root {
  --ink: #14213d;
  --ink-soft: #526070;
  --line: #dfe6ec;
  --paper: #ffffff;
  --mist: #f5f8fa;
  --teal: #159e95;
  --teal-dark: #0c766f;
  --coral: #eb5b4f;
  --gold: #f2b94b;
  --shadow: 0 18px 44px rgba(20, 33, 61, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: NatigLocal, Arial, sans-serif;
  font-size: 17px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand img { width: 132px; height: 62px; object-fit: contain; object-position: center; }
.main-nav { display: flex; align-items: center; gap: 22px; justify-content: center; font-size: 15px; font-weight: 700; }
.main-nav a { color: var(--ink-soft); }
.main-nav a:hover { color: var(--teal-dark); }
.call-link, .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  background: var(--teal);
  color: white;
  font-weight: 700;
}
.menu-button { display: none; border: 0; background: transparent; font-size: 28px; color: var(--ink); }

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(280px, 680px) minmax(260px, 420px);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(44px, 8vw, 96px) clamp(20px, 6vw, 92px);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 42%, rgba(245,248,250,0.72) 100%),
    var(--hero-image, none) center left / cover no-repeat,
    linear-gradient(135deg, #f7fafb, #ffffff);
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}
h1, h2, h3 { margin: 0; line-height: 1.28; letter-spacing: 0; }
h1 { font-size: clamp(34px, 4.2vw, 56px); max-width: 760px; }
h2 { font-size: clamp(25px, 2.8vw, 36px); }
h3 { font-size: 19px; }
.lead {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  font-weight: 700;
}
.hero-panel {
  align-self: end;
  padding: 24px;
  border-right: 5px solid var(--coral);
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow);
  border-radius: 8px;
}
.hero-panel strong { display: block; margin-bottom: 8px; }
.hero-panel span { color: var(--ink-soft); }

.quick-search {
  padding: 24px clamp(20px, 6vw, 92px);
  background: var(--ink);
  color: white;
}
.quick-search label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 800;
}
.quick-search-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 12px;
}
.quick-search input {
  min-height: 50px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 6px;
  padding: 0 16px;
  font: inherit;
}
.quick-search .secondary {
  border-color: rgba(255,255,255,0.28);
  background: transparent;
  color: white;
}

.logo-strip {
  padding: 24px clamp(20px, 6vw, 92px);
  border-block: 1px solid var(--line);
  background: white;
}
#logo-strip { display: flex; gap: clamp(14px, 3vw, 34px); justify-content: center; align-items: center; flex-wrap: wrap; }
#logo-strip img {
  width: 150px;
  height: 76px;
  padding: 10px 14px;
  object-fit: contain;
  object-position: center;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 92px);
}
.muted { background: var(--mist); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 620px) minmax(220px, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
}
.split {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 82px);
}
.services-grid, .articles-grid, .quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card, .article-card, .quote-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
}
.service-card { display: grid; grid-template-rows: 150px auto; }
.service-card img {
  width: 100%;
  height: 150px;
  padding: 20px;
  object-fit: contain;
  object-position: center;
  background: var(--mist);
}
.service-body, .article-card, .quote-card { padding: 20px; }
.service-body p, .article-card p, .quote-card p, .rich-text p {
  color: var(--ink-soft);
  margin: 9px 0 0;
  font-size: 16px;
  line-height: 1.65;
}
.service-body button {
  margin-top: 18px;
  border: 0;
  background: transparent;
  color: var(--teal-dark);
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  font: inherit;
}
.article-card button {
  align-self: flex-start;
  margin-top: 18px;
  border: 0;
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 8px 16px;
}
.article-card button:hover { background: #ffd36d; }
.rich-text {
  column-count: 2;
  column-gap: 34px;
}
.rich-text p { break-inside: avoid; }
.quote-card {
  border-top: 4px solid var(--gold);
  min-height: 180px;
}
.quote-card blockquote { margin: 0; font-size: 18px; line-height: 1.55; font-weight: 700; }
.quote-card footer { margin-top: 16px; color: var(--ink-soft); font-size: 15px; }

.article-tools { margin-bottom: 20px; }
.article-tools input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 18px;
  font-size: 16px;
  font: inherit;
  background: white;
}
.article-count {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.article-card { min-height: 220px; display: flex; flex-direction: column; }
.article-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.tag { padding: 3px 9px; border-radius: 999px; background: #eef7f6; color: var(--teal-dark); font-size: 12px; font-weight: 700; }
.updated-badge {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff1bd;
  color: #725000;
  font-size: 12px;
  font-weight: 800;
}

.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px 20px;
}
.faq-item summary { cursor: pointer; font-size: 17px; font-weight: 800; }
.faq-item p { color: var(--ink-soft); font-size: 16px; }

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 520px);
  gap: 34px;
  align-items: center;
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 92px);
  background: var(--ink);
  color: white;
}
.contact-section .eyebrow { color: #9ee2dc; }
.contact-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}
.contact-row {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  font-size: 16px;
}
.contact-row:last-child { border-bottom: 0; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 6vw, 92px);
  background: #0f182c;
  color: white;
}

dialog {
  width: min(920px, calc(100% - 28px));
  border: 0;
  border-radius: 8px;
  padding: 34px;
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(20, 33, 61, 0.48); }
.dialog-close {
  position: sticky;
  top: 0;
  float: left;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  font-size: 24px;
  cursor: pointer;
}
#dialog-content p { color: var(--ink-soft); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .menu-button { display: inline-flex; justify-self: start; }
  .main-nav {
    position: absolute;
    inset-inline: 16px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .call-link { display: none; }
  .hero, .section-heading, .split, .contact-section { grid-template-columns: 1fr; }
  .services-grid, .articles-grid, .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rich-text { column-count: 1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { padding: 10px 16px; }
  .brand img { width: 104px; height: 50px; }
  h1 { font-size: 32px; }
  h2 { font-size: 25px; }
  h3 { font-size: 18px; }
  .lead { font-size: 17px; }
  .hero { min-height: auto; padding-top: 42px; }
  .quick-search-row { grid-template-columns: 1fr; }
  .services-grid, .articles-grid, .quote-grid { grid-template-columns: 1fr; }
  .section, .contact-section { padding-inline: 18px; }
  dialog { padding: 22px; }
}
