/* ==========================================================================
   Fazio Technology, Systems & Automation — site stylesheet
   Palette: navy #461D7C / #2A1150 · steel gray · off-white #F7F8FA · teal #2E7D8C
   Type: Public Sans (headlines) · IBM Plex Sans (body)
   ========================================================================== */

:root {
  --navy-950: #2A1150;
  --navy-900: #461D7C;
  --navy-800: #5A3494;
  --gray-900: #1B2430;
  --gray-600: #55606F;
  --gray-500: #6E7889;
  --gray-300: #A7B0BE;
  --gray-200: #E3E7EC;
  --gray-100: #F1F3F6;
  --bg: #F7F8FA;
  --white: #FFFFFF;
  --accent: #FDD023;        /* LSU gold — fills, buttons, icons on purple */
  --accent-dark: #8A6A00;   /* old gold — text links & small icons on white */
  --accent-hover: #E5BC1F;
  --font-display: 'Public Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--bg);
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--navy-900); }
p { margin: 0; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--navy-900); }
img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }

.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-dark);
}
/* on dark purple sections the eyebrow flips to bright gold */
.cta-section .eyebrow, .trust-bar .eyebrow { color: var(--accent); }

/* Icon color mapping — SVG stroke/fill attributes lose to CSS, so these
   rules retint every icon that was authored in the old teal (#2E7D8C):
   dark-gold by default (on white), bright gold inside purple containers. */
[stroke="#2E7D8C"] { stroke: var(--icon-accent, var(--accent-dark)); }
[fill="#2E7D8C"] { fill: var(--icon-accent, var(--accent-dark)); }
.path-card__icon, .trust-bar__item, .work-card__media, .about-figure,
.service-block__icon, .cta-section { --icon-accent: var(--accent); }

.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; line-height: 1.2; }
.section-head p { font-size: 16.5px; color: var(--gray-600); line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 4px; font-weight: 600; font-size: 15px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--accent); color: var(--navy-950); }
.btn--primary:hover { background: var(--accent-hover); color: var(--navy-950); }
.btn--outline-light { border: 1.5px solid rgba(255,255,255,0.35); color: var(--white); background: transparent; }
.btn--outline-light:hover { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn--outline-dark { border: 1.5px solid var(--navy-900); color: var(--navy-900); background: transparent; }
.btn--outline-dark:hover { background: var(--navy-900); color: var(--white); }

.text-link {
  font-weight: 700; font-size: 14.5px; color: var(--accent-dark);
  display: inline-flex; align-items: center; gap: 6px;
}
.text-link:hover { color: var(--navy-900); }
.text-link svg { stroke: currentColor; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy-950);
  position: sticky; top: 0; z-index: 50;
}
.site-header__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 78px; flex-wrap: wrap;
}
.wordmark { display: flex; flex-direction: column; line-height: 1.1; padding: 14px 0; }
.wordmark__name {
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  color: var(--white); letter-spacing: 0.01em;
}
.wordmark__tag {
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gray-300); margin-top: 2px;
}
.site-nav { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.site-nav a { color: var(--gray-300); font-size: 14.5px; font-weight: 500; padding: 6px 0; }
.site-nav a:hover { color: var(--white); }
.site-nav a.is-active { color: var(--white); box-shadow: inset 0 -2px 0 var(--accent); }
.site-header .btn { white-space: nowrap; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--navy-900); padding: 72px 0; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; line-height: 1.15; color: var(--white); margin-top: 14px; }
.page-hero p { font-size: 17px; color: var(--gray-300); line-height: 1.65; max-width: 640px; margin-top: 16px; }

/* ---------- Cards & shadows ---------- */
.card-shadow { box-shadow: 0 1px 2px rgba(15,31,56,0.04), 0 8px 24px rgba(15,31,56,0.06); }

.path-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 6px;
  padding: 36px; display: flex; flex-direction: column; gap: 18px;
}
.path-card--residential { border-top: 4px solid var(--accent); }
.path-card--business { border-top: 4px solid var(--navy-900); }
.path-card__icon {
  width: 52px; height: 52px; border-radius: 8px; background: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
}
.path-card h3 { font-size: 23px; font-weight: 700; }
.path-card__desc { font-size: 15px; color: var(--gray-600); margin-top: 8px; line-height: 1.55; }
.path-card__rule { height: 1px; background: var(--gray-200); }
.path-card__list { display: flex; flex-direction: column; gap: 10px; }
.check-item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--gray-900); }
.check-item svg { flex-shrink: 0; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy-900); padding: 28px 0; }
.trust-bar__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-bar__item {
  display: flex; align-items: center; gap: 12px; padding: 8px 20px;
  border-left: 1px solid var(--navy-800);
}
.trust-bar__item span { color: var(--gray-300); font-size: 13.5px; line-height: 1.4; }

