/* Wichita Barndominiums: high-contrast homepage refinements */
:root {
  --wbd-forest: #263b2e;
  --wbd-forest-deep: #1e3025;
  --wbd-cream: #f3eee4;
  --wbd-paper: #fffdf8;
  --wbd-ink: #26352c;
  --wbd-muted: #58665d;
  --wbd-brass: #c49a5a;
}

/* Service cards: cream cards on forest, with clearly readable section heading */
.lgf-content.wichita-services {
  background: var(--wbd-forest) !important;
  color: var(--wbd-paper) !important;
  padding-block: clamp(3.5rem, 7vw, 6.5rem) !important;
}
.lgf-content.wichita-services > h2,
.lgf-content.wichita-services > h3,
.lgf-content.wichita-services > p,
.lgf-content.wichita-services .lgf-lead {
  color: var(--wbd-paper) !important;
}
.lgf-content.wichita-services h2 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif !important;
  font-size: clamp(2.15rem, 4.3vw, 3.35rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
  max-width: 18ch;
}
.lgf-content.wichita-services .lgf-card-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(1rem, 2.2vw, 1.8rem) !important;
  margin-top: 2.2rem !important;
}
.lgf-content.wichita-services .lgf-card {
  background: var(--wbd-paper) !important;
  color: var(--wbd-ink) !important;
  border: 1px solid rgba(196, 154, 90, .45) !important;
  border-top: 4px solid var(--wbd-brass) !important;
  border-radius: 3px !important;
  box-shadow: 0 18px 44px rgba(10, 22, 15, .22) !important;
  padding: clamp(1.35rem, 2.5vw, 2rem) !important;
}
.lgf-content.wichita-services .lgf-card h3 {
  color: var(--wbd-forest-deep) !important;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif !important;
  font-size: clamp(1.35rem, 2vw, 1.75rem) !important;
  line-height: 1.18 !important;
}
.lgf-content.wichita-services .lgf-card p,
.lgf-content.wichita-services .lgf-card li {
  color: var(--wbd-muted) !important;
  font-size: 1.02rem !important;
  line-height: 1.72 !important;
}
.lgf-content.wichita-services .lgf-card a {
  color: var(--wbd-forest-deep) !important;
  font-weight: 750 !important;
  text-decoration-color: var(--wbd-brass) !important;
  text-underline-offset: .22em;
}

/* Process section: strong light-on-dark title, readable light cards */
.wichita-process {
  background: var(--wbd-forest-deep) !important;
  color: var(--wbd-paper) !important;
  padding-block: clamp(3.5rem, 7vw, 6rem) !important;
}
.wichita-process h2,
.wichita-process > p,
.wichita-process .lgf-lead {
  color: var(--wbd-paper) !important;
}
.wichita-process h2 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif !important;
  font-size: clamp(2.1rem, 4vw, 3.1rem) !important;
  line-height: 1.1 !important;
}
.wichita-process .lgf-card,
.wichita-process [class*="step"] {
  background-color: var(--wbd-cream) !important;
  color: var(--wbd-ink) !important;
}
.wichita-process .lgf-card h3,
.wichita-process [class*="step"] h3 {
  color: var(--wbd-forest-deep) !important;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif !important;
  font-size: 1.4rem !important;
}
.wichita-process .lgf-card p,
.wichita-process [class*="step"] p {
  color: #46564b !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

/* Give supporting homepage sections the same legibility and warmth */
.wichita-price-guide h2,
.wichita-faq h2,
.wichita-final-cta h2 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif !important;
  color: var(--wbd-forest-deep) !important;
  font-size: clamp(2rem, 3.8vw, 3rem) !important;
  line-height: 1.12 !important;
}
.wichita-price-guide,
.wichita-faq {
  color: var(--wbd-ink) !important;
}
.wichita-price-guide p,
.wichita-price-guide li,
.wichita-faq p,
.wichita-faq li {
  color: #46564b !important;
  font-size: 1.02rem !important;
  line-height: 1.75 !important;
}
.wichita-final-cta {
  background: var(--wbd-forest) !important;
  color: var(--wbd-paper) !important;
  padding-block: clamp(3.5rem, 7vw, 6rem) !important;
}
.wichita-final-cta h2,
.wichita-final-cta p {
  color: var(--wbd-paper) !important;
}

