/* =========================================================================
   Freedom Plumbing — theme stylesheet
   Ported from the approved HTML5 comp. Section order and rule order below
   deliberately mirror the original file so future comps can be diffed
   against it easily.
   ========================================================================= */

:root {
  --navy: #292a86;
  --navy-dark: #1c1d5e;
  --red: #cc1f27;
  --red-dark: #a5181f;
  --gold: #ddb469;
  --lavender: #e4e6f5;
  --lavender-soft: #f4f5fb;
  --white: #ffffff;
  --ink: #2e2f63;
  --muted: #5c5d8e;
  --radius: 10px;
  --shadow: 0 12px 30px -12px rgba(30, 31, 90, 0.25);
  --wrap-max: 1240px;
  --wrap-pad: 40px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  margin: 0;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.5px;
}

p {
  margin: 0;
}

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

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

button {
  font-family: inherit;
}

.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}

.eyebrow {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

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

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(204, 31, 39, 0.55);
}

.btn-red:hover {
  background: var(--red-dark);
}

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

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

.btn-white {
  background: #fff;
  color: var(--red);
}

/* Skip link sits above the sticky header. */
.skip-link:focus {
  z-index: 100000;
}

/* ============ HEADER ============ */
/*
 * --fp-hero-bg is injected from PHP with an absolute URL. Keep it absolute:
 * a relative url() inside a custom property resolves against the stylesheet
 * that *uses* it, not the one that declares it, which silently breaks.
 *
 * No overflow:hidden here — the navigation lives inside this region, and
 * clipping would cut off the dropdown submenus on interior pages. The hero
 * image's negative margin is tuned to land exactly on the region's edge, so
 * there is nothing to clip anyway.
 */
.hero-region {
  position: relative;
  background-image: var(--fp-hero-bg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.stars-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.55) 1.5px, transparent 1.5px);
  background-size: 34px 34px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, black 40%, transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 20%, black 40%, transparent 75%);
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 2;
  max-width: var(--wrap-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--wrap-pad) 20px;
}

.logo img,
.logo .custom-logo {
  height: 76px;
  width: auto;
  max-width: none;
}

.call-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f5f5fb;
  border-radius: 10px;
  padding: 12px 22px;
  box-shadow: var(--shadow);
}

.call-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.call-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.call-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--navy);
}

.call-number {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}

.call-hours {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 500;
}

.navbar {
  position: relative;
  z-index: 3;
}

.navbar .wrap {
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--wrap-pad);
  box-shadow: var(--shadow);
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
  color: var(--gold);
}

/* Dropdowns for the Services / Service Areas submenus. */
.nav-links li {
  position: relative;
}

.nav-links .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  min-width: 240px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: none;
  z-index: 20;
}

.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu {
  display: block;
}

/*
 * An invisible bridge across the gap between the trigger and the panel.
 *
 * The panel is offset 14px below the menu item so it reads as a separate
 * card. Without this, moving the cursor down from "Services" leaves the <li>
 * before it reaches the panel — :hover drops and the menu vanishes mid-reach.
 * The bridge is a child of the panel, so hovering it still counts as hovering
 * the <li>, which keeps the menu open.
 *
 * Its height matches the offset exactly and it starts at the item's bottom
 * edge, so it never covers the link itself and cannot swallow a click.
 */
.nav-links .sub-menu::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-links .sub-menu a {
  display: block;
  padding: 9px 22px;
  color: var(--ink);
  font-weight: 500;
  font-size: 14.5px;
}

.nav-links .sub-menu a:hover {
  color: var(--red);
  background: var(--lavender-soft);
}

.service-areas-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.service-areas-link svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  z-index: 1;
  max-width: var(--wrap-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  padding: 60px var(--wrap-pad) 70px;
  gap: 20px;
}

.hero-copy h1 {
  font-size: 60px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: -1px;
}

.hero-copy p {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 520px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-actions .aside-call {
  font-weight: 600;
  font-size: 15px;
}

.hero-actions .aside-call b {
  color: var(--navy);
}

.hero-image {
  align-self: end;
  text-align: center;
  /* Cancels the section's bottom padding so the crew's feet reach the true edge. */
  margin-bottom: -70px;
}

.hero-image img {
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 30px 26px rgba(30, 31, 90, 0.28));
}

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--lavender-soft);
  border-top: 1px solid #e2e3f0;
}

