/* Woodward Property Group — shared styles */

:root {
  --wpg-blue: #008AFC;
  --wpg-dark-blue: #03024F;
  --wpg-ink: #292929;
  --wpg-text: #333333;
  --wpg-muted: #5a5a5a;
  --wpg-bg: #ffffff;
  --wpg-bg-alt: #f5f7fa;
  --wpg-bg-dark: #03024F;
  --wpg-line: #e5e8ed;
  --wpg-shadow: 0 6px 20px rgba(0, 30, 80, 0.08);

  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-heading: "Libre Baskerville", Georgia, serif;
  --font-body: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Jockey One", "Helvetica Neue", Arial, sans-serif;
  --font-mono-num: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --gutter: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--wpg-text);
  background: var(--wpg-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--wpg-blue);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--wpg-dark-blue); }

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

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

.site-header {
  background: var(--wpg-bg);
  border-bottom: 1px solid var(--wpg-line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.site-header .logo img {
  height: 92px;
  width: auto;
}

.site-header .phone {
  font-family: var(--font-mono-num);
  font-weight: 700;
  font-size: 18px;
  color: var(--wpg-ink);
  white-space: nowrap;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a,
.site-nav .menu-label {
  display: inline-block;
  padding: 10px 14px;
  color: var(--wpg-ink);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border-radius: 4px;
}

.site-nav a:hover,
.site-nav .has-submenu:hover > .menu-label,
.site-nav a.is-active {
  color: var(--wpg-blue);
}

.site-nav .has-submenu {
  position: relative;
}

.site-nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--wpg-line);
  border-radius: 4px;
  box-shadow: var(--wpg-shadow);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  display: none;
  z-index: 60;
}

.site-nav .has-submenu:hover .submenu,
.site-nav .has-submenu:focus-within .submenu {
  display: block;
}

.site-nav .submenu li { display: block; }

.site-nav .submenu a {
  display: block;
  padding: 8px 16px;
  font-weight: 500;
}

.site-nav .has-submenu > .menu-label::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--wpg-line);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 18px;
  cursor: pointer;
}

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

.btn {
  display: inline-block;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 4px;
  border: 2px solid var(--wpg-blue);
  background: var(--wpg-blue);
  color: #fff;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}

.btn:hover {
  background: var(--wpg-dark-blue);
  border-color: var(--wpg-dark-blue);
  color: #fff;
}

.btn:active { transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  color: var(--wpg-blue);
}
.btn--ghost:hover { background: var(--wpg-blue); color: #fff; }

.btn--lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* ---------- Sections ---------- */

section { padding: 60px 0; }

.section--dark {
  background: var(--wpg-bg-dark);
  color: #fff;
}

.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #fff; }

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

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wpg-blue);
  margin-bottom: 12px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  color: var(--wpg-dark-blue);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  color: var(--wpg-blue);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
}

h3 {
  font-family: var(--font-heading);
  font-size: 22px;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 { margin-bottom: 8px; }

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

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(3,2,79,0.55) 0%, rgba(3,2,79,0.25) 60%, rgba(0,138,252,0.15) 100%),
    url("assets/images/hero-home.jpg") center/cover no-repeat;
  padding: 120px 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.8vw, 84px);
  color: #fff;
  margin: 0 0 28px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
  max-width: 720px;
}

.hero .btn { box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

/* Page hero (smaller, blue title on light bg) */

.page-hero {
  background: var(--wpg-bg-alt);
  text-align: center;
  padding: 70px 0 50px;
  border-bottom: 1px solid var(--wpg-line);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  color: var(--wpg-blue);
  margin: 0;
}

/* ---------- Generic blocks ---------- */

.lead {
  font-family: var(--font-accent);
  font-size: 20px;
  line-height: 1.7;
  color: var(--wpg-text);
  text-align: center;
  max-width: 880px;
  margin: 0 auto 32px;
  letter-spacing: 0.04em;
}

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

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

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- About / company snapshot ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.split img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--wpg-shadow);
}

/* ---------- Why choose us (feature grid on dark) ---------- */

.feature-card {
  text-align: center;
  padding: 16px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 22px;
  margin: 0;
  line-height: 1.4;
}

