:root {
  --wf-navy: #0a1f3d;
  --wf-navy-mid: #0f2a4d;
  --wf-navy-deep: #061528;
  --wf-yellow: #f5c518;
  --wf-yellow-hover: #e3b40f;
  --wf-grey-50: #f6f8fb;
  --wf-grey-100: #eef2f7;
  --wf-grey-600: #5c677a;
  --wf-grey-800: #1f2937;
  --wf-shadow-md: 0 12px 32px rgba(10, 31, 61, 0.12);
  --wf-radius: 12px;
  --wf-container: min(1160px, 100% - 2.5rem);
}

html {
  overflow-x: clip;
}
body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--wf-grey-800);
  line-height: 1.6;
  overflow-x: clip;
}

.wp-block-group.alignfull,
.wp-block-post-content > .wp-block-group {
  max-width: none;
}

.wp-block-post-content > .wp-block-group.wf-section,
.wp-block-post-content > .wp-block-cover,
.wp-block-post-content > .wp-block-group.wf-hero-trust,
.wp-block-post-content > .wp-block-group.wf-quote-banner {
  padding-left: max(1rem, calc((100% - var(--wf-container)) / 2));
  padding-right: max(1rem, calc((100% - var(--wf-container)) / 2));
}

.wf-preview-ribbon,
.wf-staging-ribbon {
  background: #111827;
  color: #f9fafb;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-bottom: 3px solid var(--wf-yellow);
}
.wf-topbar {
  background: var(--wf-navy);
  color: #e2e8f0;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
}
.wf-header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(10, 31, 61, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.65rem 1rem;
}
.wf-header > .wp-block-group {
  max-width: var(--wf-container);
  margin-inline: auto;
}
.wf-header .wp-block-group > .wp-block-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  width: 100%;
}
.wf-brand-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.wf-brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
  gap: 2px;
}
.wf-brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--wf-navy);
}
.wf-brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--wf-yellow);
  background: var(--wf-navy);
  padding: 0.18rem 0.4rem;
  border-radius: 4px;
  width: fit-content;
}
.wf-header--transparent {
  background: transparent;
  box-shadow: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 2.35rem;
}
.wf-header--transparent .wf-brand-name,
.wf-header--transparent .wf-brand-sub { color: #fff; }
.wf-header--transparent .wf-brand-sub {
  background: rgba(255, 255, 255, 0.15);
  color: var(--wf-yellow);
}
.wf-header--transparent .wp-block-navigation-item__content {
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.wf-header--transparent .wp-block-site-logo img {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}
.wf-header--transparent .wp-block-button__link {
  background: var(--wf-yellow) !important;
  color: var(--wf-navy) !important;
}
.wf-header--solid .wf-brand-sub { margin-top: 2px; }

.wf-hero-wrap {
  position: relative;
  min-height: clamp(520px, 72vh, 680px);
  color: #fff;
  margin-top: 0;
}
.wf-hero-wrap .wp-block-cover__background {
  opacity: 0.55 !important;
  background: linear-gradient(
    100deg,
    rgba(6, 21, 40, 0.93) 0%,
    rgba(10, 31, 61, 0.75) 35%,
    rgba(10, 31, 61, 0.35) 55%,
    rgba(10, 31, 61, 0.08) 100%
  ) !important;
}
.wf-hero-wrap .wp-block-cover__image-background {
  object-position: 68% 22% !important;
}
.wf-hero-layout {
  width: 100%;
  max-width: var(--wf-container);
  margin-inline: auto;
  padding: 2.5rem 0 1rem;
  gap: 2rem !important;
}
.wf-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
  max-width: 16ch;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}
.wf-hero-kicker { margin-bottom: 0.75rem !important; }
.wf-hero-actions { gap: 0.75rem; }
.wf-hero-feature {
  background: #fff;
  color: var(--wf-grey-800);
  padding: 1.25rem 1.35rem;
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow-md);
  border-left: 4px solid var(--wf-yellow);
  font-size: 0.875rem;
}
.wf-hero-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--wf-yellow), #ffe082);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 0 0.5rem !important;
}
.wf-hero-trust {
  background: rgba(6, 21, 40, 0.92);
  color: #e2e8f0;
  font-size: 0.8125rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.wf-hero-trust-grid { gap: 0.75rem !important; }
.wf-mini-ico { color: var(--wf-yellow); font-weight: 800; margin-right: 0.35rem; }

.wf-section { padding: 3.25rem 0; }
.wf-section--grey,
.wf-section-areas { background: var(--wf-grey-50); }
.wf-section-title {
  font-size: clamp(1.75rem, 2.5vw, 2.125rem);
  font-weight: 800;
  color: var(--wf-navy);
}
.wf-section-lead {
  color: var(--wf-grey-600);
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 2rem !important;
}
.wf-section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--wf-yellow);
  margin-bottom: 0.35rem !important;
}