.trust-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--wrap-pad);
  flex-wrap: wrap;
  gap: 20px;
}

.trust-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.trust-left img {
  width: 88px;
  height: auto;
}

/*
 * Rendered as a paragraph rather than a heading: it is an award statement,
 * and using <h3> straight after the page <h1> would skip a heading level.
 */
.trust-headline {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.trust-right {
  text-align: right;
}

.trust-rating {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
}

.trust-rating svg {
  width: 18px;
  height: 18px;
}

.trust-right p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.trust-right .btn {
  margin-top: 12px;
}

/* ============ SERVICES ============ */
.services {
  padding: 100px 0 90px;
  background: var(--white);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: 42px;
  text-transform: uppercase;
  margin-top: 14px;
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  border: 1px solid #e7e8f3;
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  background: #fff;
}

.service-card:hover,
.service-card:focus-within {
  box-shadow: var(--shadow);
  border-color: transparent;
  transform: translateY(-4px);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: var(--lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--navy);
}

.service-card h3 {
  font-size: 19px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.3px;
}

.service-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.service-card .card-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.services-footer {
  margin-top: 44px;
  text-align: center;
}

/* ============ PROCESS ============ */
.process {
  position: relative;
  background: var(--navy-dark);
  padding: 100px 0 110px;
  overflow: hidden;
}

.process .stars-overlay {
  opacity: 0.12;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black 30%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 30%, black 30%, transparent 70%);
}

.process .wrap {
  position: relative;
  z-index: 1;
}

.process .section-head h2 {
  color: #fff;
}

.process .eyebrow.on-dark {
  color: var(--gold);
}

.process .section-head p {
  color: #b7b8e0;
}

.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 30px;
}

.pipeline::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 6%;
  right: 6%;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 18px, transparent 18px 26px);
  border-radius: 6px;
}

.pipe-step {
  position: relative;
  padding: 0 22px;
  text-align: left;
}

.pipe-node {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--red);
  border: 5px solid var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px var(--gold);
  margin-bottom: 26px;
  position: relative;
  z-index: 2;
}