/* ---------- Service cards ---------- */

.service-card {
  background: #fff;
  border: 1px solid var(--wpg-line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--wpg-shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,30,80,0.12);
}

.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-card h3 {
  margin: 0;
  padding: 20px 20px 22px;
  color: var(--wpg-dark-blue);
  font-family: var(--font-heading);
  font-size: 22px;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: var(--wpg-blue);
  text-underline-offset: 4px;
}

.services-cta { text-align: center; margin-top: 36px; }

/* ---------- Testimonials ---------- */

.testimonial {
  background: #fff;
  border: 1px solid var(--wpg-line);
  border-radius: 6px;
  padding: 28px 26px;
  box-shadow: var(--wpg-shadow);
  display: flex;
  flex-direction: column;
}

.testimonial blockquote {
  margin: 0 0 18px;
  font-style: italic;
  font-size: 16px;
  line-height: 1.7;
  color: var(--wpg-text);
}

.testimonial blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--wpg-blue);
  margin-bottom: -10px;
}

.testimonial cite {
  font-style: normal;
  font-weight: 700;
  color: var(--wpg-dark-blue);
  margin-top: auto;
}

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

.team-lead {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
  margin-bottom: 60px;
}
@media (max-width: 800px) { .team-lead { grid-template-columns: 1fr; } }

.team-lead img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--wpg-shadow);
}

.team-lead h3 {
  color: var(--wpg-blue);
  font-family: var(--font-heading);
  font-size: 28px;
  margin-bottom: 14px;
}

.team-lead p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 1em;
}

.team-row { margin-top: 24px; }

.team-card { text-align: center; }

.team-card img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 18px;
  box-shadow: var(--wpg-shadow);
}

.team-card h3 {
  color: var(--wpg-blue);
  margin-bottom: 8px;
}

.team-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--wpg-text);
  margin: 0;
}

/* ---------- Lists (services / tenant requirements) ---------- */

.svc-list-group {
  margin-top: 36px;
}

.svc-list-group h3 {
  font-family: var(--font-heading);
  font-size: 23px;
  text-decoration: underline;
  text-decoration-color: var(--wpg-blue);
  text-underline-offset: 4px;
  margin-bottom: 16px;
  color: var(--wpg-ink);
  letter-spacing: 0.08em;
}

.svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  font-family: var(--font-accent);
  font-size: 18px;
  color: var(--wpg-ink);
  letter-spacing: 0.03em;
}

.svc-list li {
  position: relative;
  padding-left: 24px;
}

.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 10px;
  background: var(--wpg-blue);
  border-radius: 50%;
}

@media (max-width: 700px) { .svc-list { grid-template-columns: 1fr; } }

/* ---------- Tenants page typography ---------- */

.tenant-section { margin-bottom: 44px; }

.tenant-section h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--wpg-dark-blue);
  letter-spacing: 0.05em;
  border-left: 4px solid var(--wpg-blue);
  padding-left: 14px;
  margin-bottom: 8px;
}

.tenant-section .sub {
  color: var(--wpg-blue);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  margin: 0 0 18px 18px;
}

.tenant-section ol,
.tenant-section ul {
  padding-left: 24px;
  margin: 0 0 0 18px;
}

.tenant-section li {
  margin-bottom: 12px;
  line-height: 1.65;
}

.tenant-section li ul { margin-top: 8px; }

/* ---------- Forms ---------- */

.quote-form,
.contact-card {
  background: #fff;
  border: 1px solid var(--wpg-line);
  border-radius: 6px;
  padding: 36px;
  box-shadow: var(--wpg-shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

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

.field { display: flex; flex-direction: column; }

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--wpg-dark-blue);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.field .req { color: #d33; margin-left: 2px; }

.field input,
.field select,
.field textarea {
  border: 1px solid var(--wpg-line);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--wpg-text);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--wpg-blue);
  box-shadow: 0 0 0 3px rgba(0,138,252,0.18);
}

.field textarea { min-height: 130px; resize: vertical; }

.form-actions { margin-top: 22px; text-align: center; }

.form-note {
  margin-top: 14px;
  text-align: center;
  color: var(--wpg-muted);
  font-size: 14px;
}

