:root {
  --navy: #071a33;
  --navy-2: #0d2b4c;
  --blue: #1f6fbf;
  --sky: #e9f4ff;
  --gold: #d8a441;
  --gold-2: #f4c96a;
  --ink: #132033;
  --muted: #647188;
  --line: #d9e2ee;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --shadow: 0 24px 70px rgba(7, 26, 51, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  font-size: 1.18rem;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  z-index: 20;
  background: var(--gold);
  color: var(--navy);
  padding: 0.6rem 0.8rem;
  border-radius: 0 0 var(--radius) var(--radius);
}

.skip-link:focus {
  top: 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 226, 238, 0.9);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(216, 164, 65, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.03rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.05rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}

.nav-menu a {
  color: var(--navy);
}

.nav-menu a:not(.nav-cta):hover,
.nav-menu a[aria-current="page"] {
  color: var(--blue);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0.82rem 1.05rem;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta {
  color: var(--navy) !important;
  background: var(--gold);
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(216, 164, 65, 0.26);
}

.btn.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.btn.light {
  color: var(--navy);
  background: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  min-height: 780px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 26, 51, 0.98) 0%, rgba(7, 26, 51, 0.86) 39%, rgba(7, 26, 51, 0.26) 72%),
    url("../images/hero-local-business-growth.png") center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1fr);
  align-items: center;
}

.hero-copy {
  max-width: 720px;
  padding: 7rem 0;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.trust-row span {
  padding: 0.48rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
}

.section {
  padding: 6rem 0;
}

.section.alt,
.intro-band {
  background: var(--soft);
}

.split,
.image-split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.card-grid {
  display: grid;
  gap: 1.1rem;
}

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

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

.feature-card,
.service-card,
.work-card,
.quote-panel,
.contact-panel,
.lead-form,
.comparison-grid > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 26, 51, 0.08);
}

.feature-card,
.service-card,
.work-card,
.quote-panel,
.contact-panel,
.lead-form,
.comparison-grid > div {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.card-icon,
.work-card span,
.process-list span,
.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: var(--navy);
  background: var(--sky);
  font-size: 0.78rem;
  font-weight: 950;
}

.feature-card h3,
.service-card h2,
.work-card h2 {
  margin-bottom: 0.8rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.metric-grid div {
  min-height: 145px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.metric-grid strong {
  display: block;
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1;
}

.metric-grid span {
  display: block;
  margin-top: 1.2rem;
  font-weight: 900;
}

.visual-section {
  background:
    linear-gradient(180deg, #fff 0%, #fff 55%, var(--soft) 55%, var(--soft) 100%);
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.check-list {
  padding: 0;
  margin: 1.2rem 0 1.6rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.72rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline,
.process-list {
  display: grid;
  gap: 1rem;
}

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

.timeline article,
.process-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.5rem;
}

.process-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.3rem;
}

.page-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 26, 51, 0.95), rgba(13, 43, 76, 0.82)),
    url("../images/hero-local-business-growth.png") center / cover no-repeat;
  padding: 8rem 0 6rem;
}

.page-hero .section-inner {
  max-width: 900px;
  margin-left: max(20px, calc((100% - var(--max)) / 2));
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.process-hero,
.contact-hero {
  background:
    linear-gradient(90deg, rgba(7, 26, 51, 0.96), rgba(13, 43, 76, 0.74)),
    url("../images/strategy-session.png") center / cover no-repeat;
}

.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.quote-panel p {
  color: var(--navy);
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
  font-weight: 900;
  line-height: 1.16;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cta-section {
  padding: 6rem 0;
  background: var(--navy);
}

.cta-card {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(31, 111, 191, 0.32), rgba(216, 164, 65, 0.16)),
    var(--navy-2);
  box-shadow: var(--shadow);
}

.cta-card h2 {
  max-width: 850px;
  margin-bottom: 1.4rem;
}

.contact-grid {
  align-items: start;
}

.contact-panel {
  position: sticky;
  top: 104px;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.contact-list a {
  display: block;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.contact-list strong,
.contact-list span {
  display: block;
}

.contact-list span {
  color: var(--blue);
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.42rem;
}

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

label {
  font-size: 0.9rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(31, 111, 191, 0.18);
  border-color: var(--blue);
}

.consent label {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 700;
}

.consent input {
  width: auto;
  margin-top: 0.28rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.7rem 0 0;
  color: var(--blue);
  font-weight: 900;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #061427;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr;
  gap: 2rem;
  padding: 3.5rem 0;
}

.footer-brand .brand-mark {
  box-shadow: none;
}

.footer-grid h3,
.footer-grid strong {
  color: #fff;
}

.footer-grid a {
  display: block;
  margin-bottom: 0.42rem;
}

.footer-grid a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  background: var(--soft);
}

.not-found .brand {
  justify-self: center;
  margin-bottom: 1.4rem;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    inset: 78px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    padding: 0.8rem;
  }

  .nav-cta {
    margin-top: 0.4rem;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(7, 26, 51, 0.98), rgba(7, 26, 51, 0.72)),
      url("../images/hero-local-business-growth.png") center / cover no-repeat;
  }

  .hero-grid,
  .split,
  .image-split,
  .contact-grid,
  .reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .card-grid.two,
  .timeline,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .section-inner,
  .nav-wrap {
    width: min(100% - 28px, var(--max));
  }

  .nav-wrap {
    min-height: 70px;
  }

  .nav-menu {
    inset: 70px 14px auto 14px;
  }

  .hero-copy {
    padding: 5.4rem 0 4.5rem;
  }

  h1 {
    font-size: 2.65rem;
  }

  .section {
    padding: 4rem 0;
  }

  .page-hero {
    padding: 5rem 0 4rem;
  }

  .form-grid,
  .metric-grid,
  .process-list article {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .image-frame img {
    min-height: 260px;
  }
}