.pipe-node svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.pipe-step h3 {
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.pipe-step p {
  margin-top: 10px;
  color: #b7b8e0;
  font-size: 14.5px;
  line-height: 1.6;
}

.pipe-step .step-tag {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

/* ============ WHY US ============ */
.why-us {
  padding: 100px 0;
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.why-image {
  position: relative;
}

.why-image img {
  border-radius: var(--radius);
}

.why-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--red);
  color: #fff;
  padding: 20px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.why-badge .big {
  font-size: 32px;
  font-weight: 700;
}

.why-badge .small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.why-copy h2 {
  font-size: 38px;
  text-transform: uppercase;
  margin-top: 14px;
}

.why-copy > p.why-intro {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.why-list {
  margin-top: 30px;
  display: grid;
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-check {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-check svg {
  width: 15px;
  height: 15px;
  fill: var(--navy);
}

/* h3 rather than h4 so the heading order does not skip a level. */
.why-item h3 {
  font-size: 16.5px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.why-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ============ MEMBERSHIP ============ */
.membership {
  padding: 90px 0;
  background: var(--lavender-soft);
}

.membership-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  overflow: hidden;
}

.membership-copy {
  padding: 46px 44px;
}

.membership-copy h2 {
  font-size: 32px;
  text-transform: uppercase;
  margin-top: 14px;
}

.membership-copy > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.membership-benefits {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.membership-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.membership-benefits svg {
  width: 20px;
  height: 20px;
  fill: var(--red);
  flex-shrink: 0;
  margin-top: 1px;
}

.membership-price {
  background: var(--navy);
  color: #fff;
  padding: 46px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.membership-price .stars-overlay {
  opacity: 0.12;
  -webkit-mask-image: none;
  mask-image: none;
}

.membership-price > * {
  position: relative;
  z-index: 1;
}

.membership-price .amount {
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}

.membership-price .per {
  font-size: 14px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 10px;
}

.membership-price .note {
  font-size: 13.5px;
  color: #c6c7e6;
  margin-top: 18px;
  line-height: 1.6;
  max-width: 240px;
}

.membership-price .btn {
  margin-top: 24px;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding: 100px 0;
  background: var(--lavender-soft);
}

.testimonials.on-white {
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.stars-row {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.stars-row svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  flex: 1;
}

.testimonial-name {
  margin-top: 18px;
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}

.testimonial-loc {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.testimonial-source {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============ SERVICE AREAS ============ */
.areas {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.areas .stars-overlay {
  opacity: 0.1;
}

.areas .wrap {
  position: relative;
  z-index: 1;
}

.areas-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.areas .eyebrow {
  color: var(--gold);
}

.areas h2 {
  color: #fff;
  font-size: 38px;
  text-transform: uppercase;
  margin-top: 14px;
}

.areas p.lead {
  margin-top: 16px;
  color: #c6c7e6;
  font-size: 16px;
  line-height: 1.6;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.area-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
}

a.area-chip:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--gold);
  color: var(--gold);
}

.address-check-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow);
}

.address-check-card h3 {
  font-size: 20px;
  font-weight: 700;
  text-transform: none;
  color: var(--navy);
}

.address-check-card > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.address-input-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.fp-address-input {
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1.5px solid #dadbef;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
}

.fp-address-input:focus {
  border-color: var(--navy);
}

.fp-address-btn {
  padding: 14px 24px;
  white-space: nowrap;
}

.fp-address-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.address-result {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  display: none;
}

.address-result.show {
  display: block;
}

.address-result.state-loading {
  background: var(--lavender-soft);
  color: var(--muted);
}

.address-result.state-yes {
  background: #e9f7ee;
  color: #1e6b3a;
  border: 1px solid #bfe6cc;
}

.address-result.state-no,
.address-result.state-error {
  background: #fcefef;
  color: #9a2a2a;
  border: 1px solid #f2c9c9;
}

.address-result strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

/* ============ BLOG ============ */
/*
 * Named .fp-blog, not .blog, on purpose. WordPress puts a `blog` class on
 * <body> for the posts index, so a bare `.blog` section rule also matches the
 * body element and dumps the section's padding and background onto the whole
 * page. Any single-token class name here risks the same collision — check new
 * ones against the body_class() list before using them.
 */
.fp-blog {
  padding: 100px 0;
  background: #fff;
}

.blog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e7e8f3;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: block;
  background: #fff;
}

.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.blog-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-thumb svg {
  width: 38px;
  height: 38px;
  fill: rgba(255, 255, 255, 0.55);
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-body {
  padding: 26px 24px;
}

.blog-date {
  color: var(--red);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-body h3 {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
  text-transform: none;
  line-height: 1.35;
}

.blog-body p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.blog-read {
  margin-top: 16px;
  display: inline-block;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy);
}

/* ============ FINAL CTA ============ */
.final-cta {
  background: var(--red);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.final-cta .stars-overlay {
  opacity: 0.12;
  -webkit-mask-image: none;
  mask-image: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.6) 1.5px, transparent 1.5px);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}

.final-cta h2 {
  color: #fff;
  font-size: 36px;
  text-transform: uppercase;
  max-width: 560px;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.final-cta .phone-link {
  color: #fff;
  font-weight: 700;
  font-size: 19px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy-dark);
  padding: 70px 0 30px;
  color: #b7b8e0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
}

.footer-logo img {
  height: 56px;
  width: auto;
  max-width: none;
  /*
   * The brand mark is full-color artwork drawn for light backgrounds — its
   * navy lettering disappears against the footer. Rather than filter it
   * (which flattens the whole logo to a single color), it sits on a small
   * white plate, which reads as a deliberate badge.
   */
  background: #fff;
  padding: 10px 16px;
  border-radius: 10px;
}

.footer-about p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.footer-social a:hover {
  background: var(--red);
}

.footer-social svg {
  width: 17px;
  height: 17px;
  fill: #fff;
}

/* h2 rather than h4: these head the footer landmark's own sections. */
.footer-col__title {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-col a {
  font-size: 14.5px;
}

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

.footer-contact li {
  font-size: 14.5px;
  line-height: 1.6;
}

.footer-contact .hours-line {
  color: #8f90c4;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}

/* ============ INTERIOR PAGES ============ */
.page-hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 66px 0 60px;
}

.page-hero .stars-overlay {
  opacity: 0.12;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  font-size: 44px;
  text-transform: uppercase;
  margin-top: 14px;
}

.page-hero .eyebrow {
  color: var(--gold);
}

.page-hero p.lead {
  margin-top: 16px;
  color: #c6c7e6;
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 680px;
}

.fp-breadcrumbs {
  font-size: 13.5px;
  color: #a2a3d4;
  margin-bottom: 14px;
}

.fp-breadcrumbs a:hover {
  color: var(--gold);
}

.fp-breadcrumbs .sep {
  opacity: 0.5;
  padding: 0 6px;
}

.content-area {
  padding: 70px 0 90px;
}

.entry-content {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 760px;
}

.entry-content > * + * {
  margin-top: 1.25em;
}

.entry-content h2 {
  font-size: 30px;
  margin-top: 1.8em;
}

.entry-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 1.6em;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
}

.entry-content li + li {
  margin-top: 0.5em;
}

.entry-content a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry-content blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 24px;
  margin-left: 0;
  font-size: 18px;
  color: var(--navy);
}

.entry-content img {
  border-radius: var(--radius);
}

.entry-content .alignwide {
  max-width: min(1100px, 92vw);
  margin-left: calc(50% - min(550px, 46vw));
}

.entry-content .alignfull {
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  width: 100vw;
}

.fp-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.fp-pagination {
  margin-top: 56px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fp-pagination .page-numbers {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #e7e8f3;
  font-weight: 600;
  font-size: 14.5px;
}

.fp-pagination .page-numbers.current,
.fp-pagination .page-numbers:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.error-404 {
  padding: 110px 0 120px;
  text-align: center;
}

.error-404 h1 {
  font-size: 92px;
  color: var(--lavender);
}

.error-404 h2 {
  font-size: 32px;
  margin-top: 10px;
  text-transform: uppercase;
}

.error-404 p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

.error-404 .btn {
  margin-top: 30px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .hero-image {
    order: -1;
    margin-bottom: 20px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .services-grid,
  .testimonial-grid,
  .blog-grid,
  .fp-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid,
  .areas-inner,
  .membership-card {
    grid-template-columns: 1fr;
  }

  .why-badge {
    right: 16px;
  }

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

  .pipeline {
    grid-template-columns: 1fr 1fr;
    row-gap: 50px;
  }

  .pipeline::before {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .navbar.is-open .nav-links {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: var(--wrap-pad);
    right: var(--wrap-pad);
    background: var(--navy);
    border-radius: var(--radius);
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    box-shadow: var(--shadow);
    z-index: 30;
  }

  .navbar.is-open .nav-links > li > a {
    display: block;
    padding: 13px 26px;
  }

  .navbar.is-open .nav-links .sub-menu {
    position: static;
    display: block;
    box-shadow: none;
    background: transparent;
    padding: 0 0 8px;
    min-width: 0;
  }

  .navbar.is-open .nav-links .sub-menu::before {
    display: none;
  }

  .navbar.is-open .nav-links .sub-menu a {
    color: #c6c7e6;
    padding: 8px 26px 8px 42px;
    background: transparent;
  }
}

@media (max-width: 700px) {
  :root {
    --wrap-pad: 22px;
  }

  .topbar {
    flex-direction: column;
    gap: 16px;
    padding: 22px 22px 16px;
  }

  .service-areas-link span {
    display: none;
  }

  .hero {
    padding: 32px 22px 0;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .services-grid,
  .testimonial-grid,
  .blog-grid,
  .pipeline,
  .fp-archive-grid {
    grid-template-columns: 1fr;
  }

  .services,
  .process,
  .why-us,
  .testimonials,
  .areas,
  .fp-blog,
  .membership {
    padding: 64px 0;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

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

  .final-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-bar .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-right {
    text-align: left;
  }

  .trust-rating {
    justify-content: flex-start;
  }

  .membership-copy,
  .membership-price {
    padding: 36px 26px;
  }

  .why-badge {
    bottom: -18px;
    right: 12px;
    padding: 14px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* =========================================================================
   Button icon colors, header variants, and block-editor block styles.
   ========================================================================= */

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-red svg,
.btn-navy svg {
  fill: #fff;
}

.btn-white svg {
  fill: var(--red);
}

.btn-outline svg {
  fill: var(--navy);
}

.btn-outline:hover svg {
  fill: #fff;
}

/* Interior pages reuse the flag backdrop, cropped to just the header band. */
.hero-region--compact {
  padding-bottom: 26px;
  background-position: center 30%;
}

.call-number {
  display: block;
}

.call-number:hover {
  color: var(--red);
}

.service-card h3 a:hover,
.blog-card:hover h3 {
  color: var(--red);
}

/* --- Block styles registered in inc/blocks.php ------------------------- */

.wp-block-button.is-style-fp-outline .wp-block-button__link {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

.wp-block-button.is-style-fp-outline .wp-block-button__link:hover {
  background: var(--navy);
  color: #fff;
}

.wp-block-group.is-style-fp-card {
  background: #fff;
  border: 1px solid #e7e8f3;
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}

.wp-block-list.is-style-fp-checklist {
  list-style: none;
  padding-left: 0;
}

.wp-block-list.is-style-fp-checklist li {
  position: relative;
  padding-left: 32px;
}

.wp-block-list.is-style-fp-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lavender)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23292A86'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E")
    center / 12px 12px no-repeat;
}

/* --- Widgets and comments --------------------------------------------- */

.widget {
  margin-bottom: 36px;
}

.widget-title {
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.fp-comments {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e7e8f3;
}

.comment-list {
  list-style: none;
  padding-left: 0;
}

.comment-list .children {
  list-style: none;
  padding-left: 28px;
}

/* --- Admin bar offset -------------------------------------------------- */

.admin-bar .navbar.is-open .nav-links {
  top: calc(100% + 10px);
}

/* =========================================================================
   INTERIOR TEMPLATES — service pages, area pages, articles
   ========================================================================= */

/* --- Page hero variants ------------------------------------------------ */

/*
 * Constrain the measure of the hero text, not the hero band itself — putting
 * the max-width on the section stops the navy background halfway across the
 * viewport.
 */
.page-hero--service .page-hero__grid > *,
.page-hero--post .wrap > * {
  max-width: 820px;
}

.page-hero__actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.page-hero__phone svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.page-hero__phone:hover {
  color: var(--gold);
}

.page-hero__price {
  margin-top: 18px;
  color: #c6c7e6;
  font-size: 15px;
}

.page-hero__price strong {
  color: #fff;
  font-size: 20px;
}

/* --- Trust strip ------------------------------------------------------- */

.fp-trust-strip {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 38px;
}

.fp-trust-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c6c7e6;
  font-size: 14px;
  font-weight: 600;
}

.fp-trust-strip__item svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  flex-shrink: 0;
}

/* --- Two column layout with the conversion rail ------------------------ */

.fp-layout {
  padding: 64px 0 20px;
}

.fp-layout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 60px;
  align-items: start;
}

.fp-layout__main {
  min-width: 0;
}

.fp-layout__main > * + * {
  margin-top: 52px;
}

.fp-layout .entry-content {
  max-width: none;
}

.fp-rail {
  position: sticky;
  top: 28px;
}

.fp-rail__card {
  background: #fff;
  border: 1px solid #e7e8f3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
}

.fp-rail__heading {
  font-size: 20px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.3px;
}

.fp-rail__blurb {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.fp-rail__phone {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--lavender-soft);
  transition: background 0.15s ease;
}

.fp-rail__phone:hover {
  background: var(--lavender);
}

.fp-rail__phone svg {
  width: 22px;
  height: 22px;
  fill: var(--red);
  flex-shrink: 0;
}

.fp-rail__phone small {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}

.fp-rail__phone strong {
  display: block;
  font-size: 19px;
  color: var(--navy);
  margin-top: 2px;
}

.fp-rail__btn {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

.fp-rail__text-link {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fp-rail__text-link:hover {
  color: var(--red);
}

.fp-rail__hours {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #eceef7;
}

.fp-rail__hours-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--navy);
}

.fp-rail__hours-title svg {
  width: 15px;
  height: 15px;
  fill: var(--navy);
}

.fp-rail__hours ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.fp-rail__hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink);
}

.fp-rail__hours li span:last-child {
  font-weight: 600;
  text-align: right;
}

.fp-rail__hours-note {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.fp-rail__member {
  margin-top: 24px;
  padding: 18px 18px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #c6c7e6;
}

.fp-rail__member strong {
  display: block;
  color: #fff;
  font-size: 14.5px;
}

.fp-rail__member p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
}

.fp-rail__member a {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
}

/* --- Labelled checklist ------------------------------------------------ */

.fp-checklist__heading {
  font-size: 28px;
  margin-bottom: 22px;
}

.fp-checklist__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.fp-checklist__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.65;
}

.fp-checklist__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.fp-checklist__icon svg {
  width: 14px;
  height: 14px;
  fill: var(--navy);
}

.fp-checklist__list strong {
  color: var(--navy);
}

.fp-checklist__text {
  color: var(--muted);
}

/* --- Pricing ----------------------------------------------------------- */

.fp-pricing h2 {
  font-size: 28px;
  margin-bottom: 22px;
}

.fp-pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.fp-pricing__tier {
  border: 1px solid #e7e8f3;
  border-radius: var(--radius);
  padding: 26px 24px;
  background: #fff;
}

.fp-pricing__name {
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
}

.fp-pricing__price {
  font-size: 34px;
  font-weight: 900;
  color: var(--red);
  margin-top: 8px;
  line-height: 1;
}

.fp-pricing__note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* --- Callout ----------------------------------------------------------- */

.fp-callout {
  display: flex;
  gap: 18px;
  padding: 26px 26px;
  border-radius: var(--radius);
  background: var(--lavender-soft);
  border-left: 4px solid var(--gold);
}

.fp-callout__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fp-callout__icon svg {
  width: 20px;
  height: 20px;
  fill: var(--navy);
}

.fp-callout h3 {
  font-size: 17px;
  font-weight: 700;
  text-transform: none;
}

.fp-callout p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* --- Mini process ------------------------------------------------------ */

.fp-process-block h2 {
  font-size: 28px;
  margin-bottom: 22px;
}

.fp-mini-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fp-mini-process__step {
  position: relative;
  border: 1px solid #e7e8f3;
  border-radius: var(--radius);
  padding: 20px 16px 18px;
  text-align: center;
}

.fp-mini-process__num {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
}

.fp-mini-process__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--red);
}

.fp-mini-process__icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.fp-mini-process__label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

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

.fp-faqs h2 {
  font-size: 28px;
  margin-bottom: 22px;
}

.fp-faq {
  border-bottom: 1px solid #e7e8f3;
}

.fp-faq:first-of-type {
  border-top: 1px solid #e7e8f3;
}

.fp-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--navy);
  list-style: none;
}

.fp-faq summary::-webkit-details-marker {
  display: none;
}

.fp-faq summary:hover {
  color: var(--red);
}

.fp-faq summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.fp-faq__marker {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.fp-faq__marker::before,
.fp-faq__marker::after {
  content: "";
  position: absolute;
  background: var(--red);
  border-radius: 2px;
  transition: transform 0.18s ease;
}

.fp-faq__marker::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.fp-faq__marker::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.fp-faq[open] .fp-faq__marker::after {
  transform: rotate(90deg);
}

.fp-faq__answer {
  padding: 0 4px 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 68ch;
}

/* --- Area page --------------------------------------------------------- */

.area-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: start;
}

.area-hero__facts {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.area-hero__fact {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #c6c7e6;
  font-size: 14.5px;
  font-weight: 600;
}

.area-hero__fact svg {
  width: 17px;
  height: 17px;
  fill: var(--gold);
  flex-shrink: 0;
}

.area-cta-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px;
}

.area-cta-card h2 {
  font-size: 21px;
  text-transform: none;
  letter-spacing: -0.3px;
}

.area-cta-card > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.area-cta-card__phone {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 15px 16px;
  border-radius: 8px;
  background: var(--navy);
  transition: background 0.15s ease;
}

.area-cta-card__phone:hover {
  background: var(--navy-dark);
}

.area-cta-card__phone svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
  flex-shrink: 0;
}

.area-cta-card__phone small {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #a2a3d4;
}

.area-cta-card__phone strong {
  display: block;
  font-size: 20px;
  color: #fff;
  margin-top: 2px;
}

.area-cta-card__btn {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

.area-cta-card__text {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.area-cta-card__hours {
  list-style: none;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #eceef7;
  display: grid;
  gap: 8px;
}

.area-cta-card__hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink);
}

.area-cta-card__hours li span:last-child {
  font-weight: 600;
}

.content-area--tight {
  padding: 60px 0 20px;
}

.entry-content--wide {
  max-width: 860px;
}

.area-coverage {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 44px;
  padding: 34px 32px;
  background: var(--lavender-soft);
  border-radius: var(--radius);
}

.area-coverage h2 {
  font-size: 20px;
  text-transform: none;
}

.area-coverage__hoods {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 24px;
}

.area-coverage__hoods li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
}