/* Prominent confirmation shown after a form is submitted via assets/js/forms.js */
.form-note.is-success,
.form-note.is-error {
  margin-top: 0;
  padding: 18px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.form-note.is-success {
  color: #14532d;
  background: #e7f6ec;
  border: 1px solid #9ed4b0;
}
.form-note.is-error {
  color: #7f1d1d;
  background: #fdecec;
  border: 1px solid #f0b4b4;
}

/* ---------- Contact info card ---------- */

.contact-info {
  background: var(--wpg-bg-alt);
  border-radius: 6px;
  padding: 28px;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--wpg-dark-blue);
  margin-bottom: 18px;
}

.contact-info p { margin: 0 0 12px; }
.contact-info strong { color: var(--wpg-dark-blue); }

/* ---------- CTA strip ---------- */

.cta-strip {
  background: var(--wpg-bg-dark);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}

.cta-strip h2 {
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 24px;
}

/* ---------- Gallery / renovations ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--wpg-shadow);
}
.gallery figure { margin: 0; }
.gallery figcaption {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--wpg-muted, #4a5163);
  line-height: 1.45;
}

.hashtags {
  text-align: center;
  color: var(--wpg-muted);
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: 36px;
}

.gallery-heading {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--wpg-dark-blue);
  text-decoration: underline;
  text-decoration-color: var(--wpg-blue);
  text-underline-offset: 6px;
  margin-bottom: 28px;
}

.instagram-note {
  text-align: center;
  background: var(--wpg-bg-alt);
  border: 1px dashed var(--wpg-line);
  border-radius: 6px;
  padding: 32px 24px;
  color: var(--wpg-muted);
  font-size: 15px;
  margin-bottom: 40px;
}

.instagram-note a { font-weight: 600; }

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

.site-footer {
  background: #f0f2f6;
  color: var(--wpg-ink);
  padding: 36px 0 28px;
  border-top: 1px solid var(--wpg-line);
}

.site-footer .footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.site-footer .footer-address {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--wpg-ink);
  margin: 0;
}

.site-footer .footer-address a {
  color: var(--wpg-ink);
  text-decoration: underline;
}

.site-footer .copyright {
  font-size: 14px;
  color: var(--wpg-muted);
  margin: 0;
}

.site-footer .social {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  gap: 18px;
}

.site-footer .social img {
  width: 23px;
  height: 23px;
  display: block;
}

.site-footer .social a {
  display: inline-block;
  opacity: 0.85;
  transition: opacity .15s ease, transform .1s ease;
}
.site-footer .social a:hover { opacity: 1; transform: translateY(-1px); }

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

@media (max-width: 900px) {
  .site-header .header-inner {
    flex-wrap: wrap;
    gap: 14px;
  }
  .site-header .logo img { height: 70px; }
  .site-header .phone { order: 2; margin-left: auto; font-size: 16px; }
  .nav-toggle { display: inline-block; order: 3; }
  .site-nav {
    order: 4;
    flex-basis: 100%;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--wpg-line);
    padding-top: 6px;
  }
  .site-nav a, .site-nav .menu-label {
    padding: 14px 8px;
    border-bottom: 1px solid var(--wpg-line);
  }
  .site-nav .submenu {
    position: static;
    box-shadow: none;
    border: none;
    display: block;
    padding: 0 0 0 12px;
  }
  .site-nav .has-submenu > .menu-label::after { display: none; }
}

/* ---------- Mobile layout hardening ---------- */

@media (max-width: 768px) {
  :root { --gutter: 18px; }
  section { padding: 44px 0; }
  .hero { min-height: 0; padding: 80px 0; }
  .hero h1 { font-size: clamp(34px, 9vw, 52px); margin-bottom: 22px; }
  .page-hero { padding: 50px 0 36px; }
  .page-hero h1 { font-size: clamp(34px, 8vw, 56px); }
  h2 { font-size: clamp(24px, 6vw, 32px); }
  h3 { font-size: 20px; }
  .lead { font-size: 17px; line-height: 1.65; }
  .quote-form, .contact-card { padding: 22px; }
  .cta-strip { padding: 50px 0; }
  .service-card img { height: 200px; }
  .gallery img { height: 200px; }
  .team-card img { width: 180px; height: 180px; }
  .btn, .btn--lg { padding: 12px 22px; font-size: 15px; }
  .btn--lg { padding: 14px 26px; font-size: 16px; }
  /* contact-us inline 2fr 1fr → single column on mobile */
  .grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 420px) {
  :root { --gutter: 14px; }
  .site-header .logo img { height: 56px; }
  .site-header .phone { font-size: 15px; }
  .hero { padding: 60px 0; }
  .quote-form, .contact-card { padding: 18px; }
}