/* ---------- Pillar lists ---------- */
.pillar-row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--gray-200); }
.pillar-row:last-child { border-bottom: none; }
.pillar-row svg { flex-shrink: 0; margin-top: 2px; }
.pillar-row__title { font-weight: 600; font-size: 15.5px; }
.pillar-row__desc { font-size: 14px; color: var(--gray-600); margin-top: 4px; line-height: 1.5; }

.pillar-col-head { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.pillar-col-head__icon {
  width: 36px; height: 36px; border-radius: 6px; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
}
.pillar-col-head h3 { font-size: 20px; font-weight: 700; }

/* ---------- Service detail blocks (interior pages) ---------- */
.service-block {
  display: grid; grid-template-columns: 72px 1fr; gap: 28px;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 6px;
  padding: 40px;
}
.service-block + .service-block { margin-top: 24px; }
.service-block__icon {
  width: 60px; height: 60px; border-radius: 8px; background: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
}
.service-block h3 { font-size: 22px; font-weight: 700; }
.service-block__body { font-size: 15.5px; color: var(--gray-600); line-height: 1.65; margin-top: 12px; }
.service-block ul { margin: 16px 0 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.service-block li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--gray-900); line-height: 1.5; }
.service-block li svg { flex-shrink: 0; margin-top: 3px; }
.service-block .text-link { margin-top: 20px; }

/* ---------- Process steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step__num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy-900);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; font-family: var(--font-display);
}
.step h4 { font-size: 16.5px; font-weight: 700; }
.step p { font-size: 14px; color: var(--gray-600); line-height: 1.55; }

/* ---------- Founder / about ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.about-figure {
  aspect-ratio: 1 / 1; background: var(--navy-900); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.about-copy { display: flex; flex-direction: column; gap: 18px; }
.about-copy h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 800; line-height: 1.2; }
.about-copy > p { font-size: 16px; color: var(--gray-600); line-height: 1.65; }
.badge-row { display: flex; gap: 24px; margin-top: 8px; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-900); font-weight: 500; }
.badge svg { flex-shrink: 0; }

/* ---------- Work / project cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work-card { background: var(--white); border-radius: 8px; overflow: hidden; }
.work-card__media {
  height: 170px; background: var(--navy-900);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.work-card__media span { font-size: 11px; color: var(--gray-300); letter-spacing: 0.04em; }
.work-card__body { padding: 22px; }
.work-card__tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent-dark); background: var(--gray-100);
  padding: 3px 8px; border-radius: 3px; margin-bottom: 10px;
}
.work-card h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.work-card p { font-size: 14px; color: var(--gray-600); line-height: 1.55; }

/* ---------- CTA / contact ---------- */
.cta-section { background: var(--navy-900); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cta-copy { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.cta-copy h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 800; line-height: 1.2; color: var(--white); }
.cta-copy > p { font-size: 16px; color: var(--gray-300); line-height: 1.65; max-width: 440px; }
.cta-buttons { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }

.contact-form { background: var(--white); border-radius: 8px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--gray-600); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--gray-900);
  border: 1px solid var(--gray-200); border-radius: 5px; background: var(--gray-100);
  padding: 11px 12px; width: 100%;
}
.form-field textarea { min-height: 96px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; background: var(--white); }
.form-note { font-size: 12.5px; color: var(--gray-500); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); padding: 56px 0 32px; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px;
  padding-bottom: 36px; border-bottom: 1px solid var(--navy-800);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; }
.site-footer__brand-name { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--white); }
.site-footer__brand-desc { font-size: 13.5px; color: var(--gray-500); line-height: 1.55; max-width: 280px; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__heading {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gray-500);
}
.site-footer__col a { font-size: 14px; color: var(--gray-300); }
.site-footer__col a:hover { color: var(--white); }
.site-footer__contact-item { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--gray-300); }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; gap: 12px; flex-wrap: wrap;
}
.site-footer__bottom span { font-size: 12.5px; color: var(--gray-500); }

/* ---------- Prose (about page) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; font-weight: 800; margin-top: 48px; margin-bottom: 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 16px; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }
.prose ul { margin: 0 0 16px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.prose li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--gray-900); line-height: 1.6; }
.prose li svg { flex-shrink: 0; margin-top: 4px; }

/* ---------- Two-column split used on Home "How We Help" ---------- */
.split-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }

/* ---------- Utility backgrounds ---------- */
.bg-white { background: var(--white); }
.bg-gray { background: var(--gray-100); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .section { padding: 64px 0; }
  .site-header__inner { justify-content: center; text-align: center; }
  .split-2, .cta-grid, .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-figure { max-width: 420px; margin: 0 auto; }
  .trust-bar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero-cards { grid-template-columns: 1fr !important; }
  .trust-bar__grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .site-nav { gap: 18px; }
  .path-card { padding: 28px; }
}