/* Make the hero phone CTA match the prominent header phone */
.wichita-hero-copy .lgf-btn[href^="tel:"] {
  font-family: inherit !important;
  font-size: 20px !important;
  font-weight: 750 !important;
  letter-spacing: .015em !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  min-height: 58px !important;
  padding: 17px 25px !important;
}

/* Small-screen layout */
@media (max-width: 760px) {
  .lgf-content.wichita-services .lgf-card-grid {
    grid-template-columns: 1fr !important;
  }
  .lgf-content.wichita-services,
  .wichita-process,
  .wichita-final-cta {
    padding-block: 3rem !important;
  }
  .wichita-hero-copy .lgf-btn[href^="tel:"] {
    font-size: 19px !important;
    min-height: 56px !important;
  }
}

/* Precision pass: restore section contrast and add architectural photography */
.wichita-site-content .wichita-services h2,
.wichita-site-content .wichita-services .wichita-section-heading h2,
.wichita-site-content .wichita-process h2,
.wichita-site-content .wichita-process .wichita-section-heading h2,
#primary .wichita-services h2,
#primary .wichita-process h2 {
  color: var(--wbd-paper) !important;
  -webkit-text-fill-color: var(--wbd-paper) !important;
  opacity: 1 !important;
  visibility: visible !important;
  mix-blend-mode: normal !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}
.wichita-site-content .wichita-services .wichita-overline,
.wichita-site-content .wichita-process .wichita-overline {
  color: #e0b678 !important;
  font-size: .82rem !important;
  line-height: 1.4 !important;
  letter-spacing: .15em !important;
}
.wichita-site-content .wichita-services,
#primary .wichita-services {
  background: linear-gradient(135deg, #24392d 0%, #304a38 100%) !important;
  color: var(--wbd-paper) !important;
}
.wichita-site-content .wichita-process,
#primary .wichita-process {
  background: linear-gradient(135deg, #1d3025 0%, #2b4333 100%) !important;
  color: var(--wbd-paper) !important;
}
.wichita-site-content .wichita-process .wichita-steps article,
#primary .wichita-process .wichita-steps article {
  min-height: 250px;
  padding: 28px 25px !important;
  background: #fffdf8 !important;
  border: 1px solid rgba(196, 154, 90, .48) !important;
  border-top: 4px solid #c49a5a !important;
  box-shadow: 0 18px 42px rgba(7, 18, 10, .2) !important;
  transition: transform .22s ease, box-shadow .22s ease;
}
.wichita-site-content .wichita-process .wichita-steps article:hover,
#primary .wichita-process .wichita-steps article:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(7, 18, 10, .27) !important;
}
.wichita-site-content .wichita-process .wichita-steps b,
#primary .wichita-process .wichita-steps b {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8dcc8;
  color: #704b2d !important;
  font-size: .85rem !important;
  letter-spacing: .04em !important;
}
.wichita-site-content .wichita-process .wichita-steps h3,
#primary .wichita-process .wichita-steps h3 {
  margin: 20px 0 10px !important;
  color: #23382c !important;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif !important;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem) !important;
  line-height: 1.16 !important;
}
.wichita-site-content .wichita-process .wichita-steps p,
#primary .wichita-process .wichita-steps p {
  color: #4c5c51 !important;
  font-size: 1rem !important;
  line-height: 1.68 !important;
}