/* =================================================================
   SEO + GEO content components (v2 investor rebuild)
   Added for the answer-first / definition / FAQ / comparison
   page patterns. All reuse existing design tokens above.
   ================================================================= */

/* ---------- Breadcrumbs ---------- */

.breadcrumb {
  background: var(--wpg-bg-alt);
  border-bottom: 1px solid var(--wpg-line);
  padding: 12px 0;
  font-size: 14px;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: var(--wpg-muted);
}

.breadcrumb li { display: flex; align-items: center; gap: 6px; }

.breadcrumb li + li::before {
  content: "\203A";
  color: var(--wpg-muted);
}

.breadcrumb a { color: var(--wpg-blue); font-weight: 600; }
.breadcrumb [aria-current="page"] { color: var(--wpg-ink); }

/* ---------- Article / prose layout ---------- */

.article { padding: 44px 0; }

.article .container { max-width: 940px; }

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  color: var(--wpg-dark-blue);
  margin: 1.6em 0 .5em;
  scroll-margin-top: 90px;
}

.prose h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  color: var(--wpg-dark-blue);
  margin: 1.4em 0 .4em;
}

.prose p { margin: 0 0 1.1em; font-size: 17px; line-height: 1.75; }

.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 22px; }
.prose li { margin-bottom: 10px; line-height: 1.7; }
.prose strong { color: var(--wpg-dark-blue); }

/* ---------- Answer-first callout (GEO signal) ---------- */

.answer-first {
  background: linear-gradient(180deg, #f5f9ff 0%, #eef5ff 100%);
  border: 1px solid #d5e6fc;
  border-left: 5px solid var(--wpg-blue);
  border-radius: 6px;
  padding: 26px 28px;
  margin: 0 0 36px;
}

.answer-first p {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--wpg-ink);
}

.answer-first p + p { margin-top: 12px; }

/* ---------- Definition block (GEO signal) ---------- */

.definition {
  background: var(--wpg-bg-alt);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 28px 0;
  border-left: 4px solid var(--wpg-dark-blue);
}

.definition p { margin: 0; font-size: 16px; line-height: 1.65; }
.definition .term { color: var(--wpg-dark-blue); font-weight: 700; }

/* ---------- Key-stat strip ---------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } }

.stat {
  text-align: center;
  background: #fff;
  border: 1px solid var(--wpg-line);
  border-radius: 6px;
  padding: 22px 16px;
  box-shadow: var(--wpg-shadow);
}

.stat .num {
  display: block;
  font-family: var(--font-mono-num);
  font-weight: 700;
  font-size: 34px;
  color: var(--wpg-blue);
  line-height: 1.1;
}

.stat .label { font-size: 14px; color: var(--wpg-muted); margin-top: 6px; display: block; }

/* ---------- Comparison table (GEO signal) ---------- */

.compare {
  margin: 28px 0;
  border: 1px solid var(--wpg-line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--wpg-shadow);
}

.compare table { width: 100%; border-collapse: collapse; }

.compare caption {
  caption-side: top;
  background: var(--wpg-dark-blue);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  padding: 16px 20px;
  text-align: left;
}

.compare th, .compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--wpg-line);
  font-size: 15px;
  vertical-align: top;
}

.compare thead th {
  background: var(--wpg-bg-alt);
  color: var(--wpg-dark-blue);
  font-weight: 700;
}

.compare tbody th {
  font-weight: 600;
  color: var(--wpg-ink);
  width: 30%;
}

