:root {
  --black: #030404;
  --white: #ffffff;
  --teal: #0085CA;
  --red: #C8102E;
  --gold: #c7aa72;
  --panel: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: "Inter", Arial, sans-serif;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 86px;
  padding: 16px clamp(24px, 4vw, 62px);
  background: rgba(0, 0, 0, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 250px;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--teal);
  border: 2px solid var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.brand strong,
h1,
h2,
h3,
.site-nav,
.button,
.call-button,
.property-grid a {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand strong {
  display: block;
  font-size: 38px;
  line-height: 0.86;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.site-nav {
  display: flex;
  gap: clamp(10px, 1.7vw, 24px);
  align-items: center;
  font-size: 15px;
}

.site-nav a,
.call-button,
.button,
.site-footer a {
  text-decoration: none;
}

.nav-item {
  position: relative;
}

.has-menu > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  min-width: 210px;
  padding: 12px 0;
  background: rgba(3, 4, 4, 0.96);
  border: 1px solid rgba(53, 184, 196, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-menu a {
  padding: 10px 16px;
  white-space: nowrap;
}

.has-menu:hover .nav-menu,
.has-menu:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.call-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 20px;
}

.call-button {
  border-color: var(--red);
}

.call-button img,
.button img,
.cta-icon img {
  width: 21px;
  filter: brightness(0) saturate(100%) invert(20%) sepia(96%) saturate(3432%) hue-rotate(345deg) brightness(95%) contrast(93%);
}

.serve-hero {
  position: relative;
  min-height: 636px;
  overflow: hidden;
  background: #030404;
}

.serve-hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
}

.serve-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.serve-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.98) 39%, rgba(0, 0, 0, 0.35) 68%, rgba(0, 0, 0, 0.02) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.36));
}

.serve-hero-copy {
  position: relative;
  z-index: 2;
  width: min(450px, calc(100% - 48px));
  padding: 154px 0 64px;
  margin-left: clamp(24px, 4.8vw, 72px);
}

.eyebrow {
  margin: 0 0 16px;
  font-family: "Bebas Neue", Impact, sans-serif;
  color: var(--red);
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(68px, 8vw, 102px);
  font-weight: 400;
  line-height: 0.96;
}

.hero-brush-line {
  display: block;
  width: 430px;
  max-width: 92%;
  height: 20px;
  margin: 14px 0 22px;
  background: url("instinct-brush-line.png") left center / 100% 100% no-repeat;
}

.serve-hero-copy p:not(.eyebrow) {
  max-width: 340px;
  margin: 0;
  color: #f4f5f5;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75;
}

.priority-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at center, #151818, #050606 70%);
}

.priority-section article {
  min-height: 294px;
  padding: 56px clamp(20px, 3vw, 44px);
  text-align: center;
  border-right: 1px solid var(--line);
}

.priority-section article:last-child {
  border-right: 0;
}

.priority-section h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.02;
}

.priority-section span,
.red-rule {
  display: block;
  width: 42px;
  height: 3px;
  margin: 20px auto 24px;
  background: var(--red);
}

.priority-section p {
  margin: 0;
  color: #ecf0f0;
  font-size: 18px;
  line-height: 1.7;
}

.property-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr);
  gap: 58px;
  padding: clamp(58px, 7vw, 86px) clamp(24px, 8vw, 112px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(199, 170, 114, 0.10), transparent 36%),
    #050606;
  border-top: 1px solid rgba(199, 170, 114, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.section-heading h2 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(46px, 5.4vw, 68px);
  font-weight: 400;
  line-height: 0.95;
}

.section-heading .red-rule {
  margin: 20px 0 24px;
}

.section-heading > p:last-child {
  max-width: 420px;
  margin: 0;
  color: #e5e9e9;
  font-size: 17px;
  line-height: 1.7;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(199, 170, 114, 0.18);
}