.area-coverage__hoods svg {
  width: 15px;
  height: 15px;
  fill: var(--red);
  flex-shrink: 0;
}

.area-coverage__zips {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.7;
}

.area-coverage__note {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.areas--nearby {
  padding: 76px 0;
}

.areas--nearby .section-head h2 {
  color: #fff;
}

.areas--nearby .eyebrow {
  color: var(--gold);
}

.services--area {
  background: var(--white);
}

/* --- Article ----------------------------------------------------------- */

.fp-article__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.fp-article__meta .sep {
  opacity: 0.6;
}

.fp-article__hero-image {
  background: linear-gradient(to bottom, var(--navy) 0 50%, transparent 50% 100%);
}

.fp-article__hero-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.fp-layout--article {
  padding-top: 52px;
}

.fp-article__body {
  font-size: 17.5px;
  line-height: 1.8;
  max-width: 68ch;
}

.fp-article__body h2 {
  font-size: 27px;
}

.fp-article__body h3 {
  font-size: 21px;
}

.fp-article__cta {
  display: flex;
  gap: 20px;
  padding: 30px 30px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #c6c7e6;
}

.fp-article__cta-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fp-article__cta-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.fp-article__cta h2 {
  color: #fff;
  font-size: 21px;
  text-transform: none;
}

.fp-article__cta p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.65;
}

