/*
Theme Name:  Built Cabinets
Theme URI:   https://builtcabinets.com
Description: Custom theme for builtcabinets.com — factory-direct cabinets for builders.
Version: 1.0.9
Author:      Nazmul H
Author URI:  https://onenazmul.dev
Text Domain: builtcabinets
*/

/* ─────────────────────────────────────────────────────────────
   01. ROOT / BRAND TOKENS
───────────────────────────────────────────────────────────── */
:root {
  --navy:       #1D2B34;
  --red:        #8C1F28;
  --dark-blue:  #517891;
  --light-blue: #8CAAB9;
  --mist:       #F0EFF0;
  --white:      #FFFFFF;
  --ink:        #191816;
  --ink-mid:    #4a5568;
  --ink-light:  #697280;
  --rule:       #e2e6ea;
}

/* ─────────────────────────────────────────────────────────────
   02. RESET & BASE
───────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ─────────────────────────────────────────────────────────────
   03. TYPOGRAPHY UTILITIES
───────────────────────────────────────────────────────────── */
.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dark-blue);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.navy .eyebrow { color: var(--light-blue); }
.navy .eyebrow::before { background: var(--light-blue); }
.navy h2 { color: var(--white); }
.navy .section-sub { color: rgba(255,255,255,.65); }

.section-title {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 14px;
}
.navy .section-title { color: var(--white); }

.section-sub {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 40px;
}
.navy .section-sub { color: rgba(255,255,255,.65); }

/* ─────────────────────────────────────────────────────────────
   04. NAVIGATION — DESKTOP
───────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--navy);
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
}

.nav-logo,
nav .custom-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
nav .custom-logo-link img.custom-logo {
  max-height: 40px;
  width: auto;
  display: block;
}

.nav-wordmark {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 19px;
  color: var(--white);
}
.nav-wordmark b { font-weight: 700; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color .2s;
  padding: 0 14px;
  white-space: nowrap;
	min-height: 36px;
}
.nav-finder {
    color: var(--light-blue) !important;
    border: 1px solid rgba(140, 170, 185, .45);
    padding: 8px 16px !important;
    border-radius: 3px;
    transition: background .2s, border-color .2s !important;
}
.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-links > li.current-menu-item > a,
.nav-links > li.current-menu-ancestor > a,
.nav-links > li.current-menu-parent > a {
  color: var(--white);
}

/* dropdown arrow */
.nav-links > li > a.has-drop::after {
  content: '';
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  display: inline-block;
  opacity: .5;
  margin-left: 2px;
  flex-shrink: 0;
}

/* CTA button — add class "nav-cta" in WP Menus > CSS Classes */
.nav-links > li > a.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 3px;
  height: auto !important;
  margin-left: 8px;
}
.nav-links > li > a.nav-cta:hover { background: #a32430 !important; }

/* Dropdown panel */
.nav-drop {
  display: none;
  position: absolute;
  top: 36px;
  left: 0;
  background: var(--navy);
  min-width: 210px;
  border-top: 2px solid var(--red);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  z-index: 300;
}
.nav-links > li:hover .nav-drop { display: block; }

.nav-drop a {
  display: block;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: all .15s;
}
.nav-drop a:last-child { border-bottom: none; }
.nav-drop a:hover {
  color: var(--white);
  background: rgba(255,255,255,.06);
  padding-left: 24px;
}

/* ─────────────────────────────────────────────────────────────
   05. MOBILE NAV
───────────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 210;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .25s;
}

/* Hamburger → X animation */
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 66px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 190;
  overflow-y: auto;
  padding: 24px 0 48px;
  transform: translateX(-100%);
  transition: transform .28s ease;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav a {
  display: block;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .15s, background .15s;
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--white); }

