/* ===================================================================
   National Hoarding Services — Design System
   Clean & trustworthy: deep teal + warm amber accent, generous
   whitespace, system font stack (fast, no external font requests).
=================================================================== */

:root {
  --color-primary: #1b4d4a;
  --color-primary-dark: #123332;
  --color-primary-light: #2e6b66;
  --color-accent: #d98e29;
  --color-accent-dark: #b8721a;
  --color-bg: #f8f7f3;
  --color-bg-alt: #eef2f1;
  --color-surface: #ffffff;
  --color-text: #22302e;
  --color-text-muted: #57645f;
  --color-border: #dfe3e0;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;

  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(18, 51, 50, 0.08);
  --shadow-md: 0 6px 24px rgba(18, 51, 50, 0.10);
  --container-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-dark);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--color-primary-dark);
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-heading p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn--primary:hover {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-surface);
  color: var(--color-surface);
}

.btn--outline:hover {
  background: var(--color-surface);
  color: var(--color-primary-dark);
}

/* ---------- Header ---------- */

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 56px;
  width: auto;
  margin-left: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav__list {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav__list a {
  color: var(--color-text);
  font-weight: 500;
}

.main-nav__list a:hover {
  color: var(--color-primary);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  background: none;
  border: none;
  font: inherit;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.nav-dropdown__toggle:hover {
  color: var(--color-primary);
}

.nav-dropdown__caret {
  font-size: 0.65rem;
  transition: transform 0.15s ease;
}

.nav-dropdown.is-open .nav-dropdown__caret {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 220px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: none;
}

.nav-dropdown.is-open .nav-dropdown__menu {
  display: block;
}

.nav-dropdown__menu-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  padding: 8px 12px 4px;
}

.nav-dropdown__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--color-text);
}

.nav-dropdown__menu a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.nav-dropdown__menu-note {
  padding: 8px 12px 4px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  margin-top: 4px;
}

.nav-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 88px 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  color: #fff;
}

.hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero__trust {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero__trust-item {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ---------- Cards / Grids ---------- */

.grid {
  display: grid;
  gap: 28px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p:last-child {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

/* ---------- Process steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ---------- Media/photo blocks ---------- */

.media-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.media-block img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.media-block.is-reversed .media-block__text {
  order: 2;
}

.media-block.is-reversed .media-block__media {
  order: 1;
}

/* ---------- Photo gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery img {
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

/* ---------- States / coverage ---------- */

.state-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.state-pill {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-weight: 600;
  color: var(--color-primary-dark);
}

.state-pill--active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.state-pill--soon {
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.faq-item h3 {
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ---------- Blog ---------- */

.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.post-card img {
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.post-card__body {
  padding: 22px 24px 26px;
}

.post-card__meta {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.post-card h3 {
  font-size: 1.15rem;
}

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

.post-card__link {
  font-weight: 600;
  color: var(--color-primary);
}

.post-body {
  max-width: 760px;
  margin: 0 auto;
}

.post-body img {
  border-radius: var(--radius);
  margin: 24px 0;
}

.post-body h2 {
  margin-top: 1.6em;
}

/* ---------- State page hero + local info ---------- */

.state-hero {
  background: var(--color-bg-alt);
  padding: 56px 0;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

.local-info-card {
  background: var(--color-surface);
  border: 2px dashed var(--color-accent);
  border-radius: var(--radius);
  padding: 28px;
}

.local-info-card__label {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-pill {
  padding: 8px 16px;
  background: var(--color-bg-alt);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}

a.city-pill:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid a:hover {
  color: #fff;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: inherit;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero__inner,
  .media-block {
    grid-template-columns: 1fr;
  }

  .media-block.is-reversed .media-block__text,
  .media-block.is-reversed .media-block__media {
    order: initial;
  }

  .grid--3,
  .steps,
  .post-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .main-nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    display: none;
    overflow-y: auto;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav__list a {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-dropdown__menu {
    position: static;
    box-shadow: none;
    display: none;
    margin-top: 8px;
  }

  .nav-dropdown.is-open .nav-dropdown__menu {
    display: block;
  }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--color-primary-dark);
  }

  .grid--3,
  .grid--2,
  .steps,
  .post-list {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