/* Give each service preview a real Wichita concept image */
.wichita-site-content .wichita-services .lgf-card-grid > .lgf-card,
#primary .wichita-services .lgf-card-grid > .lgf-card {
  position: relative;
  overflow: hidden;
  padding: 190px 0 25px !important;
  background: #fffdf8 !important;
  border: 1px solid rgba(196, 154, 90, .55) !important;
  border-radius: 4px !important;
  box-shadow: 0 18px 42px rgba(8, 20, 12, .24) !important;
  transition: transform .22s ease, box-shadow .22s ease;
}
.wichita-site-content .wichita-services .lgf-card-grid > .lgf-card:hover,
#primary .wichita-services .lgf-card-grid > .lgf-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 52px rgba(8, 20, 12, .3) !important;
}
.wichita-site-content .wichita-services .lgf-card-grid > .lgf-card::before,
#primary .wichita-services .lgf-card-grid > .lgf-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 166px;
  content: "";
  background-size: cover;
  background-position: center 52%;
  border-bottom: 3px solid #c49a5a;
}
.wichita-site-content .wichita-services .lgf-card-grid > .lgf-card:nth-child(1)::before,
#primary .wichita-services .lgf-card-grid > .lgf-card:nth-child(1)::before {
  background-image: url("/wp-content/themes/leadgen-framework/assets/wichita/exterior-concept.webp");
}
.wichita-site-content .wichita-services .lgf-card-grid > .lgf-card:nth-child(2)::before,
#primary .wichita-services .lgf-card-grid > .lgf-card:nth-child(2)::before {
  background-image: url("/wp-content/themes/leadgen-framework/assets/wichita/exterior-evening-concept.webp");
}
.wichita-site-content .wichita-services .lgf-card-grid > .lgf-card:nth-child(3)::before,
#primary .wichita-services .lgf-card-grid > .lgf-card:nth-child(3)::before {
  background-image: url("/wp-content/themes/leadgen-framework/assets/wichita/workshop-concept.webp");
}
.wichita-site-content .wichita-services .lgf-card-grid > .lgf-card:nth-child(4)::before,
#primary .wichita-services .lgf-card-grid > .lgf-card:nth-child(4)::before {
  background-image: url("/wp-content/themes/leadgen-framework/assets/wichita/great-room-concept.webp");
}
.wichita-site-content .wichita-services .lgf-card-grid > .lgf-card > *,
#primary .wichita-services .lgf-card-grid > .lgf-card > * {
  margin-left: 28px !important;
  margin-right: 28px !important;
}
.wichita-site-content .wichita-services .lgf-card-grid > .lgf-card h3,
#primary .wichita-services .lgf-card-grid > .lgf-card h3 {
  margin-top: 24px !important;
  color: #22362a !important;
  font-size: clamp(1.35rem, 2vw, 1.75rem) !important;
  line-height: 1.16 !important;
}
.wichita-site-content .wichita-services .lgf-card-grid > .lgf-card p,
#primary .wichita-services .lgf-card-grid > .lgf-card p {
  color: #4f5c53 !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
}
.wichita-site-content .wichita-services .lgf-card-grid > .lgf-card a,
#primary .wichita-services .lgf-card-grid > .lgf-card a {
  display: inline-block;
  margin-top: 10px !important;
  color: #264331 !important;
  font-weight: 800 !important;
  text-decoration-color: #c49a5a !important;
  text-underline-offset: .24em;
}

/* The cost guide link must remain legible against its green button */
.wichita-site-content a.lgf-btn-primary,
.wichita-site-content a.lgf-btn,
#primary a.lgf-btn-primary,
#primary a.lgf-btn {
  background: #294735 !important;
  color: #fffdf8 !important;
  -webkit-text-fill-color: #fffdf8 !important;
  border: 1px solid #294735 !important;
  box-shadow: 0 8px 20px rgba(22, 41, 29, .14);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: .035em !important;
  line-height: 1.3 !important;
}
.wichita-site-content a.lgf-btn-primary:hover,
.wichita-site-content a.lgf-btn:hover,
#primary a.lgf-btn-primary:hover,
#primary a.lgf-btn:hover {
  background: #3c6046 !important;
  color: #fffdf8 !important;
  -webkit-text-fill-color: #fffdf8 !important;
}