.wf-service-grid { gap: 1.5rem !important; }
.wf-service-card {
  background: #fff;
  border-radius: var(--wf-radius);
  box-shadow: 0 12px 32px rgba(10, 31, 61, 0.08);
  overflow: hidden;
  padding: 0 0 1.25rem !important;
}
.wf-service-card .wp-block-image { margin: 0 !important; }
.wf-service-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.wf-service-card h3 {
  padding: 0 1.1rem;
  margin-top: 1rem !important;
  color: var(--wf-navy);
  font-weight: 800;
}
.wf-service-card p { padding: 0 1.1rem; color: var(--wf-grey-600); font-size: 0.9rem; }
.wf-text-link a {
  color: var(--wf-navy);
  font-weight: 700;
  text-decoration: none;
}
.wf-text-link a:hover { color: var(--wf-yellow-hover); }

.wf-why-grid { gap: 2.5rem !important; }
.wf-why-media img {
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow-md);
  min-height: 360px;
  object-fit: cover;
  width: 100%;
}
.wf-why-copy h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.125rem);
  font-weight: 800;
  color: var(--wf-navy);
}
.wf-why-features { gap: 0.85rem !important; margin-top: 0.75rem; }
.wf-why-feat {
  background: var(--wf-grey-50);
  border: 1px solid #e8edf4;
  border-radius: 10px;
  padding: 0.85rem !important;
  font-size: 0.875rem;
}
.wf-feat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--wf-navy);
  color: var(--wf-yellow);
  font-weight: 800;
  font-size: 0.8rem;
  margin-right: 0.35rem;
  vertical-align: top;
}

.wf-quote-banner {
  background: linear-gradient(135deg, var(--wf-navy-deep), var(--wf-navy-mid));
  color: #fff;
  padding: 2.75rem 1rem;
}
.wf-quote-banner-inner { gap: 1.5rem !important; }
.wf-quote-banner h2 { font-weight: 800; font-size: 1.75rem; }
.wf-quote-banner p { color: #cbd5e1; }

.wf-gallery-grid { gap: 1.25rem !important; }
.wf-gallery-card {
  border-radius: var(--wf-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(10, 31, 61, 0.08);
  border: 1px solid #e8edf4;
}
.wf-gallery-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.wf-gallery-tag {
  display: inline-block;
  background: var(--wf-grey-100);
  color: var(--wf-navy);
  font-size: 0.625rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-right: 0.35rem;
  text-transform: uppercase;
}
.wf-gallery-sub { color: var(--wf-grey-600); font-size: 0.8125rem; }

.wf-areas-grid { gap: 2rem !important; align-items: center; }
.wf-town-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0;
}
.wf-town-list li {
  background: #fff;
  border: 1px solid #e8edf4;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.wf-areas-map {
  position: relative;
  border-radius: var(--wf-radius);
  overflow: hidden;
  box-shadow: var(--wf-shadow-md);
  background: #fff;
}
.wf-map-svg { width: 100%; height: auto; display: block; }
.wf-map-pin {
  position: absolute;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--wf-navy);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.wf-pin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wf-yellow);
  border: 2px solid var(--wf-navy);
}
.wf-map-pin--1 { left: 42%; top: 58%; }
.wf-map-pin--2 { left: 38%; top: 68%; }
.wf-map-pin--3 { left: 52%; top: 72%; }
.wf-map-pin--4 { left: 58%; top: 48%; }
.wf-map-pin--5 { left: 48%; top: 42%; }