.compare td.wpg { background: #f3f9ff; color: var(--wpg-ink); font-weight: 600; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: none; }

@media (max-width: 600px) {
  .compare th, .compare td { padding: 12px; font-size: 14px; }
  .compare tbody th { width: auto; }
}

/* ---------- FAQ (GEO signal, FAQPage schema) ---------- */

.faq { margin: 28px 0; }

.faq details {
  border: 1px solid var(--wpg-line);
  border-radius: 6px;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: var(--wpg-shadow);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  position: relative;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--wpg-dark-blue);
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: var(--wpg-blue);
  line-height: 1;
}

.faq details[open] summary::after { content: "\2013"; }

.faq summary:focus-visible {
  outline: 3px solid rgba(0,138,252,0.4);
  outline-offset: 2px;
  border-radius: 6px;
}

.faq .faq-body { padding: 0 20px 20px; }
.faq .faq-body p { margin: 0 0 .8em; line-height: 1.7; }
.faq .faq-body p:last-child { margin-bottom: 0; }

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

.steps {
  list-style: none;
  counter-reset: step;
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 20px 18px 64px;
  background: #fff;
  border: 1px solid var(--wpg-line);
  border-radius: 6px;
  box-shadow: var(--wpg-shadow);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  background: var(--wpg-blue);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-mono-num);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li h3 { margin: 0 0 4px; font-size: 18px; }
.steps li p { margin: 0; line-height: 1.65; }

/* ---------- Related links cluster (internal linking) ---------- */

.related {
  background: var(--wpg-bg-alt);
  border-top: 1px solid var(--wpg-line);
  padding: 56px 0;
}

.related h2 { text-align: center; margin-bottom: 28px; font-size: clamp(24px, 3vw, 32px); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 800px) { .related-grid { grid-template-columns: 1fr; } }

.related-card {
  display: block;
  background: #fff;
  border: 1px solid var(--wpg-line);
  border-radius: 6px;
  padding: 20px 22px;
  box-shadow: var(--wpg-shadow);
  color: var(--wpg-ink);
  transition: transform .15s ease, box-shadow .15s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,30,80,0.12);
  color: var(--wpg-ink);
}

.related-card strong { display: block; color: var(--wpg-dark-blue); font-family: var(--font-heading); font-size: 17px; margin-bottom: 6px; }
.related-card span { font-size: 14px; color: var(--wpg-muted); line-height: 1.55; }

/* ---------- CTA section with lead form ---------- */

.cta-lead {
  background: var(--wpg-bg-dark);
  color: #fff;
  padding: 64px 0;
}

.cta-lead .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 820px) { .cta-lead .container { grid-template-columns: 1fr; gap: 32px; } }

.cta-lead h2 { color: #fff; font-family: var(--font-display); margin-bottom: 14px; }
.cta-lead p { color: #d7dcf0; font-size: 17px; line-height: 1.65; margin: 0 0 10px; }
.cta-lead .cta-phone { font-family: var(--font-mono-num); font-weight: 700; font-size: 20px; color: #fff; }
.cta-lead .cta-phone a { color: #fff; }

.cta-lead .lead-form {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
}

.cta-lead .lead-form .field label { color: var(--wpg-dark-blue); }
.cta-lead .lead-form .form-grid { gap: 14px; }
.cta-lead .lead-form .form-actions { margin-top: 18px; }
.cta-lead .lead-form .form-note { color: var(--wpg-dark-blue); font-weight: 600; }

/* ---------- Eyebrow on page hero ---------- */

.page-hero .eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wpg-muted);
  margin-bottom: 10px;
}

.page-hero .page-sub {
  max-width: 760px;
  margin: 14px auto 0;
  font-size: 18px;
  color: var(--wpg-muted);
  line-height: 1.6;
}

/* ---------- Mega/expanded primary nav (more top-level items) ---------- */

@media (min-width: 901px) {
  .site-nav a, .site-nav .menu-label { padding: 10px 11px; font-size: 14px; }
  .site-nav .submenu { min-width: 240px; }
}

/* =================================================================
   v3 visual polish — accents, rhythm, depth (cascades site-wide)
   ================================================================= */

/* ---- Page hero: soft gradient + brand accent bar + colored eyebrow ---- */
.page-hero {
  background: linear-gradient(160deg, #eaf2fd 0%, #f4f7fb 55%, #ffffff 100%);
  border-bottom: 3px solid var(--wpg-blue);
}
.page-hero .eyebrow { color: var(--wpg-blue); font-weight: 700; }
.page-hero h1 { letter-spacing: -0.01em; }

/* ---- Prose H2: accent underline + tighter top rhythm ---- */
.prose h2 {
  margin-top: 1.35em;
  padding-bottom: 12px;
  position: relative;
}
.prose h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--wpg-blue);
  border-radius: 2px;
}
.prose h3 { color: var(--wpg-blue); }

/* ---- Centered section titles: centered accent bar ---- */
.section-title h2 { position: relative; padding-bottom: 16px; }
.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 64px;
  height: 3px;
  background: var(--wpg-blue);
  border-radius: 2px;
}