/* Match the hero call button to the bold, clear header phone treatment */
.wichita-hero-copy a[href^="tel:"],
.wichita-hero a[href^="tel:"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 60px !important;
  padding: 16px 27px !important;
  background: #294735 !important;
  color: #fffdf8 !important;
  -webkit-text-fill-color: #fffdf8 !important;
  border: 1px solid #294735 !important;
  border-radius: 3px !important;
  box-shadow: 0 10px 24px rgba(22, 41, 29, .19);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: .015em !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .wichita-site-content .wichita-services .lgf-card-grid > .lgf-card,
  #primary .wichita-services .lgf-card-grid > .lgf-card {
    padding-top: 168px !important;
  }
  .wichita-site-content .wichita-services .lgf-card-grid > .lgf-card::before,
  #primary .wichita-services .lgf-card-grid > .lgf-card::before {
    height: 145px;
  }
  .wichita-site-content .wichita-process .wichita-steps article,
  #primary .wichita-process .wichita-steps article {
    min-height: 0;
    padding: 23px 20px !important;
  }
  .wichita-hero-copy a[href^="tel:"],
  .wichita-hero a[href^="tel:"] {
    min-height: 58px !important;
    font-size: 19px !important;
  }
}

/* The cost-guide CTA is a route link rather than a framework button class. */
#primary a[href$="/services/"],
.wichita-site-content a[href$="/services/"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 25px !important;
  background: #294735 !important;
  color: #fffdf8 !important;
  -webkit-text-fill-color: #fffdf8 !important;
  border: 1px solid #294735 !important;
  border-radius: 3px !important;
  box-shadow: 0 10px 24px rgba(22, 41, 29, .18);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: .035em !important;
  line-height: 1.25 !important;
}
#primary a[href$="/services/"]:hover,
.wichita-site-content a[href$="/services/"]:hover {
  background: #3c6046 !important;
  color: #fffdf8 !important;
  -webkit-text-fill-color: #fffdf8 !important;
}

/* Replace the framework's placeholder W with the supplied barn-dominium mark. */
.lgf-header .lgf-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
}
.lgf-header .lgf-brand-mark {
  display: inline-block !important;
  flex: 0 0 92px !important;
  width: 92px !important;
  height: 58px !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  background: transparent url("/wp-content/mu-plugins/assets/wichita-barn-logo.png") center / contain no-repeat !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.lgf-header .lgf-brand-name {
  color: #263b2e !important;
  font-size: clamp(1.05rem, 1.55vw, 1.42rem) !important;
  font-weight: 800 !important;
  letter-spacing: .055em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
}
@media (max-width: 760px) {
  .lgf-header .lgf-brand { gap: 9px !important; }
  .lgf-header .lgf-brand-mark {
    flex-basis: 64px !important;
    width: 64px !important;
    height: 44px !important;
  }
  .lgf-header .lgf-brand-name {
    font-size: .95rem !important;
    letter-spacing: .035em !important;
  }
}


/* The logo is now an inline image; remove any theme or prior CSS mark behind it. */
.lgf-header .lgf-brand-mark {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  background: none !important;
  background-image: none !important;
  transform: none !important;
  rotate: none !important;
}
.lgf-header .lgf-brand-mark::before,
.lgf-header .lgf-brand-mark::after {
  content: none !important;
  display: none !important;
  background: none !important;
}
.lgf-header .lgf-brand-mark > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transform: none !important;
  rotate: none !important;
}


.lgf-header .wichita-barn-logo {
  flex: 0 0 92px !important;
  width: 92px !important;
  height: 60px !important;
  object-fit: contain !important;
}
@media (max-width: 760px) {
  .lgf-header .wichita-barn-logo {
    flex-basis: 64px !important;
    width: 64px !important;
    height: 44px !important;
  }
}