.wf-bottom-cta { margin-bottom: 0; }
.wf-bottom-cta-inner { text-align: center; position: relative; }
.wf-bottom-cta-inner::before {
  content: "💡";
  display: block;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}
.wf-header-inner {
  width: 100%;
  max-width: var(--wf-container);
  margin-inline: auto;
  gap: 1rem;
}
.wf-primary-nav { flex: 1; justify-content: center !important; }
.wf-header-cta { flex-shrink: 0; }
.wf-service-card { display: flex; flex-direction: column; height: 100%; }
.wf-service-card .wf-text-link { margin-top: auto; padding-top: 0.5rem; }
.wf-page-hero { margin-bottom: 0; }
.wf-blog-index { padding: 2rem 1rem 3rem; }
.wf-blog-card {
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: var(--wf-radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(10, 31, 61, 0.06);
  height: 100%;
}
.wf-blog-card-image img { width: 100%; object-fit: cover; min-height: 160px; }
.wf-contact-layout { gap: 2rem; margin-top: 1rem; }
.wf-contact-card {
  background: var(--wf-grey-50);
  border: 1px solid #e8edf4;
  border-radius: var(--wf-radius);
  padding: 1.25rem;
}
.wf-contact-submit {
  background: var(--wf-yellow);
  color: var(--wf-navy);
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.25rem;
  cursor: pointer;
  margin-top: 0.5rem;
}
.wf-form-note { font-size: 0.75rem; color: var(--wf-grey-600); margin-top: 0.75rem; }
@media (min-width: 782px) {
  .wf-header .wp-block-navigation__responsive-container-open {
    display: none !important;
  }
  .wf-primary-nav .wp-block-navigation__container {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
    align-items: center;
  }
}

.wf-btn-yellow .wp-block-button__link {
  background: var(--wf-yellow);
  color: var(--wf-navy);
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid transparent;
}
.wf-btn-yellow .wp-block-button__link:hover {
  background: var(--wf-yellow-hover);
}
.wf-btn-lg .wp-block-button__link {
  padding: 0.85rem 1.6rem;
}
.wf-btn-outline-light .wp-block-button__link {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
}

.wf-footer {
  background: #fff;
  border-top: 1px solid #e8edf4;
  padding: 2.5rem 1rem 1rem;
  font-size: 0.875rem;
}
.wf-footer .wp-block-columns { gap: 2rem; }
.wf-footer h3, .wf-footer h4 {
  color: var(--wf-navy);
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.wf-contact-form label { display: block; margin: 0.75rem 0; font-weight: 600; }
.wf-contact-form input,
.wf-contact-form textarea {
  width: 100%;
  max-width: 32rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  margin-top: 0.25rem;
}

@media (max-width: 781px) {
  .wf-header--transparent {
    position: absolute;
    top: 2rem;
    background: linear-gradient(180deg, rgba(6, 21, 40, 0.85) 0%, rgba(6, 21, 40, 0) 100%);
  }
  .wf-header--transparent .wp-block-navigation-item__content {
    color: var(--wf-grey-800) !important;
    text-shadow: none;
  }
  .wf-hero-layout .wp-block-column { flex-basis: 100% !important; }
  .wf-why-features .wp-block-column { flex-basis: 100% !important; }
  .wf-gallery-grid .wp-block-column { flex-basis: 100% !important; }
  .wf-service-grid .wp-block-column { flex-basis: 100% !important; }
  .wf-areas-grid .wp-block-column { flex-basis: 100% !important; }
  .wf-hero-trust-grid .wp-block-column { flex-basis: 100% !important; }
}