/* ---- Cards: brand top-accent that reveals on hover ---- */
.related-card,
.service-card { border-top: 3px solid transparent; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.related-card:hover,
.service-card:hover { border-top-color: var(--wpg-blue); }

/* ---- Answer-first: a small "Quick answer" tab for scannability ---- */
.answer-first { position: relative; padding-top: 30px; }
.answer-first::before {
  content: "QUICK ANSWER";
  position: absolute;
  top: 0;
  left: 0;
  background: var(--wpg-blue);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 0 0 6px 0;
}

/* ---- Definition block: subtle book icon accent ---- */
.definition { box-shadow: var(--wpg-shadow); }

/* ---- Stat numbers: a touch more presence ---- */
.stat .num { letter-spacing: -0.02em; }

/* ---- Trust badges (homepage hero) ---- */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--wpg-ink);
  box-shadow: 0 6px 18px rgba(0, 20, 60, 0.25);
}
.badge .badge-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wpg-dark-blue);
  color: #fff;
  font-family: var(--font-mono-num);
  font-weight: 700;
  border-radius: 999px;
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.badge--bbb .badge-mark { background: #0a4ea2; }

/* Official BBB seal — hero chip + footer */
.badge--seal { padding: 6px 12px 4px; background: #fff; }
.badge--seal img { height: 34px; width: auto; display: block; }
.site-footer .footer-bbb { display: inline-block; margin-top: 4px; line-height: 0; opacity: .95; transition: opacity .15s ease; }
.site-footer .footer-bbb:hover { opacity: 1; }
.site-footer .footer-bbb img { height: 42px; width: auto; display: block; }

/* On light backgrounds (non-hero), badges get a normal border */
section:not(.hero) .trust-badges .badge,
.section--alt .trust-badges .badge {
  background: #fff;
  border-color: var(--wpg-line);
  box-shadow: var(--wpg-shadow);
}

@media (max-width: 768px) {
  .prose h2 { margin-top: 1.2em; }
  .answer-first { padding-top: 28px; }
}

/* =================================================================
   v4 icon + card visual system (genre match: icon-driven, scannable)
   ================================================================= */

/* ---- Icon badge: gradient rounded square holding an inline SVG ---- */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--wpg-blue) 0%, var(--wpg-dark-blue) 100%);
  box-shadow: 0 8px 18px rgba(0, 80, 200, 0.22);
  flex: none;
}
.icon-badge svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-badge--lg { width: 64px; height: 64px; border-radius: 16px; }
.icon-badge--lg svg { width: 32px; height: 32px; }
.icon-badge--ghost {
  background: #eaf2fd;
  box-shadow: none;
}
.icon-badge--ghost svg { stroke: var(--wpg-blue); }

/* ---- Icon card (service / feature grid) ---- */
.icon-card {
  background: #fff;
  border: 1px solid var(--wpg-line);
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: var(--wpg-shadow);
  border-top: 3px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  display: block;
  color: var(--wpg-ink);
}
.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 30, 80, 0.14);
  border-top-color: var(--wpg-blue);
  color: var(--wpg-ink);
}
.icon-card h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  color: var(--wpg-dark-blue);
  margin: 18px 0 8px;
}
.icon-card p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--wpg-muted); }
.icon-card .more {
  font-weight: 700;
  font-size: 14px;
  color: var(--wpg-blue);
  letter-spacing: 0.02em;
}
.icon-card .more::after { content: " \2192"; transition: margin .15s ease; }
.icon-card:hover .more::after { margin-left: 4px; }