.mobile-nav .mob-parent {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--light-blue);
  padding: 20px 28px 6px;
  display: block;
}
.mobile-nav .mob-child {
  padding-left: 40px;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
}
.mobile-nav a.mob-cta {
  margin: 20px 28px 0;
  background: var(--red);
  color: var(--white);
  border-radius: 3px;
  border-bottom: none;
  text-align: center;
  padding: 14px 28px;
}
.mobile-nav a.mob-cta:hover { background: #a32430; }

/* ─────────────────────────────────────────────────────────────
   06. SLIM HEADER / BREADCRUMB (interior pages)
───────────────────────────────────────────────────────────── */
.slim-header {
  margin-top: 66px;
  background: var(--navy);
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  border-bottom: 3px solid var(--red);
  flex-wrap: wrap;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--light-blue); text-decoration: none; }
.breadcrumb span { color: rgba(255,255,255,.3); }
.breadcrumb .current { color: var(--white); }

.header-right {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  letter-spacing: .04em;
}

/* ─────────────────────────────────────────────────────────────
   07. BUTTONS & CTAs
───────────────────────────────────────────────────────────── */
.btn-primary {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 3px;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.btn-primary:hover { background: #a32430; }

.btn-secondary {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 3px;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  text-decoration: none;
  padding: 12px 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 3px;
  display: inline-block;
  cursor: pointer;
}

.btn-ghost {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  padding: 14px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  background: none;
  cursor: pointer;
  transition: color .2s;
}
.btn-ghost:hover { color: var(--white); }

/* CTA band buttons */
.cta-wht {
  background: #fff;
  color: var(--red);
  padding: 14px 28px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}
.cta-wht:hover { background: #f0eff0; }

.cta-ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  padding: 14px 28px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.3);
  white-space: nowrap;
  transition: background .2s;
}
.cta-ghost:hover { background: rgba(255,255,255,.22); }

/* Series badges */
.badge-rapid {
  background: rgba(140,31,40,.1);
  color: var(--red);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.badge-navy {
  background: rgba(29,43,52,.1);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

/* ─────────────────────────────────────────────────────────────
   07b. KICKER (page-intro label — 32px line, used on interior pages)
        Distinct from .eyebrow: wider line (32px vs 24px), gap 14px vs 12px
───────────────────────────────────────────────────────────── */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.kicker::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.kicker span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dark-blue);
}

/* ─────────────────────────────────────────────────────────────
   07c. PAGE INTRO (first content block on interior pages, below slim-header)
───────────────────────────────────────────────────────────── */
.page-intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 52px 0;
}
.page-intro h1 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 12px;
}
.page-intro p {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.75;
  max-width: 560px;
}
/* Page-specific overrides via WP body class (generated from template filename) */
.page-template-about-us .page-intro { padding-bottom: 52px; }
.page-template-about-us .page-intro p { max-width: 580px; }
.page-template-for-builders .page-intro p { margin-bottom: 48px; }
.page-template-our-process .page-intro h1 { margin-bottom: 10px; }

/* ─────────────────────────────────────────────────────────────
   08. SECTION WRAPPERS
───────────────────────────────────────────────────────────── */
.section-wrap {
  padding: 72px 52px;
}
.section-wrap.mist { background: var(--mist); }
.section-wrap.navy { background: var(--navy); }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 52px 80px;
}

/* ─────────────────────────────────────────────────────────────
   09. CTA BAND (red — bottom of most pages)
───────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--red);
  padding: 56px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band h3 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 300;
  color: #fff;
  line-height: 1.3;
}
.cta-band p {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  margin-top: 6px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   10. GUARANTEE BAND (navy — Our Process page)
───────────────────────────────────────────────────────────── */
.guarantee-band {
  background: var(--navy);
  padding: 72px 52px;
}
.guarantee-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.guarantee-quote {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.2;
}
.guarantee-sub {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  margin-top: 14px;
  max-width: 560px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────
   11. TESTIMONIAL CARDS
───────────────────────────────────────────────────────────── */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--rule);
}
.test-card {
  background: var(--white);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.test-quote {
  font-family: 'Source Serif 4', serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1.8;
  color: var(--ink-mid);
  flex: 1;
  margin-bottom: 24px;
}
.test-quote::before {
  content: '\201C';
  font-size: 28px;
  color: var(--light-blue);
  font-style: normal;
  line-height: 0;
  vertical-align: -8px;
  margin-right: 4px;
}
.test-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.test-detail {
  font-size: 12px;
  color: var(--ink-light);
  letter-spacing: .03em;
}
.test-program {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(140,31,40,.07);
  padding: 3px 9px;
  border-radius: 2px;
}
.test-placeholder-note {
  font-size: 11px;
  color: var(--ink-light);
  font-style: italic;
  text-align: center;
  margin-top: 24px;
  opacity: .7;
}

/* ─────────────────────────────────────────────────────────────
   12. FORM ELEMENTS
───────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 11px 14px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--dark-blue);
}
.wpcf7 form .wpcf7-response-output{margin-top:0;}
/* ─────────────────────────────────────────────────────────────
   13. FOOTER
───────────────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 60px 52px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 28px;
}

.footer-logo {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-logo b { font-weight: 700; }

.footer-tagline {
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-contact {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-info a, .footer-col a{ text-decoration: none; }
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  font-size: 11.5px;
  color: rgba(255,255,255,.25);
  display: flex;
  justify-content: space-between;
}

/* ─────────────────────────────────────────────────────────────
   14. AI ADVISOR WIDGET
───────────────────────────────────────────────────────────── */
/* FAB button */
.ai-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--red);
  box-shadow: 0 4px 18px rgba(0,0,0,.28);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
