/* Switchgear Builders Houston | static, mobile-first design system */
:root {
  --ink: #0b2545;
  --ink-deep: #0b2545;
  --steel: #355576;
  --muted: #586c80;
  --paper: #fff;
  --white: #fff;
  --line: #d7e0e9;
  --accent: #b31942;
  --body: Arial, Helvetica, sans-serif;
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid white; outline-offset: 2px; box-shadow: 0 0 0 5px var(--accent); }
.shell { width: min(100% - 40px, 1380px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: -80px; background: white; color: var(--ink); padding: 12px 18px; }
.skip-link:focus { top: 12px; }
.accent-period { color: var(--accent); }
.kicker { display: inline-block; color: #536e79; font-size: 10px; font-weight: 800; line-height: 1.2; letter-spacing: .18em; }
.kicker-light { color: #9cb2b9; }

/* The utility band and two-level, always-visible navigation need no script. */
.utility-bar { background: #0b2545; color: #dce7f4; }
.utility-inner { display: flex; min-height: 35px; justify-content: space-between; align-items: center; gap: 12px; font-size: 9px; font-weight: 700; letter-spacing: .1em; line-height: 1.2; }
.utility-inner > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.utility-inner a { flex: none; padding: 6px 9px; background: var(--accent); color: white; text-decoration: none; font-size: 11px; letter-spacing: .02em; }
.utility-inner a > span:last-child { color: white; margin-left: 3px; }
.utility-separator { color: var(--accent); margin: 0 5px; }
.utility-label { display: none; }
.site-header { position: relative; z-index: 2; background: #0b2545; }
.site-header::after, .trust-strip::after { content: ""; display: block; height: 6px; background: linear-gradient(to bottom, #b31942 0 33.33%, #fff 33.33% 66.66%, #0b2545 66.66% 100%); }
.header-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; min-width: 0; text-decoration: none; padding: 16px 0; }
.brand-mark { flex: none; position: relative; display: flex; flex-direction: column; justify-content: center; gap: 3px; width: 35px; height: 35px; padding: 7px; background: white; overflow: hidden; }
.brand-mark::after { position: absolute; content: ""; right: -2px; top: -2px; width: 9px; height: 9px; transform: rotate(45deg) translateY(-6px); background: var(--accent); }
.brand-mark span { display: block; height: 3px; width: 20px; background: var(--ink); transform: skewX(-24deg); }
.brand-mark span:nth-child(2) { width: 15px; margin-left: 5px; background: var(--accent); }
.brand-name { display: flex; flex-direction: column; font-family: var(--display); color: white; font-weight: 900; font-size: 16px; letter-spacing: -.055em; line-height: .96; }
.brand-name strong { margin-top: 4px; font-size: 9px; letter-spacing: .115em; font-style: normal; }
.brand-name em { font-style: normal; color: #d2e0ef; }
.main-nav { display: flex; grid-column: 1 / -1; gap: 25px; overflow-x: auto; scrollbar-width: thin; border-top: 1px solid #405775; }
.main-nav a { position: relative; flex: none; padding: 11px 0 13px; color: #e8f0f8; text-decoration: none; font-size: 11px; font-weight: 700; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: white; }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); }
.header-cta { padding: 10px 12px; background: var(--accent); color: white; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-decoration: none; white-space: nowrap; }
.header-cta span { color: white; margin-left: 6px; font-size: 15px; }

/* Large photography is presented as illustrative, never as a company facility. */
.hero { position: relative; display: flex; align-items: center; min-height: 575px; overflow: hidden; background: #0b2545; color: white; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(11, 37, 69, .95) 0%, rgba(11, 37, 69, .84) 48%, rgba(11, 37, 69, .40) 100%), linear-gradient(0deg, rgba(11, 37, 69, .58), transparent 45%); }
.hero-inner { position: relative; z-index: 1; padding-top: 75px; padding-bottom: 112px; }
.hero-copy { max-width: 780px; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; color: #e0e8e5; text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .17em; line-height: 1.35; }
.eyebrow-line { flex: none; width: 28px; height: 2px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
.hero h1 { margin: 26px 0 21px; font-size: clamp(43px, 8.8vw, 79px); line-height: .98; letter-spacing: -.055em; font-weight: 800; overflow-wrap: anywhere; }
.hero-summary { max-width: 590px; margin-bottom: 27px; color: #e1e7e6; font-size: 15px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 25px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 30px; border: 0; padding: 14px 18px; font-size: 10px; font-weight: 800; letter-spacing: .105em; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.button span { font-size: 18px; line-height: 1; }
.button-accent { background: var(--accent); color: white; }
.button-accent:hover { background: #891333; }
.hero-phone { display: flex; flex-direction: column; padding: 9px 12px; background: var(--accent); color: white; font-size: 16px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.hero-phone span { margin-bottom: 4px; color: white; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.hero-side-note { display: none; }
.hero-bottom { position: absolute; z-index: 1; bottom: 18px; left: 20px; right: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px; color: #dce5e3; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.hero-bottom > span { display: flex; align-items: center; gap: 8px; }
.hero-bottom-line { width: 26px; height: 1px; background: var(--accent); }
.hero-bottom small { max-width: 360px; color: #d8e1df; font-size: 9px; font-weight: 400; letter-spacing: 0; line-height: 1.35; }
.hero-bottom small a { color: #fff; text-decoration-thickness: 1px; text-underline-offset: 2px; }

.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; padding-block: 10px; }
.trust-item { display: flex; gap: 8px; min-width: 0; padding: 16px 7px; }
.trust-item:nth-child(even) { border-left: 1px solid #e4e9e6; padding-left: 16px; }
.trust-item:nth-child(n+3) { border-top: 1px solid #e4e9e6; }
.trust-number { color: var(--accent); font-size: 9px; font-weight: 800; line-height: 1.8; }
.trust-item strong, .trust-item div > span { display: block; }
.trust-item strong { color: #263e48; font-size: 10px; font-weight: 800; letter-spacing: .075em; line-height: 1.5; }
.trust-item div > span { margin-top: 2px; color: #52667a; font-size: 11px; line-height: 1.35; }

/* Editorial body and generated content. */
.article-layout { display: grid; gap: 35px; padding-top: 70px; padding-bottom: 78px; }
.article-aside { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.aside-rule { width: 39px; height: 2px; margin: 18px 0 22px; background: var(--accent); }
.article-aside p { margin-bottom: 12px; color: var(--ink); font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1.02; letter-spacing: -.045em; }
.article-aside p em { color: #68838c; font-style: normal; }
.aside-copy { display: block; max-width: 240px; color: #506479; font-size: 13px; line-height: 1.65; }
.article-aside a { display: inline-flex; align-items: center; gap: 24px; margin-top: 22px; color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.article-aside a span { color: var(--accent); font-size: 16px; }
.content-category { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 17px; border-bottom: 1px solid #bfcac7; color: #6d8288; font-size: 9px; font-weight: 800; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.content-category span:last-child { display: none; text-align: right; }
.content-section { display: grid; gap: 9px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.content-section-head { display: flex; align-items: flex-start; gap: 14px; }
.section-number { flex: none; padding-top: 6px; color: #9aa8aa; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.section-number span { color: var(--accent); }
.content-section h2 { max-width: 740px; margin: 0; color: var(--ink); font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.045em; line-height: 1.08; }
.rich-text { color: #495d64; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.rich-text p { margin: 0 0 16px; }
.rich-text p:last-child, .rich-text ul:last-child, .rich-text ol:last-child { margin-bottom: 0; }
.rich-text ul, .rich-text ol { padding-left: 21px; margin: 0 0 18px; }
.rich-text li { padding-left: 4px; margin-bottom: 6px; }
.rich-text li::marker { color: var(--accent); }
.rich-text h3 { margin: 20px 0 8px; color: var(--ink); font-size: 21px; line-height: 1.2; }
.rich-text a { color: #274e61; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.detail-figure { margin: 35px 0; }
.detail-figure img { width: 100%; aspect-ratio: 1.55; object-fit: cover; background: #d5ddda; }
.detail-figure figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.detail-figure figcaption > span { color: #61787f; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.detail-figure figcaption small { color: #778689; font-size: 10px; line-height: 1.4; }
.detail-figure figcaption a { color: #49646d; }

.spec-section { padding: 65px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-grid { display: grid; gap: 28px; }
.spec-heading h2, .section-heading-row h2 { margin: 16px 0; font-size: clamp(35px, 5vw, 52px); font-weight: 800; letter-spacing: -.055em; line-height: 1.02; }
.spec-heading .kicker-light { color: #5e7b83; }
.spec-heading p { max-width: 340px; color: #5e747b; font-size: 14px; line-height: 1.7; }
.table-wrap { min-width: 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; color: #304951; font-size: 13px; text-align: left; }
table caption { padding-bottom: 14px; color: #688088; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-align: left; text-transform: uppercase; }
table th, table td { padding: 15px 10px; border-bottom: 1px solid #bacbc9; vertical-align: top; }
table thead th { border-top: 1px solid #9fb5b3; color: #668087; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
table tbody th { width: 38%; color: var(--ink); font-weight: 700; }
table tbody td { color: #4e656c; }
.related-section { padding-top: 68px; padding-bottom: 76px; }
.section-heading-row h2 { margin: 14px 0 25px; }
.related-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 26px; background: #fff; border: 1px solid #dce4e1; text-decoration: none; transition: border-color .2s, background-color .2s; }
.related-card:hover { border-color: #88a0a5; background: #fbfcfa; }
.related-label { color: #66818a; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.related-card h3 { margin: 12px 0 9px; font-size: clamp(24px, 3.5vw, 31px); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }
.related-card p { max-width: 760px; margin-bottom: 0; color: #66797e; font-size: 13px; line-height: 1.65; }
.related-arrow { display: grid; flex: none; place-items: center; width: 38px; height: 38px; background: #e8eeeb; color: #315260; font-size: 20px; }

/* Inquiry area. A mailto form is explicitly not presented as an online service. */
.quote-section { scroll-margin-top: 20px; padding: 70px 0; background: white; color: var(--ink); border-top: 1px solid var(--line); }
.quote-layout { display: grid; gap: 38px; }
.quote-intro h2 { margin: 20px 0; font-size: clamp(43px, 7vw, 71px); font-weight: 800; line-height: .97; letter-spacing: -.055em; }
.quote-intro > p { max-width: 400px; color: #506479; font-size: 15px; line-height: 1.75; }
.quote-section .kicker-light { color: #506479; }
.quote-call-label { margin-top: 30px; color: #506479; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.quote-phone { display: inline-block; margin-top: 4px; padding: 8px 12px; background: var(--accent); color: white; font-size: 21px; font-weight: 800; text-decoration: none; }
.quote-phone span { color: white; font-size: 17px; }
.contact-email { margin-top: 22px; overflow-wrap: anywhere; }
.contact-email a { color: var(--accent); text-underline-offset: 3px; }
.quote-side-line { width: 48px; height: 2px; margin-top: 36px; background: var(--accent); }
.quote-footnote { display: block; margin-top: 15px; color: #506479; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.quote-footnote span { color: var(--accent); padding-inline: 5px; }
.quote-card { padding: 25px 20px; background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: 0 18px 50px rgba(11, 37, 69, .08); }
.quote-card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.form-kicker { color: #506479; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.quote-card h3 { margin: 6px 0 5px; font-size: 31px; font-weight: 800; line-height: 1.1; letter-spacing: -.045em; }
.form-icon { display: grid; place-items: center; width: 36px; height: 36px; background: #e5eeea; color: #385a66; font-size: 20px; }
.form-intro { margin: 12px 0 21px; color: #506479; font-size: 12px; }
.form-grid { display: grid; gap: 15px; }
.quote-form label { display: block; color: #334950; font-size: 11px; font-weight: 700; line-height: 1.4; }
.quote-form label > span { color: var(--accent); }
.quote-form input, .quote-form textarea { display: block; width: 100%; margin-top: 6px; border: 1px solid #d5dfdc; border-radius: 0; padding: 12px 13px; background: #f8faf8; color: var(--ink); font-size: 14px; line-height: 1.4; }
.quote-form input { min-height: 45px; }
.quote-form textarea { min-height: 100px; resize: vertical; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #586c80; opacity: 1; }
.button-dark { width: 100%; margin-top: 21px; background: var(--accent); color: white; text-align: left; }
.button-dark span { color: white; }
.button-dark:hover { background: #891333; }
.form-note { margin: 13px 0 0; color: #506479; font-size: 11px; line-height: 1.55; }

.site-footer { position: relative; padding: 61px 0 20px; background: #0b2545; color: white; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(to bottom, #b31942 0 33.33%, #fff 33.33% 66.66%, #0b2545 66.66% 100%); }
.footer-top { display: grid; gap: 36px; padding-bottom: 45px; }
.brand-footer { padding: 0; }
.brand-footer .brand-mark { background: #e9f0ed; }
.brand-footer .brand-mark span { background: var(--ink); }
.brand-footer .brand-mark span:nth-child(2) { background: var(--accent); }
.brand-footer .brand-name { color: white; }
.brand-footer .brand-name em { color: #a2b6b7; }
.footer-brand-col p { max-width: 290px; margin: 22px 0 0; color: #9cb0b3; font-size: 13px; line-height: 1.7; }
.footer-label { display: block; margin-bottom: 17px; color: #80989d; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 25px; }
.footer-nav span { width: fit-content; color: #dce5e3; font-size: 13px; font-weight: 700; }
.footer-email:hover { text-decoration: underline; }
.footer-contact > a { display: block; width: fit-content; text-decoration: none; }
.footer-phone { padding: 8px 12px; background: var(--accent); color: white; font-size: 20px; font-weight: 800; line-height: 1.2; }
.footer-email { margin-top: 12px; color: #c0d0d0; font-size: 13px; overflow-wrap: anywhere; }
.footer-contact small { display: block; margin-top: 3px; color: #9caeb1; font-size: 11px; }
.footer-location { display: block; margin-top: 25px; color: #82999d; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.footer-location span { padding-inline: 4px; color: var(--accent); }
.footer-credits { padding: 22px 0 18px; border-top: 1px solid #304047; }
.footer-credits .footer-label { margin-bottom: 10px; }
.footer-credits p { max-width: 1050px; margin: 0 0 8px; color: #a4b7b9; font-size: 11px; line-height: 1.65; }
.footer-credits a { color: #d4e0de; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid #304047; padding-top: 19px; color: #84999d; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.footer-cross { margin-left: 7px; color: var(--accent); font-size: 14px; }
.floating-quote { position: fixed; z-index: 10; right: 0; bottom: max(18px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; min-height: 43px; padding: 0 13px 0 16px; background: var(--accent); box-shadow: 0 5px 20px rgba(0, 0, 0, .2); color: white; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.floating-quote b { font-size: 17px; }
/* Keep the fixed shortcut from covering fields while someone is typing. */
body:has(.quote-form :focus) .floating-quote { opacity: 0; pointer-events: none; }

/* Reserve a narrow right rail so the fixed quote shortcut cannot cover controls. */
@media (max-width: 949px) {
  .shell { width: calc(100% - 72px); margin-left: 20px; margin-right: 52px; }
  .floating-quote { top: 50%; bottom: auto; width: 40px; min-height: 0; padding: 12px 9px; transform: translateY(-50%); justify-content: center; gap: 8px; writing-mode: vertical-rl; }
}
@media (min-width: 600px) {
  .shell { width: min(100% - 84px, 1380px); margin-inline: auto; }
  .utility-label { display: inline; color: white; margin-right: 11px; font-size: 9px; letter-spacing: .1em; }
  .hero { min-height: 600px; }
  /* Photo 07 contains noninteractive source-image arrows; zoom uniformly to crop them out. */
  .hero-image--07 { transform: scale(1.6); }
  .hero-inner { padding-top: 100px; padding-bottom: 130px; }
  .hero-summary { font-size: 17px; }
  .hero-bottom { left: 32px; right: 32px; }
  .trust-item { gap: 14px; padding-block: 20px; }
  .trust-item strong { font-size: 11px; }
  .content-category span:last-child { display: block; }
  .content-section { padding: 38px 0; }
  .rich-text { padding-left: 31px; font-size: 16px; }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 17px; }
  .field-full { grid-column: 1 / -1; }
  .quote-card { padding: 35px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (min-width: 950px) {
  .shell { width: min(100% - 96px, 1380px); }
  .header-inner { display: flex; justify-content: space-between; gap: 35px; min-height: 83px; }
  .brand { flex: none; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 18px; }
  .main-nav { align-self: stretch; gap: clamp(20px, 2.5vw, 42px); border: 0; overflow: visible; }
  .main-nav a { display: flex; align-items: center; padding: 0; font-size: 12px; }
  .main-nav a[aria-current="page"]::after { bottom: 22px; }
  .header-cta { padding: 13px 17px; border: 1px solid var(--accent); }
  .header-cta:hover { background: #891333; border-color: #891333; }
  .hero { min-height: 670px; }
  .hero h1 { font-size: clamp(65px, 6vw, 90px); }
  .hero-bottom { left: 48px; right: 48px; bottom: 26px; }
  .hero-side-note { position: absolute; right: 0; top: 50%; display: flex; align-items: center; gap: 12px; transform: translateY(-50%) rotate(90deg) translateX(50%); transform-origin: right center; color: #d4e0dd; font-size: 9px; font-weight: 800; letter-spacing: .15em; white-space: nowrap; }
  .hero-side-note i { width: 38px; height: 1px; background: var(--accent); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); padding-block: 0; }
  .trust-item { padding: 24px 16px; }
  .trust-item:first-child { padding-left: 0; }
  .trust-item:nth-child(n+2) { border-left: 1px solid #e4e9e6; padding-left: 25px; }
  .trust-item:nth-child(n+3) { border-top: 0; }
  .article-layout { grid-template-columns: 260px minmax(0, 1fr); gap: clamp(55px, 9vw, 145px); padding-top: 110px; padding-bottom: 110px; }
  .article-aside { border: 0; padding: 0; }
  .article-aside p { font-size: 33px; }
  .content-section:first-of-type { padding-top: 40px; }
  .spec-section { padding: 90px 0; }
  .spec-grid { grid-template-columns: minmax(230px, 1fr) minmax(0, 1.75fr); gap: 70px; }
  .related-section { padding-top: 92px; padding-bottom: 100px; }
  .related-card { padding: 32px; }
  .quote-section { padding: 100px 0; }
  .quote-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(55px, 8vw, 130px); align-items: start; padding-right: 145px; }
  .quote-card { padding: 42px; }
  .footer-top { grid-template-columns: 1.15fr 1fr 1fr; gap: 60px; }
  .footer-brand-col { grid-column: auto; }
  .floating-quote { bottom: auto; top: 50%; transform: translateY(-50%); padding: 14px 14px 14px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