/* ---- Action cards (bold 3-up row near top of homepage) ---- */
.action-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .action-cards { grid-template-columns: 1fr; } }
.action-card {
  background: linear-gradient(160deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid #dbe8fb;
  border-radius: 14px;
  padding: 30px 28px;
  box-shadow: var(--wpg-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.action-card h3 { font-family: var(--font-heading); font-size: 21px; color: var(--wpg-dark-blue); margin: 16px 0 6px; }
.action-card p { margin: 0 0 20px; color: var(--wpg-text); font-size: 15px; line-height: 1.6; flex: 1; }
.action-card .btn { margin-top: auto; }

/* ---- Value / why-us cards (numbered, icon) ---- */
.value-card {
  background: #fff;
  border: 1px solid var(--wpg-line);
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: var(--wpg-shadow);
  position: relative;
  overflow: hidden;
}
.value-card .vnum {
  position: absolute;
  top: 10px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: #eef4fd;
  font-weight: 900;
}
.value-card h3 { font-family: var(--font-heading); font-size: 19px; color: var(--wpg-dark-blue); margin: 16px 0 8px; position: relative; }
.value-card p { margin: 0; color: var(--wpg-muted); font-size: 15px; line-height: 1.65; position: relative; }

/* ---- Commitments / checklist cards (checkmark) ---- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li {
  position: relative;
  padding-left: 38px;
  line-height: 1.6;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eaf6ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a9d54' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/15px no-repeat;
}
.checklist li strong { color: var(--wpg-dark-blue); }

/* ---- Custom bullets for plain prose lists (cascades to all content pages) ---- */
.prose ul:not([class]) { list-style: none; padding-left: 0; }
.prose ul:not([class]) > li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.prose ul:not([class]) > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008AFC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---- Definition block: add a subtle marker icon ---- */
.definition { position: relative; }

/* ---- Related cards: arrow affordance ---- */
.related-card strong::after {
  content: " \2192";
  color: var(--wpg-blue);
  opacity: 0;
  transition: opacity .15s ease, margin .15s ease;
}
.related-card:hover strong::after { opacity: 1; margin-left: 3px; }

/* ---- Callout / highlight box (pull readers into the text) ---- */
.callout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--wpg-bg-dark);
  color: #fff;
  border-radius: 12px;
  padding: 26px 28px;
  margin: 32px 0;
}
.callout .icon-badge { background: rgba(255,255,255,0.14); box-shadow: none; }
.callout h3 { color: #fff; font-family: var(--font-heading); font-size: 19px; margin: 0 0 6px; }
.callout p { margin: 0; color: #dbe2f4; line-height: 1.6; }
.callout a { color: #9ecbff; }
/* Disambiguation callout (e.g. buy-and-hold vs fix-and-flip): lighter card with an accent edge */
.callout--accent {
  background: var(--wpg-bg-alt, #f3f5fb);
  color: var(--wpg-ink, #1d2433);
  border-left: 5px solid var(--wpg-accent, #c8a24a);
}
.callout--accent .icon-badge { background: rgba(0,0,0,0.06); color: var(--wpg-ink, #1d2433); }
.callout--accent h3 { color: var(--wpg-ink, #1d2433); }
.callout--accent p { color: var(--wpg-muted, #4a5163); }
.callout--accent a { color: var(--wpg-accent-ink, #8a6d24); }

/* ---- Feature row: icon + heading + text (icon-led list, replaces plain bullets) ---- */
.feature-list { display: grid; gap: 20px; margin: 28px 0; }
.feature-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
}
.feature-row h3 { margin: 4px 0 4px; font-size: 18px; font-family: var(--font-heading); color: var(--wpg-dark-blue); }
.feature-row p { margin: 0; line-height: 1.65; }

/* ---- Section intro paragraph centered ---- */
.section-intro { text-align: center; max-width: 760px; margin: -28px auto 40px; color: var(--wpg-muted); font-size: 17px; line-height: 1.65; }

/* ---- Grid helper for icon cards ---- */
.grid--icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid--icons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--icons { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .feature-row { grid-template-columns: 44px 1fr; gap: 14px; } }