.ai-fab:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.ai-fab svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.8; }
.ai-fab .ai-close { display: none; }
.ai-fab.open .ai-open { display: none; }
.ai-fab.open .ai-close { display: block; }
.ai-fab-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid #fff;
  animation: ai-pulse 2.5s infinite;
}
@keyframes ai-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

/* Drawer */
.ai-drawer {
  position: fixed;
  bottom: 92px;
  right: 28px;
  z-index: 999;
  width: 360px;
  max-height: 520px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(.97);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.ai-drawer.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.ai-drawer-head {
  background: var(--navy);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.ai-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ai-avatar svg { width: 15px; height: 15px; stroke: #fff; fill: none; stroke-width: 2; }
.ai-head-name { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.2; }
.ai-head-sub { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 1px; }

.ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.ai-msg {
  max-width: 88%;
  line-height: 1.55;
  font-size: 13.5px;
}
.ai-msg.user {
  align-self: flex-end;
  background: var(--navy);
  color: #fff;
  padding: 9px 13px;
  border-radius: 12px 12px 2px 12px;
  font-family: 'Source Sans 3', sans-serif;
}
.ai-msg.bot {
  align-self: flex-start;
  background: #f0eff0;
  color: #191816;
  padding: 9px 13px;
  border-radius: 2px 12px 12px 12px;
  font-family: 'Source Serif 4', sans-serif;
}
.ai-msg.bot a { color: var(--red); }

.ai-typing {
  align-self: flex-start;
  background: #f0eff0;
  padding: 10px 14px;
  border-radius: 2px 12px 12px 12px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.ai-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--light-blue);
  animation: ai-bounce .9s infinite;
}
.ai-dot:nth-child(2) { animation-delay: .15s; }
.ai-dot:nth-child(3) { animation-delay: .3s; }
@keyframes ai-bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
}

.ai-suggestions {
  padding: 0 12px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
}
.ai-chip {
  background: #fff;
  border: 1px solid #e2e6ea;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
  font-family: 'Source Sans 3', sans-serif;
}
.ai-chip:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.ai-input-row {
  display: flex;
  border-top: 1px solid #e2e6ea;
  flex-shrink: 0;
}
.ai-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13.5px;
  color: #191816;
  background: #fff;
  resize: none;
}
.ai-send {
  background: var(--navy);
  border: none;
  padding: 0 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
}
.ai-send:hover { background: #253543; }
.ai-send:disabled { background: #ccc; cursor: default; }
.ai-send svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; }

.ai-powered {
  text-align: center;
  font-size: 10px;
  color: #aaa;
  padding: 5px;
  flex-shrink: 0;
}


/* ─────────────────────────────────────────────────────────────
   15. TESTIMONIALS (shared — used on for-builders, cabinets, homepage)
───────────────────────────────────────────────────────────── */
.testimonials-section{background:var(--mist);padding:72px 52px;}
.testimonials-inner{max-width:1100px;margin:0 auto;}
.test-eyebrow{font-family:'Barlow Condensed',sans-serif;font-size:11px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--dark-blue);margin-bottom:10px;display:flex;align-items:center;gap:12px;}
.test-eyebrow::before{content:'';width:24px;height:2px;background:var(--red);}
.test-title{font-family:'Source Serif 4',serif;font-size:clamp(24px,3vw,34px);font-weight:300;color:var(--navy);margin-bottom:40px;}
.test-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:var(--rule);}
.test-card{background:var(--white);padding:36px 32px;display:flex;flex-direction:column;}
.test-quote{font-family:'Source Serif 4',serif;font-size:15px;font-style:italic;line-height:1.8;color:var(--ink-mid);flex:1;margin-bottom:24px;}
.test-quote::before{content:'"';font-size:28px;color:var(--light-blue);font-style:normal;line-height:0;vertical-align:-8px;margin-right:4px;}
.test-name{font-size:13px;font-weight:700;color:var(--navy);margin-bottom:2px;}
.test-detail{font-size:12px;color:var(--ink-light);letter-spacing:.03em;}
.test-program{display:inline-block;margin-top:10px;font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--red);background:rgba(140,31,40,.07);padding:3px 9px;border-radius:2px;}
.test-placeholder-note{font-size:11px;color:var(--ink-light);font-style:italic;text-align:center;margin-top:24px;opacity:.7;}