.property-grid article {
  display: grid;
  align-content: start;
  padding: 28px 30px;
  background: #0b0d0d;
}

.property-grid h3 {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 34px;
  font-weight: 400;
  line-height: 0.98;
}

.property-grid p {
  margin: 0 0 16px;
  color: #e5e9e9;
  font-size: 16px;
  line-height: 1.6;
}

.property-grid a {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: #0f6c75;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
}

.impact-callout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  gap: 48px;
  align-items: center;
  padding: clamp(42px, 5vw, 62px) clamp(24px, 8vw, 112px);
  background: #0a0c0c;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.impact-callout h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(40px, 4.8vw, 58px);
  font-weight: 400;
  line-height: 0.98;
}

.impact-callout p:last-child {
  max-width: 640px;
  margin: 0;
  color: #eaf0f0;
  font-size: 18px;
  line-height: 1.7;
}

.where-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 64px;
  align-items: center;
  padding: clamp(64px, 8vw, 98px) clamp(24px, 10vw, 126px);
  background: #060707;
  border-bottom: 1px solid var(--line);
}

.where-section h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  text-align: center;
}

.where-section p {
  max-width: 400px;
  margin: 24px 0 0;
  color: #eef2f2;
  font-size: 17px;
  line-height: 1.7;
}

.county-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  max-width: 520px;
  margin-top: 28px;
}

.county-link-grid a {
  padding: 0 0 8px;
  color: #ffffff;
  background: transparent;
  border: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.county-link-grid a:hover {
  color: var(--teal);
}

.map-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 24px;
  background:
    radial-gradient(circle at center, rgba(53, 184, 196, 0.08), transparent 58%),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(199, 170, 114, 0.14);
}

.map-card img {
  width: min(100%, 420px);
  height: auto;
  opacity: 0.92;
  filter: saturate(0.96) contrast(1.03) brightness(1.08);
}

.local-pages-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(520px, 1.48fr);
  gap: 48px;
  padding: clamp(58px, 7vw, 86px) clamp(24px, 8vw, 112px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(199, 170, 114, 0.10), transparent 36%),
    #050606;
  border-top: 1px solid rgba(199, 170, 114, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.county-town-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 42px;
}

.county-town-card {
  padding: 0;
  background: transparent;
  border: 0;
}

.county-town-card h3 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  color: var(--red);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.county-town-card h3 a,
.town-link-list a {
  text-decoration: none;
}

.town-link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
}

.town-link-list a {
  color: #e9eeee;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.town-link-list a:hover,
.county-town-card h3 a:hover {
  color: var(--teal);
}

.serve-cta {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px clamp(24px, 7vw, 90px);
  background: #050606;
  border-bottom: 1px solid var(--line);
}

.cta-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 2px solid var(--teal);
  border-radius: 50%;
}

.serve-cta p {
  margin: 0;
  color: #f0f4f4;
  font-size: 16px;
  line-height: 1.5;
}

.serve-cta p span {
  color: var(--teal);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.button.primary {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--red);
}

.button.outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.8);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) repeat(3, minmax(150px, 0.8fr));
  gap: 34px;
  padding: 34px clamp(24px, 7vw, 90px);
  color: #e7eded;
  background: #030404;
}

.site-footer .brand {
  min-width: 0;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 22px;
  font-weight: 400;
}

.site-footer a,
.site-footer span,
.site-footer strong {
  display: block;
  margin-top: 9px;
  color: #d9dfdf;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .hero-actions {
    flex-wrap: wrap;
  }

  .serve-hero-copy {
    padding-top: 72px;
    margin-left: 24px;
  }

  .serve-hero-media {
    width: 100%;
    opacity: 0.46;
  }

  .priority-section,
  .property-section,
  .property-grid,
  .impact-callout,
  .where-section,
  .local-pages-section,
  .county-town-grid,
  .county-link-grid,
  .serve-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .priority-section article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .call-button,
  .button {
    width: 100%;
  }
}