.fp-article__cta-actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.fp-article__cta-phone {
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}

.fp-article__cta-phone:hover {
  color: var(--gold);
}

.fp-article__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid #e7e8f3;
  font-size: 14px;
  color: var(--muted);
}

.fp-article__cats a {
  color: var(--red);
  font-weight: 600;
}

.fp-article__share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fp-article__share span {
  font-weight: 700;
  color: var(--navy);
}

.fp-article__share a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--lavender-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.fp-article__share a:hover {
  background: var(--navy);
}

.fp-article__share svg {
  width: 16px;
  height: 16px;
  fill: var(--navy);
}

.fp-article__share a:hover svg {
  fill: #fff;
}

/* --- Blog index feature card ------------------------------------------ */

.fp-feature-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  border: 1px solid #e7e8f3;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fp-feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.fp-feature-card__media {
  min-height: 300px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
}

.fp-feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fp-feature-card__placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-feature-card__placeholder svg {
  width: 54px;
  height: 54px;
  fill: rgba(255, 255, 255, 0.5);
}

.fp-feature-card__body {
  padding: 40px 38px;
  align-self: center;
}

.fp-feature-card__body .blog-date {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fp-feature-card__body h2 {
  margin-top: 14px;
  font-size: 30px;
  text-transform: none;
  line-height: 1.2;
}

.fp-feature-card__body p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.fp-feature-card__body .blog-read {
  margin-top: 20px;
}

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

.footer-contact .hours-heading {
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 6px;
}

.footer-contact .hours-line--service {
  color: #8f90c4;
  font-size: 13px;
  font-style: italic;
}

.why-experience {
  margin-top: 10px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15.5px;
}

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

@media (max-width: 1080px) {
  .fp-layout__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .fp-rail {
    position: static;
  }

  .fp-rail__card {
    max-width: 460px;
  }

  .area-hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .area-cta-card {
    max-width: 460px;
  }
}

@media (max-width: 980px) {
  .fp-mini-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .area-coverage {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .fp-feature-card {
    grid-template-columns: 1fr;
  }

  .fp-feature-card__media {
    min-height: 220px;
  }
}

@media (max-width: 700px) {
  .fp-layout {
    padding-top: 44px;
  }

  .fp-layout__main > * + * {
    margin-top: 40px;
  }

  .fp-checklist__heading,
  .fp-pricing h2,
  .fp-process-block h2,
  .fp-faqs h2 {
    font-size: 24px;
  }

  .fp-callout,
  .fp-article__cta {
    flex-direction: column;
    padding: 24px 22px;
  }

  .fp-feature-card__body {
    padding: 28px 24px;
  }

  .fp-feature-card__body h2 {
    font-size: 24px;
  }

  .fp-article__body {
    font-size: 16.5px;
  }

  .fp-trust-strip {
    gap: 12px 20px;
  }
}

/* Service hours in the rail — a quieter block beneath the phone hours. */
.fp-rail__service-hours {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed #e2e3f0;
}

.fp-rail__service-hours-title {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}

.fp-rail__service-hours ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.fp-rail__service-hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.footer-contact .hours-heading--service {
  color: #8f90c4;
  margin-top: 12px;
}

/* =========================================================================
   PHOTOGRAPHY — hero photos, the work gallery, service card images, team
   ========================================================================= */

/*
 * Photo heroes.
 *
 * The overlay is deliberately heavy and is layered *over* the photo rather
 * than tinting it. These pages take whatever photograph an editor uploads —
 * bright sky, white bathroom, a snowy driveway — and white text has to stay
 * readable on all of them. A light overlay looks better on the three photos
 * you tested and fails on the fourth.
 *
 * On wide screens the gradient is stronger on the left, where the text sits,
 * so some of the photograph still reads on the right.
 */
.page-hero--photo {
  background-image:
    linear-gradient(100deg, rgba(28, 29, 94, 0.96) 0%, rgba(28, 29, 94, 0.9) 42%, rgba(28, 29, 94, 0.6) 100%),
    var(--fp-hero-photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--photo .stars-overlay {
  opacity: 0.06;
}

@media (max-width: 900px) {
  /* Text is full width here, so the whole photo needs holding back. */
  .page-hero--photo {
    background-image:
      linear-gradient(180deg, rgba(28, 29, 94, 0.94) 0%, rgba(28, 29, 94, 0.92) 100%),
      var(--fp-hero-photo);
  }
}

/* --- Recent work gallery ------------------------------------------------ */

.fp-work {
  padding: 96px 0;
  background: var(--white);
}

.fp-work--tinted {
  background: var(--lavender-soft);
}

.fp-work__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.fp-work__item figure {
  margin: 0;
  background: #fff;
  border: 1px solid #e7e8f3;
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fp-work__item figure:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

/*
 * Fixed-ratio window with object-fit. Job photos arrive in every shape —
 * portrait phone shots, wide DSLR frames — and without this the grid rows
 * jump around.
 */
.fp-work__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--lavender);
}

.fp-work__item figcaption {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.fp-work__caption {
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--navy);
}

.fp-work__where {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.fp-work__where svg {
  width: 13px;
  height: 13px;
  fill: var(--red);
  flex-shrink: 0;
}

/* --- Service cards with a photo ----------------------------------------- */

.service-card--photo {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card__photo {
  display: block;
  background: var(--lavender);
}

.service-card__photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card--photo h3 {
  margin-top: 0;
}

.service-card--photo > *:not(.service-card__photo) {
  padding-left: 28px;
  padding-right: 28px;
}

.service-card--photo > h3 {
  padding-top: 24px;
}

.service-card--photo > .card-link {
  padding-bottom: 26px;
}

/* --- Team --------------------------------------------------------------- */

.fp-team {
  padding: 96px 0;
  background: var(--white);
}

.fp-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.fp-team-card {
  border: 1px solid #e7e8f3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.fp-team-card__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: var(--lavender);
}

.fp-team-card__placeholder {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-team-card__placeholder svg {
  width: 44px;
  height: 44px;
  fill: rgba(255, 255, 255, 0.45);
}

.fp-team-card__body {
  padding: 24px 24px 26px;
}

.fp-team-card__body h3 {
  font-size: 20px;
  text-transform: none;
}

.fp-team-card__role {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--red);
}

.fp-team-card__bio {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.fp-team-card__bio p {
  margin: 0 0 0.8em;
}

.fp-team-card__meta {
  list-style: none;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #eceef7;
  display: grid;
  gap: 7px;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 600;
}

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

@media (max-width: 980px) {
  .fp-work__grid,
  .fp-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .fp-work,
  .fp-team {
    padding: 64px 0;
  }

  .fp-work__grid,
  .fp-team__grid {
    grid-template-columns: 1fr;
  }
}