/* ─────────────────────────────────────────────────────────────
   16. FILTER BAR (shared — used on portfolio and blog)
───────────────────────────────────────────────────────────── */
.filter-bar{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:0;}
.filter-btn{padding:8px 16px;border:1px solid var(--rule);border-radius:20px;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-mid);background:var(--white);cursor:pointer;transition:all .15s;text-decoration:none;display:inline-block;}
.filter-btn:hover,.filter-btn.active{background:var(--navy);color:var(--white);border-color:var(--navy);}

/* FOOTER */
footer{background:var(--navy);padding:52px 0 24px;border-top:1px solid rgba(255,255,255,.06);}
.footer-grid{display:grid;grid-template-columns:190px 1fr 1fr 1fr;gap:44px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:20px;}
.footer-brand-name{font-family:'Source Sans 3',sans-serif;font-size:17px;color:#fff;margin-bottom:8px;}
.footer-brand-name b{font-weight:700;}
.footer-tagline{font-size:12px;color:rgba(255,255,255,.35);line-height:1.6;margin-bottom:12px;}
.footer-col h4{font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--light-blue);margin-bottom:12px;}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:8px;}
.footer-col a{font-size:12.5px;color:rgba(255,255,255,.38);text-decoration:none;transition:color .2s;}
.footer-col a:hover{color:#fff;}
.footer-bot{font-size:11px;color:rgba(255,255,255,.18);display:flex;justify-content:space-between;}
.wrap{max-width:1080px;margin:0 auto;padding:0 32px;}


.btn-navy{background:var(--navy);color:#fff;padding:13px 26px;border-radius:3px;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;}
.btn-navy:hover{background:#253844;}

/* ─────────────────────────────────────────────────────────────
   17. RESPONSIVE BREAKPOINTS (shared only)
───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  nav { padding: 0 24px; }
}

@media (max-width: 1000px) {
  .slim-header { padding: 0 24px; }
  .page-intro { padding: 36px 24px 0; }
  .page-template-about-us .page-intro { padding: 36px 24px 40px; }
  .section-wrap { padding: 56px 24px; }
  .cta-band { padding: 48px 24px; flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; gap: 12px; }
  footer { padding: 48px 24px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .test-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-section { padding: 56px 24px; }
  nav{padding:0 20px;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width: 991px){
	  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-nav { display: block; }
}
@media (max-width: 640px) {
/*   .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-nav { display: block; } */
  .test-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
    .footer-grid{grid-template-columns:1fr;}
}

@media (max-width: 420px) {
  .ai-drawer { right: 12px; left: 12px; width: auto; bottom: 84px; }
  .ai-fab { bottom: 20px; right: 16px; }
  .slim-header, .breadcrumb {
      flex-wrap: wrap;
  }
}